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/13908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13908/events
https://github.com/pandas-dev/pandas/issues/13908
169,433,348
MDU6SXNzdWUxNjk0MzMzNDg=
13,908
BUG: DatetimeIndex indexing fails at nanosecond precision if timezone is used
{ "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": "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": "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" }
4
2016-08-04T17:46:26Z
2017-06-29T14:50:22Z
2016-08-04T20:30:19Z
CONTRIBUTOR
null
`DatetimeIndex` fails to find its own values if a timezone is used: ``` index = pd.DatetimeIndex(['2016-06-28 08:30:00.123456789'], dtype='datetime64[ns, America/Chicago]') df = pd.DataFrame({'a':[10]}, index=index) df.loc[df.index[0]] ``` It fails with: ``` *** KeyError: 'the label [2016-06-28 08:30:00.123456789-05:00] is not in the [index]' ``` This is impossible. It works if you use only microseconds rather than nanoseconds, and it works if you don't set a timezone. 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/13908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13908/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13909/events
https://github.com/pandas-dev/pandas/pull/13909
169,456,362
MDExOlB1bGxSZXF1ZXN0ODAxMzcwODk=
13,909
BUG: pd.to_datetime doesn't raises AttributeError with specific input…
{ "avatar_url": "https://avatars.githubusercontent.com/u/20844595?v=4", "events_url": "https://api.github.com/users/conquistador1492/events{/privacy}", "followers_url": "https://api.github.com/users/conquistador1492/followers", "following_url": "https://api.github.com/users/conquistador1492/following{/other_user}", "gists_url": "https://api.github.com/users/conquistador1492/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/conquistador1492", "id": 20844595, "login": "conquistador1492", "node_id": "MDQ6VXNlcjIwODQ0NTk1", "organizations_url": "https://api.github.com/users/conquistador1492/orgs", "received_events_url": "https://api.github.com/users/conquistador1492/received_events", "repos_url": "https://api.github.com/users/conquistador1492/repos", "site_admin": false, "starred_url": "https://api.github.com/users/conquistador1492/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/conquistador1492/subscriptions", "type": "User", "url": "https://api.github.com/users/conquistador1492" }
[ { "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" } ]
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-04T19:38:56Z
2016-08-05T19:52:09Z
2016-08-05T19:52:05Z
CONTRIBUTOR
null
- [x] closes #12424 - [x] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry …s when errors='ignore'(#12424)
{ "+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/13909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13909/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13909.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13909", "merged_at": "2016-08-05T19:52:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13909.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13909" }
https://api.github.com/repos/pandas-dev/pandas/issues/13910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13910/events
https://github.com/pandas-dev/pandas/issues/13910
169,488,064
MDU6SXNzdWUxNjk0ODgwNjQ=
13,910
Type inferencing makes assignment of datetime to an object Series non-idempotent
{ "avatar_url": "https://avatars.githubusercontent.com/u/468559?v=4", "events_url": "https://api.github.com/users/craigcitro/events{/privacy}", "followers_url": "https://api.github.com/users/craigcitro/followers", "following_url": "https://api.github.com/users/craigcitro/following{/other_user}", "gists_url": "https://api.github.com/users/craigcitro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/craigcitro", "id": 468559, "login": "craigcitro", "node_id": "MDQ6VXNlcjQ2ODU1OQ==", "organizations_url": "https://api.github.com/users/craigcitro/orgs", "received_events_url": "https://api.github.com/users/craigcitro/received_events", "repos_url": "https://api.github.com/users/craigcitro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/craigcitro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/craigcitro/subscriptions", "type": "User", "url": "https://api.github.com/users/craigcitro" }
[ { "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": "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" }
7
2016-08-04T22:27:45Z
2019-11-02T18:22:16Z
2019-11-02T18:09:16Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` >>> import pandas as pd >>> s = pd.Series() >>> ts = pd.Timestamp('2016-01-01') >>> s['a'] = None >>> s['b'] = ts >>> s a None b 1451606400000000000 dtype: object ``` OK, no worries, we got coerced to integer. Now let's just redo the **same assignment**: ``` >>> s['b'] = ts >>> s a None b 2016-01-01 00:00:00 dtype: object ``` That's ... suprising. This is probably just an unfortunate feature of a type inference algorithm, but it's awfully shocking. #### Related examples for testing #18410 #21143 #### Expected Output The two outputs above would be identical; I'd prefer that they were both the second form (with timestamp information preserved), but anything consistent would be better than the current state. #### output of `pd.show_versions()` ``` >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Darwin OS-release: 15.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 25.1.4 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: 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/13910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13910/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13911/events
https://github.com/pandas-dev/pandas/pull/13911
169,494,195
MDExOlB1bGxSZXF1ZXN0ODAxNjQ0OTM=
13,911
BUG: na_rep given precedence in to_html
{ "avatar_url": "https://avatars.githubusercontent.com/u/7795093?v=4", "events_url": "https://api.github.com/users/agraboso/events{/privacy}", "followers_url": "https://api.github.com/users/agraboso/followers", "following_url": "https://api.github.com/users/agraboso/following{/other_user}", "gists_url": "https://api.github.com/users/agraboso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agraboso", "id": 7795093, "login": "agraboso", "node_id": "MDQ6VXNlcjc3OTUwOTM=", "organizations_url": "https://api.github.com/users/agraboso/orgs", "received_events_url": "https://api.github.com/users/agraboso/received_events", "repos_url": "https://api.github.com/users/agraboso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agraboso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agraboso/subscriptions", "type": "User", "url": "https://api.github.com/users/agraboso" }
[ { "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" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
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" }
10
2016-08-04T23:06:54Z
2017-02-27T21:05:28Z
2017-02-27T16:00:58Z
CONTRIBUTOR
null
- [x] closes #13828 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry ~~I know new tests are appreciated from the get-go, but it's the end of the day for me. I'll add new tests and the appropriate whatsnew entry tomorrow.~~
{ "+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/13911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13911/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13911.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13911", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13911.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13911" }
https://api.github.com/repos/pandas-dev/pandas/issues/13912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13912/events
https://github.com/pandas-dev/pandas/issues/13912
169,500,572
MDU6SXNzdWUxNjk1MDA1NzI=
13,912
BUG: Columns used in sum on 1 row dataframe depend on values instead of dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/2783717?v=4", "events_url": "https://api.github.com/users/jcrist/events{/privacy}", "followers_url": "https://api.github.com/users/jcrist/followers", "following_url": "https://api.github.com/users/jcrist/following{/other_user}", "gists_url": "https://api.github.com/users/jcrist/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jcrist", "id": 2783717, "login": "jcrist", "node_id": "MDQ6VXNlcjI3ODM3MTc=", "organizations_url": "https://api.github.com/users/jcrist/orgs", "received_events_url": "https://api.github.com/users/jcrist/received_events", "repos_url": "https://api.github.com/users/jcrist/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jcrist/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jcrist/subscriptions", "type": "User", "url": "https://api.github.com/users/jcrist" }
[ { "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
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "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": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2016-08-04T23:55:20Z
2021-05-17T15:17:30Z
2021-05-17T15:17:30Z
CONTRIBUTOR
null
It seems that somehow the columns used in `sum` when applied to a 1 row dataframe depend on the values in the row instead of just the dtypes. Observe: ``` python import pandas as pd import numpy as np # Frame with some non-numeric dtypes df = pd.DataFrame({'a': [1], 'b': [1.1], 'c': ['foo'], 'd': [pd.Timestamp('2000-01-01')]}) # Only change here is that `d` is `NaT` df2 = pd.DataFrame({'a': [1], 'b': [1.1], 'c': ['foo'], 'd': [pd.NaT]}) # This is just the first one twice df3 = pd.concat([df, df]) # I'd expect all 3 to use the same columns in the reduction df_sum = df.sum() df2_sum = df2.sum() df3_sum = df3.sum() ``` Loading that in an ipython session: ``` python In [1]: df_sum Out[1]: a 1 b 1.1 c foo d 2000-01-01 00:00:00 dtype: object In [2]: df2_sum Out[2]: a 1.0 b 1.1 dtype: float64 In [3]: df3_sum Out[3]: a 2.0 b 2.2 dtype: float64 In [4]: pd.__version__ Out[4]: u'0.18.1' In [5]: np.__version__ Out[5]: '1.11.1' ``` I'd expect all 3 to only use the columns `['a', 'b']`, as these are the only numeric columns. Strangely, `_get_numeric_data` does return just `['a', 'b']` in all cases, so it's not that.
{ "+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/13912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13912/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13913
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13913/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13913/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13913/events
https://github.com/pandas-dev/pandas/issues/13913
169,502,070
MDU6SXNzdWUxNjk1MDIwNzA=
13,913
Groupby apply using a custom function displays incorrect arguments (DF)
{ "avatar_url": "https://avatars.githubusercontent.com/u/15328599?v=4", "events_url": "https://api.github.com/users/bhagerman00/events{/privacy}", "followers_url": "https://api.github.com/users/bhagerman00/followers", "following_url": "https://api.github.com/users/bhagerman00/following{/other_user}", "gists_url": "https://api.github.com/users/bhagerman00/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bhagerman00", "id": 15328599, "login": "bhagerman00", "node_id": "MDQ6VXNlcjE1MzI4NTk5", "organizations_url": "https://api.github.com/users/bhagerman00/orgs", "received_events_url": "https://api.github.com/users/bhagerman00/received_events", "repos_url": "https://api.github.com/users/bhagerman00/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bhagerman00/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bhagerman00/subscriptions", "type": "User", "url": "https://api.github.com/users/bhagerman00" }
[ { "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": "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" }
8
2016-08-05T00:07:55Z
2016-08-05T17:57:07Z
2016-08-05T00:12:24Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` def func3(df): print(df) df['Mean'] = np.mean(df['Data'].values) out = df[['Mean', 'Group']].iloc[0, :].copy(deep=True) return out var1 = [1, 2, 3] grp_var = ['Group1', 'Group2', 'Group2'] df_test = pd.DataFrame.from_dict({'Data': var1, 'Group': grp_var}) # Groupby test df_grp = df_test.groupby(['Group']) df_out = df_grp.apply(func3) ``` #### Surprising Print Output ``` Data Group 0 1 Group1 Data Group 0 1 Group1 Data Group Mean 1 2 Group2 1.0 2 3 Group2 Data Group 0 1 Group1 Data Group 1 2 Group2 2 3 Group2 In [31]: df_out Out[31]: Mean Group Group Group1 1.0 Group1 Group2 2.5 Group2 ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.12.final.0 python-bits: 64 OS: Darwin OS-release: 14.5.0 machine: x86_64 processor: i386 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.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: 0.6.1 xarray: 0.7.2 IPython: 4.2.0 sphinx: None patsy: 0.4.1 dateutil: 2.5.2 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: None 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: None pymysql: None psycopg2: None jinja2: 2.8 boto: 2.40.0 pandas_datareader: None ``` #### Summary The final output is correct, but the intermediate argument calls appear to be referencing incorrect data frames. There are two groups to iterate over, but 5 statements are printed, one of which contains a new column called 'Mean' and is printed under Group2, but the mean value is for Group1. This seems to occur when a pandas series object is returned, and makes it difficult to interactively evaluate/debug groupby calls using custom arguments. The printed DF's should match the DF for the given group being processed. Is this known behavior?
{ "+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/13913/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13913/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13914
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13914/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13914/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13914/events
https://github.com/pandas-dev/pandas/issues/13914
169,525,335
MDU6SXNzdWUxNjk1MjUzMzU=
13,914
BUG: resampling a MultiIndex and specified keys are tuples in .agg
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[ { "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": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "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" } ]
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" }
5
2016-08-05T04:16:31Z
2021-05-01T23:04:46Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible You can reproduce the error by pasting this chunk of code, but this error is ONLY with pandas 0.18.0 or higher. This chunk of code worked fine under 0.17.1 and earlier, and is related to the change in how resampling is done. The error I get is "TypeError: other must be a MultiIndex or a list of tuples" ``` import pandas as pd import numpy as np df = pd.DataFrame(np.random.randint(0, 100, (10, 3)), columns=list('ABC'), index=pd.date_range('2016-01-01', freq='1400T', periods=10)) df['D'] = ['x', 'x', 'x', 'x', 'x', 'y', 'y', 'y', 'y', 'y'] df.index.name = "timestamp" df_pivot = pd.pivot_table(df.reset_index(), values=['A', 'B'], index="timestamp", columns=['C', 'D']) resample_methods = map({'A': 'sum', 'B': 'mean'}.get, [x[0] for x in df_pivot.columns]) resample_method_tuple_list = zip(df_pivot.columns, resample_methods) resample_dict = dict(resample_method_tuple_list) df_pivot.resample('D').agg(resample_dict) ``` Note that this works just fine if I only pivot on one column #### Expected Output This should resample the dataframe, without error #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.12.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24 numpy: 1.11.1 scipy: 0.18.0 statsmodels: 0.6.1 xarray: 0.8.0 IPython: 5.0.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.3.1 numexpr: 2.6.0 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: 0.9.2 apiclient: 1.5.1 sqlalchemy: 1.0.13 pymysql: None psycopg2: 2.6.1 (dt dec pq3 ext lo64) 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/13914/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13914/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13915
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13915/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13915/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13915/events
https://github.com/pandas-dev/pandas/pull/13915
169,551,225
MDExOlB1bGxSZXF1ZXN0ODAyMDQyMTc=
13,915
DOC: Add missing word in docstring
{ "avatar_url": "https://avatars.githubusercontent.com/u/198537?v=4", "events_url": "https://api.github.com/users/rgieseke/events{/privacy}", "followers_url": "https://api.github.com/users/rgieseke/followers", "following_url": "https://api.github.com/users/rgieseke/following{/other_user}", "gists_url": "https://api.github.com/users/rgieseke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rgieseke", "id": 198537, "login": "rgieseke", "node_id": "MDQ6VXNlcjE5ODUzNw==", "organizations_url": "https://api.github.com/users/rgieseke/orgs", "received_events_url": "https://api.github.com/users/rgieseke/received_events", "repos_url": "https://api.github.com/users/rgieseke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rgieseke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rgieseke/subscriptions", "type": "User", "url": "https://api.github.com/users/rgieseke" }
[ { "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-08-05T08:04:06Z
2016-08-05T10:28:44Z
2016-08-05T10:24:34Z
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/13915/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13915/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13915.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13915", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13915.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13915" }
https://api.github.com/repos/pandas-dev/pandas/issues/13916
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13916/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13916/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13916/events
https://github.com/pandas-dev/pandas/issues/13916
169,554,181
MDU6SXNzdWUxNjk1NTQxODE=
13,916
sum in pandas can concatenate strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4", "events_url": "https://api.github.com/users/shoyer/events{/privacy}", "followers_url": "https://api.github.com/users/shoyer/followers", "following_url": "https://api.github.com/users/shoyer/following{/other_user}", "gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shoyer", "id": 1217238, "login": "shoyer", "node_id": "MDQ6VXNlcjEyMTcyMzg=", "organizations_url": "https://api.github.com/users/shoyer/orgs", "received_events_url": "https://api.github.com/users/shoyer/received_events", "repos_url": "https://api.github.com/users/shoyer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shoyer/subscriptions", "type": "User", "url": "https://api.github.com/users/shoyer" }
[ { "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": "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": "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" }, { "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": 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" }
1
2016-08-05T08:21:10Z
2021-11-13T17:32:15Z
null
MEMBER
null
Possibly related: #13912 This looks wrong to me -- probably a bug? ``` In [36]: pd.Series(['a', 'b', 'c']).sum() Out[36]: 'abc' In [37]: pd.__version__ Out[37]: '0.18.1' ``` This happens on DataFrames, as well: ``` In [8]: pd.Series(['a', 'b', 'c']).to_frame().sum() Out[8]: 0 abc dtype: object ``` Note, of course, that summing strings: ``` In [2]: sum(['a', 'b', 'c']) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-eba0487fc411> in <module>() ----> 1 sum(['a', 'b', 'c']) TypeError: unsupported operand type(s) for +: 'int' and 'str' ``` Interestingly, NumPy has the same (buggy?) behavior on `dtype=object` arrays: ``` In [11]: pd.Series(['a', 'b', 'c']).values.sum() Out[11]: 'abc' In [12]: pd.Series(['a', 'b', 'c']).values.astype(str).sum() --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-12-4e25bf0067a8> in <module>() ----> 1 pd.Series(['a', 'b', 'c']).values.astype(str).sum() /Users/shoyer/conda/envs/xarray-dev/lib/python3.5/site-packages/numpy/core/_methods.py in _sum(a, axis, dtype, out, keepdims) 30 31 def _sum(a, axis=None, dtype=None, out=None, keepdims=False): ---> 32 return umr_sum(a, axis, dtype, out, keepdims) 33 34 def _prod(a, axis=None, dtype=None, out=None, keepdims=False): TypeError: cannot perform reduce with flexible type ```
{ "+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/13916/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13916/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13917
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13917/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13917/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13917/events
https://github.com/pandas-dev/pandas/pull/13917
169,596,477
MDExOlB1bGxSZXF1ZXN0ODAyMzUzNzE=
13,917
BUG: multi-type SparseDataFrame fixes and improvements
{ "avatar_url": "https://avatars.githubusercontent.com/u/8071628?v=4", "events_url": "https://api.github.com/users/sstanovnik/events{/privacy}", "followers_url": "https://api.github.com/users/sstanovnik/followers", "following_url": "https://api.github.com/users/sstanovnik/following{/other_user}", "gists_url": "https://api.github.com/users/sstanovnik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sstanovnik", "id": 8071628, "login": "sstanovnik", "node_id": "MDQ6VXNlcjgwNzE2Mjg=", "organizations_url": "https://api.github.com/users/sstanovnik/orgs", "received_events_url": "https://api.github.com/users/sstanovnik/received_events", "repos_url": "https://api.github.com/users/sstanovnik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sstanovnik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sstanovnik/subscriptions", "type": "User", "url": "https://api.github.com/users/sstanovnik" }
[ { "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
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" }
13
2016-08-05T12:28:58Z
2016-08-10T10:42:54Z
2016-08-10T10:38:24Z
CONTRIBUTOR
null
- [X] 1 tests added / passed - [X] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Types were incorrectly determined when slicing SparseDataFrames with multiple dtypes (such as float and object) into SparseSeries. ``` python import pandas as pd sdf = pd.SparseDataFrame([[1, 2, 'a'], [4, 5, 'b']]) sdf.iloc[[0]] # OK sdf.iloc[0] # ValueError: could not convert string to float: 'a' ``` No existing issue covers this.
{ "+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/13917/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13917/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13917.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13917", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13917.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13917" }
https://api.github.com/repos/pandas-dev/pandas/issues/13918
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13918/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13918/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13918/events
https://github.com/pandas-dev/pandas/issues/13918
169,603,209
MDU6SXNzdWUxNjk2MDMyMDk=
13,918
Pandas.items in Python2 vs Python3
{ "avatar_url": "https://avatars.githubusercontent.com/u/2941720?v=4", "events_url": "https://api.github.com/users/lewisacidic/events{/privacy}", "followers_url": "https://api.github.com/users/lewisacidic/followers", "following_url": "https://api.github.com/users/lewisacidic/following{/other_user}", "gists_url": "https://api.github.com/users/lewisacidic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lewisacidic", "id": 2941720, "login": "lewisacidic", "node_id": "MDQ6VXNlcjI5NDE3MjA=", "organizations_url": "https://api.github.com/users/lewisacidic/orgs", "received_events_url": "https://api.github.com/users/lewisacidic/received_events", "repos_url": "https://api.github.com/users/lewisacidic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lewisacidic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lewisacidic/subscriptions", "type": "User", "url": "https://api.github.com/users/lewisacidic" }
[]
closed
false
null
[]
{ "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" }
5
2016-08-05T13:07:22Z
2017-08-19T21:59:20Z
2017-08-19T21:59:20Z
CONTRIBUTOR
null
Inconsistency between python2 and 3 - python2 has no `items` method (but does have `iteritems`). Shouldn't `items` and `iteritems` be the same? #### Code Sample, a copy-pastable example if possible ``` import pandas as pd import string ser = pd.Series(np.arange(10), index=list(string.ascii_letters[:10])) print(ser.items()) ``` #### Expected Output `<zip object at 0x11dc1f6c8>` python 2: `AttributeError: 'Series' object has no attribute 'items'` #### output of `pd.show_versions()` (python2) ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.12.final.0 python-bits: 64 OS: Darwin OS-release: 15.4.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 23.0.0 Cython: None numpy: 1.10.4 scipy: 0.17.0 statsmodels: None xarray: None IPython: 5.0.0 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.5.2 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/13918/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13918/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13919
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13919/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13919/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13919/events
https://github.com/pandas-dev/pandas/issues/13919
169,603,829
MDU6SXNzdWUxNjk2MDM4Mjk=
13,919
ERR: Categoricals should not allow non-strings when an object dtype is passed
{ "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": "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_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "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": "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" } ]
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" }
11
2016-08-05T13:11:06Z
2020-05-16T20:31:21Z
null
CONTRIBUTOR
null
HDF Store (with `table`) doesn't support categories with mixed type inside a category Even though it is possible to store category type using `to_hdf` with `table`, you can't do that when you have mixed types inside the category. It would be nice to mention this at least on docs. #### Code Sample, a copy-pastable example if possible ``` import pandas as pd df = pd.DataFrame({'a':[1, 'string']}) df['a'] = df['a'].astype('category') df.to_hdf('play.hdf', 'main', format='table') ``` the error: ``` TypeError: Cannot serialize the column [values] because its data contents are [mixed-integer] object dtype ``` #### Expected Output No error, saved file. #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 4.6.4-1-ARCH machine: x86_64 processor: 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: None numpy: 1.10.4 scipy: 0.17.0 statsmodels: None xarray: None IPython: 4.1.2 sphinx: 1.4.1 patsy: None dateutil: 2.5.2 pytz: 2016.3 blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.5.1 matplotlib: 1.5.1 openpyxl: None xlrd: 1.0.0 xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.8 boto: 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/13919/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13919/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13920
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13920/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13920/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13920/events
https://github.com/pandas-dev/pandas/pull/13920
169,639,053
MDExOlB1bGxSZXF1ZXN0ODAyNjYxNjA=
13,920
removed compat check for Series.items method
{ "avatar_url": "https://avatars.githubusercontent.com/u/2941720?v=4", "events_url": "https://api.github.com/users/lewisacidic/events{/privacy}", "followers_url": "https://api.github.com/users/lewisacidic/followers", "following_url": "https://api.github.com/users/lewisacidic/following{/other_user}", "gists_url": "https://api.github.com/users/lewisacidic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lewisacidic", "id": 2941720, "login": "lewisacidic", "node_id": "MDQ6VXNlcjI5NDE3MjA=", "organizations_url": "https://api.github.com/users/lewisacidic/orgs", "received_events_url": "https://api.github.com/users/lewisacidic/received_events", "repos_url": "https://api.github.com/users/lewisacidic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lewisacidic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lewisacidic/subscriptions", "type": "User", "url": "https://api.github.com/users/lewisacidic" }
[]
closed
false
null
[]
null
20
2016-08-05T15:55:49Z
2017-02-27T16:04:05Z
2017-02-27T16:04:05Z
CONTRIBUTOR
null
Should I add something in the whatsnew? I couldn't find a relevant test, so this is to check if this breaks any tests in CI. - [x] closes #13918 - [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/13920/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13920/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13920.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13920", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13920.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13920" }
https://api.github.com/repos/pandas-dev/pandas/issues/13921
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13921/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13921/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13921/events
https://github.com/pandas-dev/pandas/issues/13921
169,682,549
MDU6SXNzdWUxNjk2ODI1NDk=
13,921
Split-out Cython modules from algos.pyx
{ "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": "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": "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" }
0
2016-08-05T19:46:41Z
2016-08-06T21:44:36Z
2016-08-06T21:44:17Z
CONTRIBUTOR
null
This is a broad discussion, following some observations from @jreback. With the impending addition of `joins_func_helper.pxi.in`, does it make sense to split Cython modules so that `algos.pyx` isn't so massive? 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/13921/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13921/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13922
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13922/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13922/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13922/events
https://github.com/pandas-dev/pandas/issues/13922
169,755,042
MDU6SXNzdWUxNjk3NTUwNDI=
13,922
memory leak in reindex
{ "avatar_url": "https://avatars.githubusercontent.com/u/16540200?v=4", "events_url": "https://api.github.com/users/tsdlovell/events{/privacy}", "followers_url": "https://api.github.com/users/tsdlovell/followers", "following_url": "https://api.github.com/users/tsdlovell/following{/other_user}", "gists_url": "https://api.github.com/users/tsdlovell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsdlovell", "id": 16540200, "login": "tsdlovell", "node_id": "MDQ6VXNlcjE2NTQwMjAw", "organizations_url": "https://api.github.com/users/tsdlovell/orgs", "received_events_url": "https://api.github.com/users/tsdlovell/received_events", "repos_url": "https://api.github.com/users/tsdlovell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsdlovell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsdlovell/subscriptions", "type": "User", "url": "https://api.github.com/users/tsdlovell" }
[ { "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" } ]
closed
false
null
[]
null
3
2016-08-06T16:44:28Z
2016-08-06T18:06:27Z
2016-08-06T18:06:12Z
CONTRIBUTOR
null
When I reindex, I see memory usage permanently go up. Path I traced was from pd.DataFrame.assign -> pd.Series.reindex -> pd.Index.reindex Not sure what the ultimate source of the issue is ``` python import psutil import pandas as pd K = 10 N = 1000 * 1000 for i in range(K): # any of these will cause the issue #df = (pd.DataFrame(pd.np.random.rand(N, 2)) # .assign(series=pd.Series(range(N+1)))) #series = pd.Series(pd.np.random.rand(N)).reindex(range(N+1)) index = pd.Index(range(N)).reindex(range(N-1)) print('finished reindex iter {:2d}, using {:3.1f} percent memory' .format(i, psutil.virtual_memory().percent)) ``` prints this ``` finished reindex iter 0, using 45.6 percent memory finished reindex iter 1, using 45.9 percent memory finished reindex iter 2, using 46.1 percent memory finished reindex iter 3, using 46.4 percent memory finished reindex iter 4, using 46.7 percent memory finished reindex iter 5, using 47.0 percent memory finished reindex iter 6, using 47.2 percent memory finished reindex iter 7, using 47.5 percent memory finished reindex iter 8, using 47.7 percent memory finished reindex iter 9, using 48.0 percent memory ``` ## INSTALLED VERSIONS commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 3.14.32-pv-ts1 machine: x86_64 processor: byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: None pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24.1 numpy: 1.10.4 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 5.0.0 sphinx: 1.4.1 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 1.0.0 xlwt: None xlsxwriter: 0.9.2 lxml: None bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 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/13922/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13922/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13923
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13923/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13923/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13923/events
https://github.com/pandas-dev/pandas/issues/13923
169,757,142
MDU6SXNzdWUxNjk3NTcxNDI=
13,923
Stata read categoricals gives ValueError: Categorical categories must be unique
{ "avatar_url": "https://avatars.githubusercontent.com/u/650534?v=4", "events_url": "https://api.github.com/users/ozak/events{/privacy}", "followers_url": "https://api.github.com/users/ozak/followers", "following_url": "https://api.github.com/users/ozak/following{/other_user}", "gists_url": "https://api.github.com/users/ozak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ozak", "id": 650534, "login": "ozak", "node_id": "MDQ6VXNlcjY1MDUzNA==", "organizations_url": "https://api.github.com/users/ozak/orgs", "received_events_url": "https://api.github.com/users/ozak/received_events", "repos_url": "https://api.github.com/users/ozak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ozak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ozak/subscriptions", "type": "User", "url": "https://api.github.com/users/ozak" }
[ { "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_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" }
13
2016-08-06T17:30:47Z
2016-08-10T22:37:45Z
2016-08-10T22:37:44Z
NONE
null
I am trying to open some Stata files generated in [IPUMS International](https://international.ipums.org/international/), but I am getting a `ValueError: Categorical categories must be unique`. I opened in Stata and could not find a repeated category for the column I am trying to import. I had similar issues with other datasets from the same source, which seemed to be generated by missing values, but that does not seem to be the case here. Here's the [link to the file](https://drive.google.com/open?id=0By-h7HPv1NhVVllUUEFkc1JucGs) I am trying to read. #### Code Sample, a copy-pastable example if possible ``` df = pd.read_stata('ipumsi_00014.dta', columns=['ethnicsn']) ``` #### Expected Output ``` df.shape = (1694761,1) ``` #### output of `pd.show_versions()` ``` commit: None python: 2.7.9.final.0 python-bits: 64 OS: Darwin OS-release: 13.4.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 18.2 Cython: 0.22.1 numpy: 1.11.1 scipy: 0.15.1 statsmodels: 0.6.1 xarray: None IPython: 3.2.1 sphinx: None patsy: 0.2.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 0.8.0 tables: None numexpr: 2.4 matplotlib: 1.4.3 openpyxl: 2.1.3 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: 0.6.4 lxml: 3.3.5 bs4: 4.3.2 html5lib: 0.999 httplib2: None apiclient: None sqlalchemy: 0.9.8 pymysql: None psycopg2: 2.5.3 (dt dec pq3 ext) jinja2: 2.7.3 boto: 2.34.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/13923/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13923/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13924
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13924/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13924/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13924/events
https://github.com/pandas-dev/pandas/pull/13924
169,762,854
MDExOlB1bGxSZXF1ZXN0ODAzNDg3MTQ=
13,924
CLN/PERF: remove ndarray.take and platform int conversions
{ "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": "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": "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" } ]
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-06T19:32:59Z
2016-08-17T10:19:08Z
2016-08-15T23:10:03Z
CONTRIBUTOR
null
I was looking into #13745 (GIL on merge), and there's some low hanging fruit in the non-parallel case. - a couple python `any` calls - unnecessary (?) platform int checks / conversions. I'm testing on Windows - I'm assuming on Linux 64 this doesn't really make a difference. ``` python In [1]: right = pd.DataFrame({'key': range(10), 'val': range(10)}) ...: left = pd.DataFrame({'key': range(1,11) * 100000}) # master In [2]: %timeit left.merge(right, how='inner') 10 loops, best of 3: 104 ms per loop In [3]: %timeit left.merge(right, how='left') 10 loops, best of 3: 141 ms per loop In [4]: %timeit left.merge(right, how='outer') 10 loops, best of 3: 125 ms per loop # PR In [2]: %timeit left.merge(right, how='inner') 10 loops, best of 3: 79.8 ms per loop In [3]: %timeit left.merge(right, how='left') 10 loops, best of 3: 110 ms per loop In [4]: %timeit left.merge(right, how='outer') 10 loops, best of 3: 100 ms per loop ```
{ "+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/13924/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13924/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13924.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13924", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13924.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13924" }
https://api.github.com/repos/pandas-dev/pandas/issues/13925
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13925/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13925/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13925/events
https://github.com/pandas-dev/pandas/pull/13925
169,763,515
MDExOlB1bGxSZXF1ZXN0ODAzNDkwNDE=
13,925
BLD: split join.pyx from algos.pyx
{ "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": "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
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-06T19:48:36Z
2016-08-06T21:44:17Z
2016-08-06T21:44:17Z
CONTRIBUTOR
null
closes #13921
{ "+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/13925/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13925/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13925.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13925", "merged_at": "2016-08-06T21:44:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13925.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13925" }
https://api.github.com/repos/pandas-dev/pandas/issues/13926
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13926/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13926/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13926/events
https://github.com/pandas-dev/pandas/pull/13926
169,765,537
MDExOlB1bGxSZXF1ZXN0ODAzNTAyMDI=
13,926
BUG: DatetimeTz shift raises AmbiguousTimeError near DST
{ "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": "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" }
2
2016-08-06T20:40:44Z
2016-08-06T22:42:17Z
2016-08-06T22:42:17Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry As the same as #13650, caused by `.tz_localize(None)` which can be removed. ``` import pandas as pd s = pd.Series(pd.date_range('2016-11-06', freq='H', periods=10, tz='US/Eastern')) s.shift(1) # pytz.exceptions.AmbiguousTimeError: Cannot infer dst time from Timestamp('2016-11-06 01:00:00'), try using the 'ambiguous' argument ```
{ "+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/13926/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13926/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13926.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13926", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13926.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13926" }
https://api.github.com/repos/pandas-dev/pandas/issues/13927
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13927/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13927/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13927/events
https://github.com/pandas-dev/pandas/pull/13927
169,774,255
MDExOlB1bGxSZXF1ZXN0ODAzNTUyMzU=
13,927
COMPAT/TST: windows sparse int comparisons
{ "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": "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" }, { "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-08-07T01:08:27Z
2016-08-07T01:24:12Z
2016-08-07T01:24:12Z
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/13927/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13927/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13927.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13927", "merged_at": "2016-08-07T01:24:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13927.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13927" }
https://api.github.com/repos/pandas-dev/pandas/issues/13928
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13928/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13928/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13928/events
https://github.com/pandas-dev/pandas/issues/13928
169,799,687
MDU6SXNzdWUxNjk3OTk2ODc=
13,928
CI: re-enable 3.4 build / updated conda-build on appeveyor
{ "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": "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" } ]
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-07T14:48:37Z
2017-01-20T13:56:41Z
2017-01-19T18:00:21Z
CONTRIBUTOR
null
[fix conda-build version](https://github.com/pydata/pandas/commit/cfbb24f2c0e33ee221c54fd4944458cb0c6f4e84) Builds are consecutive, 1 at a time. [disable 3.4 build](https://github.com/pydata/pandas/commit/7e15923d908a42008fb7fecde58be626277fd82e)
{ "+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/13928/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13928/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13929
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13929/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13929/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13929/events
https://github.com/pandas-dev/pandas/issues/13929
169,820,074
MDU6SXNzdWUxNjk4MjAwNzQ=
13,929
Possible bug when parsing from string to datetime when slicing
{ "avatar_url": "https://avatars.githubusercontent.com/u/13205162?v=4", "events_url": "https://api.github.com/users/tomchor/events{/privacy}", "followers_url": "https://api.github.com/users/tomchor/followers", "following_url": "https://api.github.com/users/tomchor/following{/other_user}", "gists_url": "https://api.github.com/users/tomchor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tomchor", "id": 13205162, "login": "tomchor", "node_id": "MDQ6VXNlcjEzMjA1MTYy", "organizations_url": "https://api.github.com/users/tomchor/orgs", "received_events_url": "https://api.github.com/users/tomchor/received_events", "repos_url": "https://api.github.com/users/tomchor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tomchor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tomchor/subscriptions", "type": "User", "url": "https://api.github.com/users/tomchor" }
[ { "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" } ]
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" }
6
2016-08-07T22:40:11Z
2020-03-31T05:54:57Z
null
NONE
null
From [this question in SO](http://stackoverflow.com/questions/38774044/unexpected-behavior-in-pandas-timestamp-slicing?noredirect=1#comment64980593_38774044) Please consider the following example ``` data = pd.DataFrame(np.random.random((72000,3)), columns=list('uvw'), index=pd.date_range('2013-11-08 10:00:00', periods=72000, freq='50L')) data.loc['2013-11-08 10:15:00.000':'2013-11-08 10:17:00.000'] ``` This outputs ``` u v w 2013-11-08 10:15:00.000 0.569030 0.850393 0.600106 2013-11-08 10:15:00.050 0.679713 0.933720 0.041018 2013-11-08 10:15:00.100 0.503491 0.142397 0.841705 2013-11-08 10:15:00.150 0.171248 0.545567 0.247094 2013-11-08 10:15:00.200 0.149745 0.149588 0.935516 2013-11-08 10:15:00.250 0.039780 0.097837 0.087254 ... ... ... ... 2013-11-08 10:17:00.700 0.001165 0.020971 0.197322 2013-11-08 10:17:00.750 0.003923 0.722930 0.312988 2013-11-08 10:17:00.800 0.941241 0.600529 0.479640 2013-11-08 10:17:00.850 0.272536 0.738084 0.486551 2013-11-08 10:17:00.900 0.060388 0.606207 0.359640 2013-11-08 10:17:00.950 0.464268 0.965543 0.699740 [2420 rows x 3 columns] ``` This is weird for me because I expected the last row to be `2013-11-08 10:17:00.000`, since that's the end-point I defined. Indeed when I define the endpoint as `datetime(2013,11,8,10,17,0,0)`, which should be identical, it works as I would expect: ``` In [13]: data.loc['2013-11-08 10:15:00.000':datetime(2013,11,8,10,17,0,0)] Out[13]: u v w 2013-11-08 10:15:00.000 0.569030 0.850393 0.600106 2013-11-08 10:15:00.050 0.679713 0.933720 0.041018 2013-11-08 10:15:00.100 0.503491 0.142397 0.841705 2013-11-08 10:15:00.150 0.171248 0.545567 0.247094 2013-11-08 10:15:00.200 0.149745 0.149588 0.935516 2013-11-08 10:15:00.250 0.039780 0.097837 0.087254 ... ... ... ... 2013-11-08 10:16:59.750 0.652168 0.606795 0.901583 2013-11-08 10:16:59.800 0.868184 0.249873 0.517637 2013-11-08 10:16:59.850 0.917543 0.303403 0.980257 2013-11-08 10:16:59.900 0.118191 0.032437 0.580734 2013-11-08 10:16:59.950 0.093644 0.017865 0.080326 2013-11-08 10:17:00.000 0.770234 0.310025 0.065127 [2401 rows x 3 columns] ``` I'm submitting this as a suggestion from an SO user because this seems like a bug. To complete: ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.12.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-21-generic 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.1 setuptools: 20.7.0 Cython: None numpy: 1.11.0 scipy: 0.17.0 statsmodels: None IPython: 2.4.1 sphinx: 1.4.5 patsy: None dateutil: 2.4.2 pytz: 2014.10 blosc: None bottleneck: None tables: None numexpr: 2.6.0 matplotlib: 1.5.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: 0.999 httplib2: 0.9.1 apiclient: None sqlalchemy: None pymysql: None psycopg2: None 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/13929/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13929/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13930
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13930/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13930/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13930/events
https://github.com/pandas-dev/pandas/pull/13930
169,824,003
MDExOlB1bGxSZXF1ZXN0ODAzODIyODM=
13,930
BUG: freqstr may be parsed incorrectly
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
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-08T00:06:47Z
2016-08-13T22:44:08Z
2016-08-13T22:44:01Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Invalid freq like below doesn'traise `ValueError` properly. The PR makes all the below raise. ``` pd.tseries.frequencies.to_offset('U1') # <Micro> pd.tseries.frequencies.to_offset('3U1') # <3 * Micros> pd.tseries.frequencies.to_offset('-33-22U') # <-22 * Micros> ```
{ "+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/13930/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13930/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13930.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13930", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13930.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13930" }
https://api.github.com/repos/pandas-dev/pandas/issues/13931
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13931/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13931/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13931/events
https://github.com/pandas-dev/pandas/issues/13931
169,926,343
MDU6SXNzdWUxNjk5MjYzNDM=
13,931
ERR: improved pd.Period date parsing and formatting
{ "avatar_url": "https://avatars.githubusercontent.com/u/3427745?v=4", "events_url": "https://api.github.com/users/smontanaro/events{/privacy}", "followers_url": "https://api.github.com/users/smontanaro/followers", "following_url": "https://api.github.com/users/smontanaro/following{/other_user}", "gists_url": "https://api.github.com/users/smontanaro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smontanaro", "id": 3427745, "login": "smontanaro", "node_id": "MDQ6VXNlcjM0Mjc3NDU=", "organizations_url": "https://api.github.com/users/smontanaro/orgs", "received_events_url": "https://api.github.com/users/smontanaro/received_events", "repos_url": "https://api.github.com/users/smontanaro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smontanaro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smontanaro/subscriptions", "type": "User", "url": "https://api.github.com/users/smontanaro" }
[ { "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": "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" } ]
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" }
9
2016-08-08T13:43:02Z
2020-05-11T02:12:08Z
null
NONE
null
It seems that pandas.Period has a few bugs w.r.t. date parsing and formatting, or at least poorly documented behavior. - The documentation makes no mention of the possible range of dates/years. - Formatting of years in strftime using the %Y format seems inconsistent. - Parsing of what is commonly assumed to be ISO-8601 dates seems wrong. #### Code Sample, a copy-pastable example if possible This seems reasonable, assuming American-centered times (m/d/y): `>>> pd.Period("1/2/3")` `Period('2003-01-02', 'D')` This seems wrong, as the common interpretation of dates using hyphens as separators is (in my experience), ISO-8601 (though, I will grant that not specifying the necessary leading zeroes makes the input suspect): `>>> pd.Period("1-2-3")` `Period('2003-01-02', 'D')` Hard to see how either of these is correct. I'm not sure quite what to expect for the first example, but the second example clearly reads like year=3, month=1, day=2 to me. Despite the presence or lack of leading zeroes, I would think when presented with a date containing hyphens as separators, %Y-%m-%d would be assumed. I also think that %Y, %m, and %d should also zero-pad their arguments to the correct widths (4, 2, 2, respectively). (The same could be said for other normally zero-padded timestamp fields.) `>>> pd.Period("01-02-0003")` `Period('3-01-02', 'D')` `>>> pd.Period("0003-01-02")` `Period('2-03-01', 'D')` `>>> pd.Period("0003-01-02").strftime("%Y")` `u'2'` Given that date formats differ so widely, to eliminate ambiguity perhaps the Period constructor should take an (optional keyword) argument which specifies a format string as understood by strptime(). It would clearly have to be extended somewhat to accommodate the quarter notation. #### output of `pd.show_versions()` commit: None python: 2.7.12.final.0 python-bits: 64 OS: Linux OS-release: 3.4.63-2.44-desktop machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: C pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24 numpy: 1.11.1 scipy: 0.17.1 statsmodels: 0.6.1 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.0 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
{ "+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/13931/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13931/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13932
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13932/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13932/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13932/events
https://github.com/pandas-dev/pandas/issues/13932
169,926,357
MDU6SXNzdWUxNjk5MjYzNTc=
13,932
CLN: resource warnings
{ "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": "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": "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" }, { "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-08-08T13:43:09Z
2016-08-11T10:37:50Z
2016-08-09T21:53:08Z
CONTRIBUTOR
null
https://travis-ci.org/pydata/pandas/jobs/150623749 so we have warnings enabled on the 3.5/dev build. Lots of resource warnings....
{ "+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/13932/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13932/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13933
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13933/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13933/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13933/events
https://github.com/pandas-dev/pandas/issues/13933
169,931,677
MDU6SXNzdWUxNjk5MzE2Nzc=
13,933
BUG: loffset isn't applied when using resample() with a TimedeltaIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/13247590?v=4", "events_url": "https://api.github.com/users/wcwagner/events{/privacy}", "followers_url": "https://api.github.com/users/wcwagner/followers", "following_url": "https://api.github.com/users/wcwagner/following{/other_user}", "gists_url": "https://api.github.com/users/wcwagner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wcwagner", "id": 13247590, "login": "wcwagner", "node_id": "MDQ6VXNlcjEzMjQ3NTkw", "organizations_url": "https://api.github.com/users/wcwagner/orgs", "received_events_url": "https://api.github.com/users/wcwagner/received_events", "repos_url": "https://api.github.com/users/wcwagner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wcwagner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wcwagner/subscriptions", "type": "User", "url": "https://api.github.com/users/wcwagner" }
[ { "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": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "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": 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-08-08T14:05:21Z
2016-08-08T14:22:31Z
2016-08-08T14:15:39Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ``` In [3]: from pandas import * In [4]: rng = timedelta_range(start='0s', periods=10, freq='s') In [5]: df = DataFrame({'A' : range(10)}, index=rng) In [6]: df.resample('2S', loffset='2h').count() Out[6]: A 00:00:00 2 00:00:02 2 00:00:04 2 00:00:06 2 00:00:08 2 ``` #### Expected Output ``` A 02:00:00 2 02:00:02 2 02:00:04 2 02:00:06 2 02:00:08 2 ``` #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: cff1f5595888becee0e58dedf014a12e8131b352 python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-21-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.18.1+327.gcff1f55 nose: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.18.0 statsmodels: None xarray: None IPython: 4.2.0 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: 3.2.3.1 numexpr: 2.6.1 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: None jinja2: None boto: None pandas_datareader: None ``` I'm working on #13218 and can't proceed with writing the tests due to this bug. I will try to see if I can fix it, but I'm not totally sure if I will be able to.
{ "+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/13933/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13933/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13934
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13934/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13934/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13934/events
https://github.com/pandas-dev/pandas/issues/13934
169,936,133
MDU6SXNzdWUxNjk5MzYxMzM=
13,934
Column reappears after drop() when working on a reference of that column
{ "avatar_url": "https://avatars.githubusercontent.com/u/11033881?v=4", "events_url": "https://api.github.com/users/Gunthard/events{/privacy}", "followers_url": "https://api.github.com/users/Gunthard/followers", "following_url": "https://api.github.com/users/Gunthard/following{/other_user}", "gists_url": "https://api.github.com/users/Gunthard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Gunthard", "id": 11033881, "login": "Gunthard", "node_id": "MDQ6VXNlcjExMDMzODgx", "organizations_url": "https://api.github.com/users/Gunthard/orgs", "received_events_url": "https://api.github.com/users/Gunthard/received_events", "repos_url": "https://api.github.com/users/Gunthard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Gunthard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Gunthard/subscriptions", "type": "User", "url": "https://api.github.com/users/Gunthard" }
[ { "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
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "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": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2016-08-08T14:25:13Z
2021-05-17T15:17:30Z
2021-05-17T15:17:30Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` python import pandas df = pandas.DataFrame() df['a'] = [1,2,3] a = df.a df.drop(['a'], axis=1, inplace=True) print df.columns a -= a.mean() print df.columns ``` #### Current Output ``` python Index([], dtype='object') Index([u'a'], dtype='object') ``` #### Expected Output ``` python Index([], dtype='object') Index([], dtype='object') ``` #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.19.0-65-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: de_DE.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 1.5.4 setuptools: 20.9.0 Cython: 0.23.4 numpy: 1.11.1 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 4.0.0 sphinx: 1.3.5 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: None numexpr: None matplotlib: 1.5.0 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: 0.999 httplib2: 0.8 apiclient: None sqlalchemy: 1.0.11 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.38.0 pandas_datareader: None
{ "+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/13934/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13934/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13935
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13935/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13935/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13935/events
https://github.com/pandas-dev/pandas/pull/13935
169,951,278
MDExOlB1bGxSZXF1ZXN0ODA0NzA4NjM=
13,935
BUG: Right result for DatetimeIndex + TimeDelta when timezone is set(…
{ "avatar_url": "https://avatars.githubusercontent.com/u/20844595?v=4", "events_url": "https://api.github.com/users/conquistador1492/events{/privacy}", "followers_url": "https://api.github.com/users/conquistador1492/followers", "following_url": "https://api.github.com/users/conquistador1492/following{/other_user}", "gists_url": "https://api.github.com/users/conquistador1492/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/conquistador1492", "id": 20844595, "login": "conquistador1492", "node_id": "MDQ6VXNlcjIwODQ0NTk1", "organizations_url": "https://api.github.com/users/conquistador1492/orgs", "received_events_url": "https://api.github.com/users/conquistador1492/received_events", "repos_url": "https://api.github.com/users/conquistador1492/repos", "site_admin": false, "starred_url": "https://api.github.com/users/conquistador1492/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/conquistador1492/subscriptions", "type": "User", "url": "https://api.github.com/users/conquistador1492" }
[ { "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" }, { "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
[]
null
8
2016-08-08T15:27:52Z
2016-12-30T23:13:50Z
2016-12-30T21:46:00Z
CONTRIBUTOR
null
- [x] closes #13905 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry …#13905)
{ "+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/13935/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13935/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13935.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13935", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13935.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13935" }
https://api.github.com/repos/pandas-dev/pandas/issues/13936
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13936/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13936/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13936/events
https://github.com/pandas-dev/pandas/issues/13936
169,953,173
MDU6SXNzdWUxNjk5NTMxNzM=
13,936
Expand type specializations and multiple "by" parameters in merge_asof()
{ "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": "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": "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": "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" }
7
2016-08-08T15:35:12Z
2016-12-16T23:10:34Z
2016-12-16T23:10:34Z
CONTRIBUTOR
null
`pd.merge_asof()` can take an integer or floating-point number in the `on` parameter, and it can take an integer or an object in the `by` parameter. Specifically, the user's types are promoted to `int64_t`, `double`, or `object` as needed. That means, for example, that an `int32_t` is permitted, but we'll have to create a copy of the user's column to promote to `int64_t`. This brings a question of whether we should add type specializations for every integer and floating-point number for better performance. A second issue to consider is that only one column is permitted in the `by` parameter. But the user may wish to match on both ticker symbol and stock exchange, for example. To allow for this, the implementation logic would need to allow arrays of objects/integers for our grouping.
{ "+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/13936/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13936/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13937
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13937/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13937/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13937/events
https://github.com/pandas-dev/pandas/issues/13937
169,955,586
MDU6SXNzdWUxNjk5NTU1ODY=
13,937
BUG: DataFrame.to_records() bug in converting datetime64 index with timezone
{ "avatar_url": "https://avatars.githubusercontent.com/u/7248239?v=4", "events_url": "https://api.github.com/users/johngu/events{/privacy}", "followers_url": "https://api.github.com/users/johngu/followers", "following_url": "https://api.github.com/users/johngu/following{/other_user}", "gists_url": "https://api.github.com/users/johngu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johngu", "id": 7248239, "login": "johngu", "node_id": "MDQ6VXNlcjcyNDgyMzk=", "organizations_url": "https://api.github.com/users/johngu/orgs", "received_events_url": "https://api.github.com/users/johngu/received_events", "repos_url": "https://api.github.com/users/johngu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johngu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johngu/subscriptions", "type": "User", "url": "https://api.github.com/users/johngu" }
[ { "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": "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": "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": "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-08T15:45:10Z
2017-03-02T13:45:02Z
2017-03-02T13:44:58Z
NONE
null
#### Fix in to_records(), use pandas.core.common.is_datetime64_any_dtype instead of pandas.core.common.is_datetime64_dtype to check to see if the index is in fact of the datetime64 type. #### Code Sample, a copy-pastable example if possible ``` import datetime import pandas as pd import pytz data = [datetime.datetime.now(pytz.timezone('UTC')) for _ in range(10)] df = pd.DataFrame({'datetime': data}) df.set_index('datetime', inplace=True) df.to_records() ``` #### Expected Output data #### output of `pd.show_versions()` ## 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_US.UTF-8 pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 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 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/13937/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13937/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13938
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13938/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13938/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13938/events
https://github.com/pandas-dev/pandas/pull/13938
169,957,884
MDExOlB1bGxSZXF1ZXN0ODA0NzU0NTk=
13,938
DOC: Added example of using OrderedDict for agg.
{ "avatar_url": "https://avatars.githubusercontent.com/u/606089?v=4", "events_url": "https://api.github.com/users/bkandel/events{/privacy}", "followers_url": "https://api.github.com/users/bkandel/followers", "following_url": "https://api.github.com/users/bkandel/following{/other_user}", "gists_url": "https://api.github.com/users/bkandel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bkandel", "id": 606089, "login": "bkandel", "node_id": "MDQ6VXNlcjYwNjA4OQ==", "organizations_url": "https://api.github.com/users/bkandel/orgs", "received_events_url": "https://api.github.com/users/bkandel/received_events", "repos_url": "https://api.github.com/users/bkandel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bkandel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bkandel/subscriptions", "type": "User", "url": "https://api.github.com/users/bkandel" }
[ { "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" } ]
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-08T15:53:41Z
2016-08-08T16:10:54Z
2016-08-08T16:10:54Z
CONTRIBUTOR
null
- closes #12879 - [ ] tests added / passed (doc only), but builds on my machine - passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry (doc only)
{ "+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/13938/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13938/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13938.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13938", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13938.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13938" }
https://api.github.com/repos/pandas-dev/pandas/issues/13939
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13939/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13939/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13939/events
https://github.com/pandas-dev/pandas/issues/13939
169,976,756
MDU6SXNzdWUxNjk5NzY3NTY=
13,939
Reading SAS files from AWS S3
{ "avatar_url": "https://avatars.githubusercontent.com/u/676522?v=4", "events_url": "https://api.github.com/users/ankitdhingra/events{/privacy}", "followers_url": "https://api.github.com/users/ankitdhingra/followers", "following_url": "https://api.github.com/users/ankitdhingra/following{/other_user}", "gists_url": "https://api.github.com/users/ankitdhingra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ankitdhingra", "id": 676522, "login": "ankitdhingra", "node_id": "MDQ6VXNlcjY3NjUyMg==", "organizations_url": "https://api.github.com/users/ankitdhingra/orgs", "received_events_url": "https://api.github.com/users/ankitdhingra/received_events", "repos_url": "https://api.github.com/users/ankitdhingra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ankitdhingra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ankitdhingra/subscriptions", "type": "User", "url": "https://api.github.com/users/ankitdhingra" }
[ { "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": "e4a5f1", "default": false, "description": "Local or Cloud (AWS, GCS, etc.) IO Issues", "id": 49381477, "name": "IO Network", "node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network" }, { "color": "5319e7", "default": false, "description": "SAS: read_sas", "id": 258745163, "name": "IO SAS", "node_id": "MDU6TGFiZWwyNTg3NDUxNjM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SAS" } ]
open
false
null
[]
null
6
2016-08-08T17:19:10Z
2019-12-11T22:06:12Z
null
NONE
null
Currently the `read_sas` method doesn't support reading SAS7BDAT files from AWS S3 like `read_csv`. Can it be added?
{ "+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/13939/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13939/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13940
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13940/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13940/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13940/events
https://github.com/pandas-dev/pandas/pull/13940
170,032,620
MDExOlB1bGxSZXF1ZXN0ODA1MjcyMDg=
13,940
BUG: properly close files opened by parsers
{ "avatar_url": "https://avatars.githubusercontent.com/u/7795093?v=4", "events_url": "https://api.github.com/users/agraboso/events{/privacy}", "followers_url": "https://api.github.com/users/agraboso/followers", "following_url": "https://api.github.com/users/agraboso/following{/other_user}", "gists_url": "https://api.github.com/users/agraboso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agraboso", "id": 7795093, "login": "agraboso", "node_id": "MDQ6VXNlcjc3OTUwOTM=", "organizations_url": "https://api.github.com/users/agraboso/orgs", "received_events_url": "https://api.github.com/users/agraboso/received_events", "repos_url": "https://api.github.com/users/agraboso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agraboso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agraboso/subscriptions", "type": "User", "url": "https://api.github.com/users/agraboso" }
[ { "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": "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" }, { "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" }
9
2016-08-08T21:42:25Z
2016-08-11T10:37:42Z
2016-08-11T10:34:41Z
CONTRIBUTOR
null
- [x] closes #13932 - [x] tests passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Addresses all ~~most~~ of the `ResourceWarning`s from #13932. There were three tests that opened files but did not close them. The rest were due to parsers (`CParserWrapper` and `PythonParser`) opening files or streams but never closing them. There was one case &mdash; the `mmap` one &mdash; that was tricky because there was a file handle going into it and immediately reaching a refcount of zero. I am at a loss about writing new tests for this. Is it even possible?
{ "+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/13940/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13940/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13940.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13940", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13940.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13940" }
https://api.github.com/repos/pandas-dev/pandas/issues/13941
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13941/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13941/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13941/events
https://github.com/pandas-dev/pandas/pull/13941
170,038,463
MDExOlB1bGxSZXF1ZXN0ODA1MzEzMjg=
13,941
ENH: PeriodIndex now has period dtype
{ "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": "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": "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": "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" }
14
2016-08-08T22:14:19Z
2016-08-17T23:07:22Z
2016-08-17T22:18:51Z
MEMBER
null
- [x] split from #13755. - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry splitted `dtype` related part from #13755, to clarify the differences related to `PeriodIndex`
{ "+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/13941/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13941/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13941.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13941", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13941.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13941" }
https://api.github.com/repos/pandas-dev/pandas/issues/13942
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13942/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13942/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13942/events
https://github.com/pandas-dev/pandas/pull/13942
170,051,340
MDExOlB1bGxSZXF1ZXN0ODA1NDA1Mjk=
13,942
BLD: Fix sparse warnings
{ "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": "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": "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": "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-08T23:44:42Z
2016-08-09T21:31:41Z
2016-08-09T21:31:09Z
MEMBER
null
- [x] split from #13849 (comment) - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` Because sparse `IntIndex` and `BlockIndex` store value locations as `int32`, its size / block numbers can't exceed `int32` also. warnings has been disappeared in appveyor. - https://ci.appveyor.com/project/sinhrks/pandas-2dhxb/build/1.0.669/job/2s24fpuxk3d2nrvq
{ "+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/13942/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13942/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13942.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13942", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13942.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13942" }
https://api.github.com/repos/pandas-dev/pandas/issues/13943
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13943/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13943/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13943/events
https://github.com/pandas-dev/pandas/pull/13943
170,063,873
MDExOlB1bGxSZXF1ZXN0ODA1NDkzODE=
13,943
TST: Removed regex warning for 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": "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-08-09T01:44:10Z
2016-08-09T21:53:08Z
2016-08-09T21:53:08Z
MEMBER
null
Follow-up to #13481 and partially fixes #13932. Regex mistakenly matches to the empty string, which will cause Python 3.x to issue a warning. In addition, not sure why this test was placed in `python_parsers_only.py`...
{ "+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/13943/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13943/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13943.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13943", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13943.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13943" }
https://api.github.com/repos/pandas-dev/pandas/issues/13944
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13944/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13944/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13944/events
https://github.com/pandas-dev/pandas/pull/13944
170,071,871
MDExOlB1bGxSZXF1ZXN0ODA1NTQ5Mjc=
13,944
DOC: Design drafts to assist with next-gen pandas internals discussion
{ "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" }
[ { "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": "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": "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": 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" }
23
2016-08-09T03:07:06Z
2016-08-24T03:45:31Z
2016-08-24T03:45:31Z
MEMBER
null
Sprinted on my accumulated design ideas. There's more to do, but I'm going to take a break for a bit. I published this as a sphinx site temporarily to https://wesm.github.io/pandas2-design/ so it's easier to read. This needs to be a team effort, so depending on where the discussions go perhaps we can build a set of documents that we can make PRs to and discuss specific matters either in GitHub issues or on the mailing list. Let me know what everybody thinks!
{ "+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/13944/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13944/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13944.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13944", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13944.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13944" }
https://api.github.com/repos/pandas-dev/pandas/issues/13945
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13945/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13945/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13945/events
https://github.com/pandas-dev/pandas/issues/13945
170,086,247
MDU6SXNzdWUxNzAwODYyNDc=
13,945
Msgpack roundtrips python 3 strings to bytes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1914111?v=4", "events_url": "https://api.github.com/users/alanhdu/events{/privacy}", "followers_url": "https://api.github.com/users/alanhdu/followers", "following_url": "https://api.github.com/users/alanhdu/following{/other_user}", "gists_url": "https://api.github.com/users/alanhdu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alanhdu", "id": 1914111, "login": "alanhdu", "node_id": "MDQ6VXNlcjE5MTQxMTE=", "organizations_url": "https://api.github.com/users/alanhdu/orgs", "received_events_url": "https://api.github.com/users/alanhdu/received_events", "repos_url": "https://api.github.com/users/alanhdu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alanhdu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alanhdu/subscriptions", "type": "User", "url": "https://api.github.com/users/alanhdu" }
[ { "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" }
4
2016-08-09T05:39:58Z
2016-08-09T11:44:52Z
2016-08-09T10:06:07Z
CONTRIBUTOR
null
Possibly related to https://github.com/pydata/pandas/issues/13591. Causes https://github.com/dask/dask/issues/1452 #### Code Sample, a copy-pastable example if possible ``` Python import pandas as pd pd.msgpack.unpackb(pd.msgpack.packb("a")) ``` #### Expected Output ``` "a" ``` instead, we get ``` b"a" ``` #### 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-31-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: None numpy: 1.11.1 scipy: None statsmodels: None xarray: None IPython: 5.0.0 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: 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/13945/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13945/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13946
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13946/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13946/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13946/events
https://github.com/pandas-dev/pandas/issues/13946
170,135,250
MDU6SXNzdWUxNzAxMzUyNTA=
13,946
pd.read_clipboard in Jupyter makes python 3.5 crash on windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/5479063?v=4", "events_url": "https://api.github.com/users/jmarrec/events{/privacy}", "followers_url": "https://api.github.com/users/jmarrec/followers", "following_url": "https://api.github.com/users/jmarrec/following{/other_user}", "gists_url": "https://api.github.com/users/jmarrec/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmarrec", "id": 5479063, "login": "jmarrec", "node_id": "MDQ6VXNlcjU0NzkwNjM=", "organizations_url": "https://api.github.com/users/jmarrec/orgs", "received_events_url": "https://api.github.com/users/jmarrec/received_events", "repos_url": "https://api.github.com/users/jmarrec/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmarrec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmarrec/subscriptions", "type": "User", "url": "https://api.github.com/users/jmarrec" }
[ { "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
[]
null
10
2016-08-09T10:40:27Z
2016-11-15T01:21:57Z
2016-08-09T11:10:32Z
CONTRIBUTOR
null
Disclaimer: I'm not quite sure if the problem is really on pandas' side or on jupyter's. I have seen #4561 but this isn't the same problem. #### Code Sample, a copy-pastable example if possible Given the following code: ``` import pandas as pd pd.read_clipboard() ``` If I use it in a python file, it works fine. If I use ipython in cmd.exe, it works fine. Now if I use it in a Jupyter notebook, it consistently makes my kernel die. #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 3.5.2.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: 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.0.0 sphinx: 1.3.1 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None 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.1 bs4: 4.4.1 html5lib: 0.9999999 httplib2: None apiclient: None sqlalchemy: 1.0.13 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.40.0 pandas_datareader: 0.2.1 ##### Jupyter info: jupyter 1.0.0 py35_3 jupyter_client 4.3.0 py35_0 jupyter_console 5.0.0 py35_0 jupyter_core 4.1.0 py35_0 ipython 5.0.0 py35_0 ipython-notebook 4.0.4 py35_3 ipython-qtconsole 4.0.1 py35_4 ipython_genutils 0.1.0 py35_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/13946/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13946/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13947
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13947/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13947/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13947/events
https://github.com/pandas-dev/pandas/issues/13947
170,150,362
MDU6SXNzdWUxNzAxNTAzNjI=
13,947
Unified common dtype discovery
{ "avatar_url": "https://avatars.githubusercontent.com/u/8071628?v=4", "events_url": "https://api.github.com/users/sstanovnik/events{/privacy}", "followers_url": "https://api.github.com/users/sstanovnik/followers", "following_url": "https://api.github.com/users/sstanovnik/following{/other_user}", "gists_url": "https://api.github.com/users/sstanovnik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sstanovnik", "id": 8071628, "login": "sstanovnik", "node_id": "MDQ6VXNlcjgwNzE2Mjg=", "organizations_url": "https://api.github.com/users/sstanovnik/orgs", "received_events_url": "https://api.github.com/users/sstanovnik/received_events", "repos_url": "https://api.github.com/users/sstanovnik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sstanovnik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sstanovnik/subscriptions", "type": "User", "url": "https://api.github.com/users/sstanovnik" }
[ { "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": "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-09T12:10:33Z
2016-08-12T15:44:55Z
2016-08-12T15:44:54Z
CONTRIBUTOR
null
Common dtype discovery (like `np.find_common_type`) should be unified into an internal function, with proper handling of `pandas` dtypes. As of #13917, there are two such implementations: 1. `pandas/types/common.py:_lcd_dtypes`, which works on `numpy` dtypes only, but differently than `np.find_common_type`. 2. `pandas/types/cast.py:_find_common_type`, which just uses `np.find_common_type` internally. Exchanging the first one with the second (which is, judging by the code, more proper), breaks some tests. Proposed tasks: - [ ] Convert usages of `_lcd_dtypes` into `_find_common_types`. - [ ] Extend `_find_common_types` to properly evaluate `pandas` dtypes. Occurences of `_lcd_dtypes`, the one in `internals.py` is removed by #13917: ``` [jreback-~/pandas] grin _lcd_dtype pandas pandas/core/frame.py: 47 : _lcd_dtypes, 3705 : new_dtype = _lcd_dtypes(this_dtype, other_dtype) pandas/core/internals.py: 4438 : def _lcd_dtype(l): 4473 : lcd = _lcd_dtype(counts[IntBlock]) 4489 : return _lcd_dtype(counts[FloatBlock] + counts[SparseBlock]) pandas/types/common.py: 389 : def _lcd_dtypes(a_dtype, b_dtype): ```
{ "+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/13947/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13947/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13948
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13948/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13948/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13948/events
https://github.com/pandas-dev/pandas/issues/13948
170,171,784
MDU6SXNzdWUxNzAxNzE3ODQ=
13,948
Allow different comment characters in one file
{ "avatar_url": "https://avatars.githubusercontent.com/u/511950?v=4", "events_url": "https://api.github.com/users/FilipDominec/events{/privacy}", "followers_url": "https://api.github.com/users/FilipDominec/followers", "following_url": "https://api.github.com/users/FilipDominec/following{/other_user}", "gists_url": "https://api.github.com/users/FilipDominec/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/FilipDominec", "id": 511950, "login": "FilipDominec", "node_id": "MDQ6VXNlcjUxMTk1MA==", "organizations_url": "https://api.github.com/users/FilipDominec/orgs", "received_events_url": "https://api.github.com/users/FilipDominec/received_events", "repos_url": "https://api.github.com/users/FilipDominec/repos", "site_admin": false, "starred_url": "https://api.github.com/users/FilipDominec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FilipDominec/subscriptions", "type": "User", "url": "https://api.github.com/users/FilipDominec" }
[ { "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": "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" }
7
2016-08-09T13:52:38Z
2021-07-08T19:22:40Z
null
NONE
null
Unfortunately, I need to work with files containing both `#comments` and `!warnings` aside of useful numbers. Thus, it would be very convenient to load them (in pandas 0.17.1) using `df = pd.read_csv(inputfile, comment='#!')` however, this command now allows one comment-identifying character at most, so I need to parse the lines manually and save them into a temporary file first. I guess it would involve rather a minor change to _search_replace_num_columns() in [parsers.py](https://github.com/pydata/pandas/blob/a292c13a7f831145f3daac9881813aeb7ff08138/pandas/io/parsers.py#L2329) and perhaps somewhere in [parser.pyx](https://github.com/pydata/pandas/blob/a292c13a7f831145f3daac9881813aeb7ff08138/pandas/parser.pyx). Before I write a patch, I would like to read your opinion.
{ "+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/13948/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13948/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13949
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13949/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13949/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13949/events
https://github.com/pandas-dev/pandas/pull/13949
170,172,555
MDExOlB1bGxSZXF1ZXN0ODA2MjQ2OTA=
13,949
ENH: Improve error message for repeated Stata categories
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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_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" }
2
2016-08-09T13:55:44Z
2016-08-10T22:37:58Z
2016-08-10T22:37:45Z
CONTRIBUTOR
null
- [x] closes #13923 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Improve the error message to be more explicit when attempting to read Stata files containing repeated categories. closes #13923
{ "+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/13949/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13949/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13949.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13949", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13949.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13949" }
https://api.github.com/repos/pandas-dev/pandas/issues/13950
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13950/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13950/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13950/events
https://github.com/pandas-dev/pandas/issues/13950
170,175,014
MDU6SXNzdWUxNzAxNzUwMTQ=
13,950
DOC: more documentation that pandas by-default aligns when setting
{ "avatar_url": "https://avatars.githubusercontent.com/u/4025968?v=4", "events_url": "https://api.github.com/users/IamGianluca/events{/privacy}", "followers_url": "https://api.github.com/users/IamGianluca/followers", "following_url": "https://api.github.com/users/IamGianluca/following{/other_user}", "gists_url": "https://api.github.com/users/IamGianluca/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/IamGianluca", "id": 4025968, "login": "IamGianluca", "node_id": "MDQ6VXNlcjQwMjU5Njg=", "organizations_url": "https://api.github.com/users/IamGianluca/orgs", "received_events_url": "https://api.github.com/users/IamGianluca/received_events", "repos_url": "https://api.github.com/users/IamGianluca/repos", "site_admin": false, "starred_url": "https://api.github.com/users/IamGianluca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/IamGianluca/subscriptions", "type": "User", "url": "https://api.github.com/users/IamGianluca" }
[ { "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": "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": "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" } ]
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-08-09T14:05:39Z
2021-08-23T04:03:20Z
null
CONTRIBUTOR
null
Hi, I'm not sure this is a bug but the behaviour is far from intuitive. I'm trying to assign the values of a slice of a `DataFrame` into another slice (of same size) of the same `DataFrame`. ``` In [1]: import pandas as pd In [2]: import numpy as np In [3]: a = pd.DataFrame({"a": [1, 2, 3, 4, 5], "b": [6, 7, 8, 9, 10]}) In [4]: a Out[4]: a b 0 1 6 1 2 7 2 3 8 3 4 9 4 5 10 In [5]: a.iloc[0:2,:] = a.iloc[3:5, :] In [6]: a Out[6]: a b 0 NaN NaN 1 NaN NaN 2 3.0 8.0 3 4.0 9.0 4 5.0 10.0 ``` Specifically, in the current implementation the data type is not preserved (`int` to `float`) and the value copied are `np.NaN` instead of the correct values. The expected output can be obtained using this counter-intuitive command: ``` In [1]: import pandas as pd In [2]: import numpy as np In [3]: a = pd.DataFrame({"a": [1, 2, 3, 4, 5], "b": [6, 7, 8, 9, 10]}) In [4]: a.iloc[0:2,:] = (np.array(a.iloc[3:5, :])).astype(int) In [5]: a Out[5]: a b 0 4 9 1 5 10 2 3 8 3 4 9 4 5 10 ``` This is the environment I'm working on: ``` pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-31-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: 24.0.2 Cython: None numpy: 1.11.1 scipy: 0.17.1 statsmodels: None xarray: None IPython: 5.0.0 sphinx: 1.4.5 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 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: 1.1.0b2 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/13950/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13950/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13951
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13951/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13951/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13951/events
https://github.com/pandas-dev/pandas/pull/13951
170,218,948
MDExOlB1bGxSZXF1ZXN0ODA2NTc0MTI=
13,951
DOC: NDFrame.to_hdf(data_columns) documented (#13061).
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "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-09T17:03:01Z
2016-08-19T10:50:01Z
2016-08-19T10:49:54Z
CONTRIBUTOR
null
- [x] closes #13061 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry I'm aware there's another PR for the same issue, but it hasn't had activity in a while so this is my attempt. I took the opportunity to remove the unusable "mode=r" option from the same docstring, and make the title clearer.
{ "+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/13951/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13951/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13951.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13951", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13951.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13951" }
https://api.github.com/repos/pandas-dev/pandas/issues/13952
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13952/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13952/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13952/events
https://github.com/pandas-dev/pandas/issues/13952
170,255,199
MDU6SXNzdWUxNzAyNTUxOTk=
13,952
DataFrame sum method for all NAs does not return NA
{ "avatar_url": "https://avatars.githubusercontent.com/u/15443994?v=4", "events_url": "https://api.github.com/users/jarekszymczak/events{/privacy}", "followers_url": "https://api.github.com/users/jarekszymczak/followers", "following_url": "https://api.github.com/users/jarekszymczak/following{/other_user}", "gists_url": "https://api.github.com/users/jarekszymczak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jarekszymczak", "id": 15443994, "login": "jarekszymczak", "node_id": "MDQ6VXNlcjE1NDQzOTk0", "organizations_url": "https://api.github.com/users/jarekszymczak/orgs", "received_events_url": "https://api.github.com/users/jarekszymczak/received_events", "repos_url": "https://api.github.com/users/jarekszymczak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jarekszymczak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jarekszymczak/subscriptions", "type": "User", "url": "https://api.github.com/users/jarekszymczak" }
[ { "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" }, { "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-08-09T19:53:00Z
2016-08-09T20:03:18Z
2016-08-09T20:02:58Z
NONE
null
Output of code: `pd.DataFrame([[np.NaN, np.NaN], [np.NaN, np.NaN]]).sum(skipna=True)` is: ``` 0 0.0 1 0.0 dtype: float64 ``` What in my opinion contradicts what is written in documentation (and what by the way is more intuitve outcome): > Exclude NA/null values. If an entire row/column is NA, the result will be NA #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.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: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24 numpy: 1.11.1 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: 1.3.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.0 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: 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/13952/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13952/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13953
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13953/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13953/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13953/events
https://github.com/pandas-dev/pandas/pull/13953
170,383,141
MDExOlB1bGxSZXF1ZXN0ODA3Njk1NDc=
13,953
DOC: add whatsnew for #11920
{ "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" }, { "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": "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-10T10:22:03Z
2016-08-10T12:27:14Z
2016-08-10T12:27:13Z
MEMBER
null
#11920 (forgot to add to commit when merging)
{ "+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/13953/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13953/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13953.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13953", "merged_at": "2016-08-10T12:27:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13953.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13953" }
https://api.github.com/repos/pandas-dev/pandas/issues/13954
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13954/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13954/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13954/events
https://github.com/pandas-dev/pandas/pull/13954
170,387,624
MDExOlB1bGxSZXF1ZXN0ODA3NzI4MDE=
13,954
DOC: remove rplot seaborn equivalent example figures
{ "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-10T10:47:29Z
2016-08-10T14:16:10Z
2016-08-10T14:16:10Z
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/13954/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13954/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13954.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13954", "merged_at": "2016-08-10T14:16:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13954.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13954" }
https://api.github.com/repos/pandas-dev/pandas/issues/13955
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13955/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13955/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13955/events
https://github.com/pandas-dev/pandas/pull/13955
170,394,225
MDExOlB1bGxSZXF1ZXN0ODA3Nzc0OTg=
13,955
CLN: Period cleanup related to array like meth
{ "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": "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" }, { "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" }
2
2016-08-10T11:26:06Z
2016-08-10T22:12:48Z
2016-08-10T22:12:48Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` removed unused / duplicated internal method returning array-likes. Also added some tests to guarantee existing API before fixing its dtype (see #13941).
{ "+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/13955/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13955/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13955.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13955", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13955.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13955" }
https://api.github.com/repos/pandas-dev/pandas/issues/13956
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13956/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13956/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13956/events
https://github.com/pandas-dev/pandas/issues/13956
170,409,666
MDU6SXNzdWUxNzA0MDk2NjY=
13,956
tz_localize, conversion from dst-affected timezone on sorted index
{ "avatar_url": "https://avatars.githubusercontent.com/u/789385?v=4", "events_url": "https://api.github.com/users/liori/events{/privacy}", "followers_url": "https://api.github.com/users/liori/followers", "following_url": "https://api.github.com/users/liori/following{/other_user}", "gists_url": "https://api.github.com/users/liori/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/liori", "id": 789385, "login": "liori", "node_id": "MDQ6VXNlcjc4OTM4NQ==", "organizations_url": "https://api.github.com/users/liori/orgs", "received_events_url": "https://api.github.com/users/liori/received_events", "repos_url": "https://api.github.com/users/liori/repos", "site_admin": false, "starred_url": "https://api.github.com/users/liori/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liori/subscriptions", "type": "User", "url": "https://api.github.com/users/liori" }
[ { "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": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
null
8
2016-08-10T12:53:51Z
2019-07-01T16:42:52Z
2019-07-01T16:42:52Z
NONE
null
Polish government provides [data on power demand](http://www.pse.pl/index.php?dzid=78) with local timestamps. DST switches are unfortunately not accounted for, so some timestamps are duplicated. Thankfully, the differences aren't big to matter in some applications, but it seems the way these timestamps are provided in the file do not work with `tz_localize`, which seems to be the tool to fix this problem. #### Code Sample ``` from pandas import Series, Timestamp Series([14603.9, 14559.700000000001, 14239.0, 14371.0, 13914.5, 14427.200000000001, 14300.5, 14267.5, 14162.200000000001, 14148.5, 14028.1, 14083.1, 14122.9], index=[Timestamp('2015-10-25 01:30:00'), Timestamp('2015-10-25 01:45:00'), Timestamp('2015-10-25 02:00:00'), Timestamp('2015-10-25 02:00:00'), Timestamp('2015-10-25 02:15:00'), Timestamp('2015-10-25 02:15:00'), Timestamp('2015-10-25 02:30:00'), Timestamp('2015-10-25 02:30:00'), Timestamp('2015-10-25 02:45:00'), Timestamp('2015-10-25 02:45:00'), Timestamp('2015-10-25 03:00:00'), Timestamp('2015-10-25 03:15:00'), Timestamp('2015-10-25 03:30:00')]).tz_localize('Europe/Warsaw', ambiguous='infer') ``` #### Current Output ``` […] pandas/tslib.pyx in pandas.tslib.tz_localize_to_utc (pandas/tslib.c:69085)() AmbiguousTimeError: There are 4 dst switches when there should only be 1. ``` #### Expected Output Obviously, we don't know what should be the exact result. My understanding of `ambiguous='infer'` is that at this point, I'm just letting `pandas` find some timezone assignment that is not totally wrong, because in some applications this will still be better than NaT. For example: ``` 2015-10-25 01:30:00+02:00 14603.9 2015-10-25 01:45:00+02:00 14559.7 2015-10-25 02:00:00+02:00 14239.0 2015-10-25 02:00:00+01:00 14371.0 2015-10-25 02:15:00+02:00 13914.5 2015-10-25 02:15:00+01:00 14427.2 2015-10-25 02:30:00+02:00 14300.5 2015-10-25 02:30:00+01:00 14267.5 2015-10-25 02:45:00+02:00 14162.2 2015-10-25 02:45:00+01:00 14148.5 2015-10-25 03:00:00+01:00 14028.1 2015-10-25 03:15:00+01:00 14083.1 2015-10-25 03:30:00+01:00 14122.9 dtype: float64 ``` #### output of `pd.show_versions()` ``` In [4]: pandas.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.9.final.0 python-bits: 64 OS: Linux OS-release: 4.6.0-0.bpo.1-amd64 machine: x86_64 processor: byteorder: little LC_ALL: None LANG: en_US.utf8 pandas: 0.18.1 nose: None pip: 1.5.6 setuptools: 24.0.3 Cython: 0.24.1 numpy: 1.11.1 scipy: 0.17.1 statsmodels: None xarray: None IPython: 5.0.0 sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.6.1 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: 0.999 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/13956/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13956/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13957
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13957/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13957/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13957/events
https://github.com/pandas-dev/pandas/issues/13957
170,412,179
MDU6SXNzdWUxNzA0MTIxNzk=
13,957
DataFrame.update() changes type of boolean column to Object.
{ "avatar_url": "https://avatars.githubusercontent.com/u/10167353?v=4", "events_url": "https://api.github.com/users/Sereger13/events{/privacy}", "followers_url": "https://api.github.com/users/Sereger13/followers", "following_url": "https://api.github.com/users/Sereger13/following{/other_user}", "gists_url": "https://api.github.com/users/Sereger13/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Sereger13", "id": 10167353, "login": "Sereger13", "node_id": "MDQ6VXNlcjEwMTY3MzUz", "organizations_url": "https://api.github.com/users/Sereger13/orgs", "received_events_url": "https://api.github.com/users/Sereger13/received_events", "repos_url": "https://api.github.com/users/Sereger13/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Sereger13/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sereger13/subscriptions", "type": "User", "url": "https://api.github.com/users/Sereger13" }
[ { "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": "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" }
2
2016-08-10T13:06:14Z
2016-08-10T22:16:41Z
2016-08-10T22:16:26Z
NONE
null
After applying DataFrame.update() on a DataFrame that has boolean column the type of that column changes to Object and filtering stops working as negate operator (~) produces '-1' series instead of 'True'. #### Code Sample, a copy-pastable example if possible ``` python df = pd.DataFrame({'a': [1, 2, 3], 'b': ['notset'] * 3, 'c': [False] * 3}) df.set_index('a', inplace=True) df_update_from = pd.DataFrame({'a': [2, 3], 'b': ['updated2', 'updated3'], 'c': [False, False]}) df_update_from.set_index('a', inplace=True) df.update(df_update_from) ~df.c ``` #### Expected Output > a > 1 True > 2 True > 3 True > Name: c, dtype: bool ### Actual Output > a > 1 -1 > 2 -1 > 3 -1 > Name: c, dtype: object #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: None python: 2.7.9.final.0 python-bits: 64 OS: Linux OS-release: 2.6.18-238.9.1.el5 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US pandas: 0.16.2 nose: 1.3.4 Cython: 0.22 numpy: 1.9.2 scipy: 0.15.1 statsmodels: 0.6.1 IPython: 3.0.0 sphinx: 1.3.1 patsy: 0.3.0 dateutil: 2.4.1 pytz: 2016.3 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.4.3 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: 0.6.7 lxml: 3.4.2 bs4: 4.3.2 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.9 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/13957/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13957/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13958
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13958/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13958/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13958/events
https://github.com/pandas-dev/pandas/issues/13958
170,435,818
MDU6SXNzdWUxNzA0MzU4MTg=
13,958
newey west weight is always 0
{ "avatar_url": "https://avatars.githubusercontent.com/u/6405424?v=4", "events_url": "https://api.github.com/users/ZZWENG/events{/privacy}", "followers_url": "https://api.github.com/users/ZZWENG/followers", "following_url": "https://api.github.com/users/ZZWENG/following{/other_user}", "gists_url": "https://api.github.com/users/ZZWENG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ZZWENG", "id": 6405424, "login": "ZZWENG", "node_id": "MDQ6VXNlcjY0MDU0MjQ=", "organizations_url": "https://api.github.com/users/ZZWENG/orgs", "received_events_url": "https://api.github.com/users/ZZWENG/received_events", "repos_url": "https://api.github.com/users/ZZWENG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ZZWENG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZZWENG/subscriptions", "type": "User", "url": "https://api.github.com/users/ZZWENG" }
[]
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-08-10T14:47:06Z
2016-08-10T22:42:19Z
2016-08-10T18:27:35Z
NONE
null
In the `newey_west` function in `pandas.stats.math`, the weight variable is always gonna be 0, since max_lags and lag are both integers and lag < max_lags+1. So the newey-west lag has no effect on the Xeps. Is that right? ``` Xeps = np.dot(m.T, m) for lag in range(1, max_lags + 1): auto_cov = np.dot(m[:-lag].T, m[lag:]) weight = lag / (max_lags + 1) if nw_overlap: weight = 0 bb = auto_cov + auto_cov.T dd = (1 - weight) * bb Xeps += dd Xeps *= nobs / (nobs - df) ```
{ "+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/13958/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13958/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13959
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13959/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13959/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13959/events
https://github.com/pandas-dev/pandas/issues/13959
170,516,314
MDU6SXNzdWUxNzA1MTYzMTQ=
13,959
kdb-like window join for pandas
{ "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": "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": "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
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" }
7
2016-08-10T20:54:04Z
2021-05-01T23:13:47Z
null
CONTRIBUTOR
null
I would like a time-based aggregating function that also acts as a join: http://code.kx.com/wiki/Reference/wj In pandas, this might look something like: ``` ms = pd.Timedelta(1, 'ms') merge_window(df1, df2, on='time', by='ticker', time_range=(-100*ms, 100*ms), how=(np.sum, 'volume')) ``` This would compute the total volume from df2 whose timestamps are within (-100, 100) ms of df1’s timestamps and whose tickers match. I imagine I could specify different columns: ``` merge_window(df1, df2, left_on='trade_time', right_on='exchange_time', time_range=(0*ms, 500*ms), how={'total_volume':(np.sum, 'volume'), 'mean_volume':(np.mean, 'volume')}) ``` By the way, this is a more general form of the `.rolling()` functions @jreback [wrote recently](https://github.com/pydata/pandas/pull/13513) since I can just use one DataFrame as both parameters: ``` merge_window(df, df, on='time', time_range=(-5*ms, 0*ms), how=[(np.median, 'price'), (np.sum, 'volume')]) ``` My firm has custom business calendars for things like market hours as well as exchange holidays. The kdb version takes arrays of timestamps directly for the begin and end, which handles the general-purpose case of custom business calendars. So I imagine could get the five-day average of volume with: ``` # internal functions cal = get_our_internal_business_calendar() begin = adjust_our_time(df.time, -5, cal) end = adjust_our_time(df.time, 0, cal) # use values directly merge_window(df1, df2, on='time', begin_times=begin, end_times=end, how=(np.mean, 'volume')) ``` I can get started on this right away if my proposal makes sense.
{ "+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/13959/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13959/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13960
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13960/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13960/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13960/events
https://github.com/pandas-dev/pandas/pull/13960
170,545,650
MDExOlB1bGxSZXF1ZXN0ODA4ODc1NDg=
13,960
BLD: add tempita files to depends
{ "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": "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" } ]
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-08-10T23:58:16Z
2016-08-11T10:13:53Z
2016-08-11T10:13:49Z
CONTRIBUTOR
null
This change makes it so that if a `.pxi.in` file is modified, the appropriate module will be rebuilt.
{ "+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/13960/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13960/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13960.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13960", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13960.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13960" }
https://api.github.com/repos/pandas-dev/pandas/issues/13961
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13961/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13961/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13961/events
https://github.com/pandas-dev/pandas/pull/13961
170,551,258
MDExOlB1bGxSZXF1ZXN0ODA4OTE1NjE=
13,961
API: Expanded resample
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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" }
25
2016-08-11T00:52:53Z
2016-08-31T13:14:30Z
2016-08-31T13:13:55Z
CONTRIBUTOR
null
- [x] closes #13500 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry My only question here is if `on=` is the keyword name for picking a column - in a `TimeGrouper` that's called `key`. But `on` is what was used in the rolling selection (and elsewhere) so seems consistent. ``` In [63]: df = pd.DataFrame({'date': pd.date_range('2015-01-01', freq='W', periods=5), ....: 'a': np.arange(5)}, ....: index=pd.MultiIndex.from_arrays([ ....: [1,2,3,4,5], ....: pd.date_range('2015-01-01', freq='W', periods=5)], ....: names=['v','d'])) ....: In [64]: df Out[64]: a date v d 1 2015-01-04 0 2015-01-04 2 2015-01-11 1 2015-01-11 3 2015-01-18 2 2015-01-18 4 2015-01-25 3 2015-01-25 5 2015-02-01 4 2015-02-01 In [65]: df.resample('M', on='date').sum() Out[65]: a date 2015-01-31 6 2015-02-28 4 In [66]: df.resample('M', level='d').sum() Out[66]: a d 2015-01-31 6 2015-02-28 4 ```
{ "+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/13961/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13961/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13961.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13961", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13961.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13961" }
https://api.github.com/repos/pandas-dev/pandas/issues/13962
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13962/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13962/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13962/events
https://github.com/pandas-dev/pandas/issues/13962
170,616,560
MDU6SXNzdWUxNzA2MTY1NjA=
13,962
TST: fail test suite on ResourceWarnings
{ "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" } ]
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" }
6
2016-08-11T10:40:52Z
2018-09-18T16:52:01Z
2018-09-18T16:52:01Z
CONTRIBUTOR
null
see comments [here](https://github.com/pydata/pandas/pull/13940#issuecomment-239126585) should just require a setting in `pandas.util.testing.TestCase.setUpClass` to set when the suite is running.
{ "+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/13962/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13962/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13963
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13963/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13963/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13963/events
https://github.com/pandas-dev/pandas/issues/13963
170,646,492
MDU6SXNzdWUxNzA2NDY0OTI=
13,963
Feature request: pandas.DataFrame.setdefault()
{ "avatar_url": "https://avatars.githubusercontent.com/u/10167353?v=4", "events_url": "https://api.github.com/users/Sereger13/events{/privacy}", "followers_url": "https://api.github.com/users/Sereger13/followers", "following_url": "https://api.github.com/users/Sereger13/following{/other_user}", "gists_url": "https://api.github.com/users/Sereger13/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Sereger13", "id": 10167353, "login": "Sereger13", "node_id": "MDQ6VXNlcjEwMTY3MzUz", "organizations_url": "https://api.github.com/users/Sereger13/orgs", "received_events_url": "https://api.github.com/users/Sereger13/received_events", "repos_url": "https://api.github.com/users/Sereger13/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Sereger13/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sereger13/subscriptions", "type": "User", "url": "https://api.github.com/users/Sereger13" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
open
false
null
[]
null
5
2016-08-11T13:32:10Z
2021-05-01T23:14:10Z
null
NONE
null
We often find ourselves checking for column existence before assigning a value to it, e.g.: ``` python df = pd.DataFrame() col = 'ColumnA' val = 'Value1' if col not in df.columns: df[col] = val ``` And we were thinking it would be nice if there was a way to tell pandas: add this column with that value(s) but only if it does not exist already - somewhat similar to dict.setdefault() so we could say, for instance: ``` python df.setdefault(col, val) ``` Doesn't necessarily have to be that syntax obviously - just a suggestion. What do you guys think?
{ "+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/13963/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13963/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13964
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13964/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13964/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13964/events
https://github.com/pandas-dev/pandas/issues/13964
170,663,726
MDU6SXNzdWUxNzA2NjM3MjY=
13,964
Pandas 0.18.1 groupby and resample with multilevel aggregation error
{ "avatar_url": "https://avatars.githubusercontent.com/u/20632466?v=4", "events_url": "https://api.github.com/users/rwester/events{/privacy}", "followers_url": "https://api.github.com/users/rwester/followers", "following_url": "https://api.github.com/users/rwester/following{/other_user}", "gists_url": "https://api.github.com/users/rwester/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rwester", "id": 20632466, "login": "rwester", "node_id": "MDQ6VXNlcjIwNjMyNDY2", "organizations_url": "https://api.github.com/users/rwester/orgs", "received_events_url": "https://api.github.com/users/rwester/received_events", "repos_url": "https://api.github.com/users/rwester/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rwester/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rwester/subscriptions", "type": "User", "url": "https://api.github.com/users/rwester" }
[ { "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
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-08-11T14:45:51Z
2020-01-20T07:34:12Z
2020-01-20T07:34:11Z
NONE
null
Initially posted here: http://stackoverflow.com/questions/38861244/pandas-0-18-1-groupby-and-resample-with-multilevel-aggregation-error From the documentation at the below links, both df3_resample and df4_resample should return the same dataframe, however df4_resample throws an exception. http://pandas.pydata.org/pandas-docs/version/0.18.0/whatsnew.html#whatsnew-0180-breaking-resample http://pandas.pydata.org/pandas-docs/version/0.18.1/whatsnew.html#groupby-syntax-with-window-and-resample-operations ``` df = pd.DataFrame(np.random.rand(10,4), columns=list('ABCD'), index=pd.date_range('2010-01-01 09:00:00', periods=10, freq='s')) df['item'] = 'item_a' # add column for groupby df3_resample = df.groupby('item').apply(lambda x: x.resample('2s').agg({'A': {'A_mean': np.mean, 'A_max': np.max}})) df4_resample = df.groupby('item').resample('2s').agg({'A': {'A_mean': np.mean, 'A_max': np.max}}) ```
{ "+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/13964/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13964/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13965
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13965/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13965/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13965/events
https://github.com/pandas-dev/pandas/issues/13965
170,679,944
MDU6SXNzdWUxNzA2Nzk5NDQ=
13,965
Exact matches in time-based .rolling()
{ "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": "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": "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": "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-08-11T15:50:49Z
2017-04-13T11:39:15Z
2017-04-13T11:39:14Z
CONTRIBUTOR
null
I would like to `allow_exact_matches` in time-based `.rolling()`. Using an example similar to the one found in the documentation: ``` df = pd.DataFrame({'B': [1, 1, 2, np.nan, 4]}, index = [pd.Timestamp('20130101 09:00:00'), pd.Timestamp('20130101 09:00:02'), pd.Timestamp('20130101 09:00:03'), pd.Timestamp('20130101 09:00:05'), pd.Timestamp('20130101 09:00:06')]) ``` I can compute the three-second rolling sum: ``` In [200]: df Out[200]: B 2013-01-01 09:00:00 1.0 2013-01-01 09:00:02 1.0 2013-01-01 09:00:03 2.0 2013-01-01 09:00:05 NaN 2013-01-01 09:00:06 4.0 In [201]: df.rolling('3s').sum() Out[201]: B 2013-01-01 09:00:00 1.0 2013-01-01 09:00:02 2.0 2013-01-01 09:00:03 3.0 2013-01-01 09:00:05 2.0 2013-01-01 09:00:06 4.0 ``` But note that `09:00:03` does not include `09:00:00`, `09:00:05` does not include `09:00:02`, and `09:00:06` does not include `09:00:03`. If I were to include these timestamps, then I would have: ``` B 2013-01-01 09:00:00 1.0 2013-01-01 09:00:02 2.0 2013-01-01 09:00:03 4.0 2013-01-01 09:00:05 3.0 2013-01-01 09:00:06 6.0 ``` A quick-and-dirty way of getting these values is with: ``` from itertools import starmap window = pd.Timedelta('3s') begins = np.searchsorted(df.index, df.index - window) ends = np.arange(len(df)) + 1 ranges = starmap(range, zip(begins, ends)) pd.concat([df.ix[r].sum() for r in ranges]) ``` `pd.merge_asof()` has the parameter `allow_exact_matches` to permit this. Would it be possible to add this to `.rolling()`? I can try this one myself.
{ "+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/13965/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13965/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13966
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13966/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13966/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13966/events
https://github.com/pandas-dev/pandas/issues/13966
170,700,095
MDU6SXNzdWUxNzA3MDAwOTU=
13,966
Time-based .rolling() fails with .groupby()
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "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" } ]
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" }
19
2016-08-11T17:26:11Z
2021-02-08T20:53:19Z
2017-04-22T01:28:28Z
CONTRIBUTOR
null
Starting with [this example](http://pandas.pydata.org/pandas-docs/version/0.18.1/whatsnew.html#groupby-syntax-with-window-and-resample-operations): ``` df = pd.DataFrame({'A': [1] * 20 + [2] * 12 + [3] * 8, 'B': np.arange(40)}) ``` I can easily compute the rolling mean by identifier: ``` In [20]: df.groupby('A').rolling(4).B.mean() Out[20]: A 1 0 NaN 1 NaN 2 NaN 3 1.5 4 2.5 5 3.5 6 4.5 7 5.5 8 6.5 9 7.5 ... 2 30 28.5 31 29.5 3 32 NaN 33 NaN 34 NaN 35 33.5 36 34.5 37 35.5 38 36.5 39 37.5 Name: B, dtype: float64 ``` Now I want to add a timestamp column: ``` dates = pd.date_range(start='2016-01-01 09:30:00', periods=20, freq='s') df = pd.DataFrame({'A': [1] * 20 + [2] * 12 + [3] * 8, 'B': np.concatenate((dates, dates)), 'C': np.arange(40)}) ``` The timestamps are ordered within each identifier, but pandas complains: ``` In [25]: df.groupby('A').rolling('4s', on='B').C.mean() ... ValueError: B must be monotonic ``` Re-sorting leads to a different error: ``` In [26]: df.sort_values('B', inplace=True) In [27]: df.groupby('A').rolling('4s', on='B').C.mean() ... ValueError: invalid on specified as B, must be a column (if DataFrame) or None ``` But we know that these column names are valid: ``` n [28]: df.rolling('4s', on='B').C.mean() Out[28]: 0 0.000000 20 10.000000 1 7.000000 21 10.500000 2 8.800000 22 11.000000 3 9.857143 23 11.500000 4 10.857143 24 12.500000 ... 35 24.714286 15 23.500000 36 25.714286 16 24.500000 37 26.714286 17 25.500000 38 27.714286 18 26.500000 19 25.857143 39 27.500000 Name: C, dtype: float64 ``` It seems like a bug that time-based `.rolling()` does not work with `.groupby()`.
{ "+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/13966/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13966/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13967
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13967/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13967/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13967/events
https://github.com/pandas-dev/pandas/issues/13967
170,717,120
MDU6SXNzdWUxNzA3MTcxMjA=
13,967
DOC: read_excel() documentation for na_values should show default na values
{ "avatar_url": "https://avatars.githubusercontent.com/u/814887?v=4", "events_url": "https://api.github.com/users/bklaas/events{/privacy}", "followers_url": "https://api.github.com/users/bklaas/followers", "following_url": "https://api.github.com/users/bklaas/following{/other_user}", "gists_url": "https://api.github.com/users/bklaas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bklaas", "id": 814887, "login": "bklaas", "node_id": "MDQ6VXNlcjgxNDg4Nw==", "organizations_url": "https://api.github.com/users/bklaas/orgs", "received_events_url": "https://api.github.com/users/bklaas/received_events", "repos_url": "https://api.github.com/users/bklaas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bklaas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bklaas/subscriptions", "type": "User", "url": "https://api.github.com/users/bklaas" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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-11T18:45:43Z
2016-08-20T13:25:01Z
2016-08-20T13:25:01Z
NONE
null
I'd like to see read_excel show the same valid information for na_values as read_csv does. This ended up taking a lot of digging to find because it was unclear what the defaults were with read_excel(). #### read_csv() documentation shows the following for na_values na_values : str or list-like or dict, default None Additional strings to recognize as NA/NaN. If dict passed, specific per-column NA values. By default the following values are interpreted as NaN: ‘’, ‘#N/A’, ‘#N/A N/A’, ‘#NA’, ‘-1.#IND’, ‘-1.#QNAN’, ‘-NaN’, ‘-nan’, ‘1.#IND’, ‘1.#QNAN’, ‘N/A’, ‘NA’, ‘NULL’, ‘NaN’, ‘nan’. #### read_excel() documentation does not include default NaN values na_values : list-like, default None List of additional strings to recognize as NA/NaN
{ "+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/13967/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13967/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13968
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13968/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13968/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13968/events
https://github.com/pandas-dev/pandas/pull/13968
170,725,669
MDExOlB1bGxSZXF1ZXN0ODEwMTU3MDk=
13,968
ENH: allow exact matches in time-based .rolling()
{ "avatar_url": "https://avatars.githubusercontent.com/u/7795093?v=4", "events_url": "https://api.github.com/users/agraboso/events{/privacy}", "followers_url": "https://api.github.com/users/agraboso/followers", "following_url": "https://api.github.com/users/agraboso/following{/other_user}", "gists_url": "https://api.github.com/users/agraboso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agraboso", "id": 7795093, "login": "agraboso", "node_id": "MDQ6VXNlcjc3OTUwOTM=", "organizations_url": "https://api.github.com/users/agraboso/orgs", "received_events_url": "https://api.github.com/users/agraboso/received_events", "repos_url": "https://api.github.com/users/agraboso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agraboso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agraboso/subscriptions", "type": "User", "url": "https://api.github.com/users/agraboso" }
[ { "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": "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
[]
null
53
2016-08-11T19:25:51Z
2017-03-23T22:38:29Z
2017-03-23T22:38:28Z
CONTRIBUTOR
null
- [x] closes #13965 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry TODO: update docs.
{ "+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/13968/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13968/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13968.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13968", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13968.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13968" }
https://api.github.com/repos/pandas-dev/pandas/issues/13969
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13969/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13969/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13969/events
https://github.com/pandas-dev/pandas/issues/13969
170,730,455
MDU6SXNzdWUxNzA3MzA0NTU=
13,969
Handling a CustomBusinessDay in time-based .rolling()
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
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" }
6
2016-08-11T19:49:40Z
2020-10-05T00:19:16Z
2020-10-05T00:19:15Z
CONTRIBUTOR
null
Starting with 10 business days following Christmas Eve: ``` from pandas.tseries.offsets import CustomBusinessDay from pandas.tseries.holiday import USFederalHolidayCalendar days = CustomBusinessDay(calendar=USFederalHolidayCalendar()) df = pd.DataFrame({'value': np.arange(n)}, index=pd.date_range('2015-12-24', periods=n, freq=days)) ``` I can compute the three-day sum of the values with just: ``` In [21]: df.rolling('3d').sum() Out[21]: value 2015-12-24 0.0 2015-12-28 1.0 2015-12-29 3.0 2015-12-30 6.0 2015-12-31 9.0 2016-01-04 5.0 2016-01-05 11.0 2016-01-06 18.0 2016-01-07 21.0 2016-01-08 24.0 ``` But this is purely in terms of _Gregorian_ calendar days, not the _business_ calendar days that I had created the DataFrame with. I can easily compute ``` df.index - 3*days ``` though I get a performance warning: > Non-vectorized DateOffset being applied to Series or DatetimeIndex But I can't just pass this offset directly: ``` In [23]: df.rolling(3*days).sum() ... ValueError: <3 * CustomBusinessDays> is a non-fixed frequency ``` I would like to be able to handle a `CustomBusinessDay` in `.rolling()`. (Because the DataFrame may come from any source, it would be easier to just pass the `DateOffset` object to `.rolling()` instead of using anything specific to the DataFrame's index.) I know that the `freq` parameter was deprecated in 0.18, though 0.19 kinda brings this back in `window`. Is there an intrinsic reason `window` can't handle a `CustomBusinessDay`?
{ "+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/13969/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13969/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13970
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13970/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13970/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13970/events
https://github.com/pandas-dev/pandas/pull/13970
170,751,263
MDExOlB1bGxSZXF1ZXN0ODEwMzM5MTE=
13,970
BUG/DEPR: combine dtype fixes
{ "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": "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": "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": "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-08-11T21:25:52Z
2016-08-12T15:45:02Z
2016-08-12T15:44:55Z
MEMBER
null
- [x] closes #7630, closes #10567 (fix `combine_first` dtype) - [x] closes #13947 (`_find_common_type` to support extension types) - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry - `_find_common_type` also needs to handle numpy datetimelike to be compat with pandas because: ``` np.find_common_type([np.dtype('datetime64[ns]'), np.dtype('datetime64[ns]')], []) # dtype('O') ``` - another `comibine_first` related issue #7509 is NOT fixed because it is related to filling with `align`
{ "+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/13970/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13970/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13970.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13970", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13970.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13970" }
https://api.github.com/repos/pandas-dev/pandas/issues/13971
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13971/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13971/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13971/events
https://github.com/pandas-dev/pandas/issues/13971
170,757,802
MDU6SXNzdWUxNzA3NTc4MDI=
13,971
BUG: unstack(fill_value) does nothing when unstacking multiple columns
{ "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": "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": "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" } ]
closed
false
null
[]
{ "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" }
2
2016-08-11T22:00:56Z
2017-10-16T14:25:24Z
2017-10-16T14:25:24Z
CONTRIBUTOR
null
In #9746 we got a `fill_value` argument for `pd.unstack()`. But it does nothing if we unstack multiple levels at once: ``` df = pd.DataFrame({'x':['a', 'a', 'b'], 'y':['j', 'k', 'j'], 'z':[0, 1, 2], 'w':[0, 1, 2]}) df.set_index(['x', 'y', 'z']).unstack(['x', 'y'], fill_value=0) ``` That gives: ``` w x a b y j k j z 0 0.0 NaN NaN 1 NaN 1.0 NaN 2 NaN NaN 2.0 ``` It should give zeros instead of NaN. 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/13971/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13971/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13972
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13972/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13972/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13972/events
https://github.com/pandas-dev/pandas/pull/13972
170,778,117
MDExOlB1bGxSZXF1ZXN0ODEwNTM2Mjg=
13,972
PERF/COMPAT: define platform int to np.intp
{ "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": "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": "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": "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" }
10
2016-08-12T00:42:13Z
2016-08-17T10:21:40Z
2016-08-17T10:21:24Z
CONTRIBUTOR
null
AFAIK this only affects 64 bit python on Windows. `numpy` wants an `np.intp` (i8 on Windows) as a indexer for `take`, but pandas defines a "platform int" as a `np.int_` (i4 on Windows). This hits performance twice, because we often start with i8, cast to i4, then numpy will cast back to i8 in its `take`. This is an alternative to #13924 - there I explored replacing `ndarray.take` with our `take_nd` fully, but this approach solves the perf problem without much pain or risking new segfaults. I'd still need to adjust a bunch of tests here to pass on Windows. This is an API change for "advanced" methods like `get_indexer`, but I don't think anything is necessary beyond a doc note? ASV: ``` before after ratio [4a80521 ] [3ced5d5 ] 3.49ms 2.86ms 0.82 indexing.series_take_dtindex.time_series_take_dtindex 3.28ms 3.03ms 0.92 indexing.series_take_intindex.time_series_take_intindex 15.16ms 14.57ms 0.96 join_merge.join_dataframe_index_single_key_bigger.time_join_dataframe_index_single_key_bigger 19.81ms 16.62ms 0.84 join_merge.join_dataframe_index_single_key_bigger_sort.time_join_dataframe_index_single_key_bigger_sort 14.05ms 13.63ms 0.97 join_merge.join_dataframe_index_single_key_small.time_join_dataframe_index_single_key_small 4.83ms 4.64ms 0.96 join_merge.join_dataframe_integer_2key.time_join_dataframe_integer_2key 1.80ms 1.63ms 0.90 join_merge.join_dataframe_integer_key.time_join_dataframe_integer_key 633.31us 570.37us 0.90 join_merge.join_non_unique_equal.time_join_non_unique_equal 2.39s 1.36s 0.57 join_merge.left_outer_join_index.time_left_outer_join_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/13972/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13972/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13972.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13972", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13972.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13972" }
https://api.github.com/repos/pandas-dev/pandas/issues/13973
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13973/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13973/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13973/events
https://github.com/pandas-dev/pandas/issues/13973
170,798,180
MDU6SXNzdWUxNzA3OTgxODA=
13,973
df.sort_values by 2 columns does not work in py3.5.1 but work in py2?
{ "avatar_url": "https://avatars.githubusercontent.com/u/5859702?v=4", "events_url": "https://api.github.com/users/seanDot7/events{/privacy}", "followers_url": "https://api.github.com/users/seanDot7/followers", "following_url": "https://api.github.com/users/seanDot7/following{/other_user}", "gists_url": "https://api.github.com/users/seanDot7/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seanDot7", "id": 5859702, "login": "seanDot7", "node_id": "MDQ6VXNlcjU4NTk3MDI=", "organizations_url": "https://api.github.com/users/seanDot7/orgs", "received_events_url": "https://api.github.com/users/seanDot7/received_events", "repos_url": "https://api.github.com/users/seanDot7/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seanDot7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seanDot7/subscriptions", "type": "User", "url": "https://api.github.com/users/seanDot7" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
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-08-12T04:44:36Z
2018-02-13T14:09:50Z
2018-02-13T12:01:21Z
NONE
null
#### Code Sample, a copy-pastable example if possible ![image](https://cloud.githubusercontent.com/assets/5859702/17612924/3376d120-608a-11e6-8066-f4e0160c1518.png) The code above works in py2 but not works in py3. #### Expected Output should get sorted dataframe. #### output of `pd.show_versions()` 0.18.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/13973/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13973/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13974
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13974/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13974/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13974/events
https://github.com/pandas-dev/pandas/issues/13974
170,835,833
MDU6SXNzdWUxNzA4MzU4MzM=
13,974
Is it normal that iloc is very slow when iterating?
{ "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": "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": "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" }
1
2016-08-12T09:45:24Z
2016-08-12T13:54:44Z
2016-08-12T12:01:10Z
NONE
null
I'm honestly not sure if that is to be expected or if it's a general issue. It is a problem when doing row comparisons that can't be done with existing row-wise methods like diff. #### Consider this example showing three functions doing row-wise differences on a randomly generated dataframe: ``` import pandas as pd import random as rd ITER = 1000 rd.seed() D = {'A':[]} for i in range(ITER): D['A'].append(rd.randint(0,100)) P = pd.DataFrame.from_dict(D) def Test1(P): K = zip(P.A) S = [0] for i in range(ITER-1): S.append(K[i+1][0] - K[i][0]) return pd.merge(P,pd.DataFrame(S),left_index=True,right_index=True) def Test2(P): S = [0] for i in range(ITER-1): S.append(P.iloc[i+1][0] - P.iloc[i][0]) return pd.merge(P,pd.DataFrame(S),left_index=True,right_index=True) def Test3(P): return pd.merge(P,P.A.diff().to_frame(),left_index=True,right_index=True) ``` Now of course Test3 is the way to do it correctly in this special case, but this is just meant as an example. Here's the output of doing a timeit on all three methods: ``` %timeit(Test1(P)) 1000 loops, best of 3: 2 ms per loop %timeit(Test2(P)) 1 loop, best of 3: 315 ms per loop %timeit(Test3(P)) 1000 loops, best of 3: 1.3 ms per loop ``` And it shows how extremely slow iterating over iloc is compared to iterating over a list that has been created using zip on the dataframe column. #### output of `pd.show_versions()` python: 2.7.12.final.0 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/13974/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13974/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13975
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13975/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13975/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13975/events
https://github.com/pandas-dev/pandas/pull/13975
170,841,172
MDExOlB1bGxSZXF1ZXN0ODEwOTY5MjM=
13,975
CLN: PeriodIndex to use nan related cache
{ "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": "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" }
3
2016-08-12T10:16:44Z
2016-08-12T13:18:22Z
2016-08-12T12:59:52Z
MEMBER
null
- [x] no tests added (all cases look to be covered) / passed - [x] passes `git diff upstream/master | flake8 --diff`
{ "+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/13975/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13975/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13975.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13975", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13975.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13975" }
https://api.github.com/repos/pandas-dev/pandas/issues/13976
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13976/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13976/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13976/events
https://github.com/pandas-dev/pandas/issues/13976
170,923,662
MDU6SXNzdWUxNzA5MjM2NjI=
13,976
BUG: Kernel crashing when using shift with groupby when there are NaNs in group column
{ "avatar_url": "https://avatars.githubusercontent.com/u/19440155?v=4", "events_url": "https://api.github.com/users/nickderobertis/events{/privacy}", "followers_url": "https://api.github.com/users/nickderobertis/followers", "following_url": "https://api.github.com/users/nickderobertis/following{/other_user}", "gists_url": "https://api.github.com/users/nickderobertis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nickderobertis", "id": 19440155, "login": "nickderobertis", "node_id": "MDQ6VXNlcjE5NDQwMTU1", "organizations_url": "https://api.github.com/users/nickderobertis/orgs", "received_events_url": "https://api.github.com/users/nickderobertis/received_events", "repos_url": "https://api.github.com/users/nickderobertis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nickderobertis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nickderobertis/subscriptions", "type": "User", "url": "https://api.github.com/users/nickderobertis" }
[ { "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": "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" } ]
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-08-12T17:49:21Z
2017-03-23T19:40:13Z
2016-08-12T18:16:42Z
NONE
null
Sometimes when shifting a variable by groups, if there are NaNs in the group column, it crashes my kernel. Sometimes the operation completes successfully, though it crashes over half the time. #### Code Sample, a copy-pastable example if possible ``` from numpy import nan import pandas as pd from pandas import Timestamp df = pd.DataFrame(data = [ (Timestamp('2003-01-15 00:00:00'), 1, 1), (Timestamp('2003-01-15 00:00:00'), nan, nan), (Timestamp('2003-02-14 00:00:00'), 1, 2), ], columns=['Date','ID','var']) test.groupby('ID')['var'].shift(1) #crashes kernel sometimes test.dropna(subset=['ID']).groupby('ID')['var'].shift(1) #does not crash kernel test.groupby('ID')['var'].apply(lambda x: x) #does not crash kernel ``` #### Expected Output ``` 0 NaN 1 NaN 2 1.0 Name: var, dtype: float64 ``` #### 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 60 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: 1.3.7 pip: 8.1.1 setuptools: 24.0.2 Cython: 0.23.4 numpy: 1.11.1 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 5.0.0 sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.6.0 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 1.0.0 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.5.0 bs4: 4.4.1 html5lib: 0.9999999 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/13976/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13976/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13977
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13977/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13977/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13977/events
https://github.com/pandas-dev/pandas/issues/13977
170,936,025
MDU6SXNzdWUxNzA5MzYwMjU=
13,977
df.iterrows() constructs Series instead of its proper subclass
{ "avatar_url": "https://avatars.githubusercontent.com/u/684364?v=4", "events_url": "https://api.github.com/users/kernc/events{/privacy}", "followers_url": "https://api.github.com/users/kernc/followers", "following_url": "https://api.github.com/users/kernc/following{/other_user}", "gists_url": "https://api.github.com/users/kernc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kernc", "id": 684364, "login": "kernc", "node_id": "MDQ6VXNlcjY4NDM2NA==", "organizations_url": "https://api.github.com/users/kernc/orgs", "received_events_url": "https://api.github.com/users/kernc/received_events", "repos_url": "https://api.github.com/users/kernc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kernc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kernc/subscriptions", "type": "User", "url": "https://api.github.com/users/kernc" }
[ { "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" } ]
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-08-12T18:54:42Z
2016-08-26T20:04:20Z
2016-08-26T20:04:20Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ``` py import pandas as pd import numpy as np class SubclassedSeries(pd.Series): pass class SubclassedDataFrame(pd.DataFrame): _constructor_sliced = SubclassedSeries df = SubclassedDataFrame(np.random.random((3, 2)) i, row = next(df.iterrows()) assert isinstance(row, SubclassedSeries) # fails ``` #### Expected Output `row` would be of proper overriden `_constructor_sliced` type (i.e. `SubclassedSeries`).
{ "+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/13977/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13977/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13978
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13978/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13978/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13978/events
https://github.com/pandas-dev/pandas/pull/13978
170,937,242
MDExOlB1bGxSZXF1ZXN0ODExNjY4NTg=
13,978
BUG: yield correct Series subclass in df.iterrows() (#13977)
{ "avatar_url": "https://avatars.githubusercontent.com/u/684364?v=4", "events_url": "https://api.github.com/users/kernc/events{/privacy}", "followers_url": "https://api.github.com/users/kernc/followers", "following_url": "https://api.github.com/users/kernc/following{/other_user}", "gists_url": "https://api.github.com/users/kernc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kernc", "id": 684364, "login": "kernc", "node_id": "MDQ6VXNlcjY4NDM2NA==", "organizations_url": "https://api.github.com/users/kernc/orgs", "received_events_url": "https://api.github.com/users/kernc/received_events", "repos_url": "https://api.github.com/users/kernc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kernc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kernc/subscriptions", "type": "User", "url": "https://api.github.com/users/kernc" }
[ { "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" }
16
2016-08-12T19:00:44Z
2016-08-26T20:04:20Z
2016-08-26T20:04:20Z
CONTRIBUTOR
null
- [x] closes #13977 - [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/13978/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13978/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13978.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13978", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13978.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13978" }
https://api.github.com/repos/pandas-dev/pandas/issues/13979
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13979/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13979/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13979/events
https://github.com/pandas-dev/pandas/pull/13979
170,986,767
MDExOlB1bGxSZXF1ZXN0ODEyMDM0NjA=
13,979
API: change unique to return Index
{ "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": "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": "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" }
9
2016-08-13T01:39:54Z
2016-08-29T12:29:13Z
2016-08-29T12:29:04Z
MEMBER
null
- [x] closes #13395, closes #13565 - [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/13979/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13979/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13979.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13979", "merged_at": "2016-08-29T12:29:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13979.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13979" }
https://api.github.com/repos/pandas-dev/pandas/issues/13980
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13980/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13980/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13980/events
https://github.com/pandas-dev/pandas/pull/13980
170,987,189
MDExOlB1bGxSZXF1ZXN0ODEyMDM3MjA=
13,980
BUG: ufunc with PeriodIndex may raise IncompatibleFrequency
{ "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": "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" }, { "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-13T01:49:45Z
2016-08-18T22:27:51Z
2016-08-18T22:27:43Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry `PeriodIndex` supportds addition / subtraction with integer. ``` # OK pi = pd.PeriodIndex(['2011-01'], freq='M') pi + 1 # PeriodIndex(['2011-02'], dtype='int64', freq='M') pi - 1 # PeriodIndex(['2010-12'], dtype='int64', freq='M') ``` but raises if op is performed via ufunc. ``` # NG np.add(pi, 1) # pandas._period.IncompatibleFrequency: Input has different freq from PeriodIndex(freq=M) np.subtract(pi, 1) # pandas._period.IncompatibleFrequency: Input has different freq from PeriodIndex(freq=M) ```
{ "+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/13980/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13980/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13980.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13980", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13980.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13980" }
https://api.github.com/repos/pandas-dev/pandas/issues/13981
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13981/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13981/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13981/events
https://github.com/pandas-dev/pandas/pull/13981
170,988,246
MDExOlB1bGxSZXF1ZXN0ODEyMDQzNzA=
13,981
BUG: Index may ignore specified datetime/timedelta dtypes
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "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": "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" }
6
2016-08-13T02:18:54Z
2016-08-15T16:06:57Z
2016-08-13T22:34:12Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry `Index` ignores specified `dtype` if it is `datetime64` (normal and tz) or `timedelta64`. This PR makes it consistent with `DatetimeIndex` and `TimedeltaIndex`. ``` pd.Index([1, 2, 3], dtype='datetime64[ns, US/Eastern]') # Index([1, 2, 3], dtype='object') pd.Index([1, 2, 3], dtype='datetime64[ns]') # Index([1, 2, 3], dtype='object') pd.Index([1, 2, 3], dtype='timedelta64[ns]') # Int64Index([1, 2, 3], dtype='int64') ``` Also, fixed `MultiIndex.get_level_values` not to pass unnecessary `tz` and `freq`.
{ "+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/13981/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13981/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13981.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13981", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13981.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13981" }
https://api.github.com/repos/pandas-dev/pandas/issues/13982
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13982/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13982/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13982/events
https://github.com/pandas-dev/pandas/pull/13982
170,993,099
MDExOlB1bGxSZXF1ZXN0ODEyMDczMTA=
13,982
TST: Cleanup test_indexing
{ "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": "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": "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-08-13T05:00:19Z
2016-08-13T22:08:31Z
2016-08-13T22:08:18Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` cleaned up `test_indexing` which is bit large, splitting `@slow` tests to a separate file.
{ "+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/13982/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13982/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13982.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13982", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13982.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13982" }
https://api.github.com/repos/pandas-dev/pandas/issues/13983
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13983/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13983/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13983/events
https://github.com/pandas-dev/pandas/pull/13983
171,001,020
MDExOlB1bGxSZXF1ZXN0ODEyMTE1Nzc=
13,983
CLN: Datetimelike._can_hold_na
{ "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": "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": "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" }
11
2016-08-13T09:20:07Z
2016-09-01T07:27:44Z
2016-09-01T07:27:38Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] no whatsnew, as it is internal fix datetimelike `Index._can_hold_na` is all `False` even though these can store `NaT`. ``` idx = pd.DatetimeIndex(['2011-01-01', 'NaT']) idx.hasnans # True idx._can_hold_na # False idx._nan_idxs # array([], dtype=int64) ``` Because of `test_base.py` condition below, datetime-like Indexes had skipped some tests until now. - https://github.com/pydata/pandas/blob/master/pandas/tests/test_base.py#L219
{ "+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/13983/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13983/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13983.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13983", "merged_at": "2016-09-01T07:27:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13983.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13983" }
https://api.github.com/repos/pandas-dev/pandas/issues/13984
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13984/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13984/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13984/events
https://github.com/pandas-dev/pandas/issues/13984
171,001,117
MDU6SXNzdWUxNzEwMDExMTc=
13,984
API: Add Series/Index.unique(dropna=True)
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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" } ]
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" }
0
2016-08-13T09:23:29Z
2021-05-01T23:14:34Z
null
MEMBER
null
`Series/Index.nunique` has `dropna` kw to exclude `NaN`. Add the same kw to `.unique` also. As #13979 changes `.unique` to always return `Index`, we can replace `Index._get_unique_index(dropna)` if this option is added.
{ "+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/13984/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13984/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13985
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13985/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13985/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13985/events
https://github.com/pandas-dev/pandas/pull/13985
171,001,314
MDExOlB1bGxSZXF1ZXN0ODEyMTE3MzY=
13,985
BUG: Sparse indexing with bool sparse may be incorrect
{ "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": "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": "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-13T09:29:32Z
2016-08-13T22:13:40Z
2016-08-13T22:13:38Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry indexing with `SparseArray` with `bool` dtype may return incorrect result because of some internal conversions. ``` arr = pd.SparseArray([1, 2, 3]) indexer = pd.SparseArray([True, False, True], fill_value=False, dtype=bool) # NG arr[indexer] # [2.0, 2.0] # Fill: nan # IntIndex # Indices: array([0, 1], dtype=int32) # Expected (after this PR) arr[indexer] # [1.0, 3.0] # Fill: nan # IntIndex # Indices: array([0, 1], dtype=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/13985/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13985/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13985.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13985", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13985.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13985" }
https://api.github.com/repos/pandas-dev/pandas/issues/13986
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13986/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13986/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13986/events
https://github.com/pandas-dev/pandas/pull/13986
171,002,327
MDExOlB1bGxSZXF1ZXN0ODEyMTIyOTA=
13,986
BUG/CLN: datetimelike Index.equals may return True with non-Index
{ "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": "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-13T10:02:03Z
2016-09-03T15:31:07Z
2016-09-03T15:31:03Z
MEMBER
null
- [x] closes #13107 - [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/13986/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13986/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13986.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13986", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13986.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13986" }
https://api.github.com/repos/pandas-dev/pandas/issues/13987
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13987/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13987/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13987/events
https://github.com/pandas-dev/pandas/pull/13987
171,004,909
MDExOlB1bGxSZXF1ZXN0ODEyMTM3MTI=
13,987
CLN: move PeriodIndex.__getitem__ to DatetimeIndexOpsMixin
{ "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": "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" }
2
2016-08-13T11:27:25Z
2016-08-18T22:25:40Z
2016-08-18T22:25:37Z
MEMBER
null
- [x] related to #6469 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` merge `PeriodIndex.__getitem__` to `DatetimeIndexOpsMixin`
{ "+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/13987/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13987/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13987.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13987", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13987.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13987" }
https://api.github.com/repos/pandas-dev/pandas/issues/13988
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13988/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13988/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13988/events
https://github.com/pandas-dev/pandas/pull/13988
171,007,740
MDExOlB1bGxSZXF1ZXN0ODEyMTUxNTQ=
13,988
API: PeriodIndex.values now return array of Period objects
{ "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": "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": "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": "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-08-13T12:51:59Z
2016-08-24T23:36:04Z
2016-08-24T23:36:02Z
MEMBER
null
- [x] split from #13941 (comment) - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry This change itself needs more tests / perf testing, split from the original 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/13988/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13988/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13988.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13988", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13988.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13988" }
https://api.github.com/repos/pandas-dev/pandas/issues/13989
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13989/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13989/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13989/events
https://github.com/pandas-dev/pandas/pull/13989
171,008,985
MDExOlB1bGxSZXF1ZXN0ODEyMTU4MzM=
13,989
DOC: suppress warnings for Panel4D deprecation
{ "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-08-13T13:29:36Z
2016-08-13T20:14:09Z
2016-08-13T20:14:08Z
MEMBER
null
Other options is to just remove those sections in the latest docs ... (they are always available in the older ones). The example in the HDF5 docs with a legacy file will have to be updated to not include Panel4D, or the reading of such files will have to be adapted in the future to handle those when Panel4D is actually removed (@jreback)
{ "+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/13989/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13989/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13989.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13989", "merged_at": "2016-08-13T20:14:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13989.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13989" }
https://api.github.com/repos/pandas-dev/pandas/issues/13990
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13990/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13990/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13990/events
https://github.com/pandas-dev/pandas/pull/13990
171,009,001
MDExOlB1bGxSZXF1ZXN0ODEyMTU4NDI=
13,990
Use DeprecationWarning for core.common deprecations (GH13634)
{ "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": "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" }, { "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-08-13T13:30:16Z
2016-08-13T22:28:26Z
2016-08-13T22:22:28Z
MEMBER
null
Related to second question in #13634 (whether to use FutureWarning or DeprecationWarning in deprecating the public pandas.core.common functions). As those functions are mostly used in library code, and less directly by users in their own code, I think a DeprecationWarning is more appropriate in this case. For example, in our own docs, we started to get warnings due to an example with a statsmodels regression that uses patsy using one of those functions. Note that recent IPython also shows DeprecationWarnings when using a deprecated function interactively.
{ "+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/13990/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13990/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13990.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13990", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13990.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13990" }
https://api.github.com/repos/pandas-dev/pandas/issues/13991
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13991/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13991/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13991/events
https://github.com/pandas-dev/pandas/issues/13991
171,009,948
MDU6SXNzdWUxNzEwMDk5NDg=
13,991
RLS: 0.19.0
{ "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": "006b75", "default": false, "description": null, "id": 131473665, "name": "Release", "node_id": "MDU6TGFiZWwxMzE0NzM2NjU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release" } ]
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" }
22
2016-08-13T13:57:52Z
2016-10-03T08:51:55Z
2016-10-03T08:51:55Z
MEMBER
null
Issue to track the progress towards the 0.19.0 release. cc @jreback @shoyer @sinhrks @TomAugspurger @wesm
{ "+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/13991/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13991/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13992
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13992/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13992/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13992/events
https://github.com/pandas-dev/pandas/issues/13992
171,019,613
MDU6SXNzdWUxNzEwMTk2MTM=
13,992
SeriesGroupby.cumsum raises on object dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/7795093?v=4", "events_url": "https://api.github.com/users/agraboso/events{/privacy}", "followers_url": "https://api.github.com/users/agraboso/followers", "following_url": "https://api.github.com/users/agraboso/following{/other_user}", "gists_url": "https://api.github.com/users/agraboso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agraboso", "id": 7795093, "login": "agraboso", "node_id": "MDQ6VXNlcjc3OTUwOTM=", "organizations_url": "https://api.github.com/users/agraboso/orgs", "received_events_url": "https://api.github.com/users/agraboso/received_events", "repos_url": "https://api.github.com/users/agraboso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agraboso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agraboso/subscriptions", "type": "User", "url": "https://api.github.com/users/agraboso" }
[ { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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" } ]
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-08-13T17:50:13Z
2021-05-01T23:15:15Z
null
CONTRIBUTOR
null
``` import pandas as pd s = pd.Series(list('ABCDEF')) grouper = pd.Series([0]*3+[1]*3) ``` The obvious attempt to obtain ``` 0 A 1 AB 2 ABC 3 D 4 DE 5 DEF dtype: object ``` using ``` s.groupby(grouper).cumsum() ``` raises a `DataError: No numeric types to aggregate`. A workaround is available via ``` s.groupby(grouper).apply(pd.Series.cumsum) ``` `SeriesGroupby.cumsum` should follow the behavior of `SeriesGroupby.sum`, where both `s.groupby(grouper).apply(pd.Series.sum)` and `s.groupby(grouper).sum()` produce the correct output: ``` 0 ABC 1 DEF dtype: object ``` This was introduced some time between 0.15.2 and 0.18.1, as observed [here](http://stackoverflow.com/a/38935108/509824). #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Darwin OS-release: 15.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: 23.0.0 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: None patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: 2.6.0 matplotlib: 1.5.1 openpyxl: None xlrd: 1.0.0 xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 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/13992/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13992/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13993
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13993/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13993/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13993/events
https://github.com/pandas-dev/pandas/issues/13993
171,021,648
MDU6SXNzdWUxNzEwMjE2NDg=
13,993
groupby cumsum with axis=1 computes cumprod
{ "avatar_url": "https://avatars.githubusercontent.com/u/7795093?v=4", "events_url": "https://api.github.com/users/agraboso/events{/privacy}", "followers_url": "https://api.github.com/users/agraboso/followers", "following_url": "https://api.github.com/users/agraboso/following{/other_user}", "gists_url": "https://api.github.com/users/agraboso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agraboso", "id": 7795093, "login": "agraboso", "node_id": "MDQ6VXNlcjc3OTUwOTM=", "organizations_url": "https://api.github.com/users/agraboso/orgs", "received_events_url": "https://api.github.com/users/agraboso/received_events", "repos_url": "https://api.github.com/users/agraboso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agraboso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agraboso/subscriptions", "type": "User", "url": "https://api.github.com/users/agraboso" }
[ { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
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-08-13T18:36:50Z
2016-08-14T00:15:47Z
2016-08-14T00:15:47Z
CONTRIBUTOR
null
#### Code sample ``` python import pandas as pd df = pd.DataFrame({'A': range(6), 'B': range(6)}) df.groupby('A').cumsum(axis=1) ``` #### Output ``` A B 0 0 0 1 1 1 2 2 4 3 3 9 4 4 16 5 5 25 ``` #### Expected Output ``` A B 0 0 0 1 1 2 2 2 4 3 3 6 4 4 8 5 5 10 ``` #### The culprit A [single line](https://github.com/pydata/pandas/blob/29d9e24f4c778b0c9ebe9288bfc217808d2c6edb/pandas/core/groupby.py#L1400) in `pandas.core.groupby`: ``` python def cumsum(self, axis=0, *args, **kwargs): """Cumulative sum for each group""" nv.validate_groupby_func('cumsum', args, kwargs) if axis != 0: return self.apply(lambda x: x.cumprod(axis=axis)) # <==== should be `cumsum` return self._cython_transform('cumsum') ``` (the result of a copy-paste oversight in [this commit](https://github.com/pydata/pandas/commit/b07dd0cbd6d18c55aaa0043d85f42a483eab7dbb#diff-720d374f1a709d0075a1f0a02445cd65)) #### output of `pd.show_versions()` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Darwin OS-release: 15.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: 23.0.0 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: 0.6.1 xarray: None IPython: 4.2.0 sphinx: None patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: None tables: None numexpr: 2.6.0 matplotlib: 1.5.1 openpyxl: None xlrd: 1.0.0 xlwt: None xlsxwriter: None lxml: None bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 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/13993/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13993/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/13994
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13994/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13994/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13994/events
https://github.com/pandas-dev/pandas/pull/13994
171,028,508
MDExOlB1bGxSZXF1ZXN0ODEyMjY5Mjk=
13,994
BUG: groupby cumsum with axis=1 computes cumprod
{ "avatar_url": "https://avatars.githubusercontent.com/u/7795093?v=4", "events_url": "https://api.github.com/users/agraboso/events{/privacy}", "followers_url": "https://api.github.com/users/agraboso/followers", "following_url": "https://api.github.com/users/agraboso/following{/other_user}", "gists_url": "https://api.github.com/users/agraboso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agraboso", "id": 7795093, "login": "agraboso", "node_id": "MDQ6VXNlcjc3OTUwOTM=", "organizations_url": "https://api.github.com/users/agraboso/orgs", "received_events_url": "https://api.github.com/users/agraboso/received_events", "repos_url": "https://api.github.com/users/agraboso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agraboso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agraboso/subscriptions", "type": "User", "url": "https://api.github.com/users/agraboso" }
[ { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
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-13T21:35:11Z
2016-08-14T00:15:50Z
2016-08-14T00:15:47Z
CONTRIBUTOR
null
- [x] closes #13993 - [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/13994/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13994/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13994.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13994", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13994.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13994" }
https://api.github.com/repos/pandas-dev/pandas/issues/13995
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13995/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13995/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13995/events
https://github.com/pandas-dev/pandas/pull/13995
171,029,305
MDExOlB1bGxSZXF1ZXN0ODEyMjc0NzM=
13,995
CLN: Move PeriodIndex.repeat to DatetimeIndexOpsMixin
{ "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": "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" }
2
2016-08-13T21:49:47Z
2016-08-14T00:10:54Z
2016-08-14T00:10:51Z
MEMBER
null
- [x] related to #6469 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff`
{ "+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/13995/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13995/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13995.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13995", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13995.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13995" }
https://api.github.com/repos/pandas-dev/pandas/issues/13996
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13996/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13996/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13996/events
https://github.com/pandas-dev/pandas/pull/13996
171,029,415
MDExOlB1bGxSZXF1ZXN0ODEyMjc1NTY=
13,996
TST: Fix unused tests in tseries/test_base.py
{ "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": "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" }
2
2016-08-13T21:51:40Z
2016-08-14T00:12:21Z
2016-08-14T00:12:21Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - enabled unused patterns left as comments - made `tz` related tests more comprehensive
{ "+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/13996/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13996/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13996.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13996", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13996.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13996" }
https://api.github.com/repos/pandas-dev/pandas/issues/13997
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13997/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13997/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13997/events
https://github.com/pandas-dev/pandas/pull/13997
171,029,524
MDExOlB1bGxSZXF1ZXN0ODEyMjc2MTY=
13,997
CLN: move _na_value to DatetimeIndexOpsMixin
{ "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": "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" }
3
2016-08-13T21:54:19Z
2016-08-15T12:29:13Z
2016-08-15T12:29:13Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` Because `PeriodIndex` now shares the same `NaT` repr (#13609), can use the same definition on `DatetimeIndexOpsMixin`
{ "+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/13997/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13997/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13997.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13997", "merged_at": "2016-08-15T12:29:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13997.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13997" }
https://api.github.com/repos/pandas-dev/pandas/issues/13998
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13998/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13998/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13998/events
https://github.com/pandas-dev/pandas/pull/13998
171,041,158
MDExOlB1bGxSZXF1ZXN0ODEyMzM1NDM=
13,998
Fixed to_string with line_width and without index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1476750?v=4", "events_url": "https://api.github.com/users/cr3/events{/privacy}", "followers_url": "https://api.github.com/users/cr3/followers", "following_url": "https://api.github.com/users/cr3/following{/other_user}", "gists_url": "https://api.github.com/users/cr3/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cr3", "id": 1476750, "login": "cr3", "node_id": "MDQ6VXNlcjE0NzY3NTA=", "organizations_url": "https://api.github.com/users/cr3/orgs", "received_events_url": "https://api.github.com/users/cr3/received_events", "repos_url": "https://api.github.com/users/cr3/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cr3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cr3/subscriptions", "type": "User", "url": "https://api.github.com/users/cr3" }
[ { "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
[]
{ "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-08-14T04:02:31Z
2016-08-15T17:53:50Z
2016-08-15T17:53:24Z
CONTRIBUTOR
null
When calling to_string on a DataFrame with line_width, this calls _join_multiline internally which only sets the idx variable when index is True, otherwise idx is never set resulting in the error: UnboundLocalError: local variable 'idx' referenced before assignment
{ "+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/13998/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13998/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13998.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13998", "merged_at": "2016-08-15T17:53:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/13998.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13998" }
https://api.github.com/repos/pandas-dev/pandas/issues/13999
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/13999/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/13999/comments
https://api.github.com/repos/pandas-dev/pandas/issues/13999/events
https://github.com/pandas-dev/pandas/pull/13999
171,059,002
MDExOlB1bGxSZXF1ZXN0ODEyNDM2NjI=
13,999
API: SparseSeries comparison now returns sparse
{ "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": "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": "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-14T13:38:35Z
2016-08-20T13:32:42Z
2016-08-20T13:32:42Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Because #13985 has been fixed, `SparseSeries` comparison op now can return `SparseSeries` (it returns normal `Series` on current master). also fixed a bug when `SparseArray` created from `SparseSeries` may not inherit `dtype`.
{ "+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/13999/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/13999/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/13999.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/13999", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/13999.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/13999" }
https://api.github.com/repos/pandas-dev/pandas/issues/14000
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14000/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14000/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14000/events
https://github.com/pandas-dev/pandas/pull/14000
171,059,159
MDExOlB1bGxSZXF1ZXN0ODEyNDM3NDI=
14,000
ENH: bool sparse now supports logical op
{ "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": "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": "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": "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-14T13:43:22Z
2016-08-16T09:57:03Z
2016-08-16T09:56:41Z
MEMBER
null
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry implemented bool (logical and / or) op for bool `SparseArray`. Currently it raises if `sp_index` are different. ``` s1 = pd.SparseArray([True, True, True, True, True], dtype=np.bool, fill_value=False) s2 = pd.SparseArray([False, True, False, True, True], dtype=np.bool, fill_value=False) s1 & s2 # ValueError: operands could not be broadcast together with shapes (5,) (3,) ```
{ "+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/14000/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14000/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14000.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14000", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14000.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14000" }
https://api.github.com/repos/pandas-dev/pandas/issues/14001
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14001/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14001/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14001/events
https://github.com/pandas-dev/pandas/issues/14001
171,088,413
MDU6SXNzdWUxNzEwODg0MTM=
14,001
BUG/API: Data assignment dtype inference inconsistencies
{ "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": "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" } ]
closed
false
null
[]
{ "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" }
2
2016-08-14T23:54:18Z
2017-07-21T11:05:20Z
2017-07-21T11:05:20Z
MEMBER
null
#### Code Sample, a copy-pastable example if possible Assuming we have int `DataFrame` and assign float values. - assigning 2-d float array keeps `int` columns if possible. ``` df = pd.DataFrame(np.zeros((3, 2), dtype=np.int64)) df.iloc[0:2, 0:2] = np.array([[1, 2.1], [2, 2.2]], dtype=np.float64) df # 0 1 #0 1 2.1 #1 2 2.2 #2 0 0.0 ``` - but assigning 1-d array coerces to `float`, not keeps `int` . ``` df = pd.DataFrame(np.zeros((3, 2), dtype=np.int64)) df.iloc[0:2, 0] = np.array([1, 2], dtype=np.float64) df # 0 1 #0 1.0 0 #1 2.0 0 #2 0.0 0 ``` #### Expected Output I think 1st one should be all float, as we're assigning float dtype. ``` df = pd.DataFrame(np.zeros((3, 2), dtype=np.int64)) df.iloc[0:2, 0:2] = np.array([[1, 2.1], [2, 2.2]], dtype=np.float64) df # 0 1 #0 1.0 2.1 #1 2.0 2.2 #2 0.0 0.0 ``` The inference occurs around [here](https://github.com/pydata/pandas/blob/master/pandas/core/internals.py#L744), and it should be something like: ``` if hasattr(value, 'dtype'): if is_dtype_equal(values.dtype, value.dtype): dtype = value.dtype else: dtype = _find_common_type(values.dtpye, value.dtype) elif is_scalar(value): dtype, _ = _infer_dtype_from_scalar(value) else: # not sure can reach here... dtype = 'infer' ... ``` #### 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/14001/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14001/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14002
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14002/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14002/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14002/events
https://github.com/pandas-dev/pandas/pull/14002
171,091,274
MDExOlB1bGxSZXF1ZXN0ODEyNTk5NDg=
14,002
GH13347 ENH Allow true_values and false_values options in read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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" }
14
2016-08-15T00:47:17Z
2017-12-12T15:39:45Z
2016-09-13T23:07:26Z
MEMBER
null
- [ X] closes #13347 - [ X] tests added / passed - [ X] passes `git diff upstream/master | flake8 --diff` - [ X] whatsnew entry <img width="1016" alt="asv_tests" src="https://cloud.githubusercontent.com/assets/609873/17653246/3a3f842a-6260-11e6-8ed2-1d21cc2fccc8.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/14002/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14002/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14002.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14002", "merged_at": "2016-09-13T23:07:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14002.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14002" }
https://api.github.com/repos/pandas-dev/pandas/issues/14003
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14003/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14003/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14003/events
https://github.com/pandas-dev/pandas/issues/14003
171,115,237
MDU6SXNzdWUxNzExMTUyMzc=
14,003
DOC: doc/make.py uses IPython promptManager, which is removed from IPython 5.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/20366708?v=4", "events_url": "https://api.github.com/users/znmean/events{/privacy}", "followers_url": "https://api.github.com/users/znmean/followers", "following_url": "https://api.github.com/users/znmean/following{/other_user}", "gists_url": "https://api.github.com/users/znmean/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/znmean", "id": 20366708, "login": "znmean", "node_id": "MDQ6VXNlcjIwMzY2NzA4", "organizations_url": "https://api.github.com/users/znmean/orgs", "received_events_url": "https://api.github.com/users/znmean/received_events", "repos_url": "https://api.github.com/users/znmean/repos", "site_admin": false, "starred_url": "https://api.github.com/users/znmean/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/znmean/subscriptions", "type": "User", "url": "https://api.github.com/users/znmean" }
[ { "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
[]
null
1
2016-08-15T06:25:54Z
2016-08-18T20:50:14Z
2016-08-18T20:50:14Z
CONTRIBUTOR
null
When I build document as described in contributing guideline below, http://pandas-docs.github.io/pandas-docs-travis/contributing.html#building-the-documentation it makes an error like this. ``` AttributeError: "'InteractiveShell' object has no attribute 'prompt_manager'" ``` This file uses removed class, from IPython 5.x (promptManager) http://ipython.readthedocs.io/en/stable/whatsnew/version5.html file: doc/sphinxext/ipython_sphinxext/ipython_directive.py ``` python 805 if not self.state.document.current_source in self.seen_docs: 806 self.shell.IP.history_manager.reset() 807 self.shell.IP.execution_count = 1 808 self.shell.IP.prompt_manager.width = 0 809 self.seen_docs.add(self.state.document.current_source) 810 ``` #### output of `pd.show_versions()` ## INSTALLED VERSIONS commit: a0d05dbf7477df863486d82a0cdd4e3e93023864 python: 3.5.2.final.0 python-bits: 64 OS: Darwin OS-release: 15.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: ko_KR.UTF-8 LOCALE: ko_KR.UTF-8 pandas: 0.18.1+356.ga0d05db.dirty 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: None xarray: None IPython: 5.1.0 sphinx: 1.4.1 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: 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 I'm currently on pandas sprint at PyCon APAC, so i will send pull request today if possible.
{ "+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/14003/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14003/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/14004
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14004/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14004/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14004/events
https://github.com/pandas-dev/pandas/pull/14004
171,125,361
MDExOlB1bGxSZXF1ZXN0ODEyODEyOTQ=
14,004
DOC: fixed using IP.prompt_manager which is removed from IPython 5.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/20366708?v=4", "events_url": "https://api.github.com/users/znmean/events{/privacy}", "followers_url": "https://api.github.com/users/znmean/followers", "following_url": "https://api.github.com/users/znmean/following{/other_user}", "gists_url": "https://api.github.com/users/znmean/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/znmean", "id": 20366708, "login": "znmean", "node_id": "MDQ6VXNlcjIwMzY2NzA4", "organizations_url": "https://api.github.com/users/znmean/orgs", "received_events_url": "https://api.github.com/users/znmean/received_events", "repos_url": "https://api.github.com/users/znmean/repos", "site_admin": false, "starred_url": "https://api.github.com/users/znmean/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/znmean/subscriptions", "type": "User", "url": "https://api.github.com/users/znmean" }
[ { "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": "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-08-15T08:03:05Z
2016-08-18T20:50:26Z
2016-08-18T20:50:14Z
CONTRIBUTOR
null
- [x] closes #14003, #13639 - [ ] tests added / passed (there's no test on building docs) - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry (it's not user facing bug fix) this PR was made during PyCon APAC, pandas sprint thanks
{ "+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/14004/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14004/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14004.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14004", "merged_at": "2016-08-18T20:50:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14004.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14004" }
https://api.github.com/repos/pandas-dev/pandas/issues/14005
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14005/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14005/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14005/events
https://github.com/pandas-dev/pandas/pull/14005
171,196,525
MDExOlB1bGxSZXF1ZXN0ODEzMjk5MTE=
14,005
BUG: No affect both index and column(GH 13522)
{ "avatar_url": "https://avatars.githubusercontent.com/u/20844595?v=4", "events_url": "https://api.github.com/users/conquistador1492/events{/privacy}", "followers_url": "https://api.github.com/users/conquistador1492/followers", "following_url": "https://api.github.com/users/conquistador1492/following{/other_user}", "gists_url": "https://api.github.com/users/conquistador1492/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/conquistador1492", "id": 20844595, "login": "conquistador1492", "node_id": "MDQ6VXNlcjIwODQ0NTk1", "organizations_url": "https://api.github.com/users/conquistador1492/orgs", "received_events_url": "https://api.github.com/users/conquistador1492/received_events", "repos_url": "https://api.github.com/users/conquistador1492/repos", "site_admin": false, "starred_url": "https://api.github.com/users/conquistador1492/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/conquistador1492/subscriptions", "type": "User", "url": "https://api.github.com/users/conquistador1492" }
[ { "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": "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" } ]
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-15T15:40:29Z
2016-08-17T22:04:03Z
2016-08-17T22:03:59Z
CONTRIBUTOR
null
- [x] closes #13522 - [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/14005/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14005/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14005.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14005", "merged_at": "2016-08-17T22:03:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14005.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14005" }
https://api.github.com/repos/pandas-dev/pandas/issues/14006
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14006/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14006/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14006/events
https://github.com/pandas-dev/pandas/pull/14006
171,304,194
MDExOlB1bGxSZXF1ZXN0ODE0MDQwMjE=
14,006
BUG: Avoid sentinel-infinity comparison problems (#13445)
{ "avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4", "events_url": "https://api.github.com/users/dsm054/events{/privacy}", "followers_url": "https://api.github.com/users/dsm054/followers", "following_url": "https://api.github.com/users/dsm054/following{/other_user}", "gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsm054", "id": 980054, "login": "dsm054", "node_id": "MDQ6VXNlcjk4MDA1NA==", "organizations_url": "https://api.github.com/users/dsm054/orgs", "received_events_url": "https://api.github.com/users/dsm054/received_events", "repos_url": "https://api.github.com/users/dsm054/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsm054/subscriptions", "type": "User", "url": "https://api.github.com/users/dsm054" }
[ { "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
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-16T01:59:10Z
2016-08-16T10:32:47Z
2016-08-16T10:15:30Z
CONTRIBUTOR
null
The problem causing #13445 ultimately traces to the fact that our Infinity/NegInfinity objects were greater than/less than themselves, which violates an assumption numpy makes when sorting. This was separately reported as https://github.com/numpy/numpy/issues/7934, but we can fix and test downstream as well. - [X] closes #13445 - [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/14006/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14006/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14006.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14006", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/14006.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14006" }
https://api.github.com/repos/pandas-dev/pandas/issues/14007
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/14007/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/14007/comments
https://api.github.com/repos/pandas-dev/pandas/issues/14007/events
https://github.com/pandas-dev/pandas/pull/14007
171,307,838
MDExOlB1bGxSZXF1ZXN0ODE0MDU2NjE=
14,007
DEPR: Deprecate SparseList
{ "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": "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" }, { "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" }
2
2016-08-16T02:24:36Z
2016-08-16T09:57:42Z
2016-08-16T09:57:38Z
MEMBER
null
Title is self-explanatory. Closes #13784.
{ "+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/14007/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/14007/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/14007.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/14007", "merged_at": "2016-08-16T09:57:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/14007.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/14007" }