how to store dropped column in a dataframe pandas code example Example: drop a column pandas df.drop(['column_1', 'Column_2'], axis = 1, inplace = True)