delete a row from dataframe in python code example
Example 1: how to delete a column from a dataframe in python
del df['column']
Example 2: remove rows from dataframe
df.drop(['Cochice', 'Pima'])
del df['column']
df.drop(['Cochice', 'Pima'])