ow to drop a number of rows in a dataset python code example Example: delete a row in pandas dataframe df.drop(df.index[2])