delete part of the data in a row pandas code example Example: delete a row in pandas dataframe df.drop(df.index[2])