Skip to content

Instantly share code, notes, and snippets.

@maxhodak
Created August 19, 2011 07:34
Show Gist options
  • Save maxhodak/1156263 to your computer and use it in GitHub Desktop.
Save maxhodak/1156263 to your computer and use it in GitHub Desktop.
def foo():
mydata = a list of interesting whatever
return {
"aggdata": [
{
"date": x["date"],
"colA": x["something"],
....
} for x in mydata
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment