drop variables in dataframe via function python code example
Example: drop variable pandas
# pandas drop a column with drop function
gapminder_ocean.drop(['pop'], axis=1)
# pandas drop a column with drop function
gapminder_ocean.drop(['pop'], axis=1)