DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
load specific columns dataframe
import pandas as pd fields = ['star_name', 'ra'] df = pd.read_csv('data.csv', usecols=fields)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#load
#specific
#columns
#dataframe
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit