deleting out entire columns in df code example
Example 1: python - remove repeted columns in a df
df.loc[:,~df.T.duplicated(keep='first')]
Example 2: remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row
df.loc[:,~df.T.duplicated(keep='first')]
df.drop('col_name',1) #1 drop column / 0 drop row