CBSE BOARD XII, asked by Aditya282003, 2 months ago

Write statement (s) delete a row from a Data frame.

Answers

Answered by hiral128794
1

Answer:

To drop one or more rows from a Pandas dataframe, we need to specify the row index(s) that need to be dropped and axis=0 argument. Here the axis=0 argument specifies that we want to drop rows instead of dropping columns. Remember that this is the default parameter for the . drop() function and so it is optional.

Similar questions