DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove duplicate columns python dataframe
df = df.loc[:,~df.columns.duplicated()]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#duplicate
#columns
#python
#dataframe
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit