Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python additional Unnamed: 0 Column on Dataframe

#You should save the dataframe like this to avoid the problem
df.to_csv(index=False)

#But if the file is already with this Unnamed: 0
pd.read_csv('path/to/file', index_col=[0])
 
PREVIOUS NEXT
Tagged: #Python #additional #Column #Dataframe
ADD COMMENT
Topic
Name
9+3 =