how to remove columns from dataframes in pandas code example
Example 1: removing features pandas
df.drop([‘feature_1’,’feature_2’], inplace = True, axis = 1)
Example 2: remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row