Write statement (s) delete a row from a Data frame.
Answers
Answered by
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