drop columns names of pandas dataframe code example Example: remove column from dataframe df.drop('column_name', axis=1, inplace=True)