{"action":"created","comment":{"url":"https://api.github.com/repos/shravan97/PyRDF/pulls/comments/198121771","pull_request_review_id":131992365,"id":198121771,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODEyMTc3MQ==","diff_hunk":"@@ -0,0 +1,111 @@\n+## \\file\n+## \\ingroup tutorial_dataframe\n+## \\notebook -nodraw\n+## This tutorial illustrates the basic features of the RDataFrame class,\n+## a utility which allows to interact with data stored in TTrees following\n+## a functional-chain like approach.\n+##\n+## \\macro_code\n+##\n+## \\date May 2017\n+## \\author Danilo Piparo\n+\n+import ROOT, PyRDF\n+\n+# A simple helper function to fill a test tree: this makes the example stand-alone.\n+def fill_tree(treeName, fileName):\n+    tdf = ROOT.ROOT.RDataFrame(10)\n+    tdf.Define(\"b1\", \"(double) tdfentry_\")\\\n+       .Define(\"b2\", \"(int) tdfentry_ * tdfentry_\").Snapshot(treeName, fileName)\n+\n+# We prepare an input tree to run on\n+fileName = \"df001_introduction_py.root\"\n+treeName = \"myTree\"\n+fill_tree(treeName, fileName)\n+\n+\n+# We read the tree from the file and create a RDataFrame, a class that\n+# allows us to interact with the data contained in the tree.\n+RDF = PyRDF.RDataFrame\n+d = RDF(treeName, fileName)\n+ROOT.ROOT.EnableImplicitMT()","path":"tutorials/local/MT/df001_introduction.py","position":31,"original_position":31,"commit_id":"50a6b4b015312b01be8d669a71b1a244484a7d45","original_commit_id":"50a6b4b015312b01be8d669a71b1a244484a7d45","user":{"login":"shravan97","id":10980285,"node_id":"MDQ6VXNlcjEwOTgwMjg1","avatar_url":"https://avatars1.githubusercontent.com/u/10980285?v=4","gravatar_id":"","url":"https://api.github.com/users/shravan97","html_url":"https://github.com/shravan97","followers_url":"https://api.github.com/users/shravan97/followers","following_url":"https://api.github.com/users/shravan97/following{/other_user}","gists_url":"https://api.github.com/users/shravan97/gists{/gist_id}","starred_url":"https://api.github.com/users/shravan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shravan97/subscriptions","organizations_url":"https://api.github.com/users/shravan97/orgs","repos_url":"https://api.github.com/users/shravan97/repos","events_url":"https://api.github.com/users/shravan97/events{/privacy}","received_events_url":"https://api.github.com/users/shravan97/received_events","type":"User","site_admin":false},"body":"Ok @etejedor 👍 ","created_at":"2018-06-26T12:22:59Z","updated_at":"2018-06-26T12:22:59Z","html_url":"https://github.com/shravan97/PyRDF/pull/32#discussion_r198121771","pull_request_url":"https://api.github.com/repos/shravan97/PyRDF/pulls/32","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/shravan97/PyRDF/pulls/comments/198121771"},"html":{"href":"https://github.com/shravan97/PyRDF/pull/32#discussion_r198121771"},"pull_request":{"href":"https://api.github.com/repos/shravan97/PyRDF/pulls/32"}},"in_reply_to_id":198120941},"pull_request":{"url":"https://api.github.com/repos/shravan97/PyRDF/pulls/32","id":197372461,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MzcyNDYx","html_url":"https://github.com/shravan97/PyRDF/pull/32","diff_url":"https://github.com/shravan97/PyRDF/pull/32.diff","patch_url":"https://github.com/shravan97/PyRDF/pull/32.patch","issue_url":"https://api.github.com/repos/shravan97/PyRDF/issues/32","number":32,"state":"open","locked":false,"title":"Add tutorials with multi-threading enabled ","user":{"login":"shravan97","id":10980285,"node_id":"MDQ6VXNlcjEwOTgwMjg1","avatar_url":"https://avatars1.githubusercontent.com/u/10980285?v=4","gravatar_id":"","url":"https://api.github.com/users/shravan97","html_url":"https://github.com/shravan97","followers_url":"https://api.github.com/users/shravan97/followers","following_url":"https://api.github.com/users/shravan97/following{/other_user}","gists_url":"https://api.github.com/users/shravan97/gists{/gist_id}","starred_url":"https://api.github.com/users/shravan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shravan97/subscriptions","organizations_url":"https://api.github.com/users/shravan97/orgs","repos_url":"https://api.github.com/users/shravan97/repos","events_url":"https://api.github.com/users/shravan97/events{/privacy}","received_events_url":"https://api.github.com/users/shravan97/received_events","type":"User","site_admin":false},"body":"Features in this PR : \r\n* Re-structure the tutorials directory into : \r\n ```\r\ntutorials/\r\n     |\r\n      ----- local\r\n                   |\r\n                    ------sequential/.......\r\n                    ------MT/.......\r\n```\r\n* Enable multi-threading for all tutorials and add them to `tutorials/local/MT`","created_at":"2018-06-26T10:20:23Z","updated_at":"2018-06-26T12:22:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da36730f4f6a42cf0ece14c09af5f2bdeaba73df","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shravan97/PyRDF/pulls/32/commits","review_comments_url":"https://api.github.com/repos/shravan97/PyRDF/pulls/32/comments","review_comment_url":"https://api.github.com/repos/shravan97/PyRDF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shravan97/PyRDF/issues/32/comments","statuses_url":"https://api.github.com/repos/shravan97/PyRDF/statuses/50a6b4b015312b01be8d669a71b1a244484a7d45","head":{"label":"shravan97:mt_tutorials","ref":"mt_tutorials","sha":"50a6b4b015312b01be8d669a71b1a244484a7d45","user":{"login":"shravan97","id":10980285,"node_id":"MDQ6VXNlcjEwOTgwMjg1","avatar_url":"https://avatars1.githubusercontent.com/u/10980285?v=4","gravatar_id":"","url":"https://api.github.com/users/shravan97","html_url":"https://github.com/shravan97","followers_url":"https://api.github.com/users/shravan97/followers","following_url":"https://api.github.com/users/shravan97/following{/other_user}","gists_url":"https://api.github.com/users/shravan97/gists{/gist_id}","starred_url":"https://api.github.com/users/shravan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shravan97/subscriptions","organizations_url":"https://api.github.com/users/shravan97/orgs","repos_url":"https://api.github.com/users/shravan97/repos","events_url":"https://api.github.com/users/shravan97/events{/privacy}","received_events_url":"https://api.github.com/users/shravan97/received_events","type":"User","site_admin":false},"repo":{"id":133717643,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM3MTc2NDM=","name":"PyRDF","full_name":"shravan97/PyRDF","owner":{"login":"shravan97","id":10980285,"node_id":"MDQ6VXNlcjEwOTgwMjg1","avatar_url":"https://avatars1.githubusercontent.com/u/10980285?v=4","gravatar_id":"","url":"https://api.github.com/users/shravan97","html_url":"https://github.com/shravan97","followers_url":"https://api.github.com/users/shravan97/followers","following_url":"https://api.github.com/users/shravan97/following{/other_user}","gists_url":"https://api.github.com/users/shravan97/gists{/gist_id}","starred_url":"https://api.github.com/users/shravan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shravan97/subscriptions","organizations_url":"https://api.github.com/users/shravan97/orgs","repos_url":"https://api.github.com/users/shravan97/repos","events_url":"https://api.github.com/users/shravan97/events{/privacy}","received_events_url":"https://api.github.com/users/shravan97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shravan97/PyRDF","description":"Python Library for doing TDataFrame Analysis","fork":false,"url":"https://api.github.com/repos/shravan97/PyRDF","forks_url":"https://api.github.com/repos/shravan97/PyRDF/forks","keys_url":"https://api.github.com/repos/shravan97/PyRDF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shravan97/PyRDF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shravan97/PyRDF/teams","hooks_url":"https://api.github.com/repos/shravan97/PyRDF/hooks","issue_events_url":"https://api.github.com/repos/shravan97/PyRDF/issues/events{/number}","events_url":"https://api.github.com/repos/shravan97/PyRDF/events","assignees_url":"https://api.github.com/repos/shravan97/PyRDF/assignees{/user}","branches_url":"https://api.github.com/repos/shravan97/PyRDF/branches{/branch}","tags_url":"https://api.github.com/repos/shravan97/PyRDF/tags","blobs_url":"https://api.github.com/repos/shravan97/PyRDF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shravan97/PyRDF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shravan97/PyRDF/git/refs{/sha}","trees_url":"https://api.github.com/repos/shravan97/PyRDF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shravan97/PyRDF/statuses/{sha}","languages_url":"https://api.github.com/repos/shravan97/PyRDF/languages","stargazers_url":"https://api.github.com/repos/shravan97/PyRDF/stargazers","contributors_url":"https://api.github.com/repos/shravan97/PyRDF/contributors","subscribers_url":"https://api.github.com/repos/shravan97/PyRDF/subscribers","subscription_url":"https://api.github.com/repos/shravan97/PyRDF/subscription","commits_url":"https://api.github.com/repos/shravan97/PyRDF/commits{/sha}","git_commits_url":"https://api.github.com/repos/shravan97/PyRDF/git/commits{/sha}","comments_url":"https://api.github.com/repos/shravan97/PyRDF/comments{/number}","issue_comment_url":"https://api.github.com/repos/shravan97/PyRDF/issues/comments{/number}","contents_url":"https://api.github.com/repos/shravan97/PyRDF/contents/{+path}","compare_url":"https://api.github.com/repos/shravan97/PyRDF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shravan97/PyRDF/merges","archive_url":"https://api.github.com/repos/shravan97/PyRDF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shravan97/PyRDF/downloads","issues_url":"https://api.github.com/repos/shravan97/PyRDF/issues{/number}","pulls_url":"https://api.github.com/repos/shravan97/PyRDF/pulls{/number}","milestones_url":"https://api.github.com/repos/shravan97/PyRDF/milestones{/number}","notifications_url":"https://api.github.com/repos/shravan97/PyRDF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shravan97/PyRDF/labels{/name}","releases_url":"https://api.github.com/repos/shravan97/PyRDF/releases{/id}","deployments_url":"https://api.github.com/repos/shravan97/PyRDF/deployments","created_at":"2018-05-16T20:08:04Z","updated_at":"2018-06-26T09:34:34Z","pushed_at":"2018-06-26T10:20:24Z","git_url":"git://github.com/shravan97/PyRDF.git","ssh_url":"git@github.com:shravan97/PyRDF.git","clone_url":"https://github.com/shravan97/PyRDF.git","svn_url":"https://github.com/shravan97/PyRDF","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"shravan97:master","ref":"master","sha":"d43d36db7c038adb1dab8e05dc66d47ab9dbac79","user":{"login":"shravan97","id":10980285,"node_id":"MDQ6VXNlcjEwOTgwMjg1","avatar_url":"https://avatars1.githubusercontent.com/u/10980285?v=4","gravatar_id":"","url":"https://api.github.com/users/shravan97","html_url":"https://github.com/shravan97","followers_url":"https://api.github.com/users/shravan97/followers","following_url":"https://api.github.com/users/shravan97/following{/other_user}","gists_url":"https://api.github.com/users/shravan97/gists{/gist_id}","starred_url":"https://api.github.com/users/shravan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shravan97/subscriptions","organizations_url":"https://api.github.com/users/shravan97/orgs","repos_url":"https://api.github.com/users/shravan97/repos","events_url":"https://api.github.com/users/shravan97/events{/privacy}","received_events_url":"https://api.github.com/users/shravan97/received_events","type":"User","site_admin":false},"repo":{"id":133717643,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM3MTc2NDM=","name":"PyRDF","full_name":"shravan97/PyRDF","owner":{"login":"shravan97","id":10980285,"node_id":"MDQ6VXNlcjEwOTgwMjg1","avatar_url":"https://avatars1.githubusercontent.com/u/10980285?v=4","gravatar_id":"","url":"https://api.github.com/users/shravan97","html_url":"https://github.com/shravan97","followers_url":"https://api.github.com/users/shravan97/followers","following_url":"https://api.github.com/users/shravan97/following{/other_user}","gists_url":"https://api.github.com/users/shravan97/gists{/gist_id}","starred_url":"https://api.github.com/users/shravan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shravan97/subscriptions","organizations_url":"https://api.github.com/users/shravan97/orgs","repos_url":"https://api.github.com/users/shravan97/repos","events_url":"https://api.github.com/users/shravan97/events{/privacy}","received_events_url":"https://api.github.com/users/shravan97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shravan97/PyRDF","description":"Python Library for doing TDataFrame Analysis","fork":false,"url":"https://api.github.com/repos/shravan97/PyRDF","forks_url":"https://api.github.com/repos/shravan97/PyRDF/forks","keys_url":"https://api.github.com/repos/shravan97/PyRDF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shravan97/PyRDF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shravan97/PyRDF/teams","hooks_url":"https://api.github.com/repos/shravan97/PyRDF/hooks","issue_events_url":"https://api.github.com/repos/shravan97/PyRDF/issues/events{/number}","events_url":"https://api.github.com/repos/shravan97/PyRDF/events","assignees_url":"https://api.github.com/repos/shravan97/PyRDF/assignees{/user}","branches_url":"https://api.github.com/repos/shravan97/PyRDF/branches{/branch}","tags_url":"https://api.github.com/repos/shravan97/PyRDF/tags","blobs_url":"https://api.github.com/repos/shravan97/PyRDF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shravan97/PyRDF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shravan97/PyRDF/git/refs{/sha}","trees_url":"https://api.github.com/repos/shravan97/PyRDF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shravan97/PyRDF/statuses/{sha}","languages_url":"https://api.github.com/repos/shravan97/PyRDF/languages","stargazers_url":"https://api.github.com/repos/shravan97/PyRDF/stargazers","contributors_url":"https://api.github.com/repos/shravan97/PyRDF/contributors","subscribers_url":"https://api.github.com/repos/shravan97/PyRDF/subscribers","subscription_url":"https://api.github.com/repos/shravan97/PyRDF/subscription","commits_url":"https://api.github.com/repos/shravan97/PyRDF/commits{/sha}","git_commits_url":"https://api.github.com/repos/shravan97/PyRDF/git/commits{/sha}","comments_url":"https://api.github.com/repos/shravan97/PyRDF/comments{/number}","issue_comment_url":"https://api.github.com/repos/shravan97/PyRDF/issues/comments{/number}","contents_url":"https://api.github.com/repos/shravan97/PyRDF/contents/{+path}","compare_url":"https://api.github.com/repos/shravan97/PyRDF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shravan97/PyRDF/merges","archive_url":"https://api.github.com/repos/shravan97/PyRDF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shravan97/PyRDF/downloads","issues_url":"https://api.github.com/repos/shravan97/PyRDF/issues{/number}","pulls_url":"https://api.github.com/repos/shravan97/PyRDF/pulls{/number}","milestones_url":"https://api.github.com/repos/shravan97/PyRDF/milestones{/number}","notifications_url":"https://api.github.com/repos/shravan97/PyRDF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shravan97/PyRDF/labels{/name}","releases_url":"https://api.github.com/repos/shravan97/PyRDF/releases{/id}","deployments_url":"https://api.github.com/repos/shravan97/PyRDF/deployments","created_at":"2018-05-16T20:08:04Z","updated_at":"2018-06-26T09:34:34Z","pushed_at":"2018-06-26T10:20:24Z","git_url":"git://github.com/shravan97/PyRDF.git","ssh_url":"git@github.com:shravan97/PyRDF.git","clone_url":"https://github.com/shravan97/PyRDF.git","svn_url":"https://github.com/shravan97/PyRDF","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shravan97/PyRDF/pulls/32"},"html":{"href":"https://github.com/shravan97/PyRDF/pull/32"},"issue":{"href":"https://api.github.com/repos/shravan97/PyRDF/issues/32"},"comments":{"href":"https://api.github.com/repos/shravan97/PyRDF/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/shravan97/PyRDF/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/shravan97/PyRDF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shravan97/PyRDF/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/shravan97/PyRDF/statuses/50a6b4b015312b01be8d669a71b1a244484a7d45"}},"author_association":"OWNER"}}
{"actor":{"display_login":"shravan97"}}