url
stringlengths
55
59
repository_url
stringclasses
1 value
labels_url
stringlengths
69
73
comments_url
stringlengths
64
68
events_url
stringlengths
62
66
html_url
stringlengths
44
49
id
int64
338k
1.06B
node_id
stringlengths
18
32
number
int64
1
44.6k
title
stringlengths
1
590
user
dict
labels
listlengths
0
9
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
listlengths
0
5
milestone
dict
comments
int64
0
477
created_at
timestamp[us, tz=UTC]
updated_at
timestamp[us, tz=UTC]
closed_at
timestamp[us, tz=UTC]
author_association
stringclasses
3 values
active_lock_reason
stringclasses
4 values
body
stringlengths
0
251k
reactions
dict
timeline_url
stringlengths
64
68
performed_via_github_app
float64
draft
float64
0
1
pull_request
dict
https://api.github.com/repos/pandas-dev/pandas/issues/14108
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14108/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14108/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14108/events
https://github.com/pandas-dev/pandas/issues/14108
173,641,228
MDU6SXNzdWUxNzM2NDEyMjg=
14,108
ENH: Add pd.to_period
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2016-08-28T11:11:51Z
2018-10-26T20:53:52Z
2018-10-25T22:38:55Z
MEMBER
null
Would return `Period` or `PeriodIndex`, analogous to functions like `to_datetime` and `to_timedelta`. xref #5886 xref #14048 cc @sinhrks
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14108/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14108/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14109
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14109/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14109/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14109/events
https://github.com/pandas-dev/pandas/pull/14109
173,641,716
MDExOlB1bGxSZXF1ZXN0ODMwMTI4NjQ=
14,109
BUG: pass *args and **kwargs for wrapped methods in Groupby (#14107)
{ "avatar_url": "https://avatars.githubusercontent.com/u/3472343?v=4", "events_url": "https://api.github.com/users/yonatanp/events{/privacy}", "followers_url": "https://api.github.com/users/yonatanp/followers", "following_url": "https://api.github.com/users/yonatanp/following{/other_user}", "gists_url": "https://api.github.com/users/yonatanp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yonatanp", "id": 3472343, "login": "yonatanp", "node_id": "MDQ6VXNlcjM0NzIzNDM=", "organizations_url": "https://api.github.com/users/yonatanp/orgs", "received_events_url": "https://api.github.com/users/yonatanp/received_events", "repos_url": "https://api.github.com/users/yonatanp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yonatanp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yonatanp/subscriptions", "type": "User", "url": "https://api.github.com/users/yonatanp" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
11
2016-08-28T11:25:36Z
2017-04-03T15:26:43Z
2017-04-03T15:26:43Z
NONE
null
- [x] closes #14107 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry Methods such as 'hist' that take keyword arguments would now be able to be called via a Groupby object and the keyword args would be passed onwards to matplotlib as the user expects.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14109/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14109/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14109.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14109", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14109.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14109" }
https://api.github.com/repos/pandas-dev/pandas/issues/14110
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14110/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14110/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14110/events
https://github.com/pandas-dev/pandas/issues/14110
173,647,439
MDU6SXNzdWUxNzM2NDc0Mzk=
14,110
Performance regression in DataFrame.to_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/21279450?v=4", "events_url": "https://api.github.com/users/FabeG/events{/privacy}", "followers_url": "https://api.github.com/users/FabeG/followers", "following_url": "https://api.github.com/users/FabeG/following{/other_user}", "gists_url": "https://api.github.com/users/FabeG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/FabeG", "id": 21279450, "login": "FabeG", "node_id": "MDQ6VXNlcjIxMjc5NDUw", "organizations_url": "https://api.github.com/users/FabeG/orgs", "received_events_url": "https://api.github.com/users/FabeG/received_events", "repos_url": "https://api.github.com/users/FabeG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/FabeG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FabeG/subscriptions", "type": "User", "url": "https://api.github.com/users/FabeG" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-08-28T13:44:06Z
2016-08-28T13:53:01Z
2016-08-28T13:52:18Z
NONE
null
Hello, I recently upgraded from pandas 0.17.1 to 0.18.1 and ran into a performance regression with DataFrame.to_csv: #### Code Sample, a copy-pastable example if possible import pandas import numpy import tempfile fd, filename = tempfile.mkstemp(prefix='to_csv_', suffix='.csv') test = pandas.DataFrame(numpy.random.rand(2000, 5000)) %timeit test.to_csv(filename, sep=';', index=False, header=False) In pandas **0.17.1**: 1 loop, best of 3: **6.86 s** per loop In pandas **0.18.1**: 1 loop, best of 3: **21.9 s** per loop You will find attached the results given by the Spyder profiler running this code in both version. Most of the time (in pandas 0.18.1) is spent in the pandas.isnull method. #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.11.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: fr_FR pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: None xarray: None IPython: 4.1.2 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None None ![to_csv_0_17_1](https://cloud.githubusercontent.com/assets/21279450/18034142/afe10e44-6d35-11e6-9a03-2392e3a1328f.png) ![to_csv_0_18_1](https://cloud.githubusercontent.com/assets/21279450/18034143/afe59e00-6d35-11e6-8ec4-79bdde2dd312.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14110/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14110/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14111
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14111/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14111/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14111/events
https://github.com/pandas-dev/pandas/pull/14111
173,647,721
MDExOlB1bGxSZXF1ZXN0ODMwMTY0MDA=
14,111
TST: Enable Google BigQuery (pandas.io.gbq) integration testing #11089
{ "avatar_url": "https://avatars.githubusercontent.com/u/5184014?v=4", "events_url": "https://api.github.com/users/parthea/events{/privacy}", "followers_url": "https://api.github.com/users/parthea/followers", "following_url": "https://api.github.com/users/parthea/following{/other_user}", "gists_url": "https://api.github.com/users/parthea/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/parthea", "id": 5184014, "login": "parthea", "node_id": "MDQ6VXNlcjUxODQwMTQ=", "organizations_url": "https://api.github.com/users/parthea/orgs", "received_events_url": "https://api.github.com/users/parthea/received_events", "repos_url": "https://api.github.com/users/parthea/repos", "site_admin": false, "starred_url": "https://api.github.com/users/parthea/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/parthea/subscriptions", "type": "User", "url": "https://api.github.com/users/parthea" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
20
2016-08-28T13:51:32Z
2016-09-03T13:53:38Z
2016-08-31T12:47:53Z
CONTRIBUTOR
null
- [ x ] closes #11089 - [ x ] tests added / passed - [ x ] passes `git diff upstream/master | flake8 --diff`
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14111/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14111/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14111.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14111", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14111.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14111" }
https://api.github.com/repos/pandas-dev/pandas/issues/14112
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14112/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14112/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14112/events
https://github.com/pandas-dev/pandas/pull/14112
173,651,212
MDExOlB1bGxSZXF1ZXN0ODMwMTgyOTA=
14,112
Test for segfault in factorize (gh12666)
{ "avatar_url": "https://avatars.githubusercontent.com/u/20139978?v=4", "events_url": "https://api.github.com/users/mralgos/events{/privacy}", "followers_url": "https://api.github.com/users/mralgos/followers", "following_url": "https://api.github.com/users/mralgos/following{/other_user}", "gists_url": "https://api.github.com/users/mralgos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mralgos", "id": 20139978, "login": "mralgos", "node_id": "MDQ6VXNlcjIwMTM5OTc4", "organizations_url": "https://api.github.com/users/mralgos/orgs", "received_events_url": "https://api.github.com/users/mralgos/received_events", "repos_url": "https://api.github.com/users/mralgos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mralgos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mralgos/subscriptions", "type": "User", "url": "https://api.github.com/users/mralgos" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "009800", "default": false, "description": "Complex Numbers", "id": 172091424, "name": "Complex", "node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-08-28T15:09:35Z
2016-08-31T16:17:19Z
2016-08-31T16:17:14Z
CONTRIBUTOR
null
- [x] closes #12666 - [x] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` Not sure about the last. It's my first PR.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14112/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14112/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14112.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14112", "merged_at": "2016-08-31T16:17:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14112.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14112" }
https://api.github.com/repos/pandas-dev/pandas/issues/14113
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14113/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14113/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14113/events
https://github.com/pandas-dev/pandas/pull/14113
173,657,290
MDExOlB1bGxSZXF1ZXN0ODMwMjE1NDc=
14,113
DEPR: Deprecated PeriodIndex.to_datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
6
2016-08-28T17:25:56Z
2016-09-01T08:18:46Z
2016-09-01T08:03:39Z
MEMBER
null
Continuation of #14096 by deprecating `PeriodIndex.to_datetime` in favour of `PeriodIndex.to_timestamp`. Also addresses #8254.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14113/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14113/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14113.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14113", "merged_at": "2016-09-01T08:03:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14113.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14113" }
https://api.github.com/repos/pandas-dev/pandas/issues/14114
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14114/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14114/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14114/events
https://github.com/pandas-dev/pandas/pull/14114
173,657,722
MDExOlB1bGxSZXF1ZXN0ODMwMjE3NzU=
14,114
Test for Python 3.5 with C locale
{ "avatar_url": "https://avatars.githubusercontent.com/u/9929982?v=4", "events_url": "https://api.github.com/users/nbonnotte/events{/privacy}", "followers_url": "https://api.github.com/users/nbonnotte/followers", "following_url": "https://api.github.com/users/nbonnotte/following{/other_user}", "gists_url": "https://api.github.com/users/nbonnotte/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nbonnotte", "id": 9929982, "login": "nbonnotte", "node_id": "MDQ6VXNlcjk5Mjk5ODI=", "organizations_url": "https://api.github.com/users/nbonnotte/orgs", "received_events_url": "https://api.github.com/users/nbonnotte/received_events", "repos_url": "https://api.github.com/users/nbonnotte/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nbonnotte/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nbonnotte/subscriptions", "type": "User", "url": "https://api.github.com/users/nbonnotte" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
20
2016-08-28T17:35:45Z
2016-09-10T14:39:34Z
2016-09-10T14:38:17Z
CONTRIBUTOR
null
As @jreback suggested, I'm adding an alternate py3 build to change LOCALE, based on the 3.4 slow build, to reveal some encoding bugs (see #12337) I'm new to configuring Travis, I just hope this will work as I expect and that the tests will fail. - [ ] closes #12337 - [x] tests added but not passed? - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14114/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14114/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14114.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14114", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14114.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14114" }
https://api.github.com/repos/pandas-dev/pandas/issues/14115
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14115/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14115/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14115/events
https://github.com/pandas-dev/pandas/pull/14115
173,660,504
MDExOlB1bGxSZXF1ZXN0ODMwMjMyNTg=
14,115
DOC: small update to install.rst page
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-08-28T18:34:52Z
2016-08-29T12:44:19Z
2016-08-29T12:44:19Z
MEMBER
null
Move some content from the removed content on dependencies from the README (see GH13882) I was going through the install.rst, and updated some small things, but there was actually no content from README to be moved.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14115/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14115/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14115.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14115", "merged_at": "2016-08-29T12:44:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14115.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14115" }
https://api.github.com/repos/pandas-dev/pandas/issues/14116
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14116/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14116/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14116/events
https://github.com/pandas-dev/pandas/pull/14116
173,691,361
MDExOlB1bGxSZXF1ZXN0ODMwNDEzODQ=
14,116
API: Raise FileNotFoundError in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
10
2016-08-29T03:50:30Z
2016-09-01T08:19:15Z
2016-09-01T08:19:15Z
MEMBER
null
For a nonexistent file, raise the more specific `FileNotFoundError` for Python >= 3.3 in `read_csv`. Closes #14086.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14116/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14116/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14116.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14116", "merged_at": "2016-09-01T08:19:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14116.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14116" }
https://api.github.com/repos/pandas-dev/pandas/issues/14117
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14117/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14117/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14117/events
https://github.com/pandas-dev/pandas/pull/14117
173,783,628
MDExOlB1bGxSZXF1ZXN0ODMxMDUyODI=
14,117
TST: confirming tests for some fixed issues
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-08-29T14:10:49Z
2016-09-01T07:28:07Z
2016-09-01T07:28:07Z
MEMBER
null
closes #7710, closes #8617, closes #13119 Closes a few issues still tagged with 0.19.0 that only need a confirming test
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14117/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14117/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14117.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14117", "merged_at": "2016-09-01T07:28:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14117.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14117" }
https://api.github.com/repos/pandas-dev/pandas/issues/14118
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14118/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14118/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14118/events
https://github.com/pandas-dev/pandas/pull/14118
173,817,660
MDExOlB1bGxSZXF1ZXN0ODMxMjkwMTU=
14,118
BUG: series resample with timedelta values looses dtype (GH13119)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-08-29T16:42:25Z
2016-08-31T07:52:49Z
2016-08-31T07:52:49Z
MEMBER
null
- [x] closes #13119 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14118/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14118/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14118.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14118", "merged_at": "2016-08-31T07:52:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14118.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14118" }
https://api.github.com/repos/pandas-dev/pandas/issues/14119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14119/events
https://github.com/pandas-dev/pandas/issues/14119
173,864,715
MDU6SXNzdWUxNzM4NjQ3MTU=
14,119
unable to set xticks within bar() plotting function
{ "avatar_url": "https://avatars.githubusercontent.com/u/5283394?v=4", "events_url": "https://api.github.com/users/evfro/events{/privacy}", "followers_url": "https://api.github.com/users/evfro/followers", "following_url": "https://api.github.com/users/evfro/following{/other_user}", "gists_url": "https://api.github.com/users/evfro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/evfro", "id": 5283394, "login": "evfro", "node_id": "MDQ6VXNlcjUyODMzOTQ=", "organizations_url": "https://api.github.com/users/evfro/orgs", "received_events_url": "https://api.github.com/users/evfro/received_events", "repos_url": "https://api.github.com/users/evfro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/evfro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/evfro/subscriptions", "type": "User", "url": "https://api.github.com/users/evfro" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2016-08-29T20:28:39Z
2019-09-23T16:34:55Z
2019-09-23T16:34:55Z
NONE
null
#### Code Sample, a copy-pastable example if possible In the code below: ``` python pd.Series(range(10), index=range(10)).plot.bar(xticks=range(0, 11, 2)) ``` `xticks` argument has no effect. However, there's no such problem in line() plot. #### Expected Output Output plot is expected to have xticks defined by `xticks` argument, e.g. in the example above it should be set to [0, 2, 4, 6, 8, 10]. #### output of `pd.show_versions()` commit: None python: 2.7.12.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 23.0.0 Cython: None numpy: 1.11.1 scipy: 0.17.1 statsmodels: None xarray: 0.8.1 IPython: 5.0.0 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14119/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14120/events
https://github.com/pandas-dev/pandas/pull/14120
173,917,811
MDExOlB1bGxSZXF1ZXN0ODMyMDAxNzc=
14,120
API: Warn or raise for > 1 char encoded sep
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-08-30T02:44:55Z
2016-08-31T16:10:31Z
2016-08-31T16:10:31Z
MEMBER
null
The system file encoding can cause a separator to be encoded as more than one character even though it maybe provided as one character. Multi-char separators are not supported by the C engine, so we need to catch this case. Closes #14065.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14120/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14120.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14120", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14120.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14120" }
https://api.github.com/repos/pandas-dev/pandas/issues/14121
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14121/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14121/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14121/events
https://github.com/pandas-dev/pandas/pull/14121
174,016,004
MDExOlB1bGxSZXF1ZXN0ODMyNjg5MjQ=
14,121
BUG: #14095. Amend eval() resolvers kwarg to accept lists
{ "avatar_url": "https://avatars.githubusercontent.com/u/20444824?v=4", "events_url": "https://api.github.com/users/tom-bird/events{/privacy}", "followers_url": "https://api.github.com/users/tom-bird/followers", "following_url": "https://api.github.com/users/tom-bird/following{/other_user}", "gists_url": "https://api.github.com/users/tom-bird/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tom-bird", "id": 20444824, "login": "tom-bird", "node_id": "MDQ6VXNlcjIwNDQ0ODI0", "organizations_url": "https://api.github.com/users/tom-bird/orgs", "received_events_url": "https://api.github.com/users/tom-bird/received_events", "repos_url": "https://api.github.com/users/tom-bird/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tom-bird/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tom-bird/subscriptions", "type": "User", "url": "https://api.github.com/users/tom-bird" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
6
2016-08-30T13:15:33Z
2016-08-31T16:05:11Z
2016-08-31T16:05:06Z
CONTRIBUTOR
null
- [x] closes #14095 - [x] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14121/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14121/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14121.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14121", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14121.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14121" }
https://api.github.com/repos/pandas-dev/pandas/issues/14122
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14122/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14122/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14122/events
https://github.com/pandas-dev/pandas/issues/14122
174,158,286
MDU6SXNzdWUxNzQxNTgyODY=
14,122
Saving CSV with backslashed-escaping is not idempotent.
{ "avatar_url": "https://avatars.githubusercontent.com/u/118388?v=4", "events_url": "https://api.github.com/users/deads/events{/privacy}", "followers_url": "https://api.github.com/users/deads/followers", "following_url": "https://api.github.com/users/deads/following{/other_user}", "gists_url": "https://api.github.com/users/deads/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deads", "id": 118388, "login": "deads", "node_id": "MDQ6VXNlcjExODM4OA==", "organizations_url": "https://api.github.com/users/deads/orgs", "received_events_url": "https://api.github.com/users/deads/received_events", "repos_url": "https://api.github.com/users/deads/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deads/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deads/subscriptions", "type": "User", "url": "https://api.github.com/users/deads" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
null
19
2016-08-31T00:35:58Z
2021-07-03T18:23:12Z
null
NONE
null
@pdbaines and I noticed this bug. I want Pandas to write a CSV file so that all field data is backslash escaped if the character has a special interpretation (e.g. quotes or backslashes themselves). If a quote is backslashed, it is treated as field data, rather than a special character. This is not the behavior that I am seeing. Consider the following data frame: ``` df = pd.DataFrame({"text": ["""Hello! Please "help" me. I cannot quote a csv.\\"""], "zoo": ["1"]}) df.to_csv("out.csv", index=False, quoting=csv.QUOTE_NONNUMERIC, encoding="utf-8", escapechar='\\', doublequote=False) ``` When written to a file, it looks something like this: ``` "text","zoo" "Hello! Please \"help\" me. I cannot quote a csv.\","1" ``` The quotes are properly escaped in `Please "help" me`, but oddly, the end-quote of the field is backslashed, but the start-quote of the field is not back-slashed. If I read the data frame in again using exactly the same parameters, ``` df2 = pd.read_csv("out.csv", quoting=csv.QUOTE_NONNUMERIC, encoding="utf-8", escapechar='\\', doublequote=False) ``` I get a data frame with both fields concatenated into the first field and the second field is NaN. ``` $ print(df2) text zoo 0 Hello! Please "help" me. I cannot quote a csv.... NaN ``` If I instead, do the following: ``` df3 = pd.DataFrame({"text": ["""Hello! Please "help" me. I cannot quote a csv.\\\""""], "zoo": ["1"]}) df3.to_csv("outB.csv", index=False, quoting=csv.QUOTE_NONNUMERIC, encoding="utf-8", escapechar='\\', doublequote=False) df4 = pd.read_csv("outB.csv", quoting=csv.QUOTE_NONNUMERIC, encoding="utf-8", escapechar='\\', doublequote=False) ``` I instead get a file with an odd-number of unescaped quote characters: ``` "text","zoo" "Hello! Please \"help\" me. I cannot quote a csv.\\"","1" ``` and some unescaped quote characters are treated as data. #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-39-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.0 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.1.2 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14122/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14122/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14123
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14123/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14123/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14123/events
https://github.com/pandas-dev/pandas/pull/14123
174,160,249
MDExOlB1bGxSZXF1ZXN0ODMzNzIyNjI=
14,123
WIP: API: Add support for PEP 519 / file system path protocol
{ "avatar_url": "https://avatars.githubusercontent.com/u/537223?v=4", "events_url": "https://api.github.com/users/AnkurDedania/events{/privacy}", "followers_url": "https://api.github.com/users/AnkurDedania/followers", "following_url": "https://api.github.com/users/AnkurDedania/following{/other_user}", "gists_url": "https://api.github.com/users/AnkurDedania/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AnkurDedania", "id": 537223, "login": "AnkurDedania", "node_id": "MDQ6VXNlcjUzNzIyMw==", "organizations_url": "https://api.github.com/users/AnkurDedania/orgs", "received_events_url": "https://api.github.com/users/AnkurDedania/received_events", "repos_url": "https://api.github.com/users/AnkurDedania/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AnkurDedania/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnkurDedania/subscriptions", "type": "User", "url": "https://api.github.com/users/AnkurDedania" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
9
2016-08-31T00:54:10Z
2017-05-08T09:28:00Z
2017-05-07T14:03:53Z
NONE
null
- [ ] closes #13823 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14123/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14123/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14123.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14123", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14123.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14123" }
https://api.github.com/repos/pandas-dev/pandas/issues/14124
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14124/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14124/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14124/events
https://github.com/pandas-dev/pandas/issues/14124
174,203,104
MDU6SXNzdWUxNzQyMDMxMDQ=
14,124
BUG: read_csv() does strange things if data rows have trailing delimiter
{ "avatar_url": "https://avatars.githubusercontent.com/u/1216791?v=4", "events_url": "https://api.github.com/users/jzwinck/events{/privacy}", "followers_url": "https://api.github.com/users/jzwinck/followers", "following_url": "https://api.github.com/users/jzwinck/following{/other_user}", "gists_url": "https://api.github.com/users/jzwinck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jzwinck", "id": 1216791, "login": "jzwinck", "node_id": "MDQ6VXNlcjEyMTY3OTE=", "organizations_url": "https://api.github.com/users/jzwinck/orgs", "received_events_url": "https://api.github.com/users/jzwinck/received_events", "repos_url": "https://api.github.com/users/jzwinck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jzwinck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jzwinck/subscriptions", "type": "User", "url": "https://api.github.com/users/jzwinck" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
5
2016-08-31T07:27:22Z
2020-02-11T02:05:43Z
2016-11-23T13:21:07Z
CONTRIBUTOR
null
Given a file `t.txt` like this: ``` A,B,C 1,4,7, 2,5,8, 3,6,9, ``` `pandas.read_csv('t.txt')` produces: ``` A B C 1 4 7 NaN 2 5 8 NaN 3 6 9 NaN ``` In other words, it implies a nonexistent header column for what it believes is the index. I would expect it to do the same as this code: ``` pd.read_csv('t.txt', index_col=False).set_index('A') ``` Which is: ``` B C A 1 4 7 2 5 8 3 6 9 ``` The first example has the same problem even if you specify `index_col=0`, which is confusing because saying the first column should be used as the index is pretty much what's being done in the second example. Files like this are commonly produced by vendors like Bloomberg whose formats we cannot expect to change. Pandas 0.18.1.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14124/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14124/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14125
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14125/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14125/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14125/events
https://github.com/pandas-dev/pandas/issues/14125
174,218,146
MDU6SXNzdWUxNzQyMTgxNDY=
14,125
BUG: read_csv() crashes with engine='c'
{ "avatar_url": "https://avatars.githubusercontent.com/u/1216791?v=4", "events_url": "https://api.github.com/users/jzwinck/events{/privacy}", "followers_url": "https://api.github.com/users/jzwinck/followers", "following_url": "https://api.github.com/users/jzwinck/following{/other_user}", "gists_url": "https://api.github.com/users/jzwinck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jzwinck", "id": 1216791, "login": "jzwinck", "node_id": "MDQ6VXNlcjEyMTY3OTE=", "organizations_url": "https://api.github.com/users/jzwinck/orgs", "received_events_url": "https://api.github.com/users/jzwinck/received_events", "repos_url": "https://api.github.com/users/jzwinck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jzwinck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jzwinck/subscriptions", "type": "User", "url": "https://api.github.com/users/jzwinck" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
2
2016-08-31T08:49:58Z
2017-01-24T23:13:38Z
2017-01-24T23:13:38Z
CONTRIBUTOR
null
Here's the code (input data is at the end of this message): ``` pd.read_csv('foo.csv', header=None, usecols=[0]) ``` It fails with: ``` File "pandas/parser.pyx", line 805, in pandas.parser.TextReader.read (pandas/parser.c:8748) File "pandas/parser.pyx", line 827, in pandas.parser.TextReader._read_low_memory (pandas/parser.c:9003) File "pandas/parser.pyx", line 881, in pandas.parser.TextReader._read_rows (pandas/parser.c:9731) File "pandas/parser.pyx", line 868, in pandas.parser.TextReader._tokenize_rows (pandas/parser.c:9602) File "pandas/parser.pyx", line 1865, in pandas.parser.raise_parser_error (pandas/parser.c:23325) pandas.io.common.CParserError: Error tokenizing data. C error: Buffer overflow caught - possible malformed input file. ``` Small perturbations of the input file (adding or removing characters) makes it work, as does `engine='python'`. Note that while one row (or more) of the file contains "extra" columns, I have only asked Pandas to read column 0, which it should well be able to do since that column has a consistent, short length. ## INSTALLED VERSIONS commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-85-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 25.1.6 Cython: 0.24.1 numpy: 1.11.1 ## DATA ``` 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,1111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1,1,111111111,XXXXX,X,XXXXX XXX,X.X.,X.X.,X.X., , ,11111111,11111111,11111111,X.X.,XXX111XXXXX1,X.X.,X.X.,11,XX_XXXX,1,XX_XXX,1111 XX,XX_XXXX,XXXXXXX XXXX,XX_X1_XX_XXXX,111111,XX_XXXX,XXXXXXXXXXXX XXXXXX XXXXXXXX,XX_XXX_XXX,11111.111111,XX_XXXXXX_XXX,1,XX_XXXX,11111.111111,XX_XXXX_XXXX,1,XX_XX,1.111111,XX_XX_XXXX, ,XX_1XXX,1.111111,XX_1XXX_XXXX, ,XX_XXXX,1,XX_1X_XXXX,X.X.,XX_XXXX_XXXXX_XXXXXXX,X.X.,XX_XXX_XXXXXXX,X.X.,XX_XXX_XXXX1,1.111111,XX_XXX_XXXXXX,111.111,XX_XXXXXXXXX1,X.X.,XX_XXXX,1,XX_XXXXX,XXX,XX_XXXX_XXX,X.X.,XX_XXXXXXXXX_XXXX,X.X.,XX_XXX_XXX_XXX,X.X.,XX_X1XXXXXX_XXX,X.X.,XX_XX_XXXXXXXXXX,X.X.,XX_X1XXXXXX,X.X.,XXX,1111 XX,XX_XXX_X1_X_XXXXXX,XXX,XX_XXX_X1_XX_XXXXXX_XXXXXXX,XXX111XXXXX1,XX_XXX_X1_XX_XXX_XXX_1XX,1111,XX_XXX_XXX1_XXXXXX,XX,XX_XXXXXX_XXX,1111 XX,XX_XXXXXX_X1_XX_XXXXXX,1X11,XX_XXXXXX_X1_XX_XXXXXX_XXXXXXX,XXX111XXXX11,XX_XXXXXX_X1_XX_XXX_XXX_1XX,1111,XX_XXXXXX_XXX1_XXXXXX,XX,XX_XXXXX,XXXX XXX'X: XXXXXXX XX1XXXX XXXXXXX XXXX., 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,1111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, 1111 XX XXXXXX,111111,1111,111, ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14125/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14125/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14126
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14126/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14126/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14126/events
https://github.com/pandas-dev/pandas/pull/14126
174,239,825
MDExOlB1bGxSZXF1ZXN0ODM0Mjc3Mjc=
14,126
Make show_versions not to reload modules (GH13684)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-08-31T10:35:26Z
2016-09-01T07:28:54Z
2016-09-01T07:28:54Z
MEMBER
null
closes #13684
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14126/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14126/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14126.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14126", "merged_at": "2016-09-01T07:28:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14126.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14126" }
https://api.github.com/repos/pandas-dev/pandas/issues/14127
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14127/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14127/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14127/events
https://github.com/pandas-dev/pandas/pull/14127
174,240,381
MDExOlB1bGxSZXF1ZXN0ODM0MjgxNTA=
14,127
API/DEPR: Remove +/- as setops for Index (GH8227)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
7
2016-08-31T10:38:15Z
2016-09-07T13:24:30Z
2016-09-06T14:30:58Z
MEMBER
null
xref #13777, deprecations put in place in #8227 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14127/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14127/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14127.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14127", "merged_at": "2016-09-06T14:30:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14127.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14127" }
https://api.github.com/repos/pandas-dev/pandas/issues/14128
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14128/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14128/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14128/events
https://github.com/pandas-dev/pandas/issues/14128
174,251,559
MDU6SXNzdWUxNzQyNTE1NTk=
14,128
Possibility to draw random markers in line plots
{ "avatar_url": "https://avatars.githubusercontent.com/u/12557363?v=4", "events_url": "https://api.github.com/users/ckaldemeyer/events{/privacy}", "followers_url": "https://api.github.com/users/ckaldemeyer/followers", "following_url": "https://api.github.com/users/ckaldemeyer/following{/other_user}", "gists_url": "https://api.github.com/users/ckaldemeyer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ckaldemeyer", "id": 12557363, "login": "ckaldemeyer", "node_id": "MDQ6VXNlcjEyNTU3MzYz", "organizations_url": "https://api.github.com/users/ckaldemeyer/orgs", "received_events_url": "https://api.github.com/users/ckaldemeyer/received_events", "repos_url": "https://api.github.com/users/ckaldemeyer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ckaldemeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ckaldemeyer/subscriptions", "type": "User", "url": "https://api.github.com/users/ckaldemeyer" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
0
2016-08-31T11:41:57Z
2016-10-04T09:10:06Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible I often have dataframes with many obervations and want to have a quick glance at the data using a line plot. The problem is that the colors of the colormap are either repeated over X observations or hard to distinguish e.g. in case of sequential colormaps. So my idea was to add random markers to the line plot which is where I got stuck. Here's an example with one markerstyle: ``` # -*- coding: utf-8 -*- import pandas as pd import numpy as np import matplotlib.pyplot as plt # dataframe with random data df = pd.DataFrame(np.random.rand(10, 8)) # plot df.plot(kind='line', marker='d') plt.show() ``` So far, this only seems to be possible with additional matplotlib code as shown in my related question on stackoverflow: http://stackoverflow.com/questions/39246115/pandas-dataframe-plot-show-random-markers#39247062 #### Expected Output It would be nice if one could draw random markers in line plots via a flag, e. g.: ``` df.plot(kind='line', random_markers=True) ``` #### output of `pd.show_versions()` commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-34-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: de_DE.UTF-8 pandas: 0.18.0 nose: 1.3.7 pip: 8.1.2 setuptools: 20.7.0 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: None xarray: None IPython: 4.1.2 sphinx: None patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14128/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14128/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14129
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14129/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14129/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14129/events
https://github.com/pandas-dev/pandas/issues/14129
174,295,400
MDU6SXNzdWUxNzQyOTU0MDA=
14,129
Change DataFrame to_sql's first parameter to something more descriptive
{ "avatar_url": "https://avatars.githubusercontent.com/u/12854767?v=4", "events_url": "https://api.github.com/users/jaradc/events{/privacy}", "followers_url": "https://api.github.com/users/jaradc/followers", "following_url": "https://api.github.com/users/jaradc/following{/other_user}", "gists_url": "https://api.github.com/users/jaradc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jaradc", "id": 12854767, "login": "jaradc", "node_id": "MDQ6VXNlcjEyODU0NzY3", "organizations_url": "https://api.github.com/users/jaradc/orgs", "received_events_url": "https://api.github.com/users/jaradc/received_events", "repos_url": "https://api.github.com/users/jaradc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jaradc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaradc/subscriptions", "type": "User", "url": "https://api.github.com/users/jaradc" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
null
2
2016-08-31T14:55:22Z
2021-05-01T23:29:13Z
2021-05-01T23:29:13Z
NONE
null
This is a high-level suggestion. `DataFrame.to_sql(name, con, ...)` It's not intuitive if `name` means name of database or name of table in database. I think something like `table_name` or `tablename` would better explain what `name` is. Yes, I know I can Google it every time and eventually after Googling it so many times I'll eventually learn it... but isn't the point to make it intuitive and easy-to-use? Others might not have this same minor issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14129/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14129/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14130
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14130/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14130/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14130/events
https://github.com/pandas-dev/pandas/issues/14130
174,311,780
MDU6SXNzdWUxNzQzMTE3ODA=
14,130
API: engine kw to .plot to enable selectable backends
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
31
2016-08-31T15:58:03Z
2019-08-05T06:26:52Z
2019-06-21T09:37:18Z
CONTRIBUTOR
null
We have had some conversations in the past regarding an `.plot(....., engine=)` kw. in #8018 This would allow pandas to redirect the plotting to a user selectable back-end, keeping `matplotlib` as the default. see [chartpy here](https://github.com/cuemacro/chartpy), for a way to selectively enable `matplotlib`, `bokeh` and `plotly`. and generically via [altair](https://github.com/ellisonbg/altair). Missing from here is when to re-direct to `seaborn`. So this issue is for discussion: 1) should we do this 2) implementation method and minimalist dependencies to actually do this (ideally pandas would add _NO_ dependences itself, just import for a particular engine, raising if its not available). 3) maybe should spin off much of the current pandas code into a separate repo (`pandas-plot`)? and this actually should be the default (rather than `matplotlib`), which is of course the dependency. This might allow simply removing the vast majority of the custom plotting code.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14130/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14130/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14131
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14131/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14131/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14131/events
https://github.com/pandas-dev/pandas/issues/14131
174,390,429
MDU6SXNzdWUxNzQzOTA0Mjk=
14,131
BUG: max rows in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/3627377?v=4", "events_url": "https://api.github.com/users/jangorecki/events{/privacy}", "followers_url": "https://api.github.com/users/jangorecki/followers", "following_url": "https://api.github.com/users/jangorecki/following{/other_user}", "gists_url": "https://api.github.com/users/jangorecki/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jangorecki", "id": 3627377, "login": "jangorecki", "node_id": "MDQ6VXNlcjM2MjczNzc=", "organizations_url": "https://api.github.com/users/jangorecki/orgs", "received_events_url": "https://api.github.com/users/jangorecki/received_events", "repos_url": "https://api.github.com/users/jangorecki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jangorecki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jangorecki/subscriptions", "type": "User", "url": "https://api.github.com/users/jangorecki" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
22
2016-08-31T22:04:34Z
2019-10-21T19:52:16Z
null
NONE
null
I have 5e9 rows csv file that I'm trying to load with pandas, which appears to load it only partially and produces 2852516352 rows data frame. ``` py #Python 2.7.3 (default, Jun 22 2015, 19:33:41) #[GCC 4.6.3] on linux2 #Type "help", "copyright", "credits" or "license" for more information. import pandas as pd import os import gc import timeit x = pd.read_csv("X5e9_2c.csv") x.head() # KEY X2 #0 2632858426 -4008534609 #1 3176486913 -3394302982 #2 3235589527 -4982919314 #3 1017229071 3793469468 #4 1039519144 2740983791 gc.collect() #21 t_start = timeit.default_timer() ans = x.sort_values('KEY') print ans.shape[0] #2852516352 t = timeit.default_timer() - t_start x.shape[0] #2852516352 #t 6073.774994134903 ``` Expected behaviour would be either properly read csv or an error, so it would save ~100 minutes of processing in my case. my `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.3.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-61-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.0.3 setuptools: 17.0 Cython: None numpy: 1.11.1 scipy: 0.16.0 statsmodels: 0.6.1 xarray: None IPython: None sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: None numexpr: 2.4.3 matplotlib: 1.4.3 openpyxl: None xlrd: 0.9.3 xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: 0.9.1 apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.7.3 boto: 2.38.0 pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14131/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14131/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14132
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14132/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14132/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14132/events
https://github.com/pandas-dev/pandas/pull/14132
174,438,285
MDExOlB1bGxSZXF1ZXN0ODM1NzE2MDM=
14,132
BUG: Don't print stray newline with MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-09-01T05:15:08Z
2016-09-02T11:19:50Z
2016-09-02T11:19:42Z
MEMBER
null
Title is self-explanatory. Closes #6618.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14132/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14132/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14132.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14132", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14132.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14132" }
https://api.github.com/repos/pandas-dev/pandas/issues/14133
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14133/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14133/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14133/events
https://github.com/pandas-dev/pandas/issues/14133
174,485,625
MDU6SXNzdWUxNzQ0ODU2MjU=
14,133
bug: double print statement in groupby / apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/4848325?v=4", "events_url": "https://api.github.com/users/Gijs-Koot/events{/privacy}", "followers_url": "https://api.github.com/users/Gijs-Koot/followers", "following_url": "https://api.github.com/users/Gijs-Koot/following{/other_user}", "gists_url": "https://api.github.com/users/Gijs-Koot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Gijs-Koot", "id": 4848325, "login": "Gijs-Koot", "node_id": "MDQ6VXNlcjQ4NDgzMjU=", "organizations_url": "https://api.github.com/users/Gijs-Koot/orgs", "received_events_url": "https://api.github.com/users/Gijs-Koot/received_events", "repos_url": "https://api.github.com/users/Gijs-Koot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Gijs-Koot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Gijs-Koot/subscriptions", "type": "User", "url": "https://api.github.com/users/Gijs-Koot" }
[]
closed
false
null
[]
null
1
2016-09-01T10:09:28Z
2016-09-01T10:11:59Z
2016-09-01T10:11:58Z
NONE
null
#### Code Sample This is based on http://stackoverflow.com/questions/39268147/understand-pandas-groupby-apply-behaviour/39268538#39268538. ``` import seaborn as sns iris = sns.load_dataset('iris') iris.ix[1:100:10].groupby(["species"]).apply(lambda x: print(len(x), '\n***\n', x)) ## first try iris.ix[1:100:10].groupby(["species"]).apply(lambda x: print(len(x), x.name, '\n***\n', x)) ## second try ``` #### Expected Output The first line prints one of the groups doubled, which is unexpected. The second line doesn't double. #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-34-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24 numpy: 1.10.4 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: 1.4.1 patsy: 0.4.1 dateutil: 2.2 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: 2.2.0-b1 xlrd: 1.0.0 xlwt: 1.1.2 xlsxwriter: 0.9.2 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext) jinja2: 2.8 boto: 2.40.0 pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14133/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14133/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14134
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14134/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14134/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14134/events
https://github.com/pandas-dev/pandas/issues/14134
174,501,990
MDU6SXNzdWUxNzQ1MDE5OTA=
14,134
DataFrame.groupby.expanding duplicates grouped dimensions
{ "avatar_url": "https://avatars.githubusercontent.com/u/2015509?v=4", "events_url": "https://api.github.com/users/twheys/events{/privacy}", "followers_url": "https://api.github.com/users/twheys/followers", "following_url": "https://api.github.com/users/twheys/following{/other_user}", "gists_url": "https://api.github.com/users/twheys/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twheys", "id": 2015509, "login": "twheys", "node_id": "MDQ6VXNlcjIwMTU1MDk=", "organizations_url": "https://api.github.com/users/twheys/orgs", "received_events_url": "https://api.github.com/users/twheys/received_events", "repos_url": "https://api.github.com/users/twheys/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twheys/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twheys/subscriptions", "type": "User", "url": "https://api.github.com/users/twheys" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
1
2016-09-01T11:40:02Z
2016-09-01T11:47:46Z
2016-09-01T11:46:34Z
NONE
null
While using a `groupby`, applying an `expanding` function duplicates the grouped dimensions. I would expect the result of this to work like `groupby.cumsum` where the `expanding` function is applied over the groups and then the result has the same index as the original data frame. #### Code Sample, a copy-pastable example if possible My Data Frame sample ``` >>> dataframe one cont cat1 0 a 0 b 1 1 a 2 b 3 2 a 4 b 5 3 a 6 b 7 4 a 8 b 9 5 a 10 b 11 6 a 12 b 13 7 a 14 b 15 ``` Example of the function call and incorrect output. ``` >>> dataframe.groupby(level=1).expanding(min_periods=1).mean() one cat1 cont cat1 a 0 a 0.0 1 a 1.0 2 a 2.0 3 a 3.0 4 a 4.0 5 a 5.0 6 a 6.0 7 a 7.0 b 0 b 1.0 1 b 2.0 2 b 3.0 3 b 4.0 4 b 5.0 5 b 6.0 6 b 7.0 7 b 8.0 ``` #### Expected Output ``` >>> dataframe.groupby(level=1).cumsum() one cont cat1 0 a 0.0 b 1.0 1 a 1.0 b 2.0 2 a 2.0 b 3.0 3 a 3.0 b 4.0 4 a 4.0 b 5.0 5 a 5.0 b 6.0 6 a 6.0 b 7.0 7 a 7.0 b 8.0 ``` #### output of `pd.show_versions()` ``` >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.5.0.final.0 python-bits: 64 OS: Darwin OS-release: 15.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 18.1 Cython: None numpy: 1.11.1 scipy: None statsmodels: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: None boto: None pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14134/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14134/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14135
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14135/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14135/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14135/events
https://github.com/pandas-dev/pandas/issues/14135
174,662,176
MDU6SXNzdWUxNzQ2NjIxNzY=
14,135
read_fwf does not use comment character if colspecs argument does not include first column
{ "avatar_url": "https://avatars.githubusercontent.com/u/2967973?v=4", "events_url": "https://api.github.com/users/nograpes/events{/privacy}", "followers_url": "https://api.github.com/users/nograpes/followers", "following_url": "https://api.github.com/users/nograpes/following{/other_user}", "gists_url": "https://api.github.com/users/nograpes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nograpes", "id": 2967973, "login": "nograpes", "node_id": "MDQ6VXNlcjI5Njc5NzM=", "organizations_url": "https://api.github.com/users/nograpes/orgs", "received_events_url": "https://api.github.com/users/nograpes/received_events", "repos_url": "https://api.github.com/users/nograpes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nograpes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nograpes/subscriptions", "type": "User", "url": "https://api.github.com/users/nograpes" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/18680207?v=4", "events_url": "https://api.github.com/users/calvh/events{/privacy}", "followers_url": "https://api.github.com/users/calvh/followers", "following_url": "https://api.github.com/users/calvh/following{/other_user}", "gists_url": "https://api.github.com/users/calvh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/calvh", "id": 18680207, "login": "calvh", "node_id": "MDQ6VXNlcjE4NjgwMjA3", "organizations_url": "https://api.github.com/users/calvh/orgs", "received_events_url": "https://api.github.com/users/calvh/received_events", "repos_url": "https://api.github.com/users/calvh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/calvh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/calvh/subscriptions", "type": "User", "url": "https://api.github.com/users/calvh" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/18680207?v=4", "events_url": "https://api.github.com/users/calvh/events{/privacy}", "followers_url": "https://api.github.com/users/calvh/followers", "following_url": "https://api.github.com/users/calvh/following{/other_user}", "gists_url": "https://api.github.com/users/calvh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/calvh", "id": 18680207, "login": "calvh", "node_id": "MDQ6VXNlcjE4NjgwMjA3", "organizations_url": "https://api.github.com/users/calvh/orgs", "received_events_url": "https://api.github.com/users/calvh/received_events", "repos_url": "https://api.github.com/users/calvh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/calvh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/calvh/subscriptions", "type": "User", "url": "https://api.github.com/users/calvh" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
2016-09-02T01:31:37Z
2021-11-01T13:14:51Z
2021-11-01T13:14:51Z
NONE
null
When reading fixed-width files using the `read_fwf` function, it is possible to specify a comment character using the `comment` argument. I expected that all lines beginning with the comment character would be ignored. However, if you do not specify the first column in the file in any column in `colspecs`, the comment character does not appear to be used. #### Code Sample ``` python import io import pandas as pd # Two input files, first line is comment, second line is data. # Second file has a column (with the letter A) # that I don't want at start of data. string = "#\n1K\n" off_string = "#\nA1K\n" # When using skiprows to skip commented row, both work. pd.read_fwf(io.StringIO(string), colspecs = [(0,1), (1,2)], skiprows = 1, header = None) # 0 1 #0 1 K pd.read_fwf(io.StringIO(off_string), colspecs = [(1,2), (2,3)], skiprows = 1, header = None) # 0 1 #0 1 K # If a comment character is specified, it only works when the colspecs # includes the column with the comment character. pd.read_fwf(io.StringIO(string), colspecs = [(0,1), (1,2)], comment = '#', header = None) # 0 1 #0 1 K pd.read_fwf(io.StringIO(off_string), colspecs = [(1,2), (2,3)], comment = '#', header = None) # 0 1 #0 NaN NaN #1 1.0 K ``` #### Expected Output I expect that the final line should have the same result as the other three that is: ``` python pd.read_fwf(io.StringIO(off_string), colspecs = [(1,2), (2,3)], comment = '#', header = None) ``` Should result in ``` python # 0 1 #0 1 K ``` I first [reported this on StackOverflow](http://stackoverflow.com/questions/39235377/read-fwf-in-pandas-in-python-does-not-use-comment-character-if-colspecs-argument). #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.6.5-x86_64-linode71 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 3.3 Cython: None numpy: 1.11.1 scipy: None statsmodels: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: None numexpr: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: 1.0.14 pymysql: None psycopg2: 2.6.2 (dt dec pq3 ext lo64) jinja2: None boto: None pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14135/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14135/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14136
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14136/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14136/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14136/events
https://github.com/pandas-dev/pandas/issues/14136
174,748,520
MDU6SXNzdWUxNzQ3NDg1MjA=
14,136
transpose subplots
{ "avatar_url": "https://avatars.githubusercontent.com/u/1256202?v=4", "events_url": "https://api.github.com/users/bsdis/events{/privacy}", "followers_url": "https://api.github.com/users/bsdis/followers", "following_url": "https://api.github.com/users/bsdis/following{/other_user}", "gists_url": "https://api.github.com/users/bsdis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bsdis", "id": 1256202, "login": "bsdis", "node_id": "MDQ6VXNlcjEyNTYyMDI=", "organizations_url": "https://api.github.com/users/bsdis/orgs", "received_events_url": "https://api.github.com/users/bsdis/received_events", "repos_url": "https://api.github.com/users/bsdis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bsdis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bsdis/subscriptions", "type": "User", "url": "https://api.github.com/users/bsdis" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2016-09-02T12:29:54Z
2016-09-04T11:31:43Z
2016-09-02T14:10:55Z
NONE
null
Right now its easy to plot columns as rows like this: df.plot(subplots=True, layout = (15, 1),legend=False) # for a 300x15 dataframe which gives very nice row plots like this: ![rows](https://cloud.githubusercontent.com/assets/1256202/18203706/e4d66ac2-7118-11e6-9933-22c919ddf1ba.png) However sometimes it is needed to also plot this as columns instead - so basically swap x and y axes on each subplot. ie. its not enough to just transpose the df before plotting because its the plotting that needs to be transposed and not the data. Is this possible already somehow? If not, could this possibly be implemented ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14136/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14136/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14137
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14137/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14137/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14137/events
https://github.com/pandas-dev/pandas/issues/14137
174,772,983
MDU6SXNzdWUxNzQ3NzI5ODM=
14,137
Series/DataFrame breaks truth-checking
{ "avatar_url": "https://avatars.githubusercontent.com/u/1328688?v=4", "events_url": "https://api.github.com/users/selik/events{/privacy}", "followers_url": "https://api.github.com/users/selik/followers", "following_url": "https://api.github.com/users/selik/following{/other_user}", "gists_url": "https://api.github.com/users/selik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/selik", "id": 1328688, "login": "selik", "node_id": "MDQ6VXNlcjEzMjg2ODg=", "organizations_url": "https://api.github.com/users/selik/orgs", "received_events_url": "https://api.github.com/users/selik/received_events", "repos_url": "https://api.github.com/users/selik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/selik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/selik/subscriptions", "type": "User", "url": "https://api.github.com/users/selik" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2016-09-02T14:28:39Z
2016-09-05T22:42:56Z
2016-09-02T21:05:50Z
CONTRIBUTOR
null
This behavior is obviously by design. Why choose to break substitutability? ``` >>> bool([]) False >>> bool(numpy.array([])) False >>> bool(pandas.Series(numpy.array([]))) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/generic.py", line 892, in __nonzero__ .format(self.__class__.__name__)) ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). ``` I ask, because I'd like to write idomatic Python that works for all containers, without need to special-case Pandas Series and DataFrames. There's no ambiguity for `[False]` nor `numpy.array([False])` ... oh. ``` >>> bool([False]) True >>> bool(numpy.array([False])) False ``` Ok, NumPy made an interesting choice here. But Pandas could reverse it and go back to standard truthiness: `len() == 0` means `False` and `len() > 0` means `True`. I don't expect to actually cause a change here, but I'm curious as to what discussion happened on this point. If there's an archived email thread about this, could someone point me to it?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14137/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14137/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14138
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14138/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14138/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14138/events
https://github.com/pandas-dev/pandas/issues/14138
174,832,642
MDU6SXNzdWUxNzQ4MzI2NDI=
14,138
Feature request: Advanced masking (e.g. `0 < pd.Series(x) < 1`)
{ "avatar_url": "https://avatars.githubusercontent.com/u/9061708?v=4", "events_url": "https://api.github.com/users/jolespin/events{/privacy}", "followers_url": "https://api.github.com/users/jolespin/followers", "following_url": "https://api.github.com/users/jolespin/following{/other_user}", "gists_url": "https://api.github.com/users/jolespin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jolespin", "id": 9061708, "login": "jolespin", "node_id": "MDQ6VXNlcjkwNjE3MDg=", "organizations_url": "https://api.github.com/users/jolespin/orgs", "received_events_url": "https://api.github.com/users/jolespin/received_events", "repos_url": "https://api.github.com/users/jolespin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jolespin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jolespin/subscriptions", "type": "User", "url": "https://api.github.com/users/jolespin" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
4
2016-09-02T19:33:12Z
2016-09-02T22:37:44Z
2016-09-02T21:03:49Z
NONE
null
**Can there be a way to to do masking that is dependent on more than one boolean?** ![screen shot 2016-09-02 at 12 28 06 pm](https://cloud.githubusercontent.com/assets/9061708/18215964/d1c2097e-7108-11e6-8ec2-c3e88b189d74.png) ``` 0 < pd.Series(x) < 1 --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-132-06fa1595460a> in <module>() ----> 1 0 < pd.Series(x) < 1 /Users/jespinoz/anaconda/lib/python3.5/site-packages/pandas/core/generic.py in __nonzero__(self) 890 raise ValueError("The truth value of a {0} is ambiguous. " 891 "Use a.empty, a.bool(), a.item(), a.any() or a.all()." --> 892 .format(self.__class__.__name__)) 893 894 __bool__ = __nonzero__ ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). ``` My solution for it is: ![screen shot 2016-09-02 at 12 32 17 pm](https://cloud.githubusercontent.com/assets/9061708/18216073/618b9da4-7109-11e6-8e86-ebb2b764f27b.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14138/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14138/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14139
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14139/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14139/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14139/events
https://github.com/pandas-dev/pandas/issues/14139
174,840,894
MDU6SXNzdWUxNzQ4NDA4OTQ=
14,139
Renaming an empty MultiIndex fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/3009237?v=4", "events_url": "https://api.github.com/users/chazmo03/events{/privacy}", "followers_url": "https://api.github.com/users/chazmo03/followers", "following_url": "https://api.github.com/users/chazmo03/following{/other_user}", "gists_url": "https://api.github.com/users/chazmo03/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chazmo03", "id": 3009237, "login": "chazmo03", "node_id": "MDQ6VXNlcjMwMDkyMzc=", "organizations_url": "https://api.github.com/users/chazmo03/orgs", "received_events_url": "https://api.github.com/users/chazmo03/received_events", "repos_url": "https://api.github.com/users/chazmo03/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chazmo03/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chazmo03/subscriptions", "type": "User", "url": "https://api.github.com/users/chazmo03" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-09-02T20:23:39Z
2016-09-02T21:17:23Z
2016-09-02T21:16:54Z
NONE
null
``` python s = pd.Series([0], index=pd.MultiIndex.from_tuples([('a', 1)])) # This works: s.rename(lambda x: x) # This fails: s.iloc[0:0].rename(lambda x: x) ``` Renaming an empty index should not throw an error. It should just return the original empty index. It appears to be failing because `_transform_index` calls `MultiIndex.from_tuples`, which doesn't accept an empty list of tuples. I would imagine that this could instead call `from_arrays`, which `from_tuples` calls anyway, or it could check for the special case of an empty index.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14139/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14139/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14140
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14140/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14140/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14140/events
https://github.com/pandas-dev/pandas/issues/14140
174,860,317
MDU6SXNzdWUxNzQ4NjAzMTc=
14,140
TST: windows failures
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
25
2016-09-02T22:37:52Z
2016-09-08T22:12:53Z
2016-09-08T22:12:53Z
CONTRIBUTOR
null
``` ====================================================================== FAIL: test_c_engine (pandas.io.tests.parser.test_unsupported.TestUnsupportedFeatures) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\conda\Documents\pandas3.5\pandas\io\tests\parser\test_unsupported.py", line 64, in test_c_engine read_table(StringIO(data), engine='c', sep='\xa7') File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 2437, in __exit__ raise AssertionError("{0} not raised.".format(name)) AssertionError: ValueError not raised. ``` closed in #14140 ``` ====================================================================== FAIL: test_append_zero (pandas.sparse.tests.test_list.TestSparseList) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\conda\Documents\pandas3.5\pandas\sparse\tests\test_list.py", line 64, in test_append_zero tm.assert_sp_array_equal(sparr, SparseArray(arr, fill_value=0)) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1392, in assert_sp_array_equal assert_numpy_array_equal(left.sp_values, right.sp_values) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1083, in assert_numpy_array_equal assert_attr_equal('dtype', left, right, obj=obj) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 878, in assert_attr_equal left_attr, right_attr) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1018, in raise_assert_detail raise AssertionError(msg) AssertionError: numpy array are different Attribute "dtype" are different [left]: int64 [right]: int32 ====================================================================== FAIL: test_dataframe_dummies_prefix_str (pandas.tests.test_reshape.TestGetDummies) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\conda\Documents\pandas3.5\pandas\tests\test_reshape.py", line 327, in test_dataframe_dummies_prefix_str assert_frame_equal(result, expected) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1313, in assert_frame_equal obj='DataFrame.iloc[:, {0}]'.format(i)) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1154, in assert_series_equal assert_attr_equal('dtype', left, right) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 878, in assert_attr_equal left_attr, right_attr) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1018, in raise_assert_detail raise AssertionError(msg) AssertionError: Attributes are different Attribute "dtype" are different [left]: int64 [right]: int32 ====================================================================== FAIL: test_dataframe_dummies_prefix_str (pandas.tests.test_reshape.TestGetDummiesSparse) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\conda\Documents\pandas3.5\pandas\tests\test_reshape.py", line 327, in test_dataframe_dummies_prefix_str assert_frame_equal(result, expected) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1313, in assert_frame_equal obj='DataFrame.iloc[:, {0}]'.format(i)) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1154, in assert_series_equal assert_attr_equal('dtype', left, right) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 878, in assert_attr_equal left_attr, right_attr) File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1018, in raise_assert_detail raise AssertionError(msg) AssertionError: Attributes are different Attribute "dtype" are different [left]: int64 [right]: int32 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14140/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14140/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14141
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14141/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14141/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14141/events
https://github.com/pandas-dev/pandas/pull/14141
174,865,430
MDExOlB1bGxSZXF1ZXN0ODM4NzczNjc=
14,141
TST: sparse / dummy array comparisons on windows, xref #14140
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-09-02T23:35:24Z
2016-09-03T00:00:37Z
2016-09-03T00:00:37Z
CONTRIBUTOR
null
partial on #14140
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14141/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14141/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14141.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14141", "merged_at": "2016-09-03T00:00:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14141.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14141" }
https://api.github.com/repos/pandas-dev/pandas/issues/14142
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14142/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14142/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14142/events
https://github.com/pandas-dev/pandas/pull/14142
174,866,474
MDExOlB1bGxSZXF1ZXN0ODM4NzgwOTE=
14,142
TST: fix blosc version
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
0
2016-09-02T23:48:14Z
2016-09-02T23:52:39Z
2016-09-02T23:52:39Z
CONTRIBUTOR
null
something wrong with update for blosc=1.4.3 (latest via pip).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14142/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14142/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14142.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14142", "merged_at": "2016-09-02T23:52:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14142.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14142" }
https://api.github.com/repos/pandas-dev/pandas/issues/14143
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14143/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14143/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14143/events
https://github.com/pandas-dev/pandas/issues/14143
174,866,590
MDU6SXNzdWUxNzQ4NjY1OTA=
14,143
TST: blosc>1.4.1 failing
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-09-02T23:49:40Z
2016-09-03T14:50:08Z
2016-09-03T14:50:08Z
CONTRIBUTOR
null
xref: https://github.com/pydata/pandas/pull/14142 seems this update just hit and failing 1 tests [here](https://travis-ci.org/pydata/pandas/jobs/157218567) worked [here](https://travis-ci.org/pydata/pandas/jobs/157068571) seems like a back-compat issue (new blosc not reading older blosc?) ``` ====================================================================== ERROR: pandas.io.tests.test_packers.TestMsgpack.test_msgpack('0.17.1',) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/miniconda/envs/pandas/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/pydata/pandas/pandas/io/tests/test_packers.py", line 873, in read_msgpacks self.compare(vf, version) File "/home/travis/build/pydata/pandas/pandas/io/tests/test_packers.py", line 817, in compare data = read_msgpack(vf, encoding='latin-1') File "/home/travis/build/pydata/pandas/pandas/io/packers.py", line 202, in read_msgpack return read(fh) File "/home/travis/build/pydata/pandas/pandas/io/packers.py", line 187, in read l = list(unpack(fh, encoding=encoding, **kwargs)) File "_unpacker.pyx", line 459, in pandas.msgpack._unpacker.Unpacker.__next__ (pandas/msgpack/_unpacker.cpp:4709) File "_unpacker.pyx", line 390, in pandas.msgpack._unpacker.Unpacker._unpack (pandas/msgpack/_unpacker.cpp:3843) File "/home/travis/build/pydata/pandas/pandas/io/packers.py", line 628, in decode blocks = [create_block(b) for b in obj[u'blocks']] File "/home/travis/build/pydata/pandas/pandas/io/packers.py", line 615, in create_block b[u'compress']), b[u'shape']) File "/home/travis/build/pydata/pandas/pandas/io/packers.py", line 329, in unconvert _move_into_mutable_buffer(decompress(values)), File "/home/travis/miniconda/envs/pandas/lib/python2.7/site-packages/blosc/toplevel.py", line 485, in decompress return _ext.decompress(bytesobj, as_bytearray) error: Error -1 while decompressing data ---------------------------------------------------------------------- ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14143/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14143/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14144
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14144/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14144/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14144/events
https://github.com/pandas-dev/pandas/pull/14144
174,897,660
MDExOlB1bGxSZXF1ZXN0ODM4OTYwMDE=
14,144
Add the steps to setup gbq integration testing to the contributing docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/5184014?v=4", "events_url": "https://api.github.com/users/parthea/events{/privacy}", "followers_url": "https://api.github.com/users/parthea/followers", "following_url": "https://api.github.com/users/parthea/following{/other_user}", "gists_url": "https://api.github.com/users/parthea/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/parthea", "id": 5184014, "login": "parthea", "node_id": "MDQ6VXNlcjUxODQwMTQ=", "organizations_url": "https://api.github.com/users/parthea/orgs", "received_events_url": "https://api.github.com/users/parthea/received_events", "repos_url": "https://api.github.com/users/parthea/repos", "site_admin": false, "starred_url": "https://api.github.com/users/parthea/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/parthea/subscriptions", "type": "User", "url": "https://api.github.com/users/parthea" }
[ { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
16
2016-09-03T13:43:30Z
2016-09-07T13:23:03Z
2016-09-07T13:22:53Z
CONTRIBUTOR
null
Pull requests from forked repositories cannot access the existing secure Google BigQuery credentials which are on Travis at pydata/pandas. In order for contributors to run Google BigQuery integration tests on Travis, they need to create a pull request on their forked repository of pandas with their own secure Google BigQuery credentials. I've updated the contributing documentation to include the steps required to run Google BigQuery integration tests on a forked repository of pandas.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14144/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14144/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14144.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14144", "merged_at": "2016-09-07T13:22:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14144.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14144" }
https://api.github.com/repos/pandas-dev/pandas/issues/14145
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14145/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14145/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14145/events
https://github.com/pandas-dev/pandas/pull/14145
174,925,655
MDExOlB1bGxSZXF1ZXN0ODM5MTAzOTQ=
14,145
CLN/BUG: fix ndarray assignment may cause unexpected cast
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2017-10-28T18:54:27Z", "closed_issues": 764, "created_at": "2017-03-23T13:26:25Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2017-10-27T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/46", "id": 2406656, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels", "node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==", "number": 46, "open_issues": 0, "state": "closed", "title": "0.21.0", "updated_at": "2018-07-08T21:53:21Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46" }
7
2016-09-04T01:10:37Z
2017-05-21T19:49:10Z
2017-05-21T19:49:10Z
MEMBER
null
- [x] closes #14001 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Fixed a bug with assignment against block may be coerced incorrectly. ``` s = pd.Series([pd.Timestamp('2011-01-01'), pd.Timestamp('2012-01-01')]) s[1] = 1 s #0 2011-01-01 00:00:00.000000000 #1 1970-01-01 00:00:00.000000001 # dtype: datetime64[ns] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14145/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14145/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14145.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14145", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14145.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14145" }
https://api.github.com/repos/pandas-dev/pandas/issues/14146
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14146/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14146/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14146/events
https://github.com/pandas-dev/pandas/pull/14146
174,925,764
MDExOlB1bGxSZXF1ZXN0ODM5MTA0NjY=
14,146
BUG: DatetimeTZBlock can't assign values near dst boundary
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-09-04T01:14:48Z
2016-09-10T14:34:57Z
2016-09-10T14:34:57Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Value assignment doesn't work if data contains DST boundary because of internal `.localize(None)`. ``` s = pd.Series(pd.date_range('2016-11-06', freq='H', periods=3, tz='US/Eastern')) s[1] = pd.Timestamp('2011-01-01', tz='US/Eastern') s #0 2016-11-06 00:00:00-04:00 #1 2016-11-06 01:00:00-04:00 #2 2016-11-06 01:00:00-05:00 # dtype: datetime64[ns, US/Eastern] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14146/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14146/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14146.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14146", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14146.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14146" }
https://api.github.com/repos/pandas-dev/pandas/issues/14147
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14147/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14147/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14147/events
https://github.com/pandas-dev/pandas/pull/14147
174,934,562
MDExOlB1bGxSZXF1ZXN0ODM5MTUxMDM=
14,147
MAINT: flake8 *.pyx files
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
11
2016-09-04T06:43:56Z
2016-09-06T10:18:35Z
2016-09-06T10:18:08Z
MEMBER
null
closes #12995 flake8-ed *.pyx files and fixed errors. Removed the E226 check because that inhibits pointers (e.g. char*). In addition, the check is not even universally accepted in Python.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14147/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14147/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14147.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14147", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14147.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14147" }
https://api.github.com/repos/pandas-dev/pandas/issues/14148
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14148/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14148/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14148/events
https://github.com/pandas-dev/pandas/issues/14148
174,956,962
MDU6SXNzdWUxNzQ5NTY5NjI=
14,148
Datatime stored in DataFrame loses tz info and it goes to hour:minute
{ "avatar_url": "https://avatars.githubusercontent.com/u/7315961?v=4", "events_url": "https://api.github.com/users/leagto/events{/privacy}", "followers_url": "https://api.github.com/users/leagto/followers", "following_url": "https://api.github.com/users/leagto/following{/other_user}", "gists_url": "https://api.github.com/users/leagto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/leagto", "id": 7315961, "login": "leagto", "node_id": "MDQ6VXNlcjczMTU5NjE=", "organizations_url": "https://api.github.com/users/leagto/orgs", "received_events_url": "https://api.github.com/users/leagto/received_events", "repos_url": "https://api.github.com/users/leagto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/leagto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leagto/subscriptions", "type": "User", "url": "https://api.github.com/users/leagto" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2016-09-04T16:27:14Z
2016-09-04T18:26:22Z
2016-09-04T17:46:15Z
NONE
null
``` #With this code: #----------------------------- from datetime import datetime import pytz from pandas import DataFrame original_date = datetime(2016, 9, 2, 0, 0, 0, 0, pytz.timezone('America/Manaus')) dataframe = DataFrame(columns = ['stored_date']) dataframe.loc['A'] = [original_date] print("I expect it shows '2016-09-02T00:00:00-04:00', but it shows '2016-09-02 04:00:00'...") print("original_date: " + original_date.isoformat()) print("stored_date in dataframe: " + str(dataframe.loc['A', 'stored_date'])) #----------------------------- ``` ``` #I get this output: #----------------------------- I expect it shows '2016-09-02T00:00:00-04:00', but it shows '2016-09-02 04:00:00'... original_date: 2016-09-02T00:00:00-04:00 stored_date in dataframe: 2016-09-02 04:00:00 #----------------------------- ``` ``` #Output from pd.show_versions() commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.7.1-1-ARCH machine: x86_64 processor: byteorder: little LC_ALL: None LANG: pt_BR.utf8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 26.0.0 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 1.1.0 tables: 3.2.3.1 numexpr: 2.6.1 matplotlib: 1.5.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.14 pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: 0.2.1 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14148/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14148/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14149
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14149/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14149/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14149/events
https://github.com/pandas-dev/pandas/issues/14149
174,964,548
MDU6SXNzdWUxNzQ5NjQ1NDg=
14,149
NaT treatment in pandas groupby/nunique
{ "avatar_url": "https://avatars.githubusercontent.com/u/1593648?v=4", "events_url": "https://api.github.com/users/pkch/events{/privacy}", "followers_url": "https://api.github.com/users/pkch/followers", "following_url": "https://api.github.com/users/pkch/following{/other_user}", "gists_url": "https://api.github.com/users/pkch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pkch", "id": 1593648, "login": "pkch", "node_id": "MDQ6VXNlcjE1OTM2NDg=", "organizations_url": "https://api.github.com/users/pkch/orgs", "received_events_url": "https://api.github.com/users/pkch/received_events", "repos_url": "https://api.github.com/users/pkch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pkch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkch/subscriptions", "type": "User", "url": "https://api.github.com/users/pkch" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2016-09-04T19:09:06Z
2021-05-01T23:35:37Z
2021-05-01T23:35:37Z
NONE
null
#### Code Sample, a copy-pastable example if possible Calling nunique on a column that contains NaT results in this FutureWarning from numpy: ``` python35\lib\site-packages\pandas\core\groupby.py:2854 FutureWarning: In the future, NAT != NAT will be True rather than False. inc = np.r_[1, val[1:] != val[:-1]] ``` It might be worth updating the relevant lines in a way that does not depend on != comparison of NaT, otherwise `nunique()` behavior will unexpectedly change when [numpy is upgraded to 1.13](http://docs.scipy.org/doc/numpy-dev/release.html#future-changes). #### Expected Output #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.1.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 26.1.1 Cython: 0.24.1 numpy: 1.11.0 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 5.1.0 sphinx: None patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: 3.2.3 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: 2.3.5 xlrd: None xlwt: None xlsxwriter: None lxml: 3.6.4 bs4: None html5lib: None httplib2: 0.9.2 apiclient: 1.5.0 sqlalchemy: 1.0.14 pymysql: None psycopg2: 2.6.2 (dt dec pq3 ext lo64) jinja2: 2.8 boto: None pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14149/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14149/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14150
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14150/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14150/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14150/events
https://github.com/pandas-dev/pandas/issues/14150
174,974,632
MDU6SXNzdWUxNzQ5NzQ2MzI=
14,150
SettingWithCopy dependence on reference count
{ "avatar_url": "https://avatars.githubusercontent.com/u/1593648?v=4", "events_url": "https://api.github.com/users/pkch/events{/privacy}", "followers_url": "https://api.github.com/users/pkch/followers", "following_url": "https://api.github.com/users/pkch/following{/other_user}", "gists_url": "https://api.github.com/users/pkch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pkch", "id": 1593648, "login": "pkch", "node_id": "MDQ6VXNlcjE1OTM2NDg=", "organizations_url": "https://api.github.com/users/pkch/orgs", "received_events_url": "https://api.github.com/users/pkch/received_events", "repos_url": "https://api.github.com/users/pkch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pkch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkch/subscriptions", "type": "User", "url": "https://api.github.com/users/pkch" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" }, { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 4, "created_at": "2016-08-16T13:21:24Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2022-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/42", "id": 1945020, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/42/labels", "node_id": "MDk6TWlsZXN0b25lMTk0NTAyMA==", "number": 42, "open_issues": 11, "state": "open", "title": "2.0", "updated_at": "2021-10-07T22:01:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/42" }
9
2016-09-04T23:06:59Z
2020-09-06T18:50:04Z
null
NONE
null
As a follow-up to my [question](http://stackoverflow.com/questions/39321914/unpredictable-pandas-slice-assignment-behavior-with-no-settingwithcopywarning), I believe the current approach is that pandas assumes that the programmer intends assignment to a child DF/S to be propagated to the parent DF/S _as long as the parent has a non-zero reference count_. The problems like the ones I described would be avoided if child DataFrame always warned on assignment regardless of the reference count of the parent object - UNLESS a `copy() method` or `DataFrame` constructor was explicitly applied to the slice. (If desired `query` and/or `filter` can be documented as `copy` methods as well.) (Making ref count incremented when the child is a view is not enough because the code that works normally might one day stop working - with SettingWithCopyWarning that but might be ignored if it appear on the client site - simply due to the change in the input data.) If this approach is followed, the documentation can also be clarified as follows: > When applying indexing, `filter` (???) and some other operations (???) to a parent DF/S pandas may create a view or copy of the parent depending on conditions that are too complicated to describe. This creates a possibility of a subtle bug in the code when assigning to the child DF/S. To help catch such potential bugs, pandas assumes that the programmer intends assignment to a child DF/S to be propagated to the parent DF/S unless it is explicitly copied (using .copy(), .query(), `DataFrame` constructor, etc??? ); when pandas cannot guarantee such behavior, it generates `SettingWithCopyWarning`. Note that this happens regardless of whether the parent DF/S is reachable in the current context or even whether it still exists as an object.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14150/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14150/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14151
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14151/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14151/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14151/events
https://github.com/pandas-dev/pandas/pull/14151
174,994,705
MDExOlB1bGxSZXF1ZXN0ODM5NDk2ODI=
14,151
BUG/TST: Empty input arrays in cartesian_product and MultiIndex (#12258)
{ "avatar_url": "https://avatars.githubusercontent.com/u/9507544?v=4", "events_url": "https://api.github.com/users/pijucha/events{/privacy}", "followers_url": "https://api.github.com/users/pijucha/followers", "following_url": "https://api.github.com/users/pijucha/following{/other_user}", "gists_url": "https://api.github.com/users/pijucha/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pijucha", "id": 9507544, "login": "pijucha", "node_id": "MDQ6VXNlcjk1MDc1NDQ=", "organizations_url": "https://api.github.com/users/pijucha/orgs", "received_events_url": "https://api.github.com/users/pijucha/received_events", "repos_url": "https://api.github.com/users/pijucha/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pijucha/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pijucha/subscriptions", "type": "User", "url": "https://api.github.com/users/pijucha" }
[ { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-09-05T04:46:36Z
2016-09-27T10:36:44Z
2016-09-27T10:36:44Z
CONTRIBUTOR
null
- [x] closes #12258 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry This commit: 1. fixes logic (and division by 0) in `cartesian_product` when some input arrays are empty 2. adds tests for MultiIndex empty level construction with `.from_arrays` and `.from_product`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14151/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14151/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14151.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14151", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14151.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14151" }
https://api.github.com/repos/pandas-dev/pandas/issues/14152
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14152/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14152/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14152/events
https://github.com/pandas-dev/pandas/issues/14152
175,020,132
MDU6SXNzdWUxNzUwMjAxMzI=
14,152
Feature request: Access multiindex by name
{ "avatar_url": "https://avatars.githubusercontent.com/u/338235?v=4", "events_url": "https://api.github.com/users/dov/events{/privacy}", "followers_url": "https://api.github.com/users/dov/followers", "following_url": "https://api.github.com/users/dov/following{/other_user}", "gists_url": "https://api.github.com/users/dov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dov", "id": 338235, "login": "dov", "node_id": "MDQ6VXNlcjMzODIzNQ==", "organizations_url": "https://api.github.com/users/dov/orgs", "received_events_url": "https://api.github.com/users/dov/received_events", "repos_url": "https://api.github.com/users/dov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dov/subscriptions", "type": "User", "url": "https://api.github.com/users/dov" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
4
2016-09-05T08:27:19Z
2016-09-06T10:44:29Z
2016-09-05T15:07:12Z
NONE
null
#### Code Sample, a copy-pastable example if possible I have not found an easy way to access a column of a multi index by name. Consider the following code: ``` import pandas as pd df = pd.DataFrame([[1,1,10,200], [1,2,11,201], [1,3,12,202], [2,1,13,210], [2,2,14,230]], columns=list('ABCD')).set_index(['A','B']) ii = df.index ``` To access the values of column B i can e.g. do: ``` df.reset_index('B').B.tolist() ``` or ``` [v[1] for v in ii.tolist()] ``` Both of there are somewhat cumbersome What I'm proposing is to add similar shorcut access to a multiindex just like a dataframe. E.g. ``` ii.B ``` or ``` ii['B'] ``` that would return the same list as in the two examples above. #### output of `pd.show_versions()` 0.18.1
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14152/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14152/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14153
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14153/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14153/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14153/events
https://github.com/pandas-dev/pandas/pull/14153
175,059,741
MDExOlB1bGxSZXF1ZXN0ODM5OTM5MTg=
14,153
Fix typo (change 'n' to 'k' in get_dummies documentation)
{ "avatar_url": "https://avatars.githubusercontent.com/u/17114984?v=4", "events_url": "https://api.github.com/users/c123w/events{/privacy}", "followers_url": "https://api.github.com/users/c123w/followers", "following_url": "https://api.github.com/users/c123w/following{/other_user}", "gists_url": "https://api.github.com/users/c123w/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/c123w", "id": 17114984, "login": "c123w", "node_id": "MDQ6VXNlcjE3MTE0OTg0", "organizations_url": "https://api.github.com/users/c123w/orgs", "received_events_url": "https://api.github.com/users/c123w/received_events", "repos_url": "https://api.github.com/users/c123w/repos", "site_admin": false, "starred_url": "https://api.github.com/users/c123w/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/c123w/subscriptions", "type": "User", "url": "https://api.github.com/users/c123w" }
[]
closed
false
null
[]
null
2
2016-09-05T12:19:02Z
2016-09-05T14:16:35Z
2016-09-05T14:16:31Z
CONTRIBUTOR
null
Just changing an `n` to a `k`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14153/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14153/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14153.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14153", "merged_at": "2016-09-05T14:16:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14153.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14153" }
https://api.github.com/repos/pandas-dev/pandas/issues/14154
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14154/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14154/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14154/events
https://github.com/pandas-dev/pandas/issues/14154
175,092,697
MDU6SXNzdWUxNzUwOTI2OTc=
14,154
ENH: allow usecols to be case insensitive
{ "avatar_url": "https://avatars.githubusercontent.com/u/5527610?v=4", "events_url": "https://api.github.com/users/aechase/events{/privacy}", "followers_url": "https://api.github.com/users/aechase/followers", "following_url": "https://api.github.com/users/aechase/following{/other_user}", "gists_url": "https://api.github.com/users/aechase/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aechase", "id": 5527610, "login": "aechase", "node_id": "MDQ6VXNlcjU1Mjc2MTA=", "organizations_url": "https://api.github.com/users/aechase/orgs", "received_events_url": "https://api.github.com/users/aechase/received_events", "repos_url": "https://api.github.com/users/aechase/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aechase/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aechase/subscriptions", "type": "User", "url": "https://api.github.com/users/aechase" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
9
2016-09-05T15:24:54Z
2016-12-06T11:38:06Z
2016-12-06T11:38:06Z
CONTRIBUTOR
null
I have a wide delimited file that includes columns with predictable names but unpredictable capitalisation, as shown in this toy code. ``` python import pandas as pd from io import StringIO data = """1,1,1,1 2,2,2,2 3,3,3,3 4,4,4,4 5,5,5,5""" names = ['col1', 'col2', 'COL3', 'Col4'] df = pd.read_csv(StringIO(data), names=names, usecols=None) df.head() ``` | | col1 | col2 | COL3 | Col4 | | --- | --- | --- | --- | --- | | **0** | 1 | 1 | 1 | 1 | | **1** | 2 | 2 | 2 | 2 | | **2** | 3 | 3 | 3 | 3 | | **3** | 4 | 4 | 4 | 4 | | **4** | 5 | 5 | 5 | 5 | I want to pass a list of column names to `usecols` when importing the file, but I won't be able to unless I match the names exactly: ``` python df = pd.read_csv(StringIO(data), names=names, usecols=['col3', 'col4']) ``` ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-14-92d038c5ac8c> in <module>() 1 cols = ['col3', 'col4'] ----> 2 df1 = pd.read_csv('test.csv', usecols=['col3', 'col4']) 3 df1.head() /Users/alexchase/anaconda/lib/python3.5/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision) 560 skip_blank_lines=skip_blank_lines) 561 --> 562 return _read(filepath_or_buffer, kwds) 563 564 parser_f.__name__ = name /Users/alexchase/anaconda/lib/python3.5/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds) 313 314 # Create the parser. --> 315 parser = TextFileReader(filepath_or_buffer, **kwds) 316 317 if (nrows is not None) and (chunksize is not None): /Users/alexchase/anaconda/lib/python3.5/site-packages/pandas/io/parsers.py in __init__(self, f, engine, **kwds) 643 self.options['has_index_names'] = kwds['has_index_names'] 644 --> 645 self._make_engine(self.engine) 646 647 def close(self): /Users/alexchase/anaconda/lib/python3.5/site-packages/pandas/io/parsers.py in _make_engine(self, engine) 797 def _make_engine(self, engine='c'): 798 if engine == 'c': --> 799 self._engine = CParserWrapper(self.f, **self.options) 800 else: 801 if engine == 'python': /Users/alexchase/anaconda/lib/python3.5/site-packages/pandas/io/parsers.py in __init__(self, src, **kwds) 1255 1256 if len(self.names) < len(self.usecols): -> 1257 raise ValueError("Usecols do not match names.") 1258 1259 self._set_noconvert_columns() ValueError: Usecols do not match names. ``` I see two problems here. First, the error text would be more helpful if it specified what column name(s) is/are wrong. That's pretty easy to fix. Second, if I know that capitalisation might be a problem, I have to check every column name individually before I can pass a list to `usecols`. One possible solution would be to modify [this part](https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py#L1421) and [this part](https://github.com/pydata/pandas/blob/master/pandas/io/parsers.py#L2193) of `parsers.py` to case-transform the lists of column names before matching. This behaviour could be made the default, or it could be optional via an `ignore_col_case` keyword in the various `read` functions. --- > ## INSTALLED VERSIONS > > commit: None > python: 3.5.2.final.0 > python-bits: 64 > OS: Darwin > OS-release: 15.6.0 > machine: x86_64 > processor: i386 > byteorder: little > LC_ALL: None > LANG: en_GB.UTF-8 > > pandas: 0.18.1 > nose: 1.3.7 > pip: 8.1.2 > setuptools: 25.1.6 > Cython: 0.24.1 > numpy: 1.11.1 > scipy: 0.18.0 > statsmodels: 0.6.1 > xarray: None > IPython: 5.1.0 > sphinx: 1.4.1 > patsy: 0.4.1 > dateutil: 2.5.3 > pytz: 2016.6.1 > blosc: None > bottleneck: 1.1.0 > tables: 3.2.3.1 > numexpr: 2.6.1 > matplotlib: 1.5.1 > openpyxl: 2.3.2 > xlrd: 1.0.0 > xlwt: 1.1.2 > xlsxwriter: 0.9.2 > lxml: 3.6.4 > bs4: 4.4.1 > html5lib: None > httplib2: None > apiclient: None > sqlalchemy: 1.0.13 > pymysql: 0.7.6.None > psycopg2: None > jinja2: 2.8 > boto: 2.40.0 > pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14154/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14154/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14155
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14155/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14155/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14155/events
https://github.com/pandas-dev/pandas/issues/14155
175,097,488
MDU6SXNzdWUxNzUwOTc0ODg=
14,155
Bug when assigning timedelta64 to a series (or dataframe) with an indexer
{ "avatar_url": "https://avatars.githubusercontent.com/u/5983634?v=4", "events_url": "https://api.github.com/users/Talmaj/events{/privacy}", "followers_url": "https://api.github.com/users/Talmaj/followers", "following_url": "https://api.github.com/users/Talmaj/following{/other_user}", "gists_url": "https://api.github.com/users/Talmaj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Talmaj", "id": 5983634, "login": "Talmaj", "node_id": "MDQ6VXNlcjU5ODM2MzQ=", "organizations_url": "https://api.github.com/users/Talmaj/orgs", "received_events_url": "https://api.github.com/users/Talmaj/received_events", "repos_url": "https://api.github.com/users/Talmaj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Talmaj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Talmaj/subscriptions", "type": "User", "url": "https://api.github.com/users/Talmaj" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-09-05T15:55:32Z
2016-09-08T10:22:35Z
2016-09-08T10:22:35Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` In [2]: import pandas as pd In [3]: import numpy as np In [4]: s = pd.Series(10*[np.timedelta64(10, 'm')]) In [5]: s Out[5]: 0 00:10:00 1 00:10:00 2 00:10:00 3 00:10:00 4 00:10:00 5 00:10:00 6 00:10:00 7 00:10:00 8 00:10:00 9 00:10:00 dtype: timedelta64[ns] In [6]: s.ix[[1,2,3]] = np.timedelta64(20, 'm') In [7]: s Out[7]: 0 00:10:00 1 00:00:00.000000 2 00:00:00.000000 3 00:00:00.000000 4 00:10:00 5 00:10:00 6 00:10:00 7 00:10:00 8 00:10:00 9 00:10:00 dtype: timedelta64[ns] ``` #### Expected Output ``` In [7]: s Out[7]: 0 00:10:00 1 00:20:00 2 00:20:00 3 00:20:00 4 00:10:00 5 00:10:00 6 00:10:00 7 00:10:00 8 00:10:00 9 00:10:00 dtype: timedelta64[ns] ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.0.final.0 python-bits: 64 OS: Darwin OS-release: 14.0.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 18.2 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: None xarray: None IPython: 4.0.3 sphinx: 1.4.6 patsy: None dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: 3.2.3.1 numexpr: 2.6.1 matplotlib: 1.5.1 openpyxl: 2.3.3 xlrd: 0.9.4 xlwt: None xlsxwriter: None lxml: 3.5.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.15 pymysql: 0.7.5.None psycopg2: None jinja2: 2.8 boto: 2.42.0 pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14155/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14155/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14156
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14156/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14156/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14156/events
https://github.com/pandas-dev/pandas/issues/14156
175,107,075
MDU6SXNzdWUxNzUxMDcwNzU=
14,156
BUG: conversion precision on Timedeltas
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2018-06-13T03:57:35Z", "closed_issues": 107, "created_at": "2018-04-14T14:52:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2018-06-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/56", "id": 3267242, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/56/labels", "node_id": "MDk6TWlsZXN0b25lMzI2NzI0Mg==", "number": 56, "open_issues": 0, "state": "closed", "title": "0.23.1", "updated_at": "2018-06-13T03:57:35Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/56" }
3
2016-09-05T17:09:20Z
2018-05-21T11:06:04Z
2018-05-21T11:06:04Z
CONTRIBUTOR
null
I think this is rounding prematurely, though not entirely sure. Could also just be loss of precision when converting from a float -> int64. ``` In [12]: pd.to_datetime(1434743731.8770001,unit='s') Out[12]: Timestamp('2015-06-19 19:55:31.877000') In [13]: pd.to_datetime(1434743731.8770001,unit='s').value Out[13]: 1434743731877000000 In [14]: (pd.Timestamp('2015-06-19 19:55:15.877000')+pd.Timedelta('1us')).value Out[14]: 1434743715877001000 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14156/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14156/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14157
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14157/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14157/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14157/events
https://github.com/pandas-dev/pandas/issues/14157
175,107,755
MDU6SXNzdWUxNzUxMDc3NTU=
14,157
ENH: function to take DatetimeIndex and adjust for leapseconds
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2016-09-05T17:16:19Z
2017-12-15T01:18:37Z
2017-12-15T01:18:37Z
CONTRIBUTOR
null
[leapseconds list here](https://github.com/eggert/tz/blob/master/leap-seconds.list). [SO discussion here](http://stackoverflow.com/questions/19332902/extract-historic-leap-seconds-from-tzdata). This info is actually available from the tzinfo, though I don't think `pytz` is reading it. [astropy docs](http://docs.astropy.org/en/stable/api/astropy.time.TimeGPS.html) This is just a matter of do a timedelta addition against this list (which could be hardcoded) and returning a new DTI. In theory this could be in the 'leapseconds' tz `right/UTC`, but that might require more work. Just thinking of a simple. ``` index = pd.date_range('.....') index.adjusted_for_leapseconds() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14157/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14157/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14158
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14158/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14158/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14158/events
https://github.com/pandas-dev/pandas/issues/14158
175,108,920
MDU6SXNzdWUxNzUxMDg5MjA=
14,158
ENH: Reduce DF/Series to smallest possible dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/2741256?v=4", "events_url": "https://api.github.com/users/hnykda/events{/privacy}", "followers_url": "https://api.github.com/users/hnykda/followers", "following_url": "https://api.github.com/users/hnykda/following{/other_user}", "gists_url": "https://api.github.com/users/hnykda/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hnykda", "id": 2741256, "login": "hnykda", "node_id": "MDQ6VXNlcjI3NDEyNTY=", "organizations_url": "https://api.github.com/users/hnykda/orgs", "received_events_url": "https://api.github.com/users/hnykda/received_events", "repos_url": "https://api.github.com/users/hnykda/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hnykda/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hnykda/subscriptions", "type": "User", "url": "https://api.github.com/users/hnykda" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2016-09-05T17:28:46Z
2016-09-06T14:24:32Z
2016-09-05T17:34:42Z
CONTRIBUTOR
null
Hi, I have been currently working with dataset mostly consisting of binary features (column has only 1, 0 or NaN). I know there is a `category` dtype, but that is not usable in some cases, e.g. when you want to store it HDF and can't use `tables` format (e.g. because of to wide tables). I have datasets with about 50k rows and 7k columns and it is wasting a lot of memory storing 0/1 as `float64` (because `int64` can't handle NaNs - but it is still terribly big). In memory size is about 15 GB, while reduced is about 4GB and HDF files are of course much smaller. So I use this function to reduce a Series to smallest possible dtype, effectively reducing the size of the dataset (up to 8 times from 64b -> 8b): ``` python import numpy as np def safely_reduce_dtype(ser): # pandas.Series or numpy.array orig_dtype = "".join([x for x in ser.dtype.name if x.isalpha()]) # float/int mx = 1 for val in ser.values: new_itemsize = np.min_scalar_type(val).itemsize if mx < new_itemsize: mx = new_itemsize new_dtype = orig_dtype + str(mx * 8) return new_dtype # or converts the pandas.Series by ser.astype(new_dtype) ``` it's far from perfect and probably some edge cases may occur. It could be definitely enhanced somehow, take this as a first proposal. I think it could be added as a utility function, something like `pd.to_numeric` or `pd.to_datetime`. What do you think? ## Example ``` python >>> import pandas >>> serie = pd.Series([1,0,1,0], dtype='int32') >>> safely_reduce_dtype(serie) dtype('int8') >>> float_serie = pd.Series([1,0,1,0]) >>> safely_reduce_dtype(float_serie) dtype('float8') # from float64 ``` or when returning `ser.astype(new_type)`: ``` python >>> import numpy as np >>> import pandas as pd >>> rands = np.random.randint(1,100, 10000) >>> ser_orig = pd.Series(rands) >>> ser_reduced = safely_reduce_dtype(ser_orig) >>> print(ser_orig.memory_usage(), ser_reduced.memory_usage()) 80080 10080 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14158/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14158/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14159
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14159/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14159/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14159/events
https://github.com/pandas-dev/pandas/pull/14159
175,121,008
MDExOlB1bGxSZXF1ZXN0ODQwMzU0NDY=
14,159
WIP/ENH: reading older Stata versions, #11526
{ "avatar_url": "https://avatars.githubusercontent.com/u/2666691?v=4", "events_url": "https://api.github.com/users/kshedden/events{/privacy}", "followers_url": "https://api.github.com/users/kshedden/followers", "following_url": "https://api.github.com/users/kshedden/following{/other_user}", "gists_url": "https://api.github.com/users/kshedden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kshedden", "id": 2666691, "login": "kshedden", "node_id": "MDQ6VXNlcjI2NjY2OTE=", "organizations_url": "https://api.github.com/users/kshedden/orgs", "received_events_url": "https://api.github.com/users/kshedden/received_events", "repos_url": "https://api.github.com/users/kshedden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kshedden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kshedden/subscriptions", "type": "User", "url": "https://api.github.com/users/kshedden" }
[ { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
7
2016-09-05T19:43:57Z
2016-09-11T13:55:44Z
2016-09-11T13:55:39Z
CONTRIBUTOR
null
A simple file seems to read OK if we just treat it like other "old format" (version 104-115) files. However I do not currently have any documentation for this format. The only relevant resource I can find is the file `foreign/src/stataread.c` in the R `foreign` package sources: https://cran.r-project.org/src/contrib/foreign_0.8-66.tar.gz It suggests some special handling for version 111 but I haven't had time to figure out exactly what it is doing. - [x] closes #11526 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14159/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14159/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14159.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14159", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14159.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14159" }
https://api.github.com/repos/pandas-dev/pandas/issues/14160
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14160/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14160/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14160/events
https://github.com/pandas-dev/pandas/pull/14160
175,145,092
MDExOlB1bGxSZXF1ZXN0ODQwNTAzMjA=
14,160
BUG : assignment of non-ns timedelta64 value (GH14155)
{ "avatar_url": "https://avatars.githubusercontent.com/u/8311342?v=4", "events_url": "https://api.github.com/users/rsmith54/events{/privacy}", "followers_url": "https://api.github.com/users/rsmith54/followers", "following_url": "https://api.github.com/users/rsmith54/following{/other_user}", "gists_url": "https://api.github.com/users/rsmith54/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rsmith54", "id": 8311342, "login": "rsmith54", "node_id": "MDQ6VXNlcjgzMTEzNDI=", "organizations_url": "https://api.github.com/users/rsmith54/orgs", "received_events_url": "https://api.github.com/users/rsmith54/received_events", "repos_url": "https://api.github.com/users/rsmith54/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rsmith54/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rsmith54/subscriptions", "type": "User", "url": "https://api.github.com/users/rsmith54" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
9
2016-09-06T01:51:49Z
2016-09-08T10:22:40Z
2016-09-08T10:22:35Z
NONE
null
- [x] closes #14155 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14160/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14160/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14160.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14160", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14160.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14160" }
https://api.github.com/repos/pandas-dev/pandas/issues/14161
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14161/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14161/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14161/events
https://github.com/pandas-dev/pandas/pull/14161
175,146,415
MDExOlB1bGxSZXF1ZXN0ODQwNTExNzI=
14,161
TST: Make encoded sep check more locale sensitive
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
8
2016-09-06T02:08:59Z
2016-09-08T22:13:08Z
2016-09-08T22:12:53Z
MEMBER
null
Follow-up to #14120 to make the `sep` check more locale sensitive. Closes #14140.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14161/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14161/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14161.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14161", "merged_at": "2016-09-08T22:12:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14161.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14161" }
https://api.github.com/repos/pandas-dev/pandas/issues/14162
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14162/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14162/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14162/events
https://github.com/pandas-dev/pandas/issues/14162
175,178,733
MDU6SXNzdWUxNzUxNzg3MzM=
14,162
Unexpected results for the mean of a DataFrame of ufloat from the uncertainties package.
{ "avatar_url": "https://avatars.githubusercontent.com/u/2202856?v=4", "events_url": "https://api.github.com/users/bgatessucks/events{/privacy}", "followers_url": "https://api.github.com/users/bgatessucks/followers", "following_url": "https://api.github.com/users/bgatessucks/following{/other_user}", "gists_url": "https://api.github.com/users/bgatessucks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bgatessucks", "id": 2202856, "login": "bgatessucks", "node_id": "MDQ6VXNlcjIyMDI4NTY=", "organizations_url": "https://api.github.com/users/bgatessucks/orgs", "received_events_url": "https://api.github.com/users/bgatessucks/received_events", "repos_url": "https://api.github.com/users/bgatessucks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bgatessucks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bgatessucks/subscriptions", "type": "User", "url": "https://api.github.com/users/bgatessucks" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
14
2016-09-06T07:31:50Z
2021-05-01T23:37:23Z
null
NONE
null
Related to #6898. I find it very convenient to use a DataFrame of `ufloat` from the `uncertainties` package. Each entry consists of (value, error) and could represent the result of Monte Carlo simulations or an experiment. At present taking sums along both axes gives the expected result, but taking the mean does not. ``` python import pandas as pd import numpy as np from uncertainties import unumpy value = np.arange(12).reshape(3,4) err = 0.01 * np.arange(12).reshape(3,4) + 0.005 data = unumpy.uarray(value, err) df = pd.DataFrame(data, index=['r1', 'r2', 'r3'], columns=['c1', 'c2', 'c3', 'c4']) ``` Examples: ``` python print (df) c1 c2 c3 c4 r1 0.000+/-0.005 1.000+/-0.015 2.000+/-0.025 3.000+/-0.035 r2 4.00+/-0.04 5.00+/-0.06 6.00+/-0.07 7.00+/-0.08 r3 8.00+/-0.09 9.00+/-0.10 10.00+/-0.11 11.00+/-0.12 df.sum(axis=0) # This works c1 12.00+/-0.10 c2 15.00+/-0.11 c3 18.00+/-0.13 c4 21.00+/-0.14 dtype: object df.sum(axis=1) # This works r1 6.00+/-0.05 r2 22.00+/-0.12 r3 38.00+/-0.20 dtype: object df.mean(axis=0) # This does not work Series([], dtype: float64) Expected (`df.apply(lambda x: x.sum() / x.size)`) c1 4.000+/-0.032 c2 5.00+/-0.04 c3 6.00+/-0.04 c4 7.00+/-0.05 dtype: object df.mean(axis=1) # This does not work r1 NaN r2 NaN r3 NaN dtype: float64 Expected (`df.T.apply(lambda x: x.sum() / x.size)`) r1 1.500+/-0.011 r2 5.500+/-0.031 r3 9.50+/-0.05 dtype: object ```
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14162/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14162/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14163
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14163/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14163/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14163/events
https://github.com/pandas-dev/pandas/pull/14163
175,254,488
MDExOlB1bGxSZXF1ZXN0ODQxMjc0MzI=
14,163
ERR: improves message raised for bad names in usecols (GH14154)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5527610?v=4", "events_url": "https://api.github.com/users/aechase/events{/privacy}", "followers_url": "https://api.github.com/users/aechase/followers", "following_url": "https://api.github.com/users/aechase/following{/other_user}", "gists_url": "https://api.github.com/users/aechase/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aechase", "id": 5527610, "login": "aechase", "node_id": "MDQ6VXNlcjU1Mjc2MTA=", "organizations_url": "https://api.github.com/users/aechase/orgs", "received_events_url": "https://api.github.com/users/aechase/received_events", "repos_url": "https://api.github.com/users/aechase/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aechase/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aechase/subscriptions", "type": "User", "url": "https://api.github.com/users/aechase" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
7
2016-09-06T13:59:11Z
2017-02-27T21:05:09Z
2017-02-27T16:04:20Z
CONTRIBUTOR
null
- [X] partial fix for #14154 - [X] tests added / passed - [X] passes `git diff upstream/master | flake8 --diff` - [X] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14163/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14163/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14163.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14163", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14163.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14163" }
https://api.github.com/repos/pandas-dev/pandas/issues/14164
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14164/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14164/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14164/events
https://github.com/pandas-dev/pandas/pull/14164
175,283,781
MDExOlB1bGxSZXF1ZXN0ODQxNDgzODA=
14,164
API/DEPR: Remove +/- as setops for DatetimeIndex/PeriodIndex (GH9630)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-09-06T15:53:21Z
2016-09-07T13:24:30Z
2016-09-07T13:11:04Z
MEMBER
null
xref #13777, deprecations put in place in #9630
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14164/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14164/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14164.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14164", "merged_at": "2016-09-07T13:11:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14164.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14164" }
https://api.github.com/repos/pandas-dev/pandas/issues/14165
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14165/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14165/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14165/events
https://github.com/pandas-dev/pandas/issues/14165
175,348,739
MDU6SXNzdWUxNzUzNDg3Mzk=
14,165
BUG: pandas.Series.astype('category', categories=[list_of_categories]) returns all NaNs
{ "avatar_url": "https://avatars.githubusercontent.com/u/11424941?v=4", "events_url": "https://api.github.com/users/maxu777/events{/privacy}", "followers_url": "https://api.github.com/users/maxu777/followers", "following_url": "https://api.github.com/users/maxu777/following{/other_user}", "gists_url": "https://api.github.com/users/maxu777/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/maxu777", "id": 11424941, "login": "maxu777", "node_id": "MDQ6VXNlcjExNDI0OTQx", "organizations_url": "https://api.github.com/users/maxu777/orgs", "received_events_url": "https://api.github.com/users/maxu777/received_events", "repos_url": "https://api.github.com/users/maxu777/repos", "site_admin": false, "starred_url": "https://api.github.com/users/maxu777/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maxu777/subscriptions", "type": "User", "url": "https://api.github.com/users/maxu777" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-09-06T20:51:29Z
2016-09-06T21:06:08Z
2016-09-06T21:05:08Z
CONTRIBUTOR
null
The following code returns all NaN's instead of "given" categories: #### Code Sample, a copy-pastable example if possible ``` In [25]: df = pd.DataFrame({'a':['aa','bb','cc','dd']}) In [26]: df Out[26]: a 0 aa 1 bb 2 cc 3 dd In [27]: df.a.astype('category', categories=[0,1,2,3]) Out[27]: 0 NaN 1 NaN 2 NaN 3 NaN Name: a, dtype: category Categories (4, int64): [0, 1, 2, 3] In [28]: df.a.astype('category', categories=['0','1','2','3']) Out[28]: 0 NaN 1 NaN 2 NaN 3 NaN Name: a, dtype: category Categories (4, object): [0, 1, 2, 3] ``` #### Expected Output ``` a 0 0 1 1 2 2 3 3 Name: a, dtype: category Categories (4, object): [0, 1, 2, 3] ``` #### output of `pd.show_versions()` ``` In [29]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: en_US pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 25.1.1 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: None xarray: 0.7.2 IPython: 4.2.0 sphinx: 1.4 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 1.1.0 tables: 3.2.3 numexpr: 2.6.1 matplotlib: 1.5.1 openpyxl: 2.3.5 xlrd: 1.0.0 xlwt: None xlsxwriter: 0.9.3 lxml: 3.6.1 bs4: 4.5.0 html5lib: 0.999999999 httplib2: None apiclient: None sqlalchemy: 1.0.14 pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: 0.2.1 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14165/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14165/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14166
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14166/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14166/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14166/events
https://github.com/pandas-dev/pandas/issues/14166
175,378,641
MDU6SXNzdWUxNzUzNzg2NDE=
14,166
Sparse becomes float under fancy indexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/78827?v=4", "events_url": "https://api.github.com/users/jnothman/events{/privacy}", "followers_url": "https://api.github.com/users/jnothman/followers", "following_url": "https://api.github.com/users/jnothman/following{/other_user}", "gists_url": "https://api.github.com/users/jnothman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnothman", "id": 78827, "login": "jnothman", "node_id": "MDQ6VXNlcjc4ODI3", "organizations_url": "https://api.github.com/users/jnothman/orgs", "received_events_url": "https://api.github.com/users/jnothman/received_events", "repos_url": "https://api.github.com/users/jnothman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnothman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnothman/subscriptions", "type": "User", "url": "https://api.github.com/users/jnothman" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2016-09-06T23:45:19Z
2016-09-07T03:30:53Z
2016-09-07T00:15:32Z
CONTRIBUTOR
null
``` python >>> pd.SparseSeries([False, True], dtype=bool)[[0, 1]] 0 0.0 1 1.0 dtype: float64 BlockIndex Block locations: array([1], dtype=int32) Block lengths: array([1], dtype=int32) ``` #### Expected output ``` 0 False 1 True dtype: bool BlockIndex Block locations: array([1], dtype=int32) Block lengths: array([1], dtype=int32) ``` #### Output of `pd.versions()` pandas: 0.18.1 should alone be relevant. Apologies I've not checked if this is fixed by #13849 or elsewhere. Just passing on issues from https://github.com/scikit-learn/scikit-learn/issues/7352.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14166/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14166/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14167
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14167/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14167/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14167/events
https://github.com/pandas-dev/pandas/issues/14167
175,379,469
MDU6SXNzdWUxNzUzNzk0Njk=
14,167
SparseSeries.__array__ only returns non-fills
{ "avatar_url": "https://avatars.githubusercontent.com/u/78827?v=4", "events_url": "https://api.github.com/users/jnothman/events{/privacy}", "followers_url": "https://api.github.com/users/jnothman/followers", "following_url": "https://api.github.com/users/jnothman/following{/other_user}", "gists_url": "https://api.github.com/users/jnothman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnothman", "id": 78827, "login": "jnothman", "node_id": "MDQ6VXNlcjc4ODI3", "organizations_url": "https://api.github.com/users/jnothman/orgs", "received_events_url": "https://api.github.com/users/jnothman/received_events", "repos_url": "https://api.github.com/users/jnothman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnothman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnothman/subscriptions", "type": "User", "url": "https://api.github.com/users/jnothman" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
17
2016-09-06T23:51:36Z
2019-02-09T09:18:54Z
2018-10-17T13:50:11Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ``` python >>> np.array(pd.SparseSeries([0, 1], fill_value=0)) array([1]) ``` #### Expected Output ``` array([0, 1]) ``` this should really be consistent with `Series` rather than just returning the non-fill values (i.e. rather than being equivalent to `np.array(ps.SparseArray([np.nan, 1]))`. #### output of `pd.show_versions()` Pandas 0.18.1 should alone be relevant. Apologies I've not checked if this is fixed in master. Just passing on issues from scikit-learn/scikit-learn#7352.
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14167/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14167/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14168
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14168/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14168/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14168/events
https://github.com/pandas-dev/pandas/issues/14168
175,398,876
MDU6SXNzdWUxNzUzOTg4NzY=
14,168
hyperinks
{ "avatar_url": "https://avatars.githubusercontent.com/u/7362135?v=4", "events_url": "https://api.github.com/users/jdcronin/events{/privacy}", "followers_url": "https://api.github.com/users/jdcronin/followers", "following_url": "https://api.github.com/users/jdcronin/following{/other_user}", "gists_url": "https://api.github.com/users/jdcronin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jdcronin", "id": 7362135, "login": "jdcronin", "node_id": "MDQ6VXNlcjczNjIxMzU=", "organizations_url": "https://api.github.com/users/jdcronin/orgs", "received_events_url": "https://api.github.com/users/jdcronin/received_events", "repos_url": "https://api.github.com/users/jdcronin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jdcronin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jdcronin/subscriptions", "type": "User", "url": "https://api.github.com/users/jdcronin" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
0
2016-09-07T02:31:26Z
2016-09-07T03:36:28Z
2016-09-07T03:36:07Z
NONE
null
#### Code Sample, a copy-pastable example if possible #### Expected Output #### output of `pd.show_versions()`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14168/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14168/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14169
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14169/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14169/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14169/events
https://github.com/pandas-dev/pandas/issues/14169
175,422,434
MDU6SXNzdWUxNzU0MjI0MzQ=
14,169
Passing psycopg2 DictRow raises TypeError
{ "avatar_url": "https://avatars.githubusercontent.com/u/5136954?v=4", "events_url": "https://api.github.com/users/nheeren/events{/privacy}", "followers_url": "https://api.github.com/users/nheeren/followers", "following_url": "https://api.github.com/users/nheeren/following{/other_user}", "gists_url": "https://api.github.com/users/nheeren/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nheeren", "id": 5136954, "login": "nheeren", "node_id": "MDQ6VXNlcjUxMzY5NTQ=", "organizations_url": "https://api.github.com/users/nheeren/orgs", "received_events_url": "https://api.github.com/users/nheeren/received_events", "repos_url": "https://api.github.com/users/nheeren/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nheeren/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nheeren/subscriptions", "type": "User", "url": "https://api.github.com/users/nheeren" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2016-09-07T06:23:45Z
2018-05-16T13:39:45Z
2016-09-07T10:39:47Z
NONE
null
Maybe something you want to look into: http://stackoverflow.com/questions/35604186/convert-psycopg2-dictrow-query-to-pandas-dataframe ``` curs = conn.cursor(cursor_factory=psycopg2.extras.DictCursor) curs.execute("SELECT * FROM mytable") data = curs.fetchall() print pd.DataFrame(list(data)) ``` Will produce a TypeError.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14169/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14169/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14170
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14170/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14170/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14170/events
https://github.com/pandas-dev/pandas/issues/14170
175,426,726
MDU6SXNzdWUxNzU0MjY3MjY=
14,170
Can't iterate a DataFrameGroupBy object if the group by key contains NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/861069?v=4", "events_url": "https://api.github.com/users/chengguangnan/events{/privacy}", "followers_url": "https://api.github.com/users/chengguangnan/followers", "following_url": "https://api.github.com/users/chengguangnan/following{/other_user}", "gists_url": "https://api.github.com/users/chengguangnan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chengguangnan", "id": 861069, "login": "chengguangnan", "node_id": "MDQ6VXNlcjg2MTA2OQ==", "organizations_url": "https://api.github.com/users/chengguangnan/orgs", "received_events_url": "https://api.github.com/users/chengguangnan/received_events", "repos_url": "https://api.github.com/users/chengguangnan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chengguangnan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chengguangnan/subscriptions", "type": "User", "url": "https://api.github.com/users/chengguangnan" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-09-07T06:55:32Z
2016-09-07T10:33:17Z
2016-09-07T10:31:52Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` import pandas as pd df = pd.DataFrame({'a': [1,2,3,4], 'b':[None, None, None, None]}) chunks = df.groupby('a') assert len([g for g, chunk in chunks]) == 4 chunks = df.groupby(['a', 'b']) # failed here, it's emtpy assert len([g for g, chunk in chunks]) == 4 # however, chunks.groups shows that there are 4 groups #{(1, nan): [0], (2, nan): [1], (3, nan): [2], (4, nan): [3]} # but if we fillna('') first then it could pass chunks = df.fillna('').groupby(['a', 'b']) assert len([g for g, chunk in chunks]) == 4 # In[11]: ``` #### Expected Output I don't see why have NaN in the grouped by key should fail the groupby. Especially if you use `chunks.groups`, you do have them grouped like this `{(1, nan): [0], (2, nan): [1], (3, nan): [2], (4, nan): [3]} In [18]:` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-36-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: LANG: en_US.UTF-8 pandas: 0.17.1 nose: 1.3.7 pip: 8.1.2 setuptools: 24.0.0 Cython: 0.23.4 numpy: 1.11.1 scipy: 0.17.0 statsmodels: 0.6.1 IPython: 4.0.3 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.4.2 pytz: 2015.7 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.4.6 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.5.0 bs4: 4.4.1 html5lib: 1.0b8 httplib2: 0.9.2 apiclient: None sqlalchemy: 1.0.13 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext lo64) Jinja2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14170/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14170/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14171
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14171/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14171/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14171/events
https://github.com/pandas-dev/pandas/issues/14171
175,447,296
MDU6SXNzdWUxNzU0NDcyOTY=
14,171
Series.str.contains doesn't correct if series contains only nan values.
{ "avatar_url": "https://avatars.githubusercontent.com/u/14891680?v=4", "events_url": "https://api.github.com/users/ponomarevvl90/events{/privacy}", "followers_url": "https://api.github.com/users/ponomarevvl90/followers", "following_url": "https://api.github.com/users/ponomarevvl90/following{/other_user}", "gists_url": "https://api.github.com/users/ponomarevvl90/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ponomarevvl90", "id": 14891680, "login": "ponomarevvl90", "node_id": "MDQ6VXNlcjE0ODkxNjgw", "organizations_url": "https://api.github.com/users/ponomarevvl90/orgs", "received_events_url": "https://api.github.com/users/ponomarevvl90/received_events", "repos_url": "https://api.github.com/users/ponomarevvl90/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ponomarevvl90/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ponomarevvl90/subscriptions", "type": "User", "url": "https://api.github.com/users/ponomarevvl90" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-09-07T08:50:42Z
2016-09-09T22:29:16Z
2016-09-09T22:29:16Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` python import pandas as pd import numpy as np import re CONTAINS_REG_EXP = ur'{0}' value = '3' t1 = pd.Series(data=[np.nan, np.nan, np.nan], dtype=np.object) t2 = t1.str.contains(CONTAINS_REG_EXP.format(re.escape(value)), flags=re.U, na=False) print t2 ``` #### Expected Output ``` 0 False 1 False 2 False dtype: bool ``` #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.10.final.0 python-bits: 64 OS: Linux OS-release: 4.2.0-42-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.17.1 nose: None pip: 8.0.3 setuptools: 18.0.1 Cython: 0.23.4 numpy: 1.10.1 scipy: None statsmodels: None IPython: 4.0.1 sphinx: None patsy: None dateutil: 2.4.2 pytz: 2015.7 blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.4.6 matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext lo64) Jinja2: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14171/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14171/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14172
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14172/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14172/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14172/events
https://github.com/pandas-dev/pandas/pull/14172
175,460,010
MDExOlB1bGxSZXF1ZXN0ODQyNjkyNjQ=
14,172
DOC: cleanup build warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-09-07T09:50:46Z
2016-09-07T13:57:22Z
2016-09-07T13:57:22Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14172/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14172/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14172.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14172", "merged_at": "2016-09-07T13:57:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14172.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14172" }
https://api.github.com/repos/pandas-dev/pandas/issues/14173
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14173/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14173/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14173/events
https://github.com/pandas-dev/pandas/issues/14173
175,464,412
MDU6SXNzdWUxNzU0NjQ0MTI=
14,173
BUG: union_categoricals w/Series & CategoricalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
8
2016-09-07T10:11:28Z
2016-09-10T14:30:49Z
2016-09-10T14:30:49Z
CONTRIBUTOR
null
``` In [25]: from pandas.types.concat import union_categoricals In [26]: s1 = pd.Series(['a', 'b'], dtype='category') ...: s3 = pd.Series(['a', 'b', 'c'], dtype='category') In [27]: s1 Out[27]: 0 a 1 b dtype: category Categories (2, object): [a, b] In [28]: s3 Out[28]: 0 a 1 b 2 c dtype: category Categories (3, object): [a, b, c] ``` I don't see why this shouldn't work. This should return a Categorical. ``` In [29]: union_categoricals([s1,s3]) AttributeError: 'Series' object has no attribute 'categories' ``` actual categoricals are combinable ``` In [30]: union_categoricals([s1.values,s3.values]) Out[30]: [a, b, a, b, c] Categories (3, object): [a, b, c] ``` This works fine ``` In [31]: union_categoricals([s1.values,pd.CategoricalIndex(s3.values)]) Out[31]: [a, b, a, b, c] Categories (3, object): [a, b, c] ``` But this is broken ``` In [32]: union_categoricals([pd.CategoricalIndex(s1.values),pd.CategoricalIndex(s3.values)]) AttributeError: 'CategoricalIndex' object has no attribute 'is_dtype_equal' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14173/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14173/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14174
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14174/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14174/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14174/events
https://github.com/pandas-dev/pandas/pull/14174
175,467,895
MDExOlB1bGxSZXF1ZXN0ODQyNzQ5MzE=
14,174
Fix trivial typo in comment
{ "avatar_url": "https://avatars.githubusercontent.com/u/1446677?v=4", "events_url": "https://api.github.com/users/iuliux/events{/privacy}", "followers_url": "https://api.github.com/users/iuliux/followers", "following_url": "https://api.github.com/users/iuliux/following{/other_user}", "gists_url": "https://api.github.com/users/iuliux/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/iuliux", "id": 1446677, "login": "iuliux", "node_id": "MDQ6VXNlcjE0NDY2Nzc=", "organizations_url": "https://api.github.com/users/iuliux/orgs", "received_events_url": "https://api.github.com/users/iuliux/received_events", "repos_url": "https://api.github.com/users/iuliux/repos", "site_admin": false, "starred_url": "https://api.github.com/users/iuliux/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iuliux/subscriptions", "type": "User", "url": "https://api.github.com/users/iuliux" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-09-07T10:28:45Z
2016-09-07T10:49:41Z
2016-09-07T10:49:24Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14174/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14174/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14174.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14174", "merged_at": "2016-09-07T10:49:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14174.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14174" }
https://api.github.com/repos/pandas-dev/pandas/issues/14175
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14175/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14175/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14175/events
https://github.com/pandas-dev/pandas/issues/14175
175,469,317
MDU6SXNzdWUxNzU0NjkzMTc=
14,175
TypeError bug when using pandas.to_timedelta (astype() unexpected argument 'copy')
{ "avatar_url": "https://avatars.githubusercontent.com/u/16208197?v=4", "events_url": "https://api.github.com/users/poulioskos/events{/privacy}", "followers_url": "https://api.github.com/users/poulioskos/followers", "following_url": "https://api.github.com/users/poulioskos/following{/other_user}", "gists_url": "https://api.github.com/users/poulioskos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/poulioskos", "id": 16208197, "login": "poulioskos", "node_id": "MDQ6VXNlcjE2MjA4MTk3", "organizations_url": "https://api.github.com/users/poulioskos/orgs", "received_events_url": "https://api.github.com/users/poulioskos/received_events", "repos_url": "https://api.github.com/users/poulioskos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/poulioskos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/poulioskos/subscriptions", "type": "User", "url": "https://api.github.com/users/poulioskos" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
5
2016-09-07T10:36:18Z
2016-09-07T10:58:10Z
2016-09-07T10:41:33Z
NONE
null
#### Code Sample Running the following code: ``` python import numpy as np import pandas as pd df = pd.DataFrame(np.random.randn(6,4),columns=list('ABCD')) pd.to_timedelta(df.index,unit='s') ``` returns a `TypeError`: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-cf2e27d56944> in <module>() 1 df = pd.DataFrame(np.random.randn(6,4),columns=list('ABCD')) ----> 2 pd.to_timedelta(df.index,unit='s') ~/anaconda/lib/python3.5/site-packages/pandas/util/decorators.py in wrapper(*args, **kwargs) 89 else: 90 kwargs[new_arg_name] = new_arg_value ---> 91 return func(*args, **kwargs) 92 return wrapper 93 return _deprecate_kwarg ~/anaconda/lib/python3.5/site-packages/pandas/tseries/timedeltas.py in to_timedelta(arg, unit, box, errors, coerce) 91 return Series(values, index=arg.index, name=arg.name, dtype='m8[ns]') 92 elif isinstance(arg, ABCIndexClass): ---> 93 return _convert_listlike(arg, box=box, unit=unit, name=arg.name) 94 elif is_list_like(arg) and getattr(arg, 'ndim', 1) == 1: 95 return _convert_listlike(arg, box=box, unit=unit) ~/anaconda/lib/python3.5/site-packages/pandas/tseries/timedeltas.py in _convert_listlike(arg, box, unit, name) 73 elif is_integer_dtype(arg): 74 value = arg.astype('timedelta64[{0}]'.format( ---> 75 unit)).astype('timedelta64[ns]', copy=False) 76 else: 77 value = tslib.array_to_timedelta64( TypeError: astype() got an unexpected keyword argument 'copy' ``` #### Expected Output Should instead return the following: ``` TimedeltaIndex(['00:00:00', '00:00:01', '00:00:02', '00:00:03', '00:00:04', '00:00:05'], dtype='timedelta64[ns]', freq=None) ``` which is what I get if I manually (for testing) remove the copy argument in the `timedeltas.py` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Darwin OS-release: 14.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 26.1.1 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: 0.6.1 xarray: None IPython: 5.1.0 sphinx: 1.4.6 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 1.1.0 tables: 3.2.3.1 numexpr: 2.6.1 matplotlib: 1.5.2 openpyxl: 2.3.5 xlrd: 1.0.0 xlwt: 1.1.2 xlsxwriter: 0.9.3 lxml: 3.6.4 bs4: 4.5.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.15 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.42.0 pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14175/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14175/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14176
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14176/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14176/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14176/events
https://github.com/pandas-dev/pandas/pull/14176
175,472,034
MDExOlB1bGxSZXF1ZXN0ODQyNzc5MzQ=
14,176
DOC: clean-up 0.19.0 whatsnew file
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-09-07T10:50:38Z
2016-09-07T19:15:38Z
2016-09-07T19:15:38Z
MEMBER
null
WIP (it's actually not critical for rc, as we do link to the dev docs (which are updated after rc release) anyway)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14176/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14176/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14176.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14176", "merged_at": "2016-09-07T19:15:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14176.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14176" }
https://api.github.com/repos/pandas-dev/pandas/issues/14177
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14177/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14177/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14177/events
https://github.com/pandas-dev/pandas/issues/14177
175,500,671
MDU6SXNzdWUxNzU1MDA2NzE=
14,177
API: union_categoricals in concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
5
2016-09-07T13:20:54Z
2021-05-01T23:38:21Z
null
MEMBER
null
Follow up of https://github.com/pydata/pandas/pull/13767 (this part was left out of the final merged version). Summary copied from there: **Discussion: addition of new keyword to `concat` to union categoricals with different categories** PR #13767 proposed to add a `union_categoricals` keyword to `concat`, which lets you concatenate categoricals with different categories (like the `union_categoricals` function does). Default would be False. There was some discussion about the name to use. @wesm suggested to use a dict to pass type specific options. But that is maybe something we should first explore further to see if there are other use cases for such a construct?
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14177/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14177/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14178
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14178/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14178/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14178/events
https://github.com/pandas-dev/pandas/issues/14178
175,523,366
MDU6SXNzdWUxNzU1MjMzNjY=
14,178
DOC: source links in API reference
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-09-07T14:51:28Z
2016-09-14T09:17:09Z
2016-09-12T07:57:26Z
CONTRIBUTOR
null
For example, from numpy. http://docs.scipy.org/doc/numpy/reference/generated/numpy.take.html I don't know enough about sphinx to know how hard/easy this is, but it may be nice.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14178/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14178/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14179
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14179/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14179/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14179/events
https://github.com/pandas-dev/pandas/issues/14179
175,624,003
MDU6SXNzdWUxNzU2MjQwMDM=
14,179
setitem type coercion fails when setting a datetime column in a single row dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/11877150?v=4", "events_url": "https://api.github.com/users/tambu-j/events{/privacy}", "followers_url": "https://api.github.com/users/tambu-j/followers", "following_url": "https://api.github.com/users/tambu-j/following{/other_user}", "gists_url": "https://api.github.com/users/tambu-j/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tambu-j", "id": 11877150, "login": "tambu-j", "node_id": "MDQ6VXNlcjExODc3MTUw", "organizations_url": "https://api.github.com/users/tambu-j/orgs", "received_events_url": "https://api.github.com/users/tambu-j/received_events", "repos_url": "https://api.github.com/users/tambu-j/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tambu-j/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tambu-j/subscriptions", "type": "User", "url": "https://api.github.com/users/tambu-j" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2016-09-07T22:40:35Z
2020-01-28T01:24:10Z
2017-10-30T10:56:42Z
NONE
null
xref #6942 xref #12499 ``` python import datetime import pandas as pd df1 = pd.DataFrame({'a': [0,1], 'b': [datetime.datetime.now(), datetime.datetime.now()]}) # next line works as expected df1.loc[:,'b'] = [datetime.datetime.now(), datetime.datetime.now()] df1 = pd.DataFrame({'a': [0], 'b': [datetime.datetime.now()]}) # next line blows up df1.loc[:,'b'] = [datetime.datetime.now()] ``` Exception: /Users/<snip>/anaconda/lib/python2.7/site-packages/pandas/core/internals.py in _try_coerce_args(self, values, other) 2103 other_mask = isnull(other) 2104 -> 2105 other = other.astype('i8', copy=False).view('i8') 2106 except ValueError: 2107 TypeError: long() argument must be a string or a number, not 'datetime.datetime' Incidentally, df1['b'] = [datetime.datetime.now()] will work, but i'm avoiding that as the performance is so poor when it's a copy (in my particular case the copy is dead and gc.collect(2) gets called for each column set operation, blowing out the runtime to 3x what it was pre-copy checking - should I open a separate issue for that?). pd.show_versions(): commit: None python: 2.7.12.final.0 python-bits: 64 OS: Darwin OS-release: 12.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 5.1.0 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14179/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14179/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14180
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14180/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14180/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14180/events
https://github.com/pandas-dev/pandas/issues/14180
175,625,092
MDU6SXNzdWUxNzU2MjUwOTI=
14,180
DOC: clarify dangers of fast apply in GroupBy apply docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/11877150?v=4", "events_url": "https://api.github.com/users/tambu-j/events{/privacy}", "followers_url": "https://api.github.com/users/tambu-j/followers", "following_url": "https://api.github.com/users/tambu-j/following{/other_user}", "gists_url": "https://api.github.com/users/tambu-j/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tambu-j", "id": 11877150, "login": "tambu-j", "node_id": "MDQ6VXNlcjExODc3MTUw", "organizations_url": "https://api.github.com/users/tambu-j/orgs", "received_events_url": "https://api.github.com/users/tambu-j/received_events", "repos_url": "https://api.github.com/users/tambu-j/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tambu-j/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tambu-j/subscriptions", "type": "User", "url": "https://api.github.com/users/tambu-j" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
2016-09-07T22:48:20Z
2021-05-01T23:39:07Z
null
NONE
null
I recently had to solve an issue where some code was behaving inconsistently. Effectively, I tracked this issue to a function that was being passed to apply which occasionally, under certain circumstances, mutated the input for a group - and not always the first group. Because fast_apply only checks the first group this meant that the output was unreliable. It didn't take me long to work out, but from a user's point of view it would be good to extend the docs so that they clarify that mutating the input is either not a good idea, or it should occur consistently for each group (or at the very least always for the first group).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14180/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14180/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14181
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14181/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14181/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14181/events
https://github.com/pandas-dev/pandas/pull/14181
175,658,381
MDExOlB1bGxSZXF1ZXN0ODQ0MTAyNTI=
14,181
MAINT: Use __module__ in _DeprecatedModule.
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
10
2016-09-08T03:44:04Z
2016-09-14T08:31:15Z
2016-09-14T08:31:04Z
MEMBER
null
Follow-up to #14105. Uses the `__module__` method to correctly determine the location of the alternative module to use.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14181/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14181/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14181.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14181", "merged_at": "2016-09-14T08:31:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14181.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14181" }
https://api.github.com/repos/pandas-dev/pandas/issues/14182
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14182/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14182/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14182/events
https://github.com/pandas-dev/pandas/pull/14182
175,712,193
MDExOlB1bGxSZXF1ZXN0ODQ0NDcxODc=
14,182
BUG: fix str.contains for series containing only nan values
{ "avatar_url": "https://avatars.githubusercontent.com/u/4020793?v=4", "events_url": "https://api.github.com/users/josh-howes/events{/privacy}", "followers_url": "https://api.github.com/users/josh-howes/followers", "following_url": "https://api.github.com/users/josh-howes/following{/other_user}", "gists_url": "https://api.github.com/users/josh-howes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/josh-howes", "id": 4020793, "login": "josh-howes", "node_id": "MDQ6VXNlcjQwMjA3OTM=", "organizations_url": "https://api.github.com/users/josh-howes/orgs", "received_events_url": "https://api.github.com/users/josh-howes/received_events", "repos_url": "https://api.github.com/users/josh-howes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/josh-howes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/josh-howes/subscriptions", "type": "User", "url": "https://api.github.com/users/josh-howes" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-09-08T09:54:44Z
2016-09-09T22:29:29Z
2016-09-09T22:29:16Z
CONTRIBUTOR
null
- [x] closes #14171 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14182/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14182/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14182.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14182", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14182.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14182" }
https://api.github.com/repos/pandas-dev/pandas/issues/14183
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14183/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14183/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14183/events
https://github.com/pandas-dev/pandas/issues/14183
175,724,119
MDU6SXNzdWUxNzU3MjQxMTk=
14,183
TST: failing tests at pandas-wheels
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
8
2016-09-08T10:56:21Z
2017-03-22T11:53:46Z
2017-03-22T11:53:46Z
MEMBER
null
A bunch of tests are failing in the wheel-building repo (https://github.com/MacPython/pandas-wheels): https://travis-ci.org/MacPython/pandas-wheels/builds/158414872 It are mainly issues with 32 bit linux (see eg https://travis-ci.org/MacPython/pandas-wheels/jobs/158414875), but also some tests are failing for 64bit: On 2.7: ``` ====================================================================== FAIL: test_abs (pandas.tests.test_panel4d.TestPanel4d) ---------------------------------------------------------------------- Traceback (most recent call last): File "/venv/local/lib/python2.7/site-packages/pandas/tests/test_panel4d.py", line 303, in test_abs assert_frame_equal(result, expected) File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() File "/venv/local/lib/python2.7/site-packages/pandas/util/testing.py", line 2538, in assert_produces_warning % extra_warnings) AssertionError: Caused unexpected warning(s): ['RuntimeWarning', 'RuntimeWarning', 'RuntimeWarning']. ``` On 3.5: ``` ====================================================================== FAIL: test_pi_ops_errors (pandas.tseries.tests.test_period.TestPeriodIndexSeriesMethods) ---------------------------------------------------------------------- Traceback (most recent call last): File "/venv/lib/python3.5/site-packages/pandas/tseries/tests/test_period.py", line 4184, in test_pi_ops_errors np.add(ng, obj) File "/venv/lib/python3.5/site-packages/pandas/util/testing.py", line 2450, in __exit__ raise AssertionError("{0} not raised.".format(name)) AssertionError: TypeError not raised. ====================================================================== FAIL: test_pi_sub_period (pandas.tseries.tests.test_period.TestPeriodIndexSeriesMethods) ---------------------------------------------------------------------- Traceback (most recent call last): File "/venv/lib/python3.5/site-packages/pandas/tseries/tests/test_period.py", line 4299, in test_pi_sub_period tm.assert_index_equal(result, exp) File "/venv/lib/python3.5/site-packages/pandas/util/testing.py", line 756, in assert_index_equal assertIsInstance(left, Index, '[index] ') File "/venv/lib/python3.5/site-packages/pandas/util/testing.py", line 947, in assertIsInstance raise AssertionError(err_msg.format(msg, cls, type(obj))) AssertionError: [index] Expected type <class 'pandas.indexes.base.Index'>, found <class 'NotImplementedType'> instead ``` I can't directly reproduce, but that last one is possibly an issue with the numpy version
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14183/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14183/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14184
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14184/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14184/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14184/events
https://github.com/pandas-dev/pandas/pull/14184
175,737,999
MDExOlB1bGxSZXF1ZXN0ODQ0NjU5MzA=
14,184
ENH: Added multicolumn/multirow support for latex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8004308?v=4", "events_url": "https://api.github.com/users/sgsaenger/events{/privacy}", "followers_url": "https://api.github.com/users/sgsaenger/followers", "following_url": "https://api.github.com/users/sgsaenger/following{/other_user}", "gists_url": "https://api.github.com/users/sgsaenger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sgsaenger", "id": 8004308, "login": "sgsaenger", "node_id": "MDQ6VXNlcjgwMDQzMDg=", "organizations_url": "https://api.github.com/users/sgsaenger/orgs", "received_events_url": "https://api.github.com/users/sgsaenger/received_events", "repos_url": "https://api.github.com/users/sgsaenger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sgsaenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sgsaenger/subscriptions", "type": "User", "url": "https://api.github.com/users/sgsaenger" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
11
2016-09-08T12:14:10Z
2017-03-03T09:17:22Z
2017-03-03T09:16:46Z
NONE
null
- [x] closes #13508 - [X] tests added / passed - [X] passes `git diff upstream/master | flake8 --diff` - [X] whatsnew entry Print names of MultiIndex columns. Added "multicol" and "multirow" flags to to_latex which trigger the corresponding feature. Multirow adds clines to visually separate sections.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14184/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14184/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14184.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14184", "merged_at": "2017-03-03T09:16:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14184.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14184" }
https://api.github.com/repos/pandas-dev/pandas/issues/14185
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14185/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14185/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14185/events
https://github.com/pandas-dev/pandas/pull/14185
175,770,980
MDExOlB1bGxSZXF1ZXN0ODQ0ODk4NDQ=
14,185
DOC: minor typo in 0.19.0 whatsnew file
{ "avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4", "events_url": "https://api.github.com/users/chrisaycock/events{/privacy}", "followers_url": "https://api.github.com/users/chrisaycock/followers", "following_url": "https://api.github.com/users/chrisaycock/following{/other_user}", "gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrisaycock", "id": 453745, "login": "chrisaycock", "node_id": "MDQ6VXNlcjQ1Mzc0NQ==", "organizations_url": "https://api.github.com/users/chrisaycock/orgs", "received_events_url": "https://api.github.com/users/chrisaycock/received_events", "repos_url": "https://api.github.com/users/chrisaycock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions", "type": "User", "url": "https://api.github.com/users/chrisaycock" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
1
2016-09-08T14:36:38Z
2016-09-08T15:02:19Z
2016-09-08T15:02:13Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14185/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14185/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14185.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14185", "merged_at": "2016-09-08T15:02:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14185.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14185" }
https://api.github.com/repos/pandas-dev/pandas/issues/14186
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14186/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14186/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14186/events
https://github.com/pandas-dev/pandas/issues/14186
175,860,184
MDU6SXNzdWUxNzU4NjAxODQ=
14,186
groupby TimeStamp bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/1885479?v=4", "events_url": "https://api.github.com/users/motamedi79/events{/privacy}", "followers_url": "https://api.github.com/users/motamedi79/followers", "following_url": "https://api.github.com/users/motamedi79/following{/other_user}", "gists_url": "https://api.github.com/users/motamedi79/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/motamedi79", "id": 1885479, "login": "motamedi79", "node_id": "MDQ6VXNlcjE4ODU0Nzk=", "organizations_url": "https://api.github.com/users/motamedi79/orgs", "received_events_url": "https://api.github.com/users/motamedi79/received_events", "repos_url": "https://api.github.com/users/motamedi79/repos", "site_admin": false, "starred_url": "https://api.github.com/users/motamedi79/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/motamedi79/subscriptions", "type": "User", "url": "https://api.github.com/users/motamedi79" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-09-08T20:47:06Z
2016-09-08T22:12:00Z
2016-09-08T22:11:44Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` x = pd.DataFrame(index = [1,1,2,2,2], data = pd.date_range("7:00", "9:00", freq="30min", tz = 'US/Eastern')) x: 1 2016-09-08 07:00:00-04:00 1 2016-09-08 07:30:00-04:00 2 2016-09-08 08:00:00-04:00 2 2016-09-08 08:30:00-04:00 2 2016-09-08 09:00:00-04:00 In [59]: x.groupby(level=0).first() Out[59]: 0 1 2016-09-08 11:00:00-04:00 2 2016-09-08 12:00:00-04:00 ``` #### Expected Output ``` 1 2016-09-08 07:00:00-04:00 2 2016-09-08 08:00:00-04:00 ``` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-229.14.1.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.17.1 nose: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.23.4 numpy: 1.10.2 scipy: 0.16.1 statsmodels: 0.6.1 IPython: 4.0.1 sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2015.7 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.4.6 matplotlib: 1.5.1 openpyxl: 2.2.6 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.7.7 lxml: 3.4.4 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.9 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext) Jinja2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14186/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14186/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14187
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14187/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14187/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14187/events
https://github.com/pandas-dev/pandas/issues/14187
175,878,576
MDU6SXNzdWUxNzU4Nzg1NzY=
14,187
date_range produces wrong values when overflowing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
2
2016-09-08T22:15:00Z
2018-10-28T03:14:14Z
2018-10-28T03:14:14Z
MEMBER
null
In the following case, you now get a RuntimeWarning. But shouldn't we rather error on this? ``` In [23]: pd.date_range('1/1/2000', periods=100000, freq='D') /home/joris/scipy/pandas/pandas/tseries/index.py:1944: RuntimeWarning: overflow encountered in long_scalars e = b + np.int64(periods) * stride /home/joris/scipy/pandas/pandas/tseries/index.py:1954: RuntimeWarning: overflow encountered in long_scalars data = np.arange(b, e, stride, dtype=np.int64) Out[23]: DatetimeIndex([ '2000-01-01 00:00:00', '2000-01-02 00:00:00', '2000-01-03 00:00:00', '2000-01-04 00:00:00', '2000-01-05 00:00:00', '2000-01-06 00:00:00', '2000-01-07 00:00:00', '2000-01-08 00:00:00', '2000-01-09 00:00:00', '2000-01-10 00:00:00', ... '1689-03-17 00:25:26.290448384', '1689-03-18 00:25:26.290448384', '1689-03-19 00:25:26.290448384', '1689-03-20 00:25:26.290448384', '1689-03-21 00:25:26.290448384', '1689-03-22 00:25:26.290448384', '1689-03-23 00:25:26.290448384', '1689-03-24 00:25:26.290448384', '1689-03-25 00:25:26.290448384', '1689-03-26 00:25:26.290448384'], dtype='datetime64[ns]', length=100000, freq='D') In [24]: pd.__version__ Out[24]: '0.19.0rc1+2.gd8cd33b' In [25]: np.__version__ Out[25]: '1.11.1' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14187/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14187/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14188
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14188/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14188/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14188/events
https://github.com/pandas-dev/pandas/issues/14188
175,884,144
MDU6SXNzdWUxNzU4ODQxNDQ=
14,188
reindex(fill_value=None) fills with np.NaN instead of None
{ "avatar_url": "https://avatars.githubusercontent.com/u/1040235?v=4", "events_url": "https://api.github.com/users/nekobon/events{/privacy}", "followers_url": "https://api.github.com/users/nekobon/followers", "following_url": "https://api.github.com/users/nekobon/following{/other_user}", "gists_url": "https://api.github.com/users/nekobon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nekobon", "id": 1040235, "login": "nekobon", "node_id": "MDQ6VXNlcjEwNDAyMzU=", "organizations_url": "https://api.github.com/users/nekobon/orgs", "received_events_url": "https://api.github.com/users/nekobon/received_events", "repos_url": "https://api.github.com/users/nekobon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nekobon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nekobon/subscriptions", "type": "User", "url": "https://api.github.com/users/nekobon" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
9
2016-09-08T22:47:30Z
2016-09-09T10:14:33Z
2016-09-09T00:55:57Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` python In [12]: import pandas as pd In [13]: s = pd.Series(['a', 'b']) In [14]: s.reindex([0,1,2], fill_value=None) Out[14]: 0 a 1 b 2 NaN dtype: object ``` #### Expected Output ``` python 0 a 1 b 2 None dtype: object ``` #### output of `pd.show_versions()` ``` ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-34-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.0 nose: None pip: 8.1.2 setuptools: 25.2.0 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 1.1.0 sphinx: 1.2b1 patsy: 0.4.1 dateutil: 2.4.2 pytz: 2013b blosc: None bottleneck: None tables: 3.1.1 numexpr: 2.4 matplotlib: None openpyxl: 2.3.0 xlrd: 0.9.3 xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: 0.9.8 pymysql: None psycopg2: None jinja2: 2.7 boto: None ``` #### in source This is happening in BlockManager.reindex_indexer() https://github.com/pydata/pandas/blob/8af626474f6f314527a9ad3f15403aa2dd8c402d/pandas/core/internals.py#L3820-L3822
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14188/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14188/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14189
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14189/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14189/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14189/events
https://github.com/pandas-dev/pandas/issues/14189
175,891,207
MDU6SXNzdWUxNzU4OTEyMDc=
14,189
Pandas inplace argument is not explicit True or False
{ "avatar_url": "https://avatars.githubusercontent.com/u/349866?v=4", "events_url": "https://api.github.com/users/jrovegno/events{/privacy}", "followers_url": "https://api.github.com/users/jrovegno/followers", "following_url": "https://api.github.com/users/jrovegno/following{/other_user}", "gists_url": "https://api.github.com/users/jrovegno/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jrovegno", "id": 349866, "login": "jrovegno", "node_id": "MDQ6VXNlcjM0OTg2Ng==", "organizations_url": "https://api.github.com/users/jrovegno/orgs", "received_events_url": "https://api.github.com/users/jrovegno/received_events", "repos_url": "https://api.github.com/users/jrovegno/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jrovegno/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrovegno/subscriptions", "type": "User", "url": "https://api.github.com/users/jrovegno" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
5
2016-09-08T23:36:01Z
2017-01-06T12:33:21Z
2017-01-06T12:33:21Z
NONE
null
Any Serie or DataFrame method with arguments inplace != [0, False, None, [], {}] process inplace operation. Is not explicit True or False like in the documentation. Other methods tested: where, mask, sort_index Any bool(arg) == True is accepted Like: inplace='Fail' , inplace=3, inplace=[0] Maybe is not a bug, but can generate problems if someone is not careful using positional arguments, like me. #### Code Sample, a copy-pastable example if possible ``` df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6], 'C': [7, 8, 9]}) df.where(lambda x: x > 4, lambda x: x + 10, 'fail') ``` #### Expected Output ``` Out[72]: A B C 0 11 14 7 1 12 5 8 2 13 6 9 ``` #### output of `pd.show_versions()` ``` pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: AMD64 Family 18 Model 1 Stepping 0, AuthenticAMD byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 25.1.6 Cython: 0.23.4 numpy: 1.11.1 scipy: 0.18.0 statsmodels: 0.6.1 xarray: 0.8.1 IPython: 5.1.0 sphinx: 1.3.5 patsy: 0.4.1 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.1.0 tables: 3.2.2 numexpr: 2.6.1 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: 0.2.0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14189/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14189/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14190
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14190/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14190/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14190/events
https://github.com/pandas-dev/pandas/issues/14190
175,893,396
MDU6SXNzdWUxNzU4OTMzOTY=
14,190
BUG: Categorical constructor is not idempotent with datetime with tz
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-09-08T23:51:56Z
2016-09-09T19:33:37Z
2016-09-09T19:33:37Z
CONTRIBUTOR
null
This isn't a huge deal, but popped up adding tests for #14173 Works fine with plain datetimes ``` In [9]: dti = pd.date_range('2014-01-01', '2014-01-05') In [10]: pd.Categorical(pd.Categorical(dti)) Out[10]: [2014-01-01, 2014-01-02, 2014-01-03, 2014-01-04, 2014-01-05] Categories (5, datetime64[ns]): [2014-01-01, 2014-01-02, 2014-01-03, 2014-01-04, 2014-01-05] ``` Does not with a tz ``` In [11]: dti = pd.date_range('2014-01-01', '2014-01-05', tz='US/Central') In [12]: pd.Categorical(pd.Categorical(dti)) Out[12]: [NaT, NaT, NaT, NaT, NaT] Categories (5, datetime64[ns, US/Central]): [2014-01-01 00:00:00-06:00, 2014-01-02 00:00:00-06:00, 2014-01-03 00:00:00-06:00, 2014-01-04 00:00:00-06:00, 2014-01-05 00:00:00-06:00] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14190/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14190/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14191
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14191/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14191/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14191/events
https://github.com/pandas-dev/pandas/pull/14191
175,895,382
MDExOlB1bGxSZXF1ZXN0ODQ1NzQ2ODQ=
14,191
BUG: Categorical constructor not idempotent with ext dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-09-09T00:07:11Z
2016-09-09T19:33:37Z
2016-09-09T19:33:37Z
CONTRIBUTOR
null
- [x] closes #14190 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14191/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14191/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14191.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14191", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14191.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14191" }
https://api.github.com/repos/pandas-dev/pandas/issues/14192
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14192/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14192/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14192/events
https://github.com/pandas-dev/pandas/issues/14192
176,015,408
MDU6SXNzdWUxNzYwMTU0MDg=
14,192
TST: Difference in drop_duplicates for numeric Series and DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/2368524?v=4", "events_url": "https://api.github.com/users/livia-b/events{/privacy}", "followers_url": "https://api.github.com/users/livia-b/followers", "following_url": "https://api.github.com/users/livia-b/following{/other_user}", "gists_url": "https://api.github.com/users/livia-b/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/livia-b", "id": 2368524, "login": "livia-b", "node_id": "MDQ6VXNlcjIzNjg1MjQ=", "organizations_url": "https://api.github.com/users/livia-b/orgs", "received_events_url": "https://api.github.com/users/livia-b/received_events", "repos_url": "https://api.github.com/users/livia-b/repos", "site_admin": false, "starred_url": "https://api.github.com/users/livia-b/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/livia-b/subscriptions", "type": "User", "url": "https://api.github.com/users/livia-b" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
4
2016-09-09T13:54:12Z
2016-12-15T09:02:51Z
2016-12-15T09:02:51Z
NONE
null
#### Code Sample ``` import pandas as pd import numpy as np df = pd.DataFrame({'a':[1,1,1,'one', 'one'], 'b': [2,2,np.nan, np.nan, np.nan], 'c': [3,3,np.nan, np.nan, 'three'] }) print df[['b']].drop_duplicates() print df['b'].drop_duplicates() ``` #### Expected Output Why the result is not consistent? For a dataframe (first case), the NA values are considered equal (we get 2 unique values), while for a series (second case), the NA values are not (similarly to numpy.unique, we get 3 unique values) Curiously, in the case of a mixed type column, `len(df[['c']].drop_duplicates() ) == len(df['c'].drop_duplicates())` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.12.final.0 python-bits: 64 OS: Darwin OS-release: 15.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.0.3 setuptools: 20.1.1 Cython: 0.23.4 numpy: 1.11.0 scipy: 0.17.1 statsmodels: None xarray: None IPython: 4.1.2 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: 0.9.2 apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: None pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14192/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14192/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14193
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14193/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14193/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14193/events
https://github.com/pandas-dev/pandas/issues/14193
176,042,134
MDU6SXNzdWUxNzYwNDIxMzQ=
14,193
Kernel dies when exporting large dataframe to json
{ "avatar_url": "https://avatars.githubusercontent.com/u/5586433?v=4", "events_url": "https://api.github.com/users/iuliacioroianu/events{/privacy}", "followers_url": "https://api.github.com/users/iuliacioroianu/followers", "following_url": "https://api.github.com/users/iuliacioroianu/following{/other_user}", "gists_url": "https://api.github.com/users/iuliacioroianu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/iuliacioroianu", "id": 5586433, "login": "iuliacioroianu", "node_id": "MDQ6VXNlcjU1ODY0MzM=", "organizations_url": "https://api.github.com/users/iuliacioroianu/orgs", "received_events_url": "https://api.github.com/users/iuliacioroianu/received_events", "repos_url": "https://api.github.com/users/iuliacioroianu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/iuliacioroianu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iuliacioroianu/subscriptions", "type": "User", "url": "https://api.github.com/users/iuliacioroianu" }
[ { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-09-09T15:46:47Z
2016-09-09T19:29:23Z
2016-09-09T19:29:13Z
NONE
null
### Problem The kernel dies when I try to export relatively large data to json. No problems with short test data, it gets exported as it should. Also, exporting a large df to_csv works just fine, but to_json fails. These are datasets of either tweets or newspaper articles, so at least one of the fields contains strings of different lengths. #### Code Sample > df > [...] > [557807 rows x 25 columns] > df.to_json('data.json') > It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this console. #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.10.final.0 python-bits: 32 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: en_GB pandas: 0.16.2 nose: 1.3.7 Cython: None numpy: 1.9.2 scipy: 0.15.1 statsmodels: None IPython: 2.4.1 sphinx: 1.3.2 patsy: 0.3.0 dateutil: 2.4.2 pytz: 2015.4 bottleneck: 1.0.0 tables: 3.2.0 numexpr: 2.4.3 matplotlib: 1.4.3 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: 3.4.4 bs4: 4.3.2 html5lib: 0.99999 httplib2: None apiclient: None sqlalchemy: 1.0.6 pymysql: None psycopg2: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14193/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14193/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14194
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14194/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14194/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14194/events
https://github.com/pandas-dev/pandas/issues/14194
176,069,745
MDU6SXNzdWUxNzYwNjk3NDU=
14,194
ENH: DataFrame.style option for hiding the index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2018-05-16T03:09:58Z", "closed_issues": 1645, "created_at": "2017-10-20T10:17:09Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.22", "due_on": "2018-05-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/53", "id": 2853937, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels", "node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==", "number": 53, "open_issues": 0, "state": "closed", "title": "0.23.0", "updated_at": "2018-08-20T06:48:57Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53" }
0
2016-09-09T17:56:31Z
2017-11-19T16:15:34Z
2017-11-19T16:15:34Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ``` python df = pd.DataFrame(np.random.randn(10, 2)) df.style.set_include_index(False) # name TBD ``` #### Expected Output Same output, but without the index Would maybe want a way to hide the columns too. --- Current workaround ``` python df = pd.DataFrame(np.random.randn(10, 2)) df.style.set_table_styles([ {'selector': '.row_heading, .blank', 'props': [('display', 'none;')]} ]) ``` This doesn't work if there's a `df.index.name` and almost surely doesn't work with MultiIndexes.
{ "+1": 9, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 9, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14194/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14194/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14195
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14195/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14195/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14195/events
https://github.com/pandas-dev/pandas/issues/14195
176,101,662
MDU6SXNzdWUxNzYxMDE2NjI=
14,195
Re: DataFrame.to_csv(quoting=csv.QUOTE_NONNUMERIC) quotes numeric values
{ "avatar_url": "https://avatars.githubusercontent.com/u/1502984?v=4", "events_url": "https://api.github.com/users/blitzd/events{/privacy}", "followers_url": "https://api.github.com/users/blitzd/followers", "following_url": "https://api.github.com/users/blitzd/following{/other_user}", "gists_url": "https://api.github.com/users/blitzd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/blitzd", "id": 1502984, "login": "blitzd", "node_id": "MDQ6VXNlcjE1MDI5ODQ=", "organizations_url": "https://api.github.com/users/blitzd/orgs", "received_events_url": "https://api.github.com/users/blitzd/received_events", "repos_url": "https://api.github.com/users/blitzd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/blitzd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/blitzd/subscriptions", "type": "User", "url": "https://api.github.com/users/blitzd" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-11-07T20:05:26Z", "closed_issues": 83, "created_at": "2016-09-28T10:09:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.0", "due_on": "2016-10-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/43", "id": 2034384, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/43/labels", "node_id": "MDk6TWlsZXN0b25lMjAzNDM4NA==", "number": 43, "open_issues": 0, "state": "closed", "title": "0.19.1", "updated_at": "2016-11-07T20:05:26Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/43" }
0
2016-09-09T20:27:20Z
2016-10-06T16:04:57Z
2016-10-06T16:04:57Z
NONE
null
As per the issue outlined in #12922, applying a float_format or having a NaN value with a float would continue to treat the value as non-numeric when quoting=csv.QUOTE_NONNUMERIC is used. The format string resulting in the float treated like a string should be documented as per @jreback in #12922.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14195/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14195/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14196
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14196/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14196/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14196/events
https://github.com/pandas-dev/pandas/pull/14196
176,150,739
MDExOlB1bGxSZXF1ZXN0ODQ3NDIwMTg=
14,196
Fix minor spacing issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/3086255?v=4", "events_url": "https://api.github.com/users/chiroptical/events{/privacy}", "followers_url": "https://api.github.com/users/chiroptical/followers", "following_url": "https://api.github.com/users/chiroptical/following{/other_user}", "gists_url": "https://api.github.com/users/chiroptical/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chiroptical", "id": 3086255, "login": "chiroptical", "node_id": "MDQ6VXNlcjMwODYyNTU=", "organizations_url": "https://api.github.com/users/chiroptical/orgs", "received_events_url": "https://api.github.com/users/chiroptical/received_events", "repos_url": "https://api.github.com/users/chiroptical/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chiroptical/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chiroptical/subscriptions", "type": "User", "url": "https://api.github.com/users/chiroptical" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
null
4
2016-09-10T02:34:40Z
2016-10-27T14:54:07Z
2016-10-27T14:54:00Z
NONE
null
Continuation of #13350 - [x] closes #13032 - [ ] tests added / passed - [x] passes `pep8radius master --diff` - [x] whatsnew entry - not necessary See https://github.com/pydata/pandas/pull/13350 for more details, mucked up my pull request. Tests will need a lot of work.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14196/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14196/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14196.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14196", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14196.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14196" }
https://api.github.com/repos/pandas-dev/pandas/issues/14197
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14197/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14197/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14197/events
https://github.com/pandas-dev/pandas/issues/14197
176,169,906
MDU6SXNzdWUxNzYxNjk5MDY=
14,197
BUG: numpy RuntimeWarning with Series.round()
{ "avatar_url": "https://avatars.githubusercontent.com/u/6342379?v=4", "events_url": "https://api.github.com/users/xflr6/events{/privacy}", "followers_url": "https://api.github.com/users/xflr6/followers", "following_url": "https://api.github.com/users/xflr6/following{/other_user}", "gists_url": "https://api.github.com/users/xflr6/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xflr6", "id": 6342379, "login": "xflr6", "node_id": "MDQ6VXNlcjYzNDIzNzk=", "organizations_url": "https://api.github.com/users/xflr6/orgs", "received_events_url": "https://api.github.com/users/xflr6/received_events", "repos_url": "https://api.github.com/users/xflr6/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xflr6/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xflr6/subscriptions", "type": "User", "url": "https://api.github.com/users/xflr6" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
17
2016-09-10T09:07:48Z
2019-02-27T14:40:33Z
2019-02-27T14:40:33Z
CONTRIBUTOR
null
Maybe needs wrapping in `numpy.errstate` (in pandas)? ``` python >>> import pandas as pd >>> pd.__version__ u'0.19.0rc1' >>> pd.Series([pd.np.nan]).round() Warning (from warnings module): File "C:\Program Files\Python27\lib\site-packages\pandas\core\series.py", line 1340 result = _values_from_object(self).round(decimals) RuntimeWarning: invalid value encountered in rint 0 NaN dtype: float64 ``` Same for `DataFrame.round()`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14197/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14197/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14198
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14198/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14198/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14198/events
https://github.com/pandas-dev/pandas/pull/14198
176,179,105
MDExOlB1bGxSZXF1ZXN0ODQ3NTUxODU=
14,198
Fix: F999 dictionary key '2000q4' repeated with different values
{ "avatar_url": "https://avatars.githubusercontent.com/u/6215361?v=4", "events_url": "https://api.github.com/users/nparley/events{/privacy}", "followers_url": "https://api.github.com/users/nparley/followers", "following_url": "https://api.github.com/users/nparley/following{/other_user}", "gists_url": "https://api.github.com/users/nparley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nparley", "id": 6215361, "login": "nparley", "node_id": "MDQ6VXNlcjYyMTUzNjE=", "organizations_url": "https://api.github.com/users/nparley/orgs", "received_events_url": "https://api.github.com/users/nparley/received_events", "repos_url": "https://api.github.com/users/nparley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nparley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nparley/subscriptions", "type": "User", "url": "https://api.github.com/users/nparley" }
[]
closed
false
null
[]
null
4
2016-09-10T13:15:18Z
2016-09-10T19:00:13Z
2016-09-10T19:00:13Z
CONTRIBUTOR
null
Removal of duplicate line to fix lint error ``` pandas/tseries/tests/test_tslib.py:685:18: F999 dictionary key '2000q4' repeated with different values pandas/tseries/tests/test_tslib.py:690:18: F999 dictionary key '2000q4' repeated with different values ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14198/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14198/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14198.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14198", "merged_at": "2016-09-10T19:00:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14198.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14198" }
https://api.github.com/repos/pandas-dev/pandas/issues/14199
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14199/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14199/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14199/events
https://github.com/pandas-dev/pandas/pull/14199
176,179,784
MDExOlB1bGxSZXF1ZXN0ODQ3NTU1NTc=
14,199
BUG: union_categorical with Series and cat idx
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
2016-09-10T13:31:36Z
2016-09-10T14:30:49Z
2016-09-10T14:30:49Z
CONTRIBUTOR
null
- [x] closes #14173 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry (not needed)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14199/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14199/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14199.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14199", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14199.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14199" }
https://api.github.com/repos/pandas-dev/pandas/issues/14200
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14200/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14200/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14200/events
https://github.com/pandas-dev/pandas/pull/14200
176,183,009
MDExOlB1bGxSZXF1ZXN0ODQ3NTc0MTA=
14,200
DOC: add source links to api docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
4
2016-09-10T14:42:28Z
2016-09-12T07:57:46Z
2016-09-12T07:57:26Z
CONTRIBUTOR
null
- [x] closes #14178 - [x] tests not needed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew not needed cc @jorisvandenbossche - like you mentioned, this doesn't work for everything (properties, accessors, some generated methods)
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14200/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14200/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14200.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14200", "merged_at": "2016-09-12T07:57:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14200.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14200" }
https://api.github.com/repos/pandas-dev/pandas/issues/14201
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14201/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14201/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14201/events
https://github.com/pandas-dev/pandas/issues/14201
176,211,387
MDU6SXNzdWUxNzYyMTEzODc=
14,201
retrieving dataframe from HDFStore: row index "nan" incorrectly becomes NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/19982850?v=4", "events_url": "https://api.github.com/users/makeyourowntextminingtoolkit/events{/privacy}", "followers_url": "https://api.github.com/users/makeyourowntextminingtoolkit/followers", "following_url": "https://api.github.com/users/makeyourowntextminingtoolkit/following{/other_user}", "gists_url": "https://api.github.com/users/makeyourowntextminingtoolkit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/makeyourowntextminingtoolkit", "id": 19982850, "login": "makeyourowntextminingtoolkit", "node_id": "MDQ6VXNlcjE5OTgyODUw", "organizations_url": "https://api.github.com/users/makeyourowntextminingtoolkit/orgs", "received_events_url": "https://api.github.com/users/makeyourowntextminingtoolkit/received_events", "repos_url": "https://api.github.com/users/makeyourowntextminingtoolkit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/makeyourowntextminingtoolkit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/makeyourowntextminingtoolkit/subscriptions", "type": "User", "url": "https://api.github.com/users/makeyourowntextminingtoolkit" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
7
2016-09-11T00:09:33Z
2016-09-12T13:15:27Z
2016-09-11T13:58:37Z
NONE
null
Retrieving a dataframe previously stored in a HDFStore with a row label "nan" (string) is incorrectly retrieved as NaN. My blog talks more about this issue: [http://makeyourowntextminingtoolkit.blogspot.co.uk/2016/09/pandas-dataframe-hdfstore-bug.html](http://makeyourowntextminingtoolkit.blogspot.co.uk/2016/09/pandas-dataframe-hdfstore-bug.html) Note: to_pickle() fails for lathe dataframes, hence HDF5 # create dataframe and store it ``` import pandas df1 = pandas.DataFrame() df1.ix['apple', '001'] = 0.1 df1.ix['banana', '001'] = 0.2 df1.ix['apple', '002'] = 0.3 df1.ix['banana', '002'] = 0.7 df1.ix['nan', '001'] = 0.5 df1 001 002 apple 0.1 0.3 banana 0.2 0.7 nan 0.5 NaN s = pandas.HDFStore('test') s['index'] = df1 s.close() ``` # now retrieve it ``` import pandas s = pandas.HDFStore('test') s <class 'pandas.io.pytables.HDFStore'> File path: test /index frame (shape->[3,2]) df2 = s['index'] s.close() del s df2 001 002 apple 0.1 0.3 banana 0.2 0.7 NaN 0.5 NaN ``` That **NaN** should be a string "_nan_" just like "_banana_" and "_apple_". # workaround ``` df2.index = df2.index.astype(str) df2 001 002 apple 0.1 0.3 banana 0.2 0.7 nan 0.5 NaN ``` #### output of `pd.show_versions()` This is the latest anaconda python 3.5 64bit for MacOSX. ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Darwin OS-release: 15.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 26.1.1 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: 0.6.1 xarray: None IPython: 5.1.0 sphinx: 1.4.1 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 1.1.0 tables: 3.2.3.1 numexpr: 2.6.1 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 1.0.0 xlwt: 1.1.2 xlsxwriter: 0.9.2 lxml: 3.6.4 bs4: 4.5.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.42.0 pandas_datareader: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14201/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14201/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14202
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14202/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14202/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14202/events
https://github.com/pandas-dev/pandas/pull/14202
176,252,026
MDExOlB1bGxSZXF1ZXN0ODQ3OTA5NTg=
14,202
In gbq.to_gbq allow the DataFrame column order to differ from schema
{ "avatar_url": "https://avatars.githubusercontent.com/u/5184014?v=4", "events_url": "https://api.github.com/users/parthea/events{/privacy}", "followers_url": "https://api.github.com/users/parthea/followers", "following_url": "https://api.github.com/users/parthea/following{/other_user}", "gists_url": "https://api.github.com/users/parthea/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/parthea", "id": 5184014, "login": "parthea", "node_id": "MDQ6VXNlcjUxODQwMTQ=", "organizations_url": "https://api.github.com/users/parthea/orgs", "received_events_url": "https://api.github.com/users/parthea/received_events", "repos_url": "https://api.github.com/users/parthea/repos", "site_admin": false, "starred_url": "https://api.github.com/users/parthea/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/parthea/subscriptions", "type": "User", "url": "https://api.github.com/users/parthea" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "0052cc", "default": false, "description": "pandas-gbq compatability", "id": 57351315, "name": "IO Google", "node_id": "MDU6TGFiZWw1NzM1MTMxNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
5
2016-09-11T16:31:45Z
2016-09-13T10:24:04Z
2016-09-13T10:24:03Z
CONTRIBUTOR
null
- [x] closes #11359 - [x] tests added / passed. [Link to Travis-CI build with my gbq credentials](https://travis-ci.org/parthea/pandas/builds/159134242) - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14202/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14202/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14202.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14202", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14202.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14202" }
https://api.github.com/repos/pandas-dev/pandas/issues/14203
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14203/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14203/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14203/events
https://github.com/pandas-dev/pandas/issues/14203
176,255,736
MDU6SXNzdWUxNzYyNTU3MzY=
14,203
BUG: Accept column indices for na_values in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-12-24T22:50:46Z", "closed_issues": 107, "created_at": "2016-11-12T15:44:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.1", "due_on": "2016-12-24T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/45", "id": 2131068, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45/labels", "node_id": "MDk6TWlsZXN0b25lMjEzMTA2OA==", "number": 45, "open_issues": 0, "state": "closed", "title": "0.19.2", "updated_at": "2017-01-29T09:53:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45" }
1
2016-09-11T17:54:38Z
2016-12-16T23:32:49Z
2016-12-16T23:32:48Z
MEMBER
null
``` python >>> from pandas.compat import StringIO >>> from pandas import read_csv >>> data = 'a\nfoo\n1' >>> >>> read_csv(StringIO(data), na_values={0: 'foo'}, engine='c') ... TypeError: Expected list, got set >>> read_csv(StringIO(data), na_values={0: 'foo'}, engine='python') a 0 foo # Should be NaN 1 1 ``` This behaviour is slightly inconsistent with what we do with `usecols` for example, so it would be nice to be able to process column indices with `na_values` too. xref #7119.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14203/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14203/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14204
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14204/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14204/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14204/events
https://github.com/pandas-dev/pandas/issues/14204
176,272,068
MDU6SXNzdWUxNzYyNzIwNjg=
14,204
pandas-0.19.0rc1: 'global name tempita is not defined'
{ "avatar_url": "https://avatars.githubusercontent.com/u/6101444?v=4", "events_url": "https://api.github.com/users/jgerardsimcock/events{/privacy}", "followers_url": "https://api.github.com/users/jgerardsimcock/followers", "following_url": "https://api.github.com/users/jgerardsimcock/following{/other_user}", "gists_url": "https://api.github.com/users/jgerardsimcock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jgerardsimcock", "id": 6101444, "login": "jgerardsimcock", "node_id": "MDQ6VXNlcjYxMDE0NDQ=", "organizations_url": "https://api.github.com/users/jgerardsimcock/orgs", "received_events_url": "https://api.github.com/users/jgerardsimcock/received_events", "repos_url": "https://api.github.com/users/jgerardsimcock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jgerardsimcock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jgerardsimcock/subscriptions", "type": "User", "url": "https://api.github.com/users/jgerardsimcock" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2016-11-07T20:05:26Z", "closed_issues": 83, "created_at": "2016-09-28T10:09:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.0", "due_on": "2016-10-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/43", "id": 2034384, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/43/labels", "node_id": "MDk6TWlsZXN0b25lMjAzNDM4NA==", "number": 43, "open_issues": 0, "state": "closed", "title": "0.19.1", "updated_at": "2016-11-07T20:05:26Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/43" }
15
2016-09-11T23:32:41Z
2016-10-24T22:24:19Z
2016-10-24T22:24:18Z
NONE
null
![screen shot 2016-09-11 at 4 27 54 pm](https://cloud.githubusercontent.com/assets/6101444/18421326/c789182c-783c-11e6-8120-e33a450e85be.png) I am running a Travis CI build in a python 2.7 min environment. Not sure why it is pulling from an unreleased version of pandas but it looks like the tempita needs to be imported.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14204/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14204/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14205
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14205/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14205/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14205/events
https://github.com/pandas-dev/pandas/issues/14205
176,344,670
MDU6SXNzdWUxNzYzNDQ2NzA=
14,205
Datatype of Integer changes depending on indexing method on a dataframe with an integer and a float column
{ "avatar_url": "https://avatars.githubusercontent.com/u/7723080?v=4", "events_url": "https://api.github.com/users/Khris777/events{/privacy}", "followers_url": "https://api.github.com/users/Khris777/followers", "following_url": "https://api.github.com/users/Khris777/following{/other_user}", "gists_url": "https://api.github.com/users/Khris777/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Khris777", "id": 7723080, "login": "Khris777", "node_id": "MDQ6VXNlcjc3MjMwODA=", "organizations_url": "https://api.github.com/users/Khris777/orgs", "received_events_url": "https://api.github.com/users/Khris777/received_events", "repos_url": "https://api.github.com/users/Khris777/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Khris777/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Khris777/subscriptions", "type": "User", "url": "https://api.github.com/users/Khris777" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2016-09-12T10:39:36Z
2016-09-12T10:52:09Z
2016-09-12T10:52:09Z
NONE
null
Take a dataframe that has one integer and one float column, then use various methods to get the first integer element. In certain cases the datatype will be given back correctly as int64, in other cases however it's changed to float64. Indexing using ix even does both, depending on how it is used: ``` import pandas as pd DD = {'I':[1,2,3,4,5,6,7,8,9,10],'F':[1.1,2.2,3.3,4.4,5.5,6.6,7.7,8.8,9.9,10.1]} DF = pd.DataFrame(DD) print "Direct index:" print DF['I'][0] print DF['I'][0].dtype print "===========" print "ix with name:" print DF.ix[0,'I'] print DF.ix[0,'I'].dtype print "===========" print "loc of column:" print DF['I'].loc[0] print DF['I'].loc[0].dtype print "===========" print "iloc of column:" print DF['I'].iloc[0] print DF['I'].iloc[0].dtype print "===========" print "ix of column:" print DF['I'].ix[0] print DF['I'].ix[0].dtype print "=====================" print "Values:" print DF.values[0,1] print DF.values[0,1].dtype print "===========" print "ix with index:" print DF.ix[0,1] print DF.ix[0,1].dtype print "===========" print "loc:" print DF.loc[0,'I'] print DF.loc[0,'I'].dtype print "===========" print "iloc:" print DF.iloc[0,1] print DF.iloc[0,1].dtype ``` #### Expected Output ``` Direct index: 1 int64 =========== ix with name: 1 int64 =========== loc of column: 1 int64 =========== iloc of column: 1 int64 =========== ix of column: 1 int64 ===================== Values: 1.0 float64 =========== ix with index: 1.0 float64 =========== loc: 1.0 float64 =========== iloc: 1.0 float64 ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.12.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 62 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: de_DE pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 25.1.6 Cython: 0.24 numpy: 1.11.1 scipy: 0.17.1 statsmodels: None xarray: None IPython: 4.2.0 sphinx: 1.4.1 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 1.1.0 tables: 3.2.2 numexpr: 2.6.1 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 1.0.0 xlwt: 1.1.2 xlsxwriter: 0.9.2 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.40.0 pandas_datareader: 0.2.1 ```
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 1, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14205/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14205/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14206
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14206/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14206/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14206/events
https://github.com/pandas-dev/pandas/issues/14206
176,419,658
MDU6SXNzdWUxNzY0MTk2NTg=
14,206
pandas.DataFrame.unstack() documentation example has errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/1429426?v=4", "events_url": "https://api.github.com/users/silentsnooc/events{/privacy}", "followers_url": "https://api.github.com/users/silentsnooc/followers", "following_url": "https://api.github.com/users/silentsnooc/following{/other_user}", "gists_url": "https://api.github.com/users/silentsnooc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/silentsnooc", "id": 1429426, "login": "silentsnooc", "node_id": "MDQ6VXNlcjE0Mjk0MjY=", "organizations_url": "https://api.github.com/users/silentsnooc/orgs", "received_events_url": "https://api.github.com/users/silentsnooc/received_events", "repos_url": "https://api.github.com/users/silentsnooc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/silentsnooc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/silentsnooc/subscriptions", "type": "User", "url": "https://api.github.com/users/silentsnooc" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2016-09-12T16:21:40Z
2016-09-13T23:00:15Z
2016-09-13T23:00:15Z
NONE
null
The last part of the documentation says ``` python >>> df = s.unstack(level=0) >>> df.unstack() one a 1. b 3. two a 2. b 4. ``` although we'd have ``` python >>> import pandas as pd >>> index = pd.MultiIndex.from_tuples([('one', 'a'), ('one', 'b'), ... ('two', 'a'), ('two', 'b')]) >>> import numpy as np >>> s = pd.Series(np.arange(1.0, 5.0), index=index) >>> s one a 1.0 b 2.0 two a 3.0 b 4.0 dtype: float64 >>> s.unstack(level=-1) a b one 1.0 2.0 two 3.0 4.0 >>> s.unstack(level=0) one two a 1.0 3.0 b 2.0 4.0 >>> df = s.unstack(level=0) >>> df.unstack() one a 1.0 b 2.0 two a 3.0 b 4.0 dtype: float64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14206/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14206/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14207
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14207/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14207/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14207/events
https://github.com/pandas-dev/pandas/issues/14207
176,445,314
MDU6SXNzdWUxNzY0NDUzMTQ=
14,207
API: allow dependent assignment?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4", "events_url": "https://api.github.com/users/chris-b1/events{/privacy}", "followers_url": "https://api.github.com/users/chris-b1/followers", "following_url": "https://api.github.com/users/chris-b1/following{/other_user}", "gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris-b1", "id": 1924092, "login": "chris-b1", "node_id": "MDQ6VXNlcjE5MjQwOTI=", "organizations_url": "https://api.github.com/users/chris-b1/orgs", "received_events_url": "https://api.github.com/users/chris-b1/received_events", "repos_url": "https://api.github.com/users/chris-b1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions", "type": "User", "url": "https://api.github.com/users/chris-b1" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2018-05-16T03:09:58Z", "closed_issues": 1645, "created_at": "2017-10-20T10:17:09Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.22", "due_on": "2018-05-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/53", "id": 2853937, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels", "node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==", "number": 53, "open_issues": 0, "state": "closed", "title": "0.23.0", "updated_at": "2018-08-20T06:48:57Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53" }
19
2016-09-12T18:14:26Z
2018-02-10T16:20:18Z
2018-02-10T16:20:18Z
CONTRIBUTOR
null
Since kwarg order will be [guaranteed](https://docs.python.org/3.6/whatsnew/3.6.html#pep-468-preserving-keyword-argument-order) in python 3.6, we could allow this...though would only want to try with a 3.6+ version check, otherwise code could more or less randomly work/not work, depending on dict order. ``` python In [44]: df = pd.DataFrame({'a': [1,2,3]}) In [45]: df.assign(b=1, c=lambda x: x['b'] * 2) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/14207/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14207/timeline
null
null
null