Skip to content

Instantly share code, notes, and snippets.

@ronakmutha
Created April 1, 2019 05:14
Show Gist options
  • Save ronakmutha/bc27bf70d245468ea25f9c47828fb2a9 to your computer and use it in GitHub Desktop.
Save ronakmutha/bc27bf70d245468ea25f9c47828fb2a9 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