how to remove columns from a pandas dataframe code example Example: remove columns from dataframe df.drop('col_name',1) #1 drop column / 0 drop row