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

Solutions on MaxInterview for pandas dataframe from list how to make the date column an index by the best coders in the world