What is the following statement doing ? df.drop([‘Total’,’Order’], axis=1)
Answers
Answered by
0
Answer:
The drop() function is used to drop specified labels from rows or columns.
Remove rows or columns by specifying label names and corresponding axis, or by specifying directly index or column names. When using a multi-index, labels on different levels can be removed by specifying the level.
Similar questions