how to drop row from pandas code example
Example 1: pandas dataframe delete column
del df['column_name']
Example 2: drop variable pandas
# pandas drop a column with drop function
gapminder_ocean.drop(['pop'], axis=1)
del df['column_name']
# pandas drop a column with drop function
gapminder_ocean.drop(['pop'], axis=1)