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