DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python: select specific columns in a data frame
df = df[["Column_Name1", "Column_Name2"]]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#select
#specific
#columns
#data
#frame
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit