{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1647","repository_url":"https://api.github.com/repos/JuliaData/DataFrames.jl","labels_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1647/labels{/name}","comments_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1647/comments","events_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1647/events","html_url":"https://github.com/JuliaData/DataFrames.jl/issues/1647","id":392742726,"node_id":"MDU6SXNzdWUzOTI3NDI3MjY=","number":1647,"title":"Export function for getting row number of DataFrameRow","user":{"login":"kescobo","id":3502975,"node_id":"MDQ6VXNlcjM1MDI5NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/3502975?v=4","gravatar_id":"","url":"https://api.github.com/users/kescobo","html_url":"https://github.com/kescobo","followers_url":"https://api.github.com/users/kescobo/followers","following_url":"https://api.github.com/users/kescobo/following{/other_user}","gists_url":"https://api.github.com/users/kescobo/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobo/subscriptions","organizations_url":"https://api.github.com/users/kescobo/orgs","repos_url":"https://api.github.com/users/kescobo/repos","events_url":"https://api.github.com/users/kescobo/events{/privacy}","received_events_url":"https://api.github.com/users/kescobo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T19:20:23Z","updated_at":"2018-12-19T21:45:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There's an internal function `DataFrames.row()` (defined [here](https://github.com/JuliaData/DataFrames.jl/blob/master/src/dataframerow/dataframerow.jl#L27)) that returns the index of a `DataFrameRow`, which I often need while iterating. It would be nice if that function were exported, though `row()` is probably too generic. Maybe `rownumber` or something? \r\n\r\nI'd be happy to submit a PR if others would find this useful."},"comment":{"url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/comments/448754664","html_url":"https://github.com/JuliaData/DataFrames.jl/issues/1647#issuecomment-448754664","issue_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1647","id":448754664,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODc1NDY2NA==","user":{"login":"bkamins","id":6187170,"node_id":"MDQ6VXNlcjYxODcxNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/6187170?v=4","gravatar_id":"","url":"https://api.github.com/users/bkamins","html_url":"https://github.com/bkamins","followers_url":"https://api.github.com/users/bkamins/followers","following_url":"https://api.github.com/users/bkamins/following{/other_user}","gists_url":"https://api.github.com/users/bkamins/gists{/gist_id}","starred_url":"https://api.github.com/users/bkamins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkamins/subscriptions","organizations_url":"https://api.github.com/users/bkamins/orgs","repos_url":"https://api.github.com/users/bkamins/repos","events_url":"https://api.github.com/users/bkamins/events{/privacy}","received_events_url":"https://api.github.com/users/bkamins/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T21:45:04Z","updated_at":"2018-12-19T21:45:04Z","author_association":"MEMBER","body":"As indicated on https://julialang.slack.com/archives/C674VR0HH/p1545250280227000 we currently define `parentindices` which is a standard function in Base to get this information (row number is the first entry in the returned tuple).\r\nIs this enough?"}}
{"actor":{"display_login":"bkamins"}}