{"action":"created","issue":{"url":"https://api.github.com/repos/LAL/trackml-library/issues/16","repository_url":"https://api.github.com/repos/LAL/trackml-library","labels_url":"https://api.github.com/repos/LAL/trackml-library/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/LAL/trackml-library/issues/16/comments","events_url":"https://api.github.com/repos/LAL/trackml-library/issues/16/events","html_url":"https://github.com/LAL/trackml-library/issues/16","id":328583609,"node_id":"MDU6SXNzdWUzMjg1ODM2MDk=","number":16,"title":"dtypes being ignored with certain versions of pandas","user":{"login":"mcvicuna","id":4523114,"node_id":"MDQ6VXNlcjQ1MjMxMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4523114?v=4","gravatar_id":"","url":"https://api.github.com/users/mcvicuna","html_url":"https://github.com/mcvicuna","followers_url":"https://api.github.com/users/mcvicuna/followers","following_url":"https://api.github.com/users/mcvicuna/following{/other_user}","gists_url":"https://api.github.com/users/mcvicuna/gists{/gist_id}","starred_url":"https://api.github.com/users/mcvicuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcvicuna/subscriptions","organizations_url":"https://api.github.com/users/mcvicuna/orgs","repos_url":"https://api.github.com/users/mcvicuna/repos","events_url":"https://api.github.com/users/mcvicuna/events{/privacy}","received_events_url":"https://api.github.com/users/mcvicuna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-01T16:28:14Z","updated_at":"2018-06-18T17:33:33Z","closed_at":null,"author_association":"NONE","body":"pandas had/has an open bug where dtypes passed into the read_csv call are ignored. [pandas#9435](https://github.com/pandas-dev/pandas/issues/9435)\r\n\r\nIf you have a buggy version of pandas all the fields are marked as f4 and this makes it impossible to correctly use particle_id as an index as you endup with collisions due to truncation.\r\nEx: 369295375619592193 vs 369295375602810880\r\n\r\nThis silently fails and will lead to a lot of confusion."},"comment":{"url":"https://api.github.com/repos/LAL/trackml-library/issues/comments/398134302","html_url":"https://github.com/LAL/trackml-library/issues/16#issuecomment-398134302","issue_url":"https://api.github.com/repos/LAL/trackml-library/issues/16","id":398134302,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODEzNDMwMg==","user":{"login":"mcvicuna","id":4523114,"node_id":"MDQ6VXNlcjQ1MjMxMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4523114?v=4","gravatar_id":"","url":"https://api.github.com/users/mcvicuna","html_url":"https://github.com/mcvicuna","followers_url":"https://api.github.com/users/mcvicuna/followers","following_url":"https://api.github.com/users/mcvicuna/following{/other_user}","gists_url":"https://api.github.com/users/mcvicuna/gists{/gist_id}","starred_url":"https://api.github.com/users/mcvicuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcvicuna/subscriptions","organizations_url":"https://api.github.com/users/mcvicuna/orgs","repos_url":"https://api.github.com/users/mcvicuna/repos","events_url":"https://api.github.com/users/mcvicuna/events{/privacy}","received_events_url":"https://api.github.com/users/mcvicuna/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T17:33:33Z","updated_at":"2018-06-18T17:33:33Z","author_association":"NONE","body":"AFAIK, it is still an open issue and my brief investigation showed no consensus.\r\n\r\nI'm using Python 3.5.0, pandas, 0.17.0, numpy 1.9.3, on Win10.\r\nI had to modifly _load_event_data() to not pass in dtypes in order to get full precision particle_id.\r\n\r\nIf you don't see this behavior I can try to make a pull for you."}}
{"actor":{"display_login":"mcvicuna"}}