pandas drop values from column code example
Example 1: delete a row in pandas dataframe
df.drop(df.index[2])
Example 2: how to delete a column from a dataframe in python
del df['column']
df.drop(df.index[2])
del df['column']