remove demical on a certain column pandas code example
Example 1: remove column from dataframe
df.drop('column_name', axis=1, inplace=True)
Example 2: python - remove repeted columns in a df
df.loc[:,~df.T.duplicated(keep='first')]
df.drop('column_name', axis=1, inplace=True)
df.loc[:,~df.T.duplicated(keep='first')]