DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
select columns to include in new dataframe in python
new = old[['A', 'C', 'D']].copy()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#select
#columns
#include
#dataframe
#python
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit