{"action":"created","comment":{"url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/comments/67083201","id":67083201,"diff_hunk":"@@ -0,0 +1,38 @@\n+import pandas as pd\n+import sqlite3 as lite\n+import matplotlib.pyplot as plt\n+\n+con = lite.connect('citi_bike.db')\n+cur = con.cursor()\n+\n+# Get citibike usage data from available_bikes table\n+df = pd.read_sql_query(\"SELECT * FROM available_bikes ORDER BY execution_time\",con,index_col='execution_time')","path":"explore.py","position":9,"original_position":9,"commit_id":"0916914b7d6234a943f99fab663729a87c31bf70","original_commit_id":"0916914b7d6234a943f99fab663729a87c31bf70","user":{"login":"cavaunpeu","id":7306239,"avatar_url":"https://avatars.githubusercontent.com/u/7306239?v=3","gravatar_id":"","url":"https://api.github.com/users/cavaunpeu","html_url":"https://github.com/cavaunpeu","followers_url":"https://api.github.com/users/cavaunpeu/followers","following_url":"https://api.github.com/users/cavaunpeu/following{/other_user}","gists_url":"https://api.github.com/users/cavaunpeu/gists{/gist_id}","starred_url":"https://api.github.com/users/cavaunpeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cavaunpeu/subscriptions","organizations_url":"https://api.github.com/users/cavaunpeu/orgs","repos_url":"https://api.github.com/users/cavaunpeu/repos","events_url":"https://api.github.com/users/cavaunpeu/events{/privacy}","received_events_url":"https://api.github.com/users/cavaunpeu/received_events","type":"User","site_admin":false},"body":"`pd.read_sql`","created_at":"2016-06-15T00:46:44Z","updated_at":"2016-06-15T00:46:44Z","html_url":"https://github.com/PeterDamrosch/citibike/pull/1#discussion_r67083201","pull_request_url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/comments/67083201"},"html":{"href":"https://github.com/PeterDamrosch/citibike/pull/1#discussion_r67083201"},"pull_request":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1","id":73665468,"html_url":"https://github.com/PeterDamrosch/citibike/pull/1","diff_url":"https://github.com/PeterDamrosch/citibike/pull/1.diff","patch_url":"https://github.com/PeterDamrosch/citibike/pull/1.patch","issue_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues/1","number":1,"state":"open","locked":false,"title":"Development","user":{"login":"PeterDamrosch","id":13560171,"avatar_url":"https://avatars.githubusercontent.com/u/13560171?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDamrosch","html_url":"https://github.com/PeterDamrosch","followers_url":"https://api.github.com/users/PeterDamrosch/followers","following_url":"https://api.github.com/users/PeterDamrosch/following{/other_user}","gists_url":"https://api.github.com/users/PeterDamrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDamrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDamrosch/subscriptions","organizations_url":"https://api.github.com/users/PeterDamrosch/orgs","repos_url":"https://api.github.com/users/PeterDamrosch/repos","events_url":"https://api.github.com/users/PeterDamrosch/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDamrosch/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-14T00:50:45Z","updated_at":"2016-06-15T00:46:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f0a97850b7cf0d67a078f8b4066f93de737df50","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1/commits","review_comments_url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1/comments","review_comment_url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues/1/comments","statuses_url":"https://api.github.com/repos/PeterDamrosch/citibike/statuses/0916914b7d6234a943f99fab663729a87c31bf70","head":{"label":"PeterDamrosch:development","ref":"development","sha":"0916914b7d6234a943f99fab663729a87c31bf70","user":{"login":"PeterDamrosch","id":13560171,"avatar_url":"https://avatars.githubusercontent.com/u/13560171?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDamrosch","html_url":"https://github.com/PeterDamrosch","followers_url":"https://api.github.com/users/PeterDamrosch/followers","following_url":"https://api.github.com/users/PeterDamrosch/following{/other_user}","gists_url":"https://api.github.com/users/PeterDamrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDamrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDamrosch/subscriptions","organizations_url":"https://api.github.com/users/PeterDamrosch/orgs","repos_url":"https://api.github.com/users/PeterDamrosch/repos","events_url":"https://api.github.com/users/PeterDamrosch/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDamrosch/received_events","type":"User","site_admin":false},"repo":{"id":60934307,"name":"citibike","full_name":"PeterDamrosch/citibike","owner":{"login":"PeterDamrosch","id":13560171,"avatar_url":"https://avatars.githubusercontent.com/u/13560171?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDamrosch","html_url":"https://github.com/PeterDamrosch","followers_url":"https://api.github.com/users/PeterDamrosch/followers","following_url":"https://api.github.com/users/PeterDamrosch/following{/other_user}","gists_url":"https://api.github.com/users/PeterDamrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDamrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDamrosch/subscriptions","organizations_url":"https://api.github.com/users/PeterDamrosch/orgs","repos_url":"https://api.github.com/users/PeterDamrosch/repos","events_url":"https://api.github.com/users/PeterDamrosch/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDamrosch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeterDamrosch/citibike","description":"Exercises in getting, cleaning, and exploring data","fork":false,"url":"https://api.github.com/repos/PeterDamrosch/citibike","forks_url":"https://api.github.com/repos/PeterDamrosch/citibike/forks","keys_url":"https://api.github.com/repos/PeterDamrosch/citibike/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterDamrosch/citibike/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterDamrosch/citibike/teams","hooks_url":"https://api.github.com/repos/PeterDamrosch/citibike/hooks","issue_events_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues/events{/number}","events_url":"https://api.github.com/repos/PeterDamrosch/citibike/events","assignees_url":"https://api.github.com/repos/PeterDamrosch/citibike/assignees{/user}","branches_url":"https://api.github.com/repos/PeterDamrosch/citibike/branches{/branch}","tags_url":"https://api.github.com/repos/PeterDamrosch/citibike/tags","blobs_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterDamrosch/citibike/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterDamrosch/citibike/languages","stargazers_url":"https://api.github.com/repos/PeterDamrosch/citibike/stargazers","contributors_url":"https://api.github.com/repos/PeterDamrosch/citibike/contributors","subscribers_url":"https://api.github.com/repos/PeterDamrosch/citibike/subscribers","subscription_url":"https://api.github.com/repos/PeterDamrosch/citibike/subscription","commits_url":"https://api.github.com/repos/PeterDamrosch/citibike/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterDamrosch/citibike/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterDamrosch/citibike/contents/{+path}","compare_url":"https://api.github.com/repos/PeterDamrosch/citibike/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterDamrosch/citibike/merges","archive_url":"https://api.github.com/repos/PeterDamrosch/citibike/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterDamrosch/citibike/downloads","issues_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues{/number}","pulls_url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterDamrosch/citibike/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterDamrosch/citibike/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterDamrosch/citibike/labels{/name}","releases_url":"https://api.github.com/repos/PeterDamrosch/citibike/releases{/id}","deployments_url":"https://api.github.com/repos/PeterDamrosch/citibike/deployments","created_at":"2016-06-12T00:51:46Z","updated_at":"2016-06-12T00:58:51Z","pushed_at":"2016-06-14T00:50:46Z","git_url":"git://github.com/PeterDamrosch/citibike.git","ssh_url":"git@github.com:PeterDamrosch/citibike.git","clone_url":"https://github.com/PeterDamrosch/citibike.git","svn_url":"https://github.com/PeterDamrosch/citibike","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"PeterDamrosch:master","ref":"master","sha":"7a90fc27f2b7e3b3fd220f22f2c3269dcb167526","user":{"login":"PeterDamrosch","id":13560171,"avatar_url":"https://avatars.githubusercontent.com/u/13560171?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDamrosch","html_url":"https://github.com/PeterDamrosch","followers_url":"https://api.github.com/users/PeterDamrosch/followers","following_url":"https://api.github.com/users/PeterDamrosch/following{/other_user}","gists_url":"https://api.github.com/users/PeterDamrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDamrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDamrosch/subscriptions","organizations_url":"https://api.github.com/users/PeterDamrosch/orgs","repos_url":"https://api.github.com/users/PeterDamrosch/repos","events_url":"https://api.github.com/users/PeterDamrosch/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDamrosch/received_events","type":"User","site_admin":false},"repo":{"id":60934307,"name":"citibike","full_name":"PeterDamrosch/citibike","owner":{"login":"PeterDamrosch","id":13560171,"avatar_url":"https://avatars.githubusercontent.com/u/13560171?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDamrosch","html_url":"https://github.com/PeterDamrosch","followers_url":"https://api.github.com/users/PeterDamrosch/followers","following_url":"https://api.github.com/users/PeterDamrosch/following{/other_user}","gists_url":"https://api.github.com/users/PeterDamrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDamrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDamrosch/subscriptions","organizations_url":"https://api.github.com/users/PeterDamrosch/orgs","repos_url":"https://api.github.com/users/PeterDamrosch/repos","events_url":"https://api.github.com/users/PeterDamrosch/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDamrosch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeterDamrosch/citibike","description":"Exercises in getting, cleaning, and exploring data","fork":false,"url":"https://api.github.com/repos/PeterDamrosch/citibike","forks_url":"https://api.github.com/repos/PeterDamrosch/citibike/forks","keys_url":"https://api.github.com/repos/PeterDamrosch/citibike/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterDamrosch/citibike/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterDamrosch/citibike/teams","hooks_url":"https://api.github.com/repos/PeterDamrosch/citibike/hooks","issue_events_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues/events{/number}","events_url":"https://api.github.com/repos/PeterDamrosch/citibike/events","assignees_url":"https://api.github.com/repos/PeterDamrosch/citibike/assignees{/user}","branches_url":"https://api.github.com/repos/PeterDamrosch/citibike/branches{/branch}","tags_url":"https://api.github.com/repos/PeterDamrosch/citibike/tags","blobs_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterDamrosch/citibike/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterDamrosch/citibike/languages","stargazers_url":"https://api.github.com/repos/PeterDamrosch/citibike/stargazers","contributors_url":"https://api.github.com/repos/PeterDamrosch/citibike/contributors","subscribers_url":"https://api.github.com/repos/PeterDamrosch/citibike/subscribers","subscription_url":"https://api.github.com/repos/PeterDamrosch/citibike/subscription","commits_url":"https://api.github.com/repos/PeterDamrosch/citibike/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterDamrosch/citibike/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterDamrosch/citibike/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterDamrosch/citibike/contents/{+path}","compare_url":"https://api.github.com/repos/PeterDamrosch/citibike/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterDamrosch/citibike/merges","archive_url":"https://api.github.com/repos/PeterDamrosch/citibike/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterDamrosch/citibike/downloads","issues_url":"https://api.github.com/repos/PeterDamrosch/citibike/issues{/number}","pulls_url":"https://api.github.com/repos/PeterDamrosch/citibike/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterDamrosch/citibike/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterDamrosch/citibike/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterDamrosch/citibike/labels{/name}","releases_url":"https://api.github.com/repos/PeterDamrosch/citibike/releases{/id}","deployments_url":"https://api.github.com/repos/PeterDamrosch/citibike/deployments","created_at":"2016-06-12T00:51:46Z","updated_at":"2016-06-12T00:58:51Z","pushed_at":"2016-06-14T00:50:46Z","git_url":"git://github.com/PeterDamrosch/citibike.git","ssh_url":"git@github.com:PeterDamrosch/citibike.git","clone_url":"https://github.com/PeterDamrosch/citibike.git","svn_url":"https://github.com/PeterDamrosch/citibike","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1"},"html":{"href":"https://github.com/PeterDamrosch/citibike/pull/1"},"issue":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/issues/1"},"comments":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/PeterDamrosch/citibike/statuses/0916914b7d6234a943f99fab663729a87c31bf70"}}}}
{"actor":{"display_login":"cavaunpeu"}}