Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to set "Unnamed: 0" column as the index in a DataFrame

pd.read_csv('file.csv', index_col=[0])
 
PREVIOUS NEXT
Tagged: #How #set #column #index #DataFrame
ADD COMMENT
Topic
Name
9+8 =