DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
drop list of columns pandas
df.drop([item for item in total_cols if item not in columns_in_use], axis=)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#drop
#list
#columns
#pandas
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit