Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 11, 2020 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/9bd350f7c6b4a7ea827ccc11e42dd902 to your computer and use it in GitHub Desktop.
Save velotiotech/9bd350f7c6b4a7ea827ccc11e42dd902 to your computer and use it in GitHub Desktop.
>>> d = {
"stats": pd.Series(np.arange(10,15,1.0)),
"year": pd.Series(["2012","2007","2012","2003"]),
"intake": pd.Series(["SUMMER","WINTER","WINTER","SUMMER"]),
}
>>> df = pd.DataFrame(d)
>>> df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment