drop a col from a dataframe code example
Example 1: python drop axis
df.drop(['colonna da togliere'], axis=1)
Example 2: remove a column from dataframe
del df['column_name'] #to remove a column from dataframe
df.drop(['colonna da togliere'], axis=1)
del df['column_name'] #to remove a column from dataframe