delete multiple columns in once pandas code example
Example 1: drop multiple columns pandas
yourdf.drop(['columnheading1', 'columnheading2'], axis=1, inplace=True)
Example 2: delete multiple dataframes at once in python
>>> lst = [pd.DataFrame(), pd.DataFrame(), pd.DataFrame()]
>>> del lst # memory is released