how drop columns python code example
Example 1: python drop axis
df.drop(['colonna da togliere'], axis=1)
Example 2: delete columns pandas
df = df.drop(df.columns[[0, 1, 3]], axis=1)
df.drop(['colonna da togliere'], axis=1)
df = df.drop(df.columns[[0, 1, 3]], axis=1)