Skip to content

Instantly share code, notes, and snippets.

@guerbai
Created June 2, 2019 04:24
Show Gist options
  • Save guerbai/bf70f0ec5a8241ff5de1c774e1c2ce38 to your computer and use it in GitHub Desktop.
Save guerbai/bf70f0ec5a8241ff5de1c774e1c2ce38 to your computer and use it in GitHub Desktop.
生成dataframe时指定以日期为index #Pandas
fifa_data = pd.read_csv(fifa_filepath, index_col="Date", parse_dates=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment