How would you delete rows from dataframe ?

Ans:
We can delete rows ( it is asking to delete multiple rows) in various ways as given below:
df.drop(range(start, end, step))
or
df.drop([1,3,7])
* here 1,3 and 7 are row index to be deleted

error: Content is protected !!