Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dataframe from list how to make the date column an index

df.set_index(df['Date'], drop=False, append=False, inplace=False, verify_integrity=False).drop('Date', 1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #dataframe #list #date #column #index
ADD COMMENT
Topic
Name
7+7 =