DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas drop column by name
df
.
drop
(
columns
=
[
'Column_Name1'
,
'Column_Name2'
]
,
axis
=
1
,
inplace
=
True
)
Source by skytowner.com #
PREVIOUS
NEXT
Tagged:
#pandas
#drop
#column
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit