{"action":"created","issue":{"url":"https://api.github.com/repos/go-hep/hep/issues/186","repository_url":"https://api.github.com/repos/go-hep/hep","labels_url":"https://api.github.com/repos/go-hep/hep/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/go-hep/hep/issues/186/comments","events_url":"https://api.github.com/repos/go-hep/hep/issues/186/events","html_url":"https://github.com/go-hep/hep/issues/186","id":321235067,"node_id":"MDU6SXNzdWUzMjEyMzUwNjc=","number":186,"title":"hbook/ntup: add example on how to create histos from CSV","user":{"login":"sbinet","id":1070920,"node_id":"MDQ6VXNlcjEwNzA5MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1070920?v=4","gravatar_id":"","url":"https://api.github.com/users/sbinet","html_url":"https://github.com/sbinet","followers_url":"https://api.github.com/users/sbinet/followers","following_url":"https://api.github.com/users/sbinet/following{/other_user}","gists_url":"https://api.github.com/users/sbinet/gists{/gist_id}","starred_url":"https://api.github.com/users/sbinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbinet/subscriptions","organizations_url":"https://api.github.com/users/sbinet/orgs","repos_url":"https://api.github.com/users/sbinet/repos","events_url":"https://api.github.com/users/sbinet/events{/privacy}","received_events_url":"https://api.github.com/users/sbinet/received_events","type":"User","site_admin":false},"labels":[{"id":533988521,"node_id":"MDU6TGFiZWw1MzM5ODg1MjE=","url":"https://api.github.com/repos/go-hep/hep/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":1101093617,"node_id":"MDU6TGFiZWwxMTAxMDkzNjE3","url":"https://api.github.com/repos/go-hep/hep/labels/first-issue","name":"first-issue","color":"fcdbc7","default":false},{"id":533988522,"node_id":"MDU6TGFiZWw1MzM5ODg1MjI=","url":"https://api.github.com/repos/go-hep/hep/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":{"login":"sbinet","id":1070920,"node_id":"MDQ6VXNlcjEwNzA5MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1070920?v=4","gravatar_id":"","url":"https://api.github.com/users/sbinet","html_url":"https://github.com/sbinet","followers_url":"https://api.github.com/users/sbinet/followers","following_url":"https://api.github.com/users/sbinet/following{/other_user}","gists_url":"https://api.github.com/users/sbinet/gists{/gist_id}","starred_url":"https://api.github.com/users/sbinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbinet/subscriptions","organizations_url":"https://api.github.com/users/sbinet/orgs","repos_url":"https://api.github.com/users/sbinet/repos","events_url":"https://api.github.com/users/sbinet/events{/privacy}","received_events_url":"https://api.github.com/users/sbinet/received_events","type":"User","site_admin":false},"assignees":[{"login":"sbinet","id":1070920,"node_id":"MDQ6VXNlcjEwNzA5MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1070920?v=4","gravatar_id":"","url":"https://api.github.com/users/sbinet","html_url":"https://github.com/sbinet","followers_url":"https://api.github.com/users/sbinet/followers","following_url":"https://api.github.com/users/sbinet/following{/other_user}","gists_url":"https://api.github.com/users/sbinet/gists{/gist_id}","starred_url":"https://api.github.com/users/sbinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbinet/subscriptions","organizations_url":"https://api.github.com/users/sbinet/orgs","repos_url":"https://api.github.com/users/sbinet/repos","events_url":"https://api.github.com/users/sbinet/events{/privacy}","received_events_url":"https://api.github.com/users/sbinet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-05-08T15:27:05Z","updated_at":"2019-02-12T16:51:25Z","closed_at":null,"author_association":"MEMBER","body":"something like this usecase, for example:\r\n\r\n- https://root-forum.cern.ch/t/how-to-read-a-dat-file-and-plot-as-histogram/28916\r\n\r\n```go\r\nnt, err := ntcsv.Open(\"testdata/simple.csv\", ntcsv.Comma(' '), ntcsv.Comment('#'))\r\nif err != nil {\r\n    log.Fatal(err)\r\n}\r\ndefer nt.DB().Close()\r\n\r\nh := hbook.NewH2D(100, 0, 100, 50, 0, 50)\r\n_, err = nt.ScanH2D(\"var1, var2\", h)\r\n```"},"comment":{"url":"https://api.github.com/repos/go-hep/hep/issues/comments/462839200","html_url":"https://github.com/go-hep/hep/issues/186#issuecomment-462839200","issue_url":"https://api.github.com/repos/go-hep/hep/issues/186","id":462839200,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MjgzOTIwMA==","user":{"login":"jaybatra26","id":24604293,"node_id":"MDQ6VXNlcjI0NjA0Mjkz","avatar_url":"https://avatars1.githubusercontent.com/u/24604293?v=4","gravatar_id":"","url":"https://api.github.com/users/jaybatra26","html_url":"https://github.com/jaybatra26","followers_url":"https://api.github.com/users/jaybatra26/followers","following_url":"https://api.github.com/users/jaybatra26/following{/other_user}","gists_url":"https://api.github.com/users/jaybatra26/gists{/gist_id}","starred_url":"https://api.github.com/users/jaybatra26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaybatra26/subscriptions","organizations_url":"https://api.github.com/users/jaybatra26/orgs","repos_url":"https://api.github.com/users/jaybatra26/repos","events_url":"https://api.github.com/users/jaybatra26/events{/privacy}","received_events_url":"https://api.github.com/users/jaybatra26/received_events","type":"User","site_admin":false},"created_at":"2019-02-12T16:51:25Z","updated_at":"2019-02-12T16:51:25Z","author_association":"NONE","body":"Thanks @sebgadrat \r\n\r\nOne quick question, where would this example file go. Would it be a standalone go file or is there a specific folder where this kind of examples reside?\r\n\r\n"}}
{"actor":{"display_login":"jaybatra26"}}