delete some entries from data frame code example
Example 1: delete a row in pandas dataframe
df.drop(df.index[2])
Example 2: remove a column from dataframe
del df['column_name'] #to remove a column from dataframe
df.drop(df.index[2])
del df['column_name'] #to remove a column from dataframe