Skip to content

Instantly share code, notes, and snippets.

@shurru
Created July 15, 2014 08:48
Show Gist options
  • Save shurru/584dd7a03f419e201c65 to your computer and use it in GitHub Desktop.
Save shurru/584dd7a03f419e201c65 to your computer and use it in GitHub Desktop.
O1= <random array>
date= <random array>
for i in xrange(0, len(O1)):
list= [{"date": date[i], "O1": O1[i]}]
return jsonify(results=list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment