DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
drop a column from dataframe
#To delete the column without having to reassign df df.drop('column_name', axis=1, inplace=True)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#drop
#column
#dataframe
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit