drop index and make it a column pandas 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)