{"action":"created","issue":{"url":"https://api.github.com/repos/v0dro/daru/issues/230","repository_url":"https://api.github.com/repos/v0dro/daru","labels_url":"https://api.github.com/repos/v0dro/daru/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/v0dro/daru/issues/230/comments","events_url":"https://api.github.com/repos/v0dro/daru/issues/230/events","html_url":"https://github.com/v0dro/daru/issues/230","id":172905910,"number":230,"title":"When concatenating, index disappear.","user":{"login":"chart-linux","id":3054386,"avatar_url":"https://avatars.githubusercontent.com/u/3054386?v=3","gravatar_id":"","url":"https://api.github.com/users/chart-linux","html_url":"https://github.com/chart-linux","followers_url":"https://api.github.com/users/chart-linux/followers","following_url":"https://api.github.com/users/chart-linux/following{/other_user}","gists_url":"https://api.github.com/users/chart-linux/gists{/gist_id}","starred_url":"https://api.github.com/users/chart-linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chart-linux/subscriptions","organizations_url":"https://api.github.com/users/chart-linux/orgs","repos_url":"https://api.github.com/users/chart-linux/repos","events_url":"https://api.github.com/users/chart-linux/events{/privacy}","received_events_url":"https://api.github.com/users/chart-linux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T09:30:11Z","updated_at":"2016-08-24T15:54:17Z","closed_at":null,"body":"When I concatenate two DataFrames, their index information disappears.\r\n\r\nFor example:\r\n\r\n```Ruby\r\ndf1 = Daru::DataFrame.new(\r\n  {\r\n    A:['A8', 'A9', 'A10', 'A11'],\r\n    B:['B8', 'B9', 'B10', 'B11'],\r\n    F:['F8', 'F9', 'F10', 'F11'],\r\n    D:['D8', 'D9', 'D10', 'D11']\r\n  },\r\n  index: [10,11,12,13]\r\n)\r\ndf2 = Daru::DataFrame.new(\r\n  {\r\n    A:['A8', 'A9', 'A10', 'A11'],\r\n    B:['B8', 'B9', 'B10', 'B11'],\r\n    F:['F8', 'F9', 'F10', 'F11'],\r\n    D:['D8', 'D9', 'D10', 'D11']\r\n  },\r\n  index: [100, 101, 102, 103]\r\n)\r\n\r\ndf1.concat(df2)\r\n```\r\n\r\nAbove code results in the below DataFrame.\r\n![untitled](https://cloud.githubusercontent.com/assets/3054386/17925633/a8d0859a-6a28-11e6-8e16-a40bcb73bee8.png)\r\n"},"comment":{"url":"https://api.github.com/repos/v0dro/daru/issues/comments/242116555","html_url":"https://github.com/v0dro/daru/issues/230#issuecomment-242116555","issue_url":"https://api.github.com/repos/v0dro/daru/issues/230","id":242116555,"user":{"login":"v0dro","id":2629909,"avatar_url":"https://avatars.githubusercontent.com/u/2629909?v=3","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T15:54:17Z","updated_at":"2016-08-24T15:54:17Z","body":"Hmmm I agree with @gnilrets. @chart-linux could you change the name of your issue to reflect `DataFrame#union`? I'll mark it as enhancement once you do."}}
{"actor":{"display_login":"v0dro"}}