how to drop the first row of a dataframe in python code example Example: delete a row in pandas dataframe df.drop(df.index[2])