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 pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#remove
#columns
#dataframe
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit