python drop single column code example Example: drop a column pandas df.drop(['column_1', 'Column_2'], axis = 1, inplace = True)