{"action":"created","comment":{"url":"https://api.github.com/repos/blaze/odo/pulls/comments/50293020","id":50293020,"diff_hunk":"@@ -22,6 +21,12 @@ def discover_dask_array(a, **kwargs):\n     return from_numpy(a.shape, a.dtype)\n \n \n+@discover.register(dd.Series)\n+@discover.register(dd.DataFrame)\n+def discover_dask_dataframe(df):\n+    return var * discover(df.head()).measure","path":"odo/backends/dask.py","position":18,"original_position":18,"commit_id":"c71472652111bbb9520d3a99121cbe9d6c1cfb21","original_commit_id":"c71472652111bbb9520d3a99121cbe9d6c1cfb21","user":{"login":"llllllllll","id":3064397,"avatar_url":"https://avatars.githubusercontent.com/u/3064397?v=3","gravatar_id":"","url":"https://api.github.com/users/llllllllll","html_url":"https://github.com/llllllllll","followers_url":"https://api.github.com/users/llllllllll/followers","following_url":"https://api.github.com/users/llllllllll/following{/other_user}","gists_url":"https://api.github.com/users/llllllllll/gists{/gist_id}","starred_url":"https://api.github.com/users/llllllllll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llllllllll/subscriptions","organizations_url":"https://api.github.com/users/llllllllll/orgs","repos_url":"https://api.github.com/users/llllllllll/repos","events_url":"https://api.github.com/users/llllllllll/events{/privacy}","received_events_url":"https://api.github.com/users/llllllllll/received_events","type":"User","site_admin":false},"body":"Just making sure, thanks","created_at":"2016-01-20T18:03:48Z","updated_at":"2016-01-20T18:03:48Z","html_url":"https://github.com/blaze/odo/pull/405#discussion_r50293020","pull_request_url":"https://api.github.com/repos/blaze/odo/pulls/405","_links":{"self":{"href":"https://api.github.com/repos/blaze/odo/pulls/comments/50293020"},"html":{"href":"https://github.com/blaze/odo/pull/405#discussion_r50293020"},"pull_request":{"href":"https://api.github.com/repos/blaze/odo/pulls/405"}}},"pull_request":{"url":"https://api.github.com/repos/blaze/odo/pulls/405","id":56544655,"html_url":"https://github.com/blaze/odo/pull/405","diff_url":"https://github.com/blaze/odo/pull/405.diff","patch_url":"https://github.com/blaze/odo/pull/405.patch","issue_url":"https://api.github.com/repos/blaze/odo/issues/405","number":405,"state":"open","locked":false,"title":"Add categorical support for pandas and dask backend","user":{"login":"jcrist","id":2783717,"avatar_url":"https://avatars.githubusercontent.com/u/2783717?v=3","gravatar_id":"","url":"https://api.github.com/users/jcrist","html_url":"https://github.com/jcrist","followers_url":"https://api.github.com/users/jcrist/followers","following_url":"https://api.github.com/users/jcrist/following{/other_user}","gists_url":"https://api.github.com/users/jcrist/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrist/subscriptions","organizations_url":"https://api.github.com/users/jcrist/orgs","repos_url":"https://api.github.com/users/jcrist/repos","events_url":"https://api.github.com/users/jcrist/events{/privacy}","received_events_url":"https://api.github.com/users/jcrist/received_events","type":"User","site_admin":false},"body":"Can now discover pandas dataframes with categorical dtype. Also implemented discover for ``dask.dataframe.DataFrame`` and ``dask.dataframe.Series``.","created_at":"2016-01-19T23:52:50Z","updated_at":"2016-01-20T18:03:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9dfcbcebaa1d5dcd0656f5f870a37ce1b35a53d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/blaze/odo/pulls/405/commits","review_comments_url":"https://api.github.com/repos/blaze/odo/pulls/405/comments","review_comment_url":"https://api.github.com/repos/blaze/odo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blaze/odo/issues/405/comments","statuses_url":"https://api.github.com/repos/blaze/odo/statuses/c71472652111bbb9520d3a99121cbe9d6c1cfb21","head":{"label":"jcrist:pandas_cat","ref":"pandas_cat","sha":"c71472652111bbb9520d3a99121cbe9d6c1cfb21","user":{"login":"jcrist","id":2783717,"avatar_url":"https://avatars.githubusercontent.com/u/2783717?v=3","gravatar_id":"","url":"https://api.github.com/users/jcrist","html_url":"https://github.com/jcrist","followers_url":"https://api.github.com/users/jcrist/followers","following_url":"https://api.github.com/users/jcrist/following{/other_user}","gists_url":"https://api.github.com/users/jcrist/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrist/subscriptions","organizations_url":"https://api.github.com/users/jcrist/orgs","repos_url":"https://api.github.com/users/jcrist/repos","events_url":"https://api.github.com/users/jcrist/events{/privacy}","received_events_url":"https://api.github.com/users/jcrist/received_events","type":"User","site_admin":false},"repo":{"id":49989404,"name":"odo","full_name":"jcrist/odo","owner":{"login":"jcrist","id":2783717,"avatar_url":"https://avatars.githubusercontent.com/u/2783717?v=3","gravatar_id":"","url":"https://api.github.com/users/jcrist","html_url":"https://github.com/jcrist","followers_url":"https://api.github.com/users/jcrist/followers","following_url":"https://api.github.com/users/jcrist/following{/other_user}","gists_url":"https://api.github.com/users/jcrist/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrist/subscriptions","organizations_url":"https://api.github.com/users/jcrist/orgs","repos_url":"https://api.github.com/users/jcrist/repos","events_url":"https://api.github.com/users/jcrist/events{/privacy}","received_events_url":"https://api.github.com/users/jcrist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcrist/odo","description":"Data Migration for the Blaze Project","fork":true,"url":"https://api.github.com/repos/jcrist/odo","forks_url":"https://api.github.com/repos/jcrist/odo/forks","keys_url":"https://api.github.com/repos/jcrist/odo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcrist/odo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcrist/odo/teams","hooks_url":"https://api.github.com/repos/jcrist/odo/hooks","issue_events_url":"https://api.github.com/repos/jcrist/odo/issues/events{/number}","events_url":"https://api.github.com/repos/jcrist/odo/events","assignees_url":"https://api.github.com/repos/jcrist/odo/assignees{/user}","branches_url":"https://api.github.com/repos/jcrist/odo/branches{/branch}","tags_url":"https://api.github.com/repos/jcrist/odo/tags","blobs_url":"https://api.github.com/repos/jcrist/odo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcrist/odo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcrist/odo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcrist/odo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcrist/odo/statuses/{sha}","languages_url":"https://api.github.com/repos/jcrist/odo/languages","stargazers_url":"https://api.github.com/repos/jcrist/odo/stargazers","contributors_url":"https://api.github.com/repos/jcrist/odo/contributors","subscribers_url":"https://api.github.com/repos/jcrist/odo/subscribers","subscription_url":"https://api.github.com/repos/jcrist/odo/subscription","commits_url":"https://api.github.com/repos/jcrist/odo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcrist/odo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcrist/odo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcrist/odo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcrist/odo/contents/{+path}","compare_url":"https://api.github.com/repos/jcrist/odo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcrist/odo/merges","archive_url":"https://api.github.com/repos/jcrist/odo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcrist/odo/downloads","issues_url":"https://api.github.com/repos/jcrist/odo/issues{/number}","pulls_url":"https://api.github.com/repos/jcrist/odo/pulls{/number}","milestones_url":"https://api.github.com/repos/jcrist/odo/milestones{/number}","notifications_url":"https://api.github.com/repos/jcrist/odo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcrist/odo/labels{/name}","releases_url":"https://api.github.com/repos/jcrist/odo/releases{/id}","created_at":"2016-01-19T23:04:46Z","updated_at":"2016-01-19T23:04:47Z","pushed_at":"2016-01-20T14:53:23Z","git_url":"git://github.com/jcrist/odo.git","ssh_url":"git@github.com:jcrist/odo.git","clone_url":"https://github.com/jcrist/odo.git","svn_url":"https://github.com/jcrist/odo","homepage":"http://odo.readthedocs.org/","size":11992,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"blaze:master","ref":"master","sha":"7fbfb6cdfc2ed115957a927c39d2679c83ceeb62","user":{"login":"blaze","id":12833921,"avatar_url":"https://avatars.githubusercontent.com/u/12833921?v=3","gravatar_id":"","url":"https://api.github.com/users/blaze","html_url":"https://github.com/blaze","followers_url":"https://api.github.com/users/blaze/followers","following_url":"https://api.github.com/users/blaze/following{/other_user}","gists_url":"https://api.github.com/users/blaze/gists{/gist_id}","starred_url":"https://api.github.com/users/blaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaze/subscriptions","organizations_url":"https://api.github.com/users/blaze/orgs","repos_url":"https://api.github.com/users/blaze/repos","events_url":"https://api.github.com/users/blaze/events{/privacy}","received_events_url":"https://api.github.com/users/blaze/received_events","type":"Organization","site_admin":false},"repo":{"id":27790033,"name":"odo","full_name":"blaze/odo","owner":{"login":"blaze","id":12833921,"avatar_url":"https://avatars.githubusercontent.com/u/12833921?v=3","gravatar_id":"","url":"https://api.github.com/users/blaze","html_url":"https://github.com/blaze","followers_url":"https://api.github.com/users/blaze/followers","following_url":"https://api.github.com/users/blaze/following{/other_user}","gists_url":"https://api.github.com/users/blaze/gists{/gist_id}","starred_url":"https://api.github.com/users/blaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaze/subscriptions","organizations_url":"https://api.github.com/users/blaze/orgs","repos_url":"https://api.github.com/users/blaze/repos","events_url":"https://api.github.com/users/blaze/events{/privacy}","received_events_url":"https://api.github.com/users/blaze/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blaze/odo","description":"Data Migration for the Blaze Project","fork":false,"url":"https://api.github.com/repos/blaze/odo","forks_url":"https://api.github.com/repos/blaze/odo/forks","keys_url":"https://api.github.com/repos/blaze/odo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blaze/odo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blaze/odo/teams","hooks_url":"https://api.github.com/repos/blaze/odo/hooks","issue_events_url":"https://api.github.com/repos/blaze/odo/issues/events{/number}","events_url":"https://api.github.com/repos/blaze/odo/events","assignees_url":"https://api.github.com/repos/blaze/odo/assignees{/user}","branches_url":"https://api.github.com/repos/blaze/odo/branches{/branch}","tags_url":"https://api.github.com/repos/blaze/odo/tags","blobs_url":"https://api.github.com/repos/blaze/odo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blaze/odo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blaze/odo/git/refs{/sha}","trees_url":"https://api.github.com/repos/blaze/odo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blaze/odo/statuses/{sha}","languages_url":"https://api.github.com/repos/blaze/odo/languages","stargazers_url":"https://api.github.com/repos/blaze/odo/stargazers","contributors_url":"https://api.github.com/repos/blaze/odo/contributors","subscribers_url":"https://api.github.com/repos/blaze/odo/subscribers","subscription_url":"https://api.github.com/repos/blaze/odo/subscription","commits_url":"https://api.github.com/repos/blaze/odo/commits{/sha}","git_commits_url":"https://api.github.com/repos/blaze/odo/git/commits{/sha}","comments_url":"https://api.github.com/repos/blaze/odo/comments{/number}","issue_comment_url":"https://api.github.com/repos/blaze/odo/issues/comments{/number}","contents_url":"https://api.github.com/repos/blaze/odo/contents/{+path}","compare_url":"https://api.github.com/repos/blaze/odo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blaze/odo/merges","archive_url":"https://api.github.com/repos/blaze/odo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blaze/odo/downloads","issues_url":"https://api.github.com/repos/blaze/odo/issues{/number}","pulls_url":"https://api.github.com/repos/blaze/odo/pulls{/number}","milestones_url":"https://api.github.com/repos/blaze/odo/milestones{/number}","notifications_url":"https://api.github.com/repos/blaze/odo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blaze/odo/labels{/name}","releases_url":"https://api.github.com/repos/blaze/odo/releases{/id}","created_at":"2014-12-09T22:17:14Z","updated_at":"2016-01-15T08:54:33Z","pushed_at":"2016-01-20T14:53:25Z","git_url":"git://github.com/blaze/odo.git","ssh_url":"git@github.com:blaze/odo.git","clone_url":"https://github.com/blaze/odo.git","svn_url":"https://github.com/blaze/odo","homepage":"http://odo.readthedocs.org/","size":12313,"stargazers_count":260,"watchers_count":260,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":108,"forks":55,"open_issues":108,"watchers":260,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blaze/odo/pulls/405"},"html":{"href":"https://github.com/blaze/odo/pull/405"},"issue":{"href":"https://api.github.com/repos/blaze/odo/issues/405"},"comments":{"href":"https://api.github.com/repos/blaze/odo/issues/405/comments"},"review_comments":{"href":"https://api.github.com/repos/blaze/odo/pulls/405/comments"},"review_comment":{"href":"https://api.github.com/repos/blaze/odo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blaze/odo/pulls/405/commits"},"statuses":{"href":"https://api.github.com/repos/blaze/odo/statuses/c71472652111bbb9520d3a99121cbe9d6c1cfb21"}}}}