Valid DSA-C02 Dumps shared by ExamDiscuss.com for Helping Passing DSA-C02 Exam! ExamDiscuss.com now offer the newest DSA-C02 exam dumps, the ExamDiscuss.com DSA-C02 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com DSA-C02 dumps with Test Engine here:
Consider a data frame df with 10 rows and index [ 'r1', 'r2', 'r3', 'row4', 'row5', 'row6', 'r7', 'r8', 'r9', 'row10']. What does the aggregate method shown in below code do? g = df.groupby(df.index.str.len()) g.aggregate({'A':len, 'B':np.sum})
Correct Answer: C
Explanation Computes length of column A and Sum of Column B values of each group