Drop -Spaltendatenrahmen
df.drop(columns=['Unnamed: 0'])
Magnificent Moth
df.drop(columns=['Unnamed: 0'])
df = df.drop(df.columns[[0, 1, 3]], axis=1) # df.columns is zero-based pd.Index
# pandas drop a column with drop function
gapminder_ocean.drop(['pop'], axis=1)