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