DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to keep columns in pandas
#only keep columns 'col1' and 'col2' df[['col1', 'col2']]
Source by www.statology.org #
PREVIOUS
NEXT
Tagged:
#columns
#pandas
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit