DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas read csv with index
df = pd.read_csv('data.csv',index_col=0) df.index = [str(x) for x in df.index]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#read
#csv
#index
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit