how to removecolumns in python code example
Example 1: remove a column from dataframe
del df['column_name'] #to remove a column from dataframe
Example 2: remove a columns in pandas
DataFrame.drop(self, labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')[source]