Answers for "remove demical on a certain column pandas"

1

python - remove repeted columns in a df

df.loc[:,~df.T.duplicated(keep='first')]
Posted by: Guest on October-22-2020
2

remove column from dataframe

df.drop('column_name', axis=1, inplace=True)
Posted by: Guest on June-02-2020

Code answers related to "remove demical on a certain column pandas"

Python Answers by Framework

Browse Popular Code Answers by Language