Search
 
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
Name
8+7 =