DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row
Source by app.dataquest.io #
PREVIOUS
NEXT
Tagged:
#remove
#columns
#dataframe
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit