DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
write specific columns to csv pandas
df[['col1', 'col3']].to_csv('some_file.csv')
Source by www.reddit.com #
PREVIOUS
NEXT
Tagged:
#write
#specific
#columns
#csv
#pandas
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit