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/34417
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34417/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34417/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34417/events
https://github.com/pandas-dev/pandas/pull/34417
626,023,731
MDExOlB1bGxSZXF1ZXN0NDI0MTA4ODMy
34,417
TST closes #28980 Certain comparison operations misbehaving for period dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/59281854?v=4", "events_url": "https://api.github.com/users/OlivierLuG/events{/privacy}", "followers_url": "https://api.github.com/users/OlivierLuG/followers", "following_url": "https://api.github.com/users/OlivierLuG/following{/other_user}", "gists_url": "https://api.github.com/users/OlivierLuG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/OlivierLuG", "id": 59281854, "login": "OlivierLuG", "node_id": "MDQ6VXNlcjU5MjgxODU0", "organizations_url": "https://api.github.com/users/OlivierLuG/orgs", "received_events_url": "https://api.github.com/users/OlivierLuG/received_events", "repos_url": "https://api.github.com/users/OlivierLuG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/OlivierLuG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OlivierLuG/subscriptions", "type": "User", "url": "https://api.github.com/users/OlivierLuG" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-05-27T20:54:29Z
2020-06-11T17:30:42Z
2020-05-28T17:17:44Z
CONTRIBUTOR
null
I've added test to compare `pd.Series([...], dtype="period[A-DEC]")` to dtype `str`, `bool`, `int`, `float` and `None`. - [ x ] closes #28980 - [ 5 ] tests added / passed - [ x ] passes `black pandas` - [ x ] passes `git diff upstream/master -u -- "*.py" | 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/34417/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34417/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34417.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34417", "merged_at": "2020-05-28T17:17:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34417.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34417" }
https://api.github.com/repos/pandas-dev/pandas/issues/34418
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34418/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34418/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34418/events
https://github.com/pandas-dev/pandas/pull/34418
626,098,711
MDExOlB1bGxSZXF1ZXN0NDI0MTYwNjM0
34,418
DEPR: deprecate non keyword arguments in read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "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" }, { "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-27T23:15:39Z
2020-05-29T06:12:00Z
2020-05-29T01:00:45Z
CONTRIBUTOR
null
Follow-up to #27573. Allows two non-keyword arguments, ``io`` and ``sheet_name``. I think ``sheet_name`` is quite often (e.g. Interactively) supplied without being a keyword argument and requiring it will just be needlessly annoying. Also some clean-up in pandas/tests/io/excel.
{ "+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/34418/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34418/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34418.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34418", "merged_at": "2020-05-29T01:00:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34418.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34418" }
https://api.github.com/repos/pandas-dev/pandas/issues/34419
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34419/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34419/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34419/events
https://github.com/pandas-dev/pandas/pull/34419
626,122,785
MDExOlB1bGxSZXF1ZXN0NDI0MTc5MTkx
34,419
REF: make remaining offset classes cdef
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-28T00:20:04Z
2020-05-28T17:21:51Z
2020-05-28T17:13:18Z
MEMBER
null
After this its just down to 1) a pass to clean up pickle-based kludges that were needed when these were mixed python/cython 2) privatize things in liboffsets no longer needed externally 3) move to_offset int liboffsets
{ "+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/34419/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34419/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34419.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34419", "merged_at": "2020-05-28T17:13:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34419.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34419" }
https://api.github.com/repos/pandas-dev/pandas/issues/34420
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34420/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34420/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34420/events
https://github.com/pandas-dev/pandas/pull/34420
626,160,397
MDExOlB1bGxSZXF1ZXN0NDI0MjA2Nzcw
34,420
REF: move to_offset to liboffsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-28T02:16:20Z
2020-05-28T17:20:37Z
2020-05-28T17:11:55Z
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/34420/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34420/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34420.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34420", "merged_at": "2020-05-28T17:11:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34420.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34420" }
https://api.github.com/repos/pandas-dev/pandas/issues/34421
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34421/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34421/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34421/events
https://github.com/pandas-dev/pandas/pull/34421
626,180,510
MDExOlB1bGxSZXF1ZXN0NDI0MjIyMDc1
34,421
BUG: taking slices in _slice_take_blocks_ax0
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-28T03:16:31Z
2021-11-20T23:23:10Z
2020-05-28T17:19:47Z
MEMBER
null
- [x] closes #34367 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34421/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34421/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34421.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34421", "merged_at": "2020-05-28T17:19:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34421.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34421" }
https://api.github.com/repos/pandas-dev/pandas/issues/34422
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34422/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34422/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34422/events
https://github.com/pandas-dev/pandas/issues/34422
626,197,784
MDU6SXNzdWU2MjYxOTc3ODQ=
34,422
BUG: SeriesGroupBy works with any column name specified in NamedAgg
{ "avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4", "events_url": "https://api.github.com/users/gurukiran07/events{/privacy}", "followers_url": "https://api.github.com/users/gurukiran07/followers", "following_url": "https://api.github.com/users/gurukiran07/following{/other_user}", "gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gurukiran07", "id": 47276342, "login": "gurukiran07", "node_id": "MDQ6VXNlcjQ3Mjc2MzQy", "organizations_url": "https://api.github.com/users/gurukiran07/orgs", "received_events_url": "https://api.github.com/users/gurukiran07/received_events", "repos_url": "https://api.github.com/users/gurukiran07/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions", "type": "User", "url": "https://api.github.com/users/gurukiran07" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4", "events_url": "https://api.github.com/users/gurukiran07/events{/privacy}", "followers_url": "https://api.github.com/users/gurukiran07/followers", "following_url": "https://api.github.com/users/gurukiran07/following{/other_user}", "gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gurukiran07", "id": 47276342, "login": "gurukiran07", "node_id": "MDQ6VXNlcjQ3Mjc2MzQy", "organizations_url": "https://api.github.com/users/gurukiran07/orgs", "received_events_url": "https://api.github.com/users/gurukiran07/received_events", "repos_url": "https://api.github.com/users/gurukiran07/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions", "type": "User", "url": "https://api.github.com/users/gurukiran07" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4", "events_url": "https://api.github.com/users/gurukiran07/events{/privacy}", "followers_url": "https://api.github.com/users/gurukiran07/followers", "following_url": "https://api.github.com/users/gurukiran07/following{/other_user}", "gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gurukiran07", "id": 47276342, "login": "gurukiran07", "node_id": "MDQ6VXNlcjQ3Mjc2MzQy", "organizations_url": "https://api.github.com/users/gurukiran07/orgs", "received_events_url": "https://api.github.com/users/gurukiran07/received_events", "repos_url": "https://api.github.com/users/gurukiran07/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions", "type": "User", "url": "https://api.github.com/users/gurukiran07" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-28T04:09:08Z
2020-06-03T22:26:16Z
2020-06-03T22:26:15Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python3 s = pd.Series([1,1,2,2,3,3,4,5]) s.groupby(s.values).agg(one = pd.NamedAgg(column='anything',aggfunc='sum')) one 1 2 2 4 3 6 4 4 5 5 s.groupby(s.values).agg(one=('something','sum')) one 1 2 2 4 3 6 4 4 5 5 ``` #### Problem description For `SeriesGroupBy.agg` named aggregation, it accepts any column name as mentioned in the above examples but Series doesn't have any columns. #### Expected Output After discussing with @TomAugspurger and @MarcoGorelli in another issue #34380 regarding this issue in the comments, We came to a solution that > So for SeriesGroupBy.agg, if there are any tuples or NamedAgg present in kwargs then I think we should raise. Disallowing `NamedAgg` and tuples with `SeriesGroupBy`. ```python3 s.groupby(s.values).agg(one = pd.NamedAgg(column='anything',aggfunc='sum')) # Error should be raised. s.groupby(s.values).agg(one=('something','sum')) # Error should be raised. ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.3 pytz : 2019.3 dateutil : 2.8.1 pip : 20.1.1 setuptools : 46.1.3 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : None </details>
{ "+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/34422/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34422/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34423
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34423/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34423/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34423/events
https://github.com/pandas-dev/pandas/pull/34423
626,204,029
MDExOlB1bGxSZXF1ZXN0NDI0MjM5OTEz
34,423
BUG: Fix failing MacPython 32bit wheels for groupby rolling
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "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": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-05-28T04:26:34Z
2020-05-29T19:08:49Z
2020-05-29T19:05:06Z
MEMBER
null
- [x] closes #34410 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` What would be the best way to validate that this fixes the MacPython/pandas-wheels @TomAugspurger
{ "+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/34423/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34423/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34423.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34423", "merged_at": "2020-05-29T19:05:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34423.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34423" }
https://api.github.com/repos/pandas-dev/pandas/issues/34424
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34424/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34424/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34424/events
https://github.com/pandas-dev/pandas/pull/34424
626,337,305
MDExOlB1bGxSZXF1ZXN0NDI0MzQ0NjA1
34,424
DOC: intersphinx inventory link for statsmodels
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
0
2020-05-28T08:53:27Z
2020-05-28T09:41:45Z
2020-05-28T09:41:36Z
MEMBER
null
intersphinx inventory has moved: http://www.statsmodels.org/devel/objects.inv -> https://www.statsmodels.org/devel/objects.inv EDIT: this is already change on master. this PR directly against 1.0.x
{ "+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/34424/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34424/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34424.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34424", "merged_at": "2020-05-28T09:41:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34424.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34424" }
https://api.github.com/repos/pandas-dev/pandas/issues/34425
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34425/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34425/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34425/events
https://github.com/pandas-dev/pandas/pull/34425
626,402,909
MDExOlB1bGxSZXF1ZXN0NDI0Mzk4NTIz
34,425
DOC: 1.0.4 release notes and date
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
0
2020-05-28T10:35:29Z
2020-05-28T11:38:23Z
2020-05-28T11:38:16Z
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/34425/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34425/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34425.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34425", "merged_at": "2020-05-28T11:38:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34425.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34425" }
https://api.github.com/repos/pandas-dev/pandas/issues/34426
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34426/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34426/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34426/events
https://github.com/pandas-dev/pandas/pull/34426
626,405,859
MDExOlB1bGxSZXF1ZXN0NDI0NDAwOTg2
34,426
Categorical.(get|from)_dummies
{ "avatar_url": "https://avatars.githubusercontent.com/u/8995328?v=4", "events_url": "https://api.github.com/users/clbarnes/events{/privacy}", "followers_url": "https://api.github.com/users/clbarnes/followers", "following_url": "https://api.github.com/users/clbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/clbarnes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/clbarnes", "id": 8995328, "login": "clbarnes", "node_id": "MDQ6VXNlcjg5OTUzMjg=", "organizations_url": "https://api.github.com/users/clbarnes/orgs", "received_events_url": "https://api.github.com/users/clbarnes/received_events", "repos_url": "https://api.github.com/users/clbarnes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/clbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/clbarnes/subscriptions", "type": "User", "url": "https://api.github.com/users/clbarnes" }
[ { "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": "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
15
2020-05-28T10:40:18Z
2021-03-21T00:30:25Z
2021-03-21T00:30:25Z
CONTRIBUTOR
null
Simply converting categorical variables to and from dummy variables. - [x] closes #8745 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Intentionally smaller-scoped than #31795 (and indeed `get_dummies`) as a broadly useful MVP which can be chained with other basic functionality. The tests are fairly rudimentary and I welcome any edge cases which should be picked out. ## For discussion ### from_dummies * class method rather than free function: Keeps categorical-related functionality together, reduces surface in the global namespace, more obvious what is produced. * silently drop column with NA header: wasn't sure about this. Maybe it should raise a warning? * No handling of masked dataframes or dataframes with NA values * No subsetting or renaming of columns: callers can do this themselves ### to_dummies * Name: I went for `Categorical.to_dummies` instead of matching the free function `get_dummies`. The symmetry of to/from aids understanding, and using `get_` might imply A) that something is being got, which it isn't or B) signature/ feature parity with the existing method, which wasn't a design goal for me. * `to_dummies` return type: `cls.to_dummies` returns bools, where `get_dummies` returns uint8s by default, which doesn't make a lot of sense to me as we are representing boolean data (and they're the same in memory anyway). Dummy variables are generally used for regression where a continuous variable is required, so ints don't get us any closer to what we may want, and being able to index into the categories using the row may be valuable. * No `dtype` argument: I didn't see any benefit of `cls.to_dummies(dtype=float)` over `cls.to_dummies().astype(float)`. The latter is more explicit, no slower, and minimises API surface. * No `prefix`, `prefix_sep` arguments: these unnecessarily assume string column headers. If someone wants to rename their columns, they can: IMO it's not a core requirement of this method. * `dumma_na` replaced with `na_column`: if we're including the argument, we may as well let the user decide what they want to call their column, using the dtype they prefer (e.g. `"other"`, `-1` etc). They can always supply `np.nan` if they want `get_dummies`-like behaviour. * No `sparse` argument: This I regret. Producing a sparse array would be valuable. However, it would drastically complicate the method, so I left it out for the MVP. The caller can always sparsify it after it's produced, so long as RAM isn't an issue for the temporary df. * No `drop_first` argument: If someone wants to drop one of their columns, they can (`cls.to_dummies().drop(columns="my_col")`): again, not a core requirement of this method. Broadly speaking, I'm not in favour of adding arguments to save the caller <=1 line of their own code unless there are e.g. speed gains.
{ "+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/34426/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34426/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34426.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34426", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34426.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34426" }
https://api.github.com/repos/pandas-dev/pandas/issues/34427
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34427/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34427/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34427/events
https://github.com/pandas-dev/pandas/issues/34427
626,422,343
MDU6SXNzdWU2MjY0MjIzNDM=
34,427
CLN: is pandas/tests/data used?
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "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" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/47032941?v=4", "events_url": "https://api.github.com/users/najann/events{/privacy}", "followers_url": "https://api.github.com/users/najann/followers", "following_url": "https://api.github.com/users/najann/following{/other_user}", "gists_url": "https://api.github.com/users/najann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/najann", "id": 47032941, "login": "najann", "node_id": "MDQ6VXNlcjQ3MDMyOTQx", "organizations_url": "https://api.github.com/users/najann/orgs", "received_events_url": "https://api.github.com/users/najann/received_events", "repos_url": "https://api.github.com/users/najann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/najann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/najann/subscriptions", "type": "User", "url": "https://api.github.com/users/najann" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47032941?v=4", "events_url": "https://api.github.com/users/najann/events{/privacy}", "followers_url": "https://api.github.com/users/najann/followers", "following_url": "https://api.github.com/users/najann/following{/other_user}", "gists_url": "https://api.github.com/users/najann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/najann", "id": 47032941, "login": "najann", "node_id": "MDQ6VXNlcjQ3MDMyOTQx", "organizations_url": "https://api.github.com/users/najann/orgs", "received_events_url": "https://api.github.com/users/najann/received_events", "repos_url": "https://api.github.com/users/najann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/najann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/najann/subscriptions", "type": "User", "url": "https://api.github.com/users/najann" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-05-28T11:07:59Z
2020-06-05T23:04:24Z
2020-06-05T23:04:24Z
MEMBER
null
In `pandas/tests/data` there are two files: ``` iris.csv tips.csv ``` Both of these files are also in `pandas/tests/io/data/csv`. Do they need to be in both places? If not, can they be removed from one of them?
{ "+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/34427/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34427/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34428
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34428/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34428/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34428/events
https://github.com/pandas-dev/pandas/pull/34428
626,440,270
MDExOlB1bGxSZXF1ZXN0NDI0NDI5Njgx
34,428
DOC: 1.0.4 whatsnew
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "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": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
8
2020-05-28T11:38:59Z
2020-05-28T12:55:01Z
2020-05-28T12:54:26Z
CONTRIBUTOR
null
Brings 1.0.4.rst to master & sets the release date (for tomorrow) cc @simonjayhawkins.
{ "+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/34428/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34428/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34428.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34428", "merged_at": "2020-05-28T12:54:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34428.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34428" }
https://api.github.com/repos/pandas-dev/pandas/issues/34429
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34429/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34429/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34429/events
https://github.com/pandas-dev/pandas/pull/34429
626,447,697
MDExOlB1bGxSZXF1ZXN0NDI0NDM1ODc4
34,429
Fix read_sql empty result with chunksize bug GH34411
{ "avatar_url": "https://avatars.githubusercontent.com/u/1926144?v=4", "events_url": "https://api.github.com/users/JohanKahrstrom/events{/privacy}", "followers_url": "https://api.github.com/users/JohanKahrstrom/followers", "following_url": "https://api.github.com/users/JohanKahrstrom/following{/other_user}", "gists_url": "https://api.github.com/users/JohanKahrstrom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JohanKahrstrom", "id": 1926144, "login": "JohanKahrstrom", "node_id": "MDQ6VXNlcjE5MjYxNDQ=", "organizations_url": "https://api.github.com/users/JohanKahrstrom/orgs", "received_events_url": "https://api.github.com/users/JohanKahrstrom/received_events", "repos_url": "https://api.github.com/users/JohanKahrstrom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JohanKahrstrom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JohanKahrstrom/subscriptions", "type": "User", "url": "https://api.github.com/users/JohanKahrstrom" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
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" }
19
2020-05-28T11:52:29Z
2021-01-14T18:52:51Z
2021-01-14T18:52:47Z
CONTRIBUTOR
null
- [x ] closes #34411 - [ x] tests added / passed - [ x] passes `black pandas` - [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ x] whatsnew entry `pd.read_sql` was returning an empty generator when chunksize is set and the query returns zero results. Now it correctly returns a generator with a single empty DataFrame (:issue:`34411`).
{ "+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/34429/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34429/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34429.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34429", "merged_at": "2021-01-14T18:52:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34429.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34429" }
https://api.github.com/repos/pandas-dev/pandas/issues/34430
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34430/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34430/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34430/events
https://github.com/pandas-dev/pandas/pull/34430
626,465,323
MDExOlB1bGxSZXF1ZXN0NDI0NDUwMjgx
34,430
DOC: cleanup whatsnew post 1.0.4 release
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-28T12:21:33Z
2020-06-01T15:47:51Z
2020-05-28T18:13:52Z
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/34430/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34430/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34430.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34430", "merged_at": "2020-05-28T18:13:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34430.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34430" }
https://api.github.com/repos/pandas-dev/pandas/issues/34431
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34431/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34431/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34431/events
https://github.com/pandas-dev/pandas/issues/34431
626,494,574
MDU6SXNzdWU2MjY0OTQ1NzQ=
34,431
BUG: pandas.to_sql raises unexpected column error if data contains -numpy.inf
{ "avatar_url": "https://avatars.githubusercontent.com/u/17763835?v=4", "events_url": "https://api.github.com/users/PiotrBenedysiuk/events{/privacy}", "followers_url": "https://api.github.com/users/PiotrBenedysiuk/followers", "following_url": "https://api.github.com/users/PiotrBenedysiuk/following{/other_user}", "gists_url": "https://api.github.com/users/PiotrBenedysiuk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PiotrBenedysiuk", "id": 17763835, "login": "PiotrBenedysiuk", "node_id": "MDQ6VXNlcjE3NzYzODM1", "organizations_url": "https://api.github.com/users/PiotrBenedysiuk/orgs", "received_events_url": "https://api.github.com/users/PiotrBenedysiuk/received_events", "repos_url": "https://api.github.com/users/PiotrBenedysiuk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PiotrBenedysiuk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PiotrBenedysiuk/subscriptions", "type": "User", "url": "https://api.github.com/users/PiotrBenedysiuk" }
[ { "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
[]
null
3
2020-05-28T13:07:58Z
2020-07-01T18:28:31Z
2020-07-01T18:28:31Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas import numpy pandas.DataFrame({'foo': [numpy.inf]}).to_sql('foobar1', engine) #ProgrammingError: inf can not be used with MySQL pandas.DataFrame({'foo': [-numpy.inf]}).to_sql('foobar2', engine) # OperationalError: (1054, "Unknown column 'infe0' in 'field list'") pandas.DataFrame({'foo': [-numpy.inf], 'infe0':['bar']}).to_sql('foobar3', engine) # inserts (foo:Null, infe0: 'bar') into db ``` #### Problem description I'd expect consistent behaviour between `numpy.inf` and `-numpy.inf`. Raising ProgrammingError in both cases is clear for the user. Furthermore, the query send should **not** interpret -inf as field `infe0`. #### Expected Output `ProgrammingError: inf can not be used with MySQL` in all 3 cases. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.1.final.0 python-bits: 64 OS: Linux OS-release: 4.19.76-linuxkit machine: x86_64 processor: byteorder: little LC_ALL: None LANG: C.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.23.4 pytest: None pip: 20.0.2 setuptools: 40.6.2 Cython: None numpy: 1.15.4 scipy: None pyarrow: 0.11.1 xarray: None IPython: 7.13.0 sphinx: None patsy: None dateutil: 2.8.1 pytz: 2019.3 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: 4.4.1 bs4: None html5lib: None sqlalchemy: 1.3.11 pymysql: None psycopg2: None jinja2: 2.11.2 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None </details>
{ "+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/34431/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34431/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34432
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34432/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34432/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34432/events
https://github.com/pandas-dev/pandas/pull/34432
626,613,093
MDExOlB1bGxSZXF1ZXN0NDI0NTcyNzQ2
34,432
CLN: assorted tslibs cleanups
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-28T15:41:33Z
2020-05-28T21:28:52Z
2020-05-28T20:56:28Z
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/34432/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34432/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34432.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34432", "merged_at": "2020-05-28T20:56:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34432.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34432" }
https://api.github.com/repos/pandas-dev/pandas/issues/34433
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34433/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34433/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34433/events
https://github.com/pandas-dev/pandas/pull/34433
626,691,566
MDExOlB1bGxSZXF1ZXN0NDI0NjM0Njg4
34,433
DOC: reduce API docs for offset aliases
{ "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-05-28T17:38:54Z
2020-06-19T11:01:29Z
2020-06-19T11:01:22Z
MEMBER
null
Test to see if this works with sphinx
{ "+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/34433/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34433/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34433.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34433", "merged_at": "2020-06-19T11:01:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34433.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34433" }
https://api.github.com/repos/pandas-dev/pandas/issues/34434
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34434/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34434/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34434/events
https://github.com/pandas-dev/pandas/pull/34434
626,714,361
MDExOlB1bGxSZXF1ZXN0NDI0NjUyOTUw
34,434
TST: additional regression cases for slicing blockwise op (GH34421)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-28T18:17:28Z
2020-05-29T06:38:58Z
2020-05-28T22:20:24Z
MEMBER
null
Adding the other case from https://github.com/pandas-dev/pandas/issues/34367 to the test as well (although also fixed by the PR, it was failing with a different error originally, so might be worth it to add as test case as well). cc @jbrockmendel
{ "+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/34434/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34434/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34434.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34434", "merged_at": "2020-05-28T22:20:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34434.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34434" }
https://api.github.com/repos/pandas-dev/pandas/issues/34435
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34435/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34435/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34435/events
https://github.com/pandas-dev/pandas/pull/34435
626,728,968
MDExOlB1bGxSZXF1ZXN0NDI0NjY0ODUx
34,435
BUG: Fix to GH34422 SeriesGroupBy works only with 'func' now
{ "avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4", "events_url": "https://api.github.com/users/gurukiran07/events{/privacy}", "followers_url": "https://api.github.com/users/gurukiran07/followers", "following_url": "https://api.github.com/users/gurukiran07/following{/other_user}", "gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gurukiran07", "id": 47276342, "login": "gurukiran07", "node_id": "MDQ6VXNlcjQ3Mjc2MzQy", "organizations_url": "https://api.github.com/users/gurukiran07/orgs", "received_events_url": "https://api.github.com/users/gurukiran07/received_events", "repos_url": "https://api.github.com/users/gurukiran07/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions", "type": "User", "url": "https://api.github.com/users/gurukiran07" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
14
2020-05-28T18:42:25Z
2020-06-05T17:30:50Z
2020-06-03T22:26:16Z
CONTRIBUTOR
null
- [X] closes #34422 - [x] tests added / passed - [x] passes `black pandas` - [x] whatsnew entry This PR tries to fix the bug pointed in #34422 where `SeriesGroupBy.agg` works with any given column name in `NamedAgg`. After discussing with @TomAugspurger and @MarcoGorelli in another issue #34380 regarding this issue in the comments, We came to a solution that > So for SeriesGroupBy.agg, if there are any tuples or NamedAgg present in kwargs then I think we should raise. > Disallowing `NamedAgg` and tuples with `SeriesGroupBy`. #### Before fix: ```python3 s = pd.Series([1,1,2,2,3,3,4,5]) s.groupby(s.values).agg(one = pd.NamedAgg(column='anything',aggfunc='sum')) one 1 2 2 4 3 6 4 4 5 5 s.groupby(s.values).agg(one=('something','sum')) one 1 2 2 4 3 6 4 4 5 5 ``` #### After fix: ```python3 s = pd.Series([1,1,2,2,3,3,4,5]) s.groupby(s.values).agg(one = pd.NamedAgg(column='anything',aggfunc='sum')) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "d:\#gh34422\pandas\pandas\core\groupby\generic.py", line 243, in aggregate raise TypeError(tuple_given_message.format(type(kwargs[col]).__name__)) TypeError: 'func' is expected but recieved NamedAgg in **kwargs. s.groupby(s.values).agg(one=('something','sum')) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "d:\#gh34422\pandas\pandas\core\groupby\generic.py", line 243, in aggregate raise TypeError(tuple_given_message.format(type(kwargs[col]).__name__)) TypeError: 'func' is expected but recieved tuple in **kwargs. ```
{ "+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/34435/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34435/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34435.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34435", "merged_at": "2020-06-03T22:26:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34435.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34435" }
https://api.github.com/repos/pandas-dev/pandas/issues/34436
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34436/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34436/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34436/events
https://github.com/pandas-dev/pandas/issues/34436
626,740,582
MDU6SXNzdWU2MjY3NDA1ODI=
34,436
ENH: Implement min_max() function that returns both
{ "avatar_url": "https://avatars.githubusercontent.com/u/13473688?v=4", "events_url": "https://api.github.com/users/matteosantama/events{/privacy}", "followers_url": "https://api.github.com/users/matteosantama/followers", "following_url": "https://api.github.com/users/matteosantama/following{/other_user}", "gists_url": "https://api.github.com/users/matteosantama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matteosantama", "id": 13473688, "login": "matteosantama", "node_id": "MDQ6VXNlcjEzNDczNjg4", "organizations_url": "https://api.github.com/users/matteosantama/orgs", "received_events_url": "https://api.github.com/users/matteosantama/received_events", "repos_url": "https://api.github.com/users/matteosantama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matteosantama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matteosantama/subscriptions", "type": "User", "url": "https://api.github.com/users/matteosantama" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
null
2
2020-05-28T19:02:13Z
2020-08-21T17:05:43Z
2020-05-28T19:59:49Z
CONTRIBUTOR
null
#### Describe the solution you'd like It might be a common enough situation for someone to want to know the min AND max of an index or series. I assume the min and max are not stored as attributes so the function has to scan all the data. It would be an improvement to scan once, and return both values as a tuple. #### API breaking implications None ```python my_min, my_max = df.index.min_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/34436/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34436/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34437
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34437/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34437/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34437/events
https://github.com/pandas-dev/pandas/issues/34437
626,754,593
MDU6SXNzdWU2MjY3NTQ1OTM=
34,437
BUG: pivot_table calculates incorrect standard deviation when np.std passed to aggfunc
{ "avatar_url": "https://avatars.githubusercontent.com/u/54766615?v=4", "events_url": "https://api.github.com/users/dcsaba89/events{/privacy}", "followers_url": "https://api.github.com/users/dcsaba89/followers", "following_url": "https://api.github.com/users/dcsaba89/following{/other_user}", "gists_url": "https://api.github.com/users/dcsaba89/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dcsaba89", "id": 54766615, "login": "dcsaba89", "node_id": "MDQ6VXNlcjU0NzY2NjE1", "organizations_url": "https://api.github.com/users/dcsaba89/orgs", "received_events_url": "https://api.github.com/users/dcsaba89/received_events", "repos_url": "https://api.github.com/users/dcsaba89/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dcsaba89/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dcsaba89/subscriptions", "type": "User", "url": "https://api.github.com/users/dcsaba89" }
[ { "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
[]
null
3
2020-05-28T19:27:21Z
2020-05-29T12:46:05Z
2020-05-29T06:49:34Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- ` import numpy as np import pandas as pd df = pd.DataFrame({'A': ['a', 'a'], 'X': [2.8597, 2.8503]}) pivot = pd.pivot_table(df, index='A', values='X', aggfunc=(np.mean, np.std)) my_std = np.std(df.X) # 0.0047000000000001485 pivot_std = pivot.loc['a', 'std'] # 0.006646803743153757 ` #### Problem description pivot_table calculates incorrect standard deviation when np.std passed to aggfunc. #### Expected Output Numpy calculates the correct std in the given example.
{ "+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/34437/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34437/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34438
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34438/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34438/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34438/events
https://github.com/pandas-dev/pandas/issues/34438
626,763,906
MDU6SXNzdWU2MjY3NjM5MDY=
34,438
BUG: Styler.set_table_styles does not apply to Styler.to_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/34138772?v=4", "events_url": "https://api.github.com/users/r-ook/events{/privacy}", "followers_url": "https://api.github.com/users/r-ook/followers", "following_url": "https://api.github.com/users/r-ook/following{/other_user}", "gists_url": "https://api.github.com/users/r-ook/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/r-ook", "id": 34138772, "login": "r-ook", "node_id": "MDQ6VXNlcjM0MTM4Nzcy", "organizations_url": "https://api.github.com/users/r-ook/orgs", "received_events_url": "https://api.github.com/users/r-ook/received_events", "repos_url": "https://api.github.com/users/r-ook/repos", "site_admin": false, "starred_url": "https://api.github.com/users/r-ook/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/r-ook/subscriptions", "type": "User", "url": "https://api.github.com/users/r-ook" }
[ { "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" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
null
3
2020-05-28T19:37:38Z
2021-06-28T07:53:24Z
2021-06-28T07:53:24Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np # Dummy dataframe df = pd.DataFrame(np.random.rand(15).reshape(5,3), columns='x y z'.split()) # Apply style with `set_table_styles` and `applymap` style = df.style \ .set_table_styles([{'selector': 'th', 'props': [('background-color', 'orange')]}]) \ .applymap(lambda x: 'color: red' if x >.5 else 'color: blue') # Test with different engines for eng in ('xlsxwriter', 'openpyxl'): style.to_excel(f'tbl_style_tst_{eng}.xlsx', engine=eng) ``` #### Problem description In both `xlsx` files output above, only the element styling (`applymap`) are observed. Any `set_table_styles` styling seems to be ignored regardless of engine. The html from `style.render()` confirms the styling is correct, and is observed in html output as well: ```html <style type="text/css" > #T_4987f224_a119_11ea_b2cc_48452026764f th { background-color: orange; } #T_4987f224_a119_11ea_b2cc_48452026764frow0_col0 { color: red; color: red; color: red; color: red; color: red; } #T_4987f224_a119_11ea_b2cc_48452026764frow0_col1 { color: blue; color: blue; color: blue; color: blue; color: blue; } <!-- ...continues ... --> ``` ```python with open(r'pd_css_test.html', 'w') as f: f.write(style.render()) ``` #### Expected Output Unable to show excel/colors here, but the columns/index should have colour styling applied as expected from `set_table_styles`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 32 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_Canada.1252 pandas : 1.0.3 numpy : 1.18.4 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 1.2.8 numba : None </details>
{ "+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/34438/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34438/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34439
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34439/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34439/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34439/events
https://github.com/pandas-dev/pandas/pull/34439
626,802,781
MDExOlB1bGxSZXF1ZXN0NDI0NzI1MjQ2
34,439
TST #24444 converting Period to Timestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/59281854?v=4", "events_url": "https://api.github.com/users/OlivierLuG/events{/privacy}", "followers_url": "https://api.github.com/users/OlivierLuG/followers", "following_url": "https://api.github.com/users/OlivierLuG/following{/other_user}", "gists_url": "https://api.github.com/users/OlivierLuG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/OlivierLuG", "id": 59281854, "login": "OlivierLuG", "node_id": "MDQ6VXNlcjU5MjgxODU0", "organizations_url": "https://api.github.com/users/OlivierLuG/orgs", "received_events_url": "https://api.github.com/users/OlivierLuG/received_events", "repos_url": "https://api.github.com/users/OlivierLuG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/OlivierLuG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OlivierLuG/subscriptions", "type": "User", "url": "https://api.github.com/users/OlivierLuG" }
[ { "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": "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
[]
null
4
2020-05-28T20:44:49Z
2020-06-07T09:03:17Z
2020-06-07T08:45:06Z
CONTRIBUTOR
null
I've tested intervals `ms`, `s` and `min`. Note: the test raises an error for `ms` on v1.0.3, but is successful on master Note: I did not choose to close this issue has the test fail for `ns` unit [ ] #24444 [ 1 ] tests added / passed [ x ] passes `black pandas` [ x ] passes `git diff upstream/master -u -- "*.py" | 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/34439/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34439/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34439.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34439", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34439.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34439" }
https://api.github.com/repos/pandas-dev/pandas/issues/34440
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34440/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34440/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34440/events
https://github.com/pandas-dev/pandas/issues/34440
626,806,374
MDU6SXNzdWU2MjY4MDYzNzQ=
34,440
BUG: exponential moving window covariance fails for multiIndexed DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/17606067?v=4", "events_url": "https://api.github.com/users/PablocFonseca/events{/privacy}", "followers_url": "https://api.github.com/users/PablocFonseca/followers", "following_url": "https://api.github.com/users/PablocFonseca/following{/other_user}", "gists_url": "https://api.github.com/users/PablocFonseca/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PablocFonseca", "id": 17606067, "login": "PablocFonseca", "node_id": "MDQ6VXNlcjE3NjA2MDY3", "organizations_url": "https://api.github.com/users/PablocFonseca/orgs", "received_events_url": "https://api.github.com/users/PablocFonseca/received_events", "repos_url": "https://api.github.com/users/PablocFonseca/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PablocFonseca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PablocFonseca/subscriptions", "type": "User", "url": "https://api.github.com/users/PablocFonseca" }
[ { "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": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
7
2020-05-28T20:51:27Z
2021-08-18T11:11:57Z
2020-06-25T23:24:26Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np columns = pd.MultiIndex.from_product([['a','b','c'],['x','y','w','z'], list(range(9))]) index = range(1000) df = pd.DataFrame( np.random.normal(size=(len(index), len(columns))), index=index, columns=columns ) df.ewm(alpha=0.1).cov() #Throws AssertionError: Length of order must be same as number of levels (4), got 3 ``` #### Problem description When calculating ewm covariance, pandas fails when the DataFrame has multiindex columns. However it works when columns are simple Index dataframes. It works for: ```python pd.DataFrame(df.values).ewm(alpha=0.1).cov() ``` #### Expected Output The covariance, actually only the last matrix (last level of index) #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.3.post20200330 Cython : 0.29.15 pytest : 5.4.1 hypothesis : 5.8.3 sphinx : 2.4.4 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.9.0 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.15.1 pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.16 tables : 3.6.1 tabulate : 0.8.3 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.8 numba : 0.49.0 </details>
{ "+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/34440/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34440/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34441
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34441/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34441/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34441/events
https://github.com/pandas-dev/pandas/pull/34441
626,808,722
MDExOlB1bGxSZXF1ZXN0NDI0NzMwMDc1
34,441
Add date dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/39153813?v=4", "events_url": "https://api.github.com/users/zbrookle/events{/privacy}", "followers_url": "https://api.github.com/users/zbrookle/followers", "following_url": "https://api.github.com/users/zbrookle/following{/other_user}", "gists_url": "https://api.github.com/users/zbrookle/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zbrookle", "id": 39153813, "login": "zbrookle", "node_id": "MDQ6VXNlcjM5MTUzODEz", "organizations_url": "https://api.github.com/users/zbrookle/orgs", "received_events_url": "https://api.github.com/users/zbrookle/received_events", "repos_url": "https://api.github.com/users/zbrookle/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zbrookle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zbrookle/subscriptions", "type": "User", "url": "https://api.github.com/users/zbrookle" }
[ { "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": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
9
2020-05-28T20:55:54Z
2020-12-29T20:41:26Z
2020-12-29T20:41:26Z
CONTRIBUTOR
null
- [ ] closes #32473 This is the beginning of the date data type, and it definitely works properly on a high level. For some of the places where strings might need to be converted and such I used the cython code that was implemented in tslib. The time complexity is still linear, but some of those methods may need to be rewritten for dates in cython, which I'm happy to do.
{ "+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/34441/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34441/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34441.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34441", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34441.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34441" }
https://api.github.com/repos/pandas-dev/pandas/issues/34442
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34442/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34442/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34442/events
https://github.com/pandas-dev/pandas/pull/34442
626,822,570
MDExOlB1bGxSZXF1ZXN0NDI0NzQxNTk0
34,442
CLN: clearer lookups for period accessors
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-28T21:20:28Z
2020-05-28T22:20:24Z
2020-05-28T22:19:37Z
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/34442/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34442/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34442.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34442", "merged_at": "2020-05-28T22:19:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34442.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34442" }
https://api.github.com/repos/pandas-dev/pandas/issues/34443
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34443/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34443/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34443/events
https://github.com/pandas-dev/pandas/pull/34443
626,834,225
MDExOlB1bGxSZXF1ZXN0NDI0NzUxMjUx
34,443
TST #28981 comparison operation for interval dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/59281854?v=4", "events_url": "https://api.github.com/users/OlivierLuG/events{/privacy}", "followers_url": "https://api.github.com/users/OlivierLuG/followers", "following_url": "https://api.github.com/users/OlivierLuG/following{/other_user}", "gists_url": "https://api.github.com/users/OlivierLuG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/OlivierLuG", "id": 59281854, "login": "OlivierLuG", "node_id": "MDQ6VXNlcjU5MjgxODU0", "organizations_url": "https://api.github.com/users/OlivierLuG/orgs", "received_events_url": "https://api.github.com/users/OlivierLuG/received_events", "repos_url": "https://api.github.com/users/OlivierLuG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/OlivierLuG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OlivierLuG/subscriptions", "type": "User", "url": "https://api.github.com/users/OlivierLuG" }
[ { "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": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-28T21:41:00Z
2020-06-07T09:03:01Z
2020-06-03T18:04:41Z
CONTRIBUTOR
null
As a complement of #28980, one test was modified to take into account this issue: - [ x ] closes #28981 - [ 1 ] test modified - [ x ] passes `black pandas` - [ x ] passes `git diff upstream/master -u -- "*.py" | 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/34443/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34443/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34443.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34443", "merged_at": "2020-06-03T18:04:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34443.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34443" }
https://api.github.com/repos/pandas-dev/pandas/issues/34444
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34444/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34444/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34444/events
https://github.com/pandas-dev/pandas/pull/34444
626,858,509
MDExOlB1bGxSZXF1ZXN0NDI0NzcxMTAw
34,444
CLN: simplify to_offset
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-28T22:33:51Z
2020-05-29T01:09:34Z
2020-05-29T00:58:45Z
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/34444/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34444/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34444.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34444", "merged_at": "2020-05-29T00:58:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34444.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34444" }
https://api.github.com/repos/pandas-dev/pandas/issues/34445
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34445/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34445/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34445/events
https://github.com/pandas-dev/pandas/issues/34445
626,871,103
MDU6SXNzdWU2MjY4NzExMDM=
34,445
BUG: to_numpy on empty dataframe allocates O(len(df)) array
{ "avatar_url": "https://avatars.githubusercontent.com/u/1203825?v=4", "events_url": "https://api.github.com/users/huonw/events{/privacy}", "followers_url": "https://api.github.com/users/huonw/followers", "following_url": "https://api.github.com/users/huonw/following{/other_user}", "gists_url": "https://api.github.com/users/huonw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/huonw", "id": 1203825, "login": "huonw", "node_id": "MDQ6VXNlcjEyMDM4MjU=", "organizations_url": "https://api.github.com/users/huonw/orgs", "received_events_url": "https://api.github.com/users/huonw/received_events", "repos_url": "https://api.github.com/users/huonw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/huonw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/huonw/subscriptions", "type": "User", "url": "https://api.github.com/users/huonw" }
[ { "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": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
4
2020-05-28T23:00:58Z
2020-06-01T22:22:58Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import tracemalloc as tm import numpy as np N = 123456789 df = pd.DataFrame(index=range(N)) tm.start() arr = df.to_numpy(dtype=np.uint8) memory, _ = tm.get_traced_memory() print(memory, arr.size, arr.shape) tm.stop() ``` Output: ``` 123457803 0 (123456789, 0) ``` #### Problem description If a DataFrame `df` has no columns, the result of `df.to_numpy(...)` is an array without any data, meaning there's nothing that can be read from/written to memory at all. This array doesn't require a large memory allocation, but one is still allocated (specifically it is allocated as if all the 0s in the shape were 1s). This could be optimised in some form. This is almost certainly the same bug as https://github.com/numpy/numpy/issues/16410, but could have an explicit work-around in Pandas (e.g. so that the memory is still not allocated on older versions of NumPy, and because it's somewhat unclear how/if the NumPy bug will be fixed). #### Expected Output The reported memory allocated by the `to_numpy` call should be minimal, and not change with `N`, e.g. ``` 2640 0 (123456789, 0) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Darwin OS-release : 18.6.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.0.3 numpy : 1.18.4 pytz : 2019.1 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.2.0 Cython : None pytest : None hypothesis : None sphinx : 3.0.3 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : 0.8.3 xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+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/34445/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34445/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34446
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34446/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34446/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34446/events
https://github.com/pandas-dev/pandas/pull/34446
626,892,987
MDExOlB1bGxSZXF1ZXN0NDI0ODAwNDg4
34,446
CLN: liboffsets de-duplicate pickle code
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-28T23:40:59Z
2020-05-29T14:45:18Z
2020-05-29T12:24:23Z
MEMBER
null
privatize/cdef functions that are now only used in liboffsets
{ "+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/34446/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34446/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34446.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34446", "merged_at": "2020-05-29T12:24:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34446.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34446" }
https://api.github.com/repos/pandas-dev/pandas/issues/34447
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34447/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34447/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34447/events
https://github.com/pandas-dev/pandas/pull/34447
626,894,250
MDExOlB1bGxSZXF1ZXN0NDI0ODAxNjE4
34,447
REF: move offset_to_period_map from liboffsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-28T23:43:06Z
2020-05-29T01:10:38Z
2020-05-29T01:00:40Z
MEMBER
null
its only used in tseries.frequencies, so this puts it back there
{ "+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/34447/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34447/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34447.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34447", "merged_at": "2020-05-29T01:00:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34447.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34447" }
https://api.github.com/repos/pandas-dev/pandas/issues/34448
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34448/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34448/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34448/events
https://github.com/pandas-dev/pandas/pull/34448
626,922,814
MDExOlB1bGxSZXF1ZXN0NDI0ODI2MDUy
34,448
BUG: ensure_timedelta64ns overflows
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-05-29T00:50:28Z
2020-07-10T23:36:58Z
2020-07-10T22:19:55Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34448/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34448/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34448.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34448", "merged_at": "2020-07-10T22:19:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34448.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34448" }
https://api.github.com/repos/pandas-dev/pandas/issues/34449
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34449/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34449/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34449/events
https://github.com/pandas-dev/pandas/pull/34449
626,937,509
MDExOlB1bGxSZXF1ZXN0NDI0ODM3NDEx
34,449
BUG: Period.to_timestamp not matching PeriodArray.to_timestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
11
2020-05-29T01:39:17Z
2020-06-01T16:34:25Z
2020-06-01T15:40:17Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry With this change, I _think_ we can move to share some methods between Period and PeriodArray.
{ "+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/34449/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34449/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34449.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34449", "merged_at": "2020-06-01T15:40:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34449.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34449" }
https://api.github.com/repos/pandas-dev/pandas/issues/34450
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34450/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34450/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34450/events
https://github.com/pandas-dev/pandas/pull/34450
626,950,308
MDExOlB1bGxSZXF1ZXN0NDI0ODQ3MTA1
34,450
Fix MultiIndex .loc "Too Many Indexers" with None as return value
{ "avatar_url": "https://avatars.githubusercontent.com/u/26471690?v=4", "events_url": "https://api.github.com/users/pedrooa/events{/privacy}", "followers_url": "https://api.github.com/users/pedrooa/followers", "following_url": "https://api.github.com/users/pedrooa/following{/other_user}", "gists_url": "https://api.github.com/users/pedrooa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pedrooa", "id": 26471690, "login": "pedrooa", "node_id": "MDQ6VXNlcjI2NDcxNjkw", "organizations_url": "https://api.github.com/users/pedrooa/orgs", "received_events_url": "https://api.github.com/users/pedrooa/received_events", "repos_url": "https://api.github.com/users/pedrooa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pedrooa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pedrooa/subscriptions", "type": "User", "url": "https://api.github.com/users/pedrooa" }
[ { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-29T02:21:59Z
2020-06-03T18:02:27Z
2020-06-03T18:02:23Z
CONTRIBUTOR
null
- [x] closes #34318 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Three changes in indexing.py : - function _handle_lowerdim_multi_index_axis0 default return value was None, now it raises an Exception. - function _getitem_lowerdim checks for a raised exception instead of a value None. - function _getitem_nested_tuple checks for a raised exception instead of a value None(had to be changed because it also uses _handle_lowerdim_multi_index_axis0)
{ "+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/34450/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34450/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34450.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34450", "merged_at": "2020-06-03T18:02:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34450.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34450" }
https://api.github.com/repos/pandas-dev/pandas/issues/34451
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34451/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34451/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34451/events
https://github.com/pandas-dev/pandas/issues/34451
626,986,530
MDU6SXNzdWU2MjY5ODY1MzA=
34,451
BUG:pandas use all() or any() get wrong result
{ "avatar_url": "https://avatars.githubusercontent.com/u/41095755?v=4", "events_url": "https://api.github.com/users/sin-en-2009/events{/privacy}", "followers_url": "https://api.github.com/users/sin-en-2009/followers", "following_url": "https://api.github.com/users/sin-en-2009/following{/other_user}", "gists_url": "https://api.github.com/users/sin-en-2009/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sin-en-2009", "id": 41095755, "login": "sin-en-2009", "node_id": "MDQ6VXNlcjQxMDk1NzU1", "organizations_url": "https://api.github.com/users/sin-en-2009/orgs", "received_events_url": "https://api.github.com/users/sin-en-2009/received_events", "repos_url": "https://api.github.com/users/sin-en-2009/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sin-en-2009/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sin-en-2009/subscriptions", "type": "User", "url": "https://api.github.com/users/sin-en-2009" }
[ { "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
[]
null
5
2020-05-29T04:21:17Z
2020-05-29T06:24:30Z
2020-05-29T06:18:48Z
NONE
null
- [ ] I have checked that this issue has not already been reported. yes - [ ] I have confirmed this bug exists on the latest version of pandas. yes - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. yes --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python print(data['shift1'].values.all() > 0,data['shift1'].values) print(data['shift1'].values.any() > 0,data['shift1'].values[0],data['shift1'].values[1],-3680.0>0) ``` #### Problem description True [-3680. -3680.] True -3680.0 -3680.0 False The value of series is clearly less than 0, but using all () and any () gives the wrong result #### Expected Output True [-3680. -3680.] True -3680.0 -3680.0 False #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit : None python : 3.6.7.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.4 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 39.1.0 <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+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/34451/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34451/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34452
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34452/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34452/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34452/events
https://github.com/pandas-dev/pandas/issues/34452
627,156,490
MDU6SXNzdWU2MjcxNTY0OTA=
34,452
BUG: groupby.tshift inconsistent behavior with other groupby transformations
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "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": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
null
3
2020-05-29T10:10:40Z
2021-08-07T22:25:12Z
2021-08-07T22:25:12Z
MEMBER
null
I discovered this while trying to tackle issue #32344, where @ryankarlos mentioned `groupby.transform('tshift', ...)` seems to behave incorrectly. However, before we can address #32344, we probably need to address this. ```python # on current master >>> import pandas as pd >>> import numpy as np >>> pd.__version__ '1.1.0.dev0+1708.g043b60920' >>> df = pd.DataFrame( ... { ... "A": ["foo", "foo", "foo", "foo", "bar", "bar", "baz"], ... "B": [1, 2, np.nan, 3, 3, np.nan, 4], ... }, ... index=pd.date_range('2020-01-01', '2020-01-07') ... ) >>> df A B 2020-01-01 foo 1.0 2020-01-02 foo 2.0 2020-01-03 foo NaN 2020-01-04 foo 3.0 2020-01-05 bar 3.0 2020-01-06 bar NaN 2020-01-07 baz 4.0 >>> df.groupby("A").tshift(1, "D") B A bar 2020-01-06 3.0 2020-01-07 NaN baz 2020-01-08 4.0 foo 2020-01-02 1.0 2020-01-03 2.0 2020-01-04 NaN 2020-01-05 3.0 >>> df.groupby("A").ffill() B 2020-01-01 1.0 2020-01-02 2.0 2020-01-03 2.0 2020-01-04 3.0 2020-01-05 3.0 2020-01-06 3.0 2020-01-07 4.0 >>> df.groupby("A").cumsum() B 2020-01-01 1.0 2020-01-02 3.0 2020-01-03 NaN 2020-01-04 6.0 2020-01-05 3.0 2020-01-06 NaN 2020-01-07 4.0 ``` We can see that `groupby.tshift` is inconsistent with other groupby transformations. It retains the groupby column, and more importantly reordered the data. Since 0.25 we have had deliberate effort to make all groupby transformations consistent, see https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.25.0.html#dataframe-groupby-ffill-bfill-no-longer-return-group-labels Following this thinking I would expect the returned data to behave more like ```python >>> df.groupby("A").tshift(1, "D") # this is actually the result of df.tshift(1, "D").drop(columns='A') B 2020-01-02 1.0 2020-01-03 2.0 2020-01-04 NaN 2020-01-05 3.0 2020-01-06 3.0 2020-01-07 NaN 2020-01-08 4.0 ``` However, if we are to make `groupby.tshift` consistent with other groupby transformation like the above, this makes it no different from `df.tshift(1, "D").drop(columns='A')', and `groupby` has lost its meaning here. Perhaps we should just deprecate `groupby.tshift` entirely? I know #11631 discussed about deprecating `tshift`, but that has been stalled for a long time.
{ "+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/34452/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34452/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34453
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34453/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34453/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34453/events
https://github.com/pandas-dev/pandas/pull/34453
627,168,828
MDExOlB1bGxSZXF1ZXN0NDI1MDIyODQy
34,453
[ENH] Allow pad, backfill and cumcount in groupby.transform
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-05-29T10:32:25Z
2020-06-04T04:06:48Z
2020-06-03T23:28:12Z
MEMBER
null
- [x] closes #31269 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | 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/34453/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34453/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34453.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34453", "merged_at": "2020-06-03T23:28:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34453.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34453" }
https://api.github.com/repos/pandas-dev/pandas/issues/34454
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34454/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34454/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34454/events
https://github.com/pandas-dev/pandas/pull/34454
627,213,244
MDExOlB1bGxSZXF1ZXN0NDI1MDU4OTgz
34,454
TST/REF: refactor the arithmetic tests for IntegerArray
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
7
2020-05-29T11:53:24Z
2020-06-06T08:29:54Z
2020-06-06T08:29:20Z
MEMBER
null
This is an attempt to make the arithmetic tests for the masked arrays more understandable and maintainable (doing it here for IntegerArray as a start, but the idea would be to do the same for BooleanArray, and later FloatingArray as well, and at that point also share some of those tests). The problem with the current `arrays/integer/test_arithmetic.py` is that is quite complex to see what is going on (which I experienced when making a version for FloatingArray in https://github.com/pandas-dev/pandas/pull/34307): for example, there is a huge `_check_op` method that has all the logic to created the expected result, but so this also has all the special cases of all ops combined, making it very difficult to see what is going on or to know what is now exactly tested for a certain op. The reason for this structure is that those tests originally came from the base extension tests in `tests/extension/`, where the tests needed to be very generic. However, we already moved out those tests for IntgerArray, since they were all customized (nothing was still being inherited from the base class), but so we also don't need to maintain the original class structure then. The logic how I constructed the new tests: - I first test each `op` with an explicitly constructed expected result. Here, we test the IntegerArray-specific special cases (like things as `1 ** pd.NA`, or division resulting in a float numpy array, ..). Explicitly writing it down makes it a lot easier to read and to see what is tested (no complex `if op == ...: ..,` constructs, and no complex correcting of expected results based on ndarray) - Those first tests are all with EAs. In a next set of tests, I added tests for array+scalar ops, array+ndarray ops, ... But here, I just rely on creating the expected result with the EA itself (since EA+EA ops were already tested before) - Similar tests for frame+scalar, series+scalar, series+array with the EA dtypes -> rely on the actual EA op for the expected result instead of having `_check_op` handle that as well. cc @dsaxton @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/34454/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34454/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34454.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34454", "merged_at": "2020-06-06T08:29:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34454.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34454" }
https://api.github.com/repos/pandas-dev/pandas/issues/34455
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34455/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34455/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34455/events
https://github.com/pandas-dev/pandas/issues/34455
627,213,951
MDU6SXNzdWU2MjcyMTM5NTE=
34,455
BUG: Groupby.apply raises KeyError for Float64Index depending on order of index and column
{ "avatar_url": "https://avatars.githubusercontent.com/u/8629629?v=4", "events_url": "https://api.github.com/users/fjetter/events{/privacy}", "followers_url": "https://api.github.com/users/fjetter/followers", "following_url": "https://api.github.com/users/fjetter/following{/other_user}", "gists_url": "https://api.github.com/users/fjetter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fjetter", "id": 8629629, "login": "fjetter", "node_id": "MDQ6VXNlcjg2Mjk2Mjk=", "organizations_url": "https://api.github.com/users/fjetter/orgs", "received_events_url": "https://api.github.com/users/fjetter/received_events", "repos_url": "https://api.github.com/users/fjetter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fjetter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fjetter/subscriptions", "type": "User", "url": "https://api.github.com/users/fjetter" }
[ { "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice" } ]
null
3
2020-05-29T11:54:42Z
2020-10-24T17:06:08Z
null
MEMBER
null
When performing a groupby.apply on a dataframe with a float index, I receive a `KeyError`, depending on whether or not the index has the same ordering as the column I am grouping on. --- #### Code Sample broken ```python import pandas as pd df = pd.DataFrame({"col": [1, 2, 3,]}, index=[0.1, 0.3, 0.2,]) df.groupby("col").apply(lambda x: x) ``` working (mind the sorting of col vs index) ```python import pandas as pd df = pd.DataFrame({"col": [1, 2, 3,]}, index=[0.1, 0.2, 0.3,]) df.groupby("col").apply(lambda x: x) ``` ```python import pandas as pd df = pd.DataFrame({"col": [1, 4, 3,]}, index=[0.1, 0.4, 0.2,]) df.groupby("col").apply(lambda x: x) ``` #### Example traceback <details> ``` KeyError Traceback (most recent call last) <ipython-input-14-fac5566be46e> in <module> ----> 1 df.groupby("col").apply(lambda x: x.copy()) ~/workspace/pandas/pandas/core/groupby/groupby.py in apply(self, func, *args, **kwargs) 854 with option_context("mode.chained_assignment", None): 855 try: --> 856 result = self._python_apply_general(f, self._selected_obj) 857 except TypeError: 858 # gh-20949 ~/workspace/pandas/pandas/core/groupby/groupby.py in _python_apply_general(self, f, data) 887 data after applying f 888 """ --> 889 keys, values, mutated = self.grouper.apply(f, data, self.axis) 890 891 return self._wrap_applied_output( ~/workspace/pandas/pandas/core/groupby/ops.py in apply(self, f, data, axis) 176 ): 177 try: --> 178 result_values, mutated = splitter.fast_apply(f, sdata, group_keys) 179 180 except libreduction.InvalidApply as err: ~/workspace/pandas/pandas/core/groupby/ops.py in fast_apply(self, f, sdata, names) 962 # must return keys::list, values::list, mutated::bool 963 starts, ends = lib.generate_slices(self.slabels, self.ngroups) --> 964 return libreduction.apply_frame_axis0(sdata, f, names, starts, ends) 965 966 def _chop(self, sdata: DataFrame, slice_obj: slice) -> DataFrame: ~/workspace/pandas/pandas/_libs/reduction.pyx in pandas._libs.reduction.apply_frame_axis0() 482 results = [] 483 --> 484 slider = BlockSlider(frame) 485 486 mutated = False ~/workspace/pandas/pandas/_libs/reduction.pyx in pandas._libs.reduction.BlockSlider.__init__() 549 550 self.frame = frame --> 551 self.dummy = frame[:0] 552 self.index = self.dummy.index 553 ~/workspace/pandas/pandas/core/frame.py in __getitem__(self, key) 2810 2811 # Do we have a slicer (on rows)? -> 2812 indexer = convert_to_index_sliceable(self, key) 2813 if indexer is not None: 2814 # either we have a slice or we have a string that can be converted ~/workspace/pandas/pandas/core/indexing.py in convert_to_index_sliceable(obj, key) 2113 idx = obj.index 2114 if isinstance(key, slice): -> 2115 return idx._convert_slice_indexer(key, kind="getitem") 2116 2117 elif isinstance(key, str): ~/workspace/pandas/pandas/core/indexes/numeric.py in _convert_slice_indexer(self, key, kind) 382 # We always treat __getitem__ slicing as label-based 383 # translate to locations --> 384 return self.slice_indexer(key.start, key.stop, key.step, kind=kind) 385 386 # ---------------------------------------------------------------- ~/workspace/pandas/pandas/core/indexes/base.py in slice_indexer(self, start, end, step, kind) 4940 slice(1, 3, None) 4941 """ -> 4942 start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind) 4943 4944 # return a slice ~/workspace/pandas/pandas/core/indexes/base.py in slice_locs(self, start, end, step, kind) 5147 end_slice = None 5148 if end is not None: -> 5149 end_slice = self.get_slice_bound(end, "right", kind) 5150 if end_slice is None: 5151 end_slice = len(self) ~/workspace/pandas/pandas/core/indexes/base.py in get_slice_bound(self, label, side, kind) 5063 except ValueError: 5064 # raise the original KeyError -> 5065 raise err 5066 5067 if isinstance(slc, np.ndarray): ~/workspace/pandas/pandas/core/indexes/base.py in get_slice_bound(self, label, side, kind) 5057 # we need to look up the label 5058 try: -> 5059 slc = self.get_loc(label) 5060 except KeyError as err: 5061 try: ~/workspace/pandas/pandas/core/indexes/numeric.py in get_loc(self, key, method, tolerance) 444 return nan_idxs 445 --> 446 return super().get_loc(key, method=method, tolerance=tolerance) 447 448 @cache_readonly ~/workspace/pandas/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2876 return self._engine.get_loc(casted_key) 2877 except KeyError as err: -> 2878 raise KeyError(key) from err 2879 2880 if tolerance is not None: KeyError: 0 ``` </details> #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 043b60920ede5a2589ed29685ba7247fbbc4ea5f python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Mon Feb 10 21:08:45 PST 2020; root:xnu-4903.278.28~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.1.0.dev0+1708.g043b60920 numpy : 1.18.4 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.1.0.post20200528 Cython : 0.29.19 pytest : 5.4.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.14.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : 1.3.0 numba : None </details> - [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas (043b60920ede5a2589ed29685ba7247fbbc4ea5f)
{ "+1": 6, "-1": 0, "confused": 1, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 7, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34455/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34455/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34456
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34456/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34456/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34456/events
https://github.com/pandas-dev/pandas/issues/34456
627,226,268
MDU6SXNzdWU2MjcyMjYyNjg=
34,456
BUG: behaviour of astype_nansafe(.., copy=False) / SparseArray.astype bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "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" }
1
2020-05-29T12:16:00Z
2020-12-31T01:49:34Z
2020-12-31T01:49:34Z
MEMBER
null
So our internal `astype_nansafe` has the following behaviour: ``` In [53]: pd.core.dtypes.cast.astype_nansafe(np.array([1, 2, 3]), np.dtype("float64")) Out[53]: array([1., 2., 3.]) In [54]: pd.core.dtypes.cast.astype_nansafe(np.array([1, 2, 3]), np.dtype("float64"), copy=False) Out[54]: array([4.9e-324, 9.9e-324, 1.5e-323]) ``` where it seems it assumes it can take a view if `copy=False`, which of course depends on the dtype it is casting to: https://github.com/pandas-dev/pandas/blob/043b60920ede5a2589ed29685ba7247fbbc4ea5f/pandas/core/dtypes/cast.py#L990 I am not fully sure about the intent of `astype_nansafe` or whether this was intentional (I would say it is a bug, as I would expect that function to take care of whether `copy=False` is possible or not). This also causes a bug in SparseArray's `astype` with `copy=False`: ``` In [59]: pd.arrays.SparseArray([1, 2, 3]).astype(float, copy=False) Out[59]: [5e-324, 1e-323, 1.5e-323] Fill: 0.0 IntIndex Indices: array([0, 1, 2], 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/34456/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34456/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34457
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34457/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34457/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34457/events
https://github.com/pandas-dev/pandas/issues/34457
627,231,958
MDU6SXNzdWU2MjcyMzE5NTg=
34,457
API: SparseArray.astype behaviour to always preserve sparseness
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
4
2020-05-29T12:26:14Z
2021-10-20T23:29:09Z
null
MEMBER
null
Currently, the `SparseArray.astype` function will always convert the specified target dtype to a sparse dtype, if it is not one. For example, this gives: ``` In [64]: arr = pd.arrays.SparseArray([1, 0, 0, 2]) In [65]: arr Out[65]: [1, 0, 0, 2] Fill: 0 IntIndex Indices: array([0, 3], dtype=int32) In [66]: arr.astype(float) Out[66]: [1.0, 0.0, 0.0, 2.0] Fill: 0.0 IntIndex Indices: array([0, 3], dtype=int32) ``` This ensures that a simple `astype` doesn't densify the sparse array (and you don't need to do `astype(pd.SparseDtype(float, fill_value))`). And note this also gives this behaviour to `Series.astype(..)` But, this also gives the inconsistency that `arr.astype(target_dtype).dtype != target_dtype`, so you can rely on the fact that you get back an array of the actual dtype that you specified. See eg the workaround I need to add for this in https://github.com/pandas-dev/pandas/pull/34338
{ "+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/34457/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34457/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34458
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34458/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34458/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34458/events
https://github.com/pandas-dev/pandas/pull/34458
627,234,276
MDExOlB1bGxSZXF1ZXN0NDI1MDc1MzA4
34,458
CLN: Clean csv files in test data GH34427
{ "avatar_url": "https://avatars.githubusercontent.com/u/47032941?v=4", "events_url": "https://api.github.com/users/najann/events{/privacy}", "followers_url": "https://api.github.com/users/najann/followers", "following_url": "https://api.github.com/users/najann/following{/other_user}", "gists_url": "https://api.github.com/users/najann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/najann", "id": 47032941, "login": "najann", "node_id": "MDQ6VXNlcjQ3MDMyOTQx", "organizations_url": "https://api.github.com/users/najann/orgs", "received_events_url": "https://api.github.com/users/najann/received_events", "repos_url": "https://api.github.com/users/najann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/najann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/najann/subscriptions", "type": "User", "url": "https://api.github.com/users/najann" }
[ { "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": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
12
2020-05-29T12:30:26Z
2020-06-09T11:51:08Z
2020-06-05T23:04:24Z
CONTRIBUTOR
null
- [x] closes #34427 - [x] tests passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I deleted the `iris.csv` and `tips.csv` files which are unused duplicates (i.e. those in `pandas/tests/io/data/csv`).
{ "+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/34458/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34458/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34458.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34458", "merged_at": "2020-06-05T23:04:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34458.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34458" }
https://api.github.com/repos/pandas-dev/pandas/issues/34459
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34459/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34459/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34459/events
https://github.com/pandas-dev/pandas/issues/34459
627,236,642
MDU6SXNzdWU2MjcyMzY2NDI=
34,459
API: expected result of concat of SparseArray with Categorical?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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": "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
null
0
2020-05-29T12:34:39Z
2021-08-07T22:28:46Z
null
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/34338 The current behaviour when Sparse and Categorical are concatenated, is that for both the "dense" values are used (for sparse the densified values, for categorical the non-categorical version of the values). For example, Sparse[int] with Categorical[int] results in a plain `int` series: ``` In [1]: pd.concat([ ...: pd.Series([1, 0, 2], dtype=pd.SparseDtype("int64", 0)), ...: pd.Series([3, 4, 5], dtype="category") ...: ]) Out[1]: 0 1 1 0 2 2 0 3 1 4 2 5 dtype: int64 ``` An alternative could also be to preserve the sparseness in the result, which is what happens when concatting with a plain int series (not categorical): ``` In [2]: pd.concat([ ...: pd.Series([1, 0, 2], dtype=pd.SparseDtype("int64", 0)), ...: pd.Series([3, 4, 5], dtype="int64") ...: ]) Out[2]: 0 1 1 0 2 2 0 3 1 4 2 5 dtype: Sparse[int64, 0] ``` (alternatively, you could maybe also say that concatting with categorical should never give a numerical result, but rather object dtype or so)
{ "+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/34459/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34459/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34460
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34460/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34460/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34460/events
https://github.com/pandas-dev/pandas/issues/34460
627,370,946
MDU6SXNzdWU2MjczNzA5NDY=
34,460
Mixed object array with astype to Extension Array throws TypeError
{ "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
1
2020-05-29T15:57:58Z
2020-06-02T06:20:39Z
null
MEMBER
null
This works ```python >>> pd.Series([1, "1"]).astype(int) 0 1 1 1 dtype: int64 ``` This doesn't ```python >>> pd.Series([1, "1"]).astype("Int64") Traceback (most recent call last): File "/Users/willayd/clones/pandas/pandas/core/arrays/integer.py", line 165, in safe_cast return values.astype(dtype, casting="safe", copy=copy) TypeError: Cannot cast array from dtype('O') to dtype('int64') according to the rule 'safe' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/willayd/clones/pandas/pandas/core/generic.py", line 5635, in astype new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors,) File "/Users/willayd/clones/pandas/pandas/core/internals/managers.py", line 573, in astype return self.apply("astype", dtype=dtype, copy=copy, errors=errors) File "/Users/willayd/clones/pandas/pandas/core/internals/managers.py", line 402, in apply applied = getattr(b, f)(**kwargs) File "/Users/willayd/clones/pandas/pandas/core/internals/blocks.py", line 581, in astype values = astype_nansafe(vals1d, dtype, copy=True) File "/Users/willayd/clones/pandas/pandas/core/dtypes/cast.py", line 912, in astype_nansafe return dtype.construct_array_type()._from_sequence(arr, dtype=dtype, copy=copy) File "/Users/willayd/clones/pandas/pandas/core/arrays/integer.py", line 362, in _from_sequence return integer_array(scalars, dtype=dtype, copy=copy) File "/Users/willayd/clones/pandas/pandas/core/arrays/integer.py", line 153, in integer_array values, mask = coerce_to_array(values, dtype=dtype, copy=copy) File "/Users/willayd/clones/pandas/pandas/core/arrays/integer.py", line 270, in coerce_to_array values = safe_cast(values, dtype, copy=False) File "/Users/willayd/clones/pandas/pandas/core/arrays/integer.py", line 172, in safe_cast raise TypeError( TypeError: cannot safely cast non-equivalent object to int64 ```
{ "+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/34460/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34460/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34461
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34461/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34461/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34461/events
https://github.com/pandas-dev/pandas/pull/34461
627,374,658
MDExOlB1bGxSZXF1ZXN0NDI1MTkxMTc0
34,461
mask based multi-index assignment of column values described
{ "avatar_url": "https://avatars.githubusercontent.com/u/1465603?v=4", "events_url": "https://api.github.com/users/psteinb/events{/privacy}", "followers_url": "https://api.github.com/users/psteinb/followers", "following_url": "https://api.github.com/users/psteinb/following{/other_user}", "gists_url": "https://api.github.com/users/psteinb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/psteinb", "id": 1465603, "login": "psteinb", "node_id": "MDQ6VXNlcjE0NjU2MDM=", "organizations_url": "https://api.github.com/users/psteinb/orgs", "received_events_url": "https://api.github.com/users/psteinb/received_events", "repos_url": "https://api.github.com/users/psteinb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/psteinb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/psteinb/subscriptions", "type": "User", "url": "https://api.github.com/users/psteinb" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-29T16:04:08Z
2020-06-02T22:57:49Z
2020-06-02T22:57:44Z
CONTRIBUTOR
null
- [x] closes #34383 - [x] passes `black pandas` not sure what this means, will look it up. - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - ~~[ ] tests added / passed~~ this is an PR on documentation only, unit tests are not needed. - ~~[ ] whatsnew entry~~ I think I don't need this as this is a PR related to documentation 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/34461/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34461/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34461.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34461", "merged_at": "2020-06-02T22:57:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34461.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34461" }
https://api.github.com/repos/pandas-dev/pandas/issues/34462
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34462/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34462/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34462/events
https://github.com/pandas-dev/pandas/pull/34462
627,430,638
MDExOlB1bGxSZXF1ZXN0NDI1MjM3OTcz
34,462
REF: make Resolution an enum
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-29T17:41:57Z
2020-06-01T00:02:06Z
2020-05-31T23:22:37Z
MEMBER
null
I find this much clearer than just using an int. No measured performance impact.
{ "+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/34462/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34462/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34462.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34462", "merged_at": "2020-05-31T23:22:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34462.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34462" }
https://api.github.com/repos/pandas-dev/pandas/issues/34463
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34463/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34463/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34463/events
https://github.com/pandas-dev/pandas/issues/34463
627,433,033
MDU6SXNzdWU2Mjc0MzMwMzM=
34,463
ENH: Support logical and/or (bitwise ops) for nullable IntegerArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/20528457?v=4", "events_url": "https://api.github.com/users/eubene/events{/privacy}", "followers_url": "https://api.github.com/users/eubene/followers", "following_url": "https://api.github.com/users/eubene/following{/other_user}", "gists_url": "https://api.github.com/users/eubene/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eubene", "id": 20528457, "login": "eubene", "node_id": "MDQ6VXNlcjIwNTI4NDU3", "organizations_url": "https://api.github.com/users/eubene/orgs", "received_events_url": "https://api.github.com/users/eubene/received_events", "repos_url": "https://api.github.com/users/eubene/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eubene/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eubene/subscriptions", "type": "User", "url": "https://api.github.com/users/eubene" }
[ { "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
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" }
4
2020-05-29T17:46:40Z
2020-05-30T15:24:15Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas: [cc6348](https://github.com/pandas-dev/pandas/commit/cc634842a1d73e77145d62c4390dfa10f282e06b) --- Logical and/or (``&``, ``|``) on integer Series returns an integer Series: ```python >>> import pandas as pd >>> df = pd.DataFrame({'A': [1, 1, 0, 0], 'B': [1, 0, 1, 0]}) >>> df.A & df.B 0 1 1 0 2 0 3 0 dtype: int64 ``` Doing this for a nullable IntegerArray, I expect the result to be another IntegerArray, but it raises a TypeError: ```python >>> df.A.astype('Int64') & df.B.astype('Int64') ``` #### Traceback ```python-traceback Traceback (most recent call last): File "<stdin>", line 1, in <module> File "(snip)/pandas/core/ops/common.py", line 65, in new_method return method(self, other) File "(snip)/pandas/core/ops/__init__.py", line 393, in wrapper res_values = logical_op(lvalues, rvalues, op) File "(snip)/pandas/core/ops/array_ops.py", line 336, in logical_op res_values = op(lvalues, rvalues) TypeError: unsupported operand type(s) for &: 'IntegerArray' and 'IntegerArray' ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : cc634842a1d73e77145d62c4390dfa10f282e06b python : 3.7.7.final.0 python-bits : 64 OS : Darwin OS-release : 19.4.0 Version : Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.0.dev0+1710.gcc634842a numpy : 1.18.4 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 41.2.0 Cython : 0.29.19 pytest : 5.4.2 hypothesis : 5.16.0 sphinx : 3.0.4 blosc : 1.9.1 feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.14.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fastparquet : 0.4.0 gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.49.1 </details>
{ "+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/34463/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34463/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34464
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34464/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34464/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34464/events
https://github.com/pandas-dev/pandas/pull/34464
627,536,299
MDExOlB1bGxSZXF1ZXN0NDI1MzI0Mzk1
34,464
CLN: drop **kwds from pd.read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-29T21:02:10Z
2020-06-01T16:06:50Z
2020-06-01T15:37:10Z
CONTRIBUTOR
null
Drop ``**kwds`` from ``pd.read_excel``. Wrt. "new" keyword parameter ``na_filter``: This parameter already exists in the doc string and is just masked in the ``kwds`` in the signature. If you follow the code paths all the way down to parsers.py, you can see that it indeed has a default of `True``.
{ "+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/34464/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34464/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34464.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34464", "merged_at": "2020-06-01T15:37:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34464.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34464" }
https://api.github.com/repos/pandas-dev/pandas/issues/34465
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34465/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34465/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34465/events
https://github.com/pandas-dev/pandas/issues/34465
627,547,412
MDU6SXNzdWU2Mjc1NDc0MTI=
34,465
BUG: unexpected behavior of json_normalize meta arg
{ "avatar_url": "https://avatars.githubusercontent.com/u/60150801?v=4", "events_url": "https://api.github.com/users/evan-anderson-ts/events{/privacy}", "followers_url": "https://api.github.com/users/evan-anderson-ts/followers", "following_url": "https://api.github.com/users/evan-anderson-ts/following{/other_user}", "gists_url": "https://api.github.com/users/evan-anderson-ts/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/evan-anderson-ts", "id": 60150801, "login": "evan-anderson-ts", "node_id": "MDQ6VXNlcjYwMTUwODAx", "organizations_url": "https://api.github.com/users/evan-anderson-ts/orgs", "received_events_url": "https://api.github.com/users/evan-anderson-ts/received_events", "repos_url": "https://api.github.com/users/evan-anderson-ts/repos", "site_admin": false, "starred_url": "https://api.github.com/users/evan-anderson-ts/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/evan-anderson-ts/subscriptions", "type": "User", "url": "https://api.github.com/users/evan-anderson-ts" }
[ { "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": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
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" }
3
2020-05-29T21:23:38Z
2020-11-26T10:28:07Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python test_input = [{ "injection": { "time": "injection time" }, "results": [ { "time": "result time", "peaks": [{ "name": "peak name A", "area": 1 }, { "name": "peak name B", "area": 2 }] }, ] }] df = pd.json_normalize(test_input, record_path=['results', "peaks"], meta=[["injection", "time"]]) print(df) ``` ``` Output name area injection.time 0 peak name A 1 result time 1 peak name B 2 result time ``` #### Problem description I expected the string `"injection time"` to populate the `$.injection.time` column. Instead, the contents of `$.results.time` is populating this column. If I specify `meta=["injection"]`, then `{"time": "injection time"}` correctly populates the column. #### Expected Output ``` name area injection.time 0 peak name A 1 injection time 1 peak name B 2 injection time ``` #### Output of ``pd.show_versions()`` <details> /usr/local/lib/python3.6/dist-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>. """) /usr/local/lib/python3.6/dist-packages/pandas_datareader/compat/__init__.py:7: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. from pandas.util.testing import assert_frame_equal INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 4.19.104+ machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.4 numpy : 1.18.4 pytz : 2018.9 dateutil : 2.8.1 pip : 19.3.1 setuptools : 46.4.0 Cython : 0.29.18 pytest : 3.6.4 hypothesis : None sphinx : 1.8.5 blosc : None feather : 0.4.1 xlsxwriter : None lxml.etree : 4.2.6 html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 5.5.0 pandas_datareader: 0.8.1 bs4 : 4.6.3 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.2.6 matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 2.5.9 pandas_gbq : 0.11.0 pyarrow : 0.14.1 pytables : None pytest : 3.6.4 pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.4.4 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.1.0 xlwt : 1.3.0 xlsxwriter : None numba : 0.48.0 </details>
{ "+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/34465/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34465/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34466
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34466/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34466/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34466/events
https://github.com/pandas-dev/pandas/issues/34466
627,563,982
MDU6SXNzdWU2Mjc1NjM5ODI=
34,466
BUG: Rolling count aggregation produces unexpected results
{ "avatar_url": "https://avatars.githubusercontent.com/u/53796099?v=4", "events_url": "https://api.github.com/users/brandon-b-miller/events{/privacy}", "followers_url": "https://api.github.com/users/brandon-b-miller/followers", "following_url": "https://api.github.com/users/brandon-b-miller/following{/other_user}", "gists_url": "https://api.github.com/users/brandon-b-miller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brandon-b-miller", "id": 53796099, "login": "brandon-b-miller", "node_id": "MDQ6VXNlcjUzNzk2MDk5", "organizations_url": "https://api.github.com/users/brandon-b-miller/orgs", "received_events_url": "https://api.github.com/users/brandon-b-miller/received_events", "repos_url": "https://api.github.com/users/brandon-b-miller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brandon-b-miller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brandon-b-miller/subscriptions", "type": "User", "url": "https://api.github.com/users/brandon-b-miller" }
[ { "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": "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
[]
null
14
2020-05-29T21:49:32Z
2020-10-03T06:31:40Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- ```python >>> pd.__version__ '1.1.0.dev0+1690.g70d7c04ff' >>> pd.Series([1,1,1,None]).rolling(2, min_periods=2, center=True).count() 0 NaN 1 2.0 2 2.0 3 1.0 dtype: float64 ``` #### Problem description Apologies if this is expected behavior and not a bug. I noticed that prior to version 1.0, `rolling.count` ignored the `min_periods` parameter, as discussed in https://github.com/pandas-dev/pandas/pull/30923. However I'm having trouble understanding this output. Shouldn't the last element of the output be `NaN`, given that the final window includes the last and second to last elements, of which only one is valid? #### Expected Output ``` 0 NaN 1 2.0 2 2.0 3 NaN dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 70d7c04ff585de361622e4fe1788480a7a4526b5 python : 3.8.3.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-76-generic Version : #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.0.dev0+1690.g70d7c04ff numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : 0.29.17 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+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/34466/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34466/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34467
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34467/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34467/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34467/events
https://github.com/pandas-dev/pandas/issues/34467
627,566,680
MDU6SXNzdWU2Mjc1NjY2ODA=
34,467
BUG: read_parquet no longer supports file-like objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/201481?v=4", "events_url": "https://api.github.com/users/claytonlemons/events{/privacy}", "followers_url": "https://api.github.com/users/claytonlemons/followers", "following_url": "https://api.github.com/users/claytonlemons/following{/other_user}", "gists_url": "https://api.github.com/users/claytonlemons/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/claytonlemons", "id": 201481, "login": "claytonlemons", "node_id": "MDQ6VXNlcjIwMTQ4MQ==", "organizations_url": "https://api.github.com/users/claytonlemons/orgs", "received_events_url": "https://api.github.com/users/claytonlemons/received_events", "repos_url": "https://api.github.com/users/claytonlemons/repos", "site_admin": false, "starred_url": "https://api.github.com/users/claytonlemons/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/claytonlemons/subscriptions", "type": "User", "url": "https://api.github.com/users/claytonlemons" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" } ]
{ "closed_at": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
26
2020-05-29T21:56:30Z
2020-06-23T16:04:00Z
2020-06-15T11:22:01Z
NONE
null
#### Code Sample, a copy-pastable example ```python from io import BytesIO import pandas as pd buffer = BytesIO() df = pd.DataFrame([1,2,3], columns=["a"]) df.to_parquet(buffer) df2 = pd.read_parquet(buffer) ``` #### Problem description The current behavior of `read_parquet(buffer)` is that it raises the following exception: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "./working_dir/tvenv/lib/python3.7/site-packages/pandas/io/parquet.py", line 315, in read_parquet return impl.read(path, columns=columns, **kwargs) File "./working_dir/tvenv/lib/python3.7/site-packages/pandas/io/parquet.py", line 131, in read path, filesystem=get_fs_for_path(path), **kwargs File "./working_dir/tvenv/lib/python3.7/site-packages/pyarrow/parquet.py", line 1162, in __init__ self.paths = _parse_uri(path_or_paths) File "./working_dir/tvenv/lib/python3.7/site-packages/pyarrow/parquet.py", line 47, in _parse_uri path = _stringify_path(path) File "./working_dir/tvenv/lib/python3.7/site-packages/pyarrow/util.py", line 67, in _stringify_path raise TypeError("not a path-like object") TypeError: not a path-like object ``` #### Expected Output Instead, `read_parquet(buffer)` should return a new DataFrame with the same contents as the serialized DataFrame stored in `buffer` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-99-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.4 numpy : 1.18.4 pytz : 2020.1 dateutil : 2.8.1 pip : 9.0.1 setuptools : 39.0.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 0.999999999 pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pytables : None pytest : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 8, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 8, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34467/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34467/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34468
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34468/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34468/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34468/events
https://github.com/pandas-dev/pandas/pull/34468
627,578,037
MDExOlB1bGxSZXF1ZXN0NDI1MzU5OTUw
34,468
BUG: Index with right_index=True or left_index=True merge
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
5
2020-05-29T22:27:24Z
2021-04-26T21:59:56Z
2021-02-11T01:38:13Z
MEMBER
null
- [x] xref #28243 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Hi, I would expect the output form the merge function as specified in #28243, i.e. if you join right with right_index=True the resulting DataFrame should have the right index. The documentation says, that the index is passed on if it is part of the merge. This change broke a few test, which expected in this case that the index was the index which was merged onto the base DataFrame. I fixed them temporarily until I know how to proceed in this case. Should this as implemented be the desired behavior for the right_index=True case? The code is not final, it is just a first draft. I would have to change the tests for good after we decide how to implement 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/34468/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34468/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34468.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34468", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34468.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34468" }
https://api.github.com/repos/pandas-dev/pandas/issues/34469
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34469/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34469/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34469/events
https://github.com/pandas-dev/pandas/pull/34469
627,583,884
MDExOlB1bGxSZXF1ZXN0NDI1MzY0NjQw
34,469
TYP: annotations in plotting code
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-29T22:46:13Z
2020-05-31T23:07:50Z
2020-05-31T23:02:31Z
MEMBER
null
Trying to sort out what is getting passed to the tseries.frequencies funcs in these modules.
{ "+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/34469/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34469/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34469.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34469", "merged_at": "2020-05-31T23:02:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34469.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34469" }
https://api.github.com/repos/pandas-dev/pandas/issues/34470
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34470/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34470/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34470/events
https://github.com/pandas-dev/pandas/issues/34470
627,587,675
MDU6SXNzdWU2Mjc1ODc2NzU=
34,470
ENH: Handing missing data in scatter_matrix when using hue/color
{ "avatar_url": "https://avatars.githubusercontent.com/u/449558?v=4", "events_url": "https://api.github.com/users/amueller/events{/privacy}", "followers_url": "https://api.github.com/users/amueller/followers", "following_url": "https://api.github.com/users/amueller/following{/other_user}", "gists_url": "https://api.github.com/users/amueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amueller", "id": 449558, "login": "amueller", "node_id": "MDQ6VXNlcjQ0OTU1OA==", "organizations_url": "https://api.github.com/users/amueller/orgs", "received_events_url": "https://api.github.com/users/amueller/received_events", "repos_url": "https://api.github.com/users/amueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amueller/subscriptions", "type": "User", "url": "https://api.github.com/users/amueller" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
0
2020-05-29T22:59:10Z
2020-05-30T10:33:46Z
null
NONE
null
#### Is your feature request related to a problem? I would like to use scatter_matrix on a dataframe with missing entries when using the c parameter. This works: ```python import pandas as pd import numpy as np X = pd.DataFrame(np.random.normal(size=(150, 4))) y = pd.Series(np.random.randint(0, 4, size=150)) pd.plotting.scatter_matrix(X, c=y) ``` this works: ```python X[X > 1] = np.NaN pd.plotting.scatter_matrix(X) ``` This breaks: ```python X[X > 1] = np.NaN pd.plotting.scatter_matrix(X, c=y) ``` ```pythontb ValueError: Invalid RGBA argument: 1.0 During handling of the above exception, another exception occurred: ValueError: 'c' argument has 150 elements, which is inconsistent with 'x' and 'y' with size 103. ``` (using pandas 1.0.3) #### Describe the solution you'd like scatter_matrix should make sure the shapes are consistent. I haven't looked into the internals. Calling ``plt.scatter`` with missing values actually does the right thing. #### API breaking implications Don't think it'll break anything. #### Describe alternatives you've considered I could use seaborn but seaborn doesn't allow me to pass a series as 'c'. I can also use ``dabl`` ;)
{ "+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/34470/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34470/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34471
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34471/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34471/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34471/events
https://github.com/pandas-dev/pandas/pull/34471
627,595,291
MDExOlB1bGxSZXF1ZXN0NDI1MzczODE5
34,471
BUG: Fix read_json shape error on multi-indexed DF/SR with orient='split' #4889
{ "avatar_url": "https://avatars.githubusercontent.com/u/44552904?v=4", "events_url": "https://api.github.com/users/LucasG0/events{/privacy}", "followers_url": "https://api.github.com/users/LucasG0/followers", "following_url": "https://api.github.com/users/LucasG0/following{/other_user}", "gists_url": "https://api.github.com/users/LucasG0/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/LucasG0", "id": 44552904, "login": "LucasG0", "node_id": "MDQ6VXNlcjQ0NTUyOTA0", "organizations_url": "https://api.github.com/users/LucasG0/orgs", "received_events_url": "https://api.github.com/users/LucasG0/received_events", "repos_url": "https://api.github.com/users/LucasG0/repos", "site_admin": false, "starred_url": "https://api.github.com/users/LucasG0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LucasG0/subscriptions", "type": "User", "url": "https://api.github.com/users/LucasG0" }
[ { "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": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
5
2020-05-29T23:26:51Z
2020-11-06T16:54:12Z
2020-11-06T16:54:12Z
NONE
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | 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/34471/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34471/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34471.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34471", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34471.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34471" }
https://api.github.com/repos/pandas-dev/pandas/issues/34472
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34472/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34472/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34472/events
https://github.com/pandas-dev/pandas/issues/34472
627,600,039
MDU6SXNzdWU2Mjc2MDAwMzk=
34,472
DEPS: drop 3.6
{ "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": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "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.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-05-29T23:45:57Z
2020-08-11T01:17:48Z
2020-08-11T01:17:48Z
CONTRIBUTOR
null
according to schedule we should 3.6 in june 2020 https://numpy.org/neps/nep-0029-deprecation_policy.html prob ok to keep for the 1.1 release then should drop for 1.2. we will likely be adding. 3.9 support so this 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/34472/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34472/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34473
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34473/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34473/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34473/events
https://github.com/pandas-dev/pandas/pull/34473
627,612,175
MDExOlB1bGxSZXF1ZXN0NDI1Mzg3MzA2
34,473
fix to_json for numbers larger than sys.maxsize
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "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": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
22
2020-05-30T00:40:35Z
2020-06-26T17:51:37Z
2020-06-24T23:44:41Z
MEMBER
null
- [x] closes #34395 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] passes performance benchmarks - [x] whatsnew entry Currently this patch causes a significant reduction for a number of the JSON performance benchmarks. A printout of my results is included below. [json_benchmarks_results.txt](https://github.com/pandas-dev/pandas/files/4704831/json_benchmarks_results.txt) I'd love to keep working on this if anybody has ideas for making the solution more efficient!
{ "+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/34473/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34473/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34473.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34473", "merged_at": "2020-06-24T23:44:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34473.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34473" }
https://api.github.com/repos/pandas-dev/pandas/issues/34474
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34474/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34474/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34474/events
https://github.com/pandas-dev/pandas/pull/34474
627,612,988
MDExOlB1bGxSZXF1ZXN0NDI1Mzg3OTEy
34,474
BUG: fix origin epoch when freq is Day and harmonize epoch between timezones
{ "avatar_url": "https://avatars.githubusercontent.com/u/3902859?v=4", "events_url": "https://api.github.com/users/hasB4K/events{/privacy}", "followers_url": "https://api.github.com/users/hasB4K/followers", "following_url": "https://api.github.com/users/hasB4K/following{/other_user}", "gists_url": "https://api.github.com/users/hasB4K/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasB4K", "id": 3902859, "login": "hasB4K", "node_id": "MDQ6VXNlcjM5MDI4NTk=", "organizations_url": "https://api.github.com/users/hasB4K/orgs", "received_events_url": "https://api.github.com/users/hasB4K/received_events", "repos_url": "https://api.github.com/users/hasB4K/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasB4K/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasB4K/subscriptions", "type": "User", "url": "https://api.github.com/users/hasB4K" }
[ { "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" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-30T00:44:46Z
2020-06-01T22:18:07Z
2020-06-01T22:18:00Z
MEMBER
null
Follow-up of #31809. The purpose of this PR is to fix the current behavior on master: ```python import pandas as pd import numpy as np start, end = "2000-08-02 23:30:00+0500", "2000-12-02 00:30:00+0500" rng = pd.date_range(start, end, freq="7min") ts = pd.Series(np.random.randn(len(rng)), index=rng) result_1 = ts.resample("D", origin="epoch").count() result_2 = ts.resample("24H", origin="epoch").count() print(f"result_1:\n\n{result_1}\n") print(f"result_2:\n\n{result_2}\n") ``` Outputs on master: ``` result_1: 2000-08-02 00:00:00+05:00 5 2000-08-03 00:00:00+05:00 205 2000-08-04 00:00:00+05:00 206 2000-08-05 00:00:00+05:00 206 2000-08-06 00:00:00+05:00 206 ... 2000-11-28 00:00:00+05:00 206 2000-11-29 00:00:00+05:00 206 2000-11-30 00:00:00+05:00 205 2000-12-01 00:00:00+05:00 206 2000-12-02 00:00:00+05:00 5 Freq: D, Length: 123, dtype: int64 result_2: 2000-08-02 05:00:00+05:00 48 2000-08-03 05:00:00+05:00 205 2000-08-04 05:00:00+05:00 206 2000-08-05 05:00:00+05:00 206 2000-08-06 05:00:00+05:00 205 ... 2000-11-27 05:00:00+05:00 206 2000-11-28 05:00:00+05:00 206 2000-11-29 05:00:00+05:00 206 2000-11-30 05:00:00+05:00 205 2000-12-01 05:00:00+05:00 168 Freq: 24H, Length: 122, dtype: int64 ``` Expected Outputs (with this PR): ``` result_1: 2000-08-02 00:00:00+05:00 5 2000-08-03 00:00:00+05:00 205 2000-08-04 00:00:00+05:00 206 2000-08-05 00:00:00+05:00 206 2000-08-06 00:00:00+05:00 206 ... 2000-11-28 00:00:00+05:00 206 2000-11-29 00:00:00+05:00 206 2000-11-30 00:00:00+05:00 205 2000-12-01 00:00:00+05:00 206 2000-12-02 00:00:00+05:00 5 Freq: D, Length: 123, dtype: int64 result_2: 2000-08-02 00:00:00+05:00 5 2000-08-03 00:00:00+05:00 205 2000-08-04 00:00:00+05:00 206 2000-08-05 00:00:00+05:00 206 2000-08-06 00:00:00+05:00 206 ... 2000-11-28 00:00:00+05:00 206 2000-11-29 00:00:00+05:00 206 2000-11-30 00:00:00+05:00 205 2000-12-01 00:00:00+05:00 206 2000-12-02 00:00:00+05:00 5 Freq: 24H, Length: 123, dtype: int64 ``` ------ I thought of two possible solutions while fixing that: 1. Consider 'epoch' as a UNIX epoch: `pd.Timestamp(0, tz=index_tz)` 2. Consider that 'epoch' is just an helper to fix the origin: `pd.Timestamp("1970-01-01", tz=index_tz)` To have similar results between timezones, I thought the solution 2 was a better choice. The solution 2 could also help us to set the behavior `origin=epoch` as the default one in a future version since the results would be quite similar with `origin=start_day` (that is not quite the case with a DST timezone, I can provide further details if needed on why this is the case). (The solution 1 is correct in theory but is giving results that could be hard to explain to the end user.) ------ - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry (follow-up PR, not necessary I think)
{ "+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/34474/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34474/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34474.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34474", "merged_at": "2020-06-01T22:18:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34474.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34474" }
https://api.github.com/repos/pandas-dev/pandas/issues/34475
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34475/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34475/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34475/events
https://github.com/pandas-dev/pandas/pull/34475
627,615,601
MDExOlB1bGxSZXF1ZXN0NDI1Mzg5NTg2
34,475
BLD/PERF: bump cython to 0.29.19 for searchsorted
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[]
closed
false
null
[]
null
3
2020-05-30T00:56:28Z
2020-06-02T18:31:03Z
2020-06-01T23:03:36Z
MEMBER
null
cython 0.29.19 fixed a bug that now allows us to use `cnp.PyArray_SearchSorted` to make `ndarray.searchsorted` into a C call. As a demonstration, this PR makes that change in `normalize_i8_timestamps` and shaves about 12% off of it for the scalar case (the non-scalar case is not noticeably affected) ``` In [4]: ts2 = pd.Timestamp.now("US/Pacific") In [5]: %timeit ts2.normalize() 59.3 µs ± 197 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master 51.8 µs ± 362 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR ``` Not a particularly big deal on its own, _but_ this makes viable passing `int64_t*` instead of `int64_t[:]`, which in turn makes it so we can skip a wrapping/unwrapping step in the scalar code _and_ ideally share code between Timestamp/DatetimeArray, Period/PeriodArray, Timedelta/TimedeltaArray.
{ "+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/34475/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34475/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34475.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34475", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34475.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34475" }
https://api.github.com/repos/pandas-dev/pandas/issues/34476
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34476/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34476/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34476/events
https://github.com/pandas-dev/pandas/pull/34476
627,619,435
MDExOlB1bGxSZXF1ZXN0NDI1MzkyMDA0
34,476
REF: make normalize_i8_timestamps cpdef
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-30T01:15:05Z
2020-05-31T23:06:19Z
2020-05-31T23:01:05Z
MEMBER
null
there's a tiny perf bump, but it all comes from doing `own_tz = self.tzinfo` up-front instead of accessing `self.tz` multiple times within `Timestamp.normalize`. With just the cimport, this is actually slightly slower, which is something of a mystery. The main upside is that we now only cimport from libconversion, which im hopeful will make some other circular-imports easier to simplify.the perf improvement
{ "+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/34476/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34476/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34476.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34476", "merged_at": "2020-05-31T23:01:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34476.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34476" }
https://api.github.com/repos/pandas-dev/pandas/issues/34477
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34477/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34477/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34477/events
https://github.com/pandas-dev/pandas/pull/34477
627,619,982
MDExOlB1bGxSZXF1ZXN0NDI1MzkyMzQ1
34,477
CLN: Removed duplicated test data
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-05-30T01:17:43Z
2020-06-08T01:45:31Z
2020-06-08T01:45:23Z
CONTRIBUTOR
null
Remove duplicated test data. "test1.csv" & "tips.csv" are present in both "tests/io/parser/data" & "tests/io/data/csv". Move the "*.csv.bz2" & "*.csv.gz" files since the s3_resource fixture in tests/io/conftest requires these. Follow up from: https://github.com/pandas-dev/pandas/issues/29439 Think we should move all the data in io/parser/data/* into io/data/ so it can be re-used. Will save for follow up.
{ "+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/34477/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34477/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34477.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34477", "merged_at": "2020-06-08T01:45:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34477.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34477" }
https://api.github.com/repos/pandas-dev/pandas/issues/34478
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34478/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34478/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34478/events
https://github.com/pandas-dev/pandas/issues/34478
627,650,983
MDU6SXNzdWU2Mjc2NTA5ODM=
34,478
BUG: groupby apply inconsistent output
{ "avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4", "events_url": "https://api.github.com/users/gurukiran07/events{/privacy}", "followers_url": "https://api.github.com/users/gurukiran07/followers", "following_url": "https://api.github.com/users/gurukiran07/following{/other_user}", "gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gurukiran07", "id": 47276342, "login": "gurukiran07", "node_id": "MDQ6VXNlcjQ3Mjc2MzQy", "organizations_url": "https://api.github.com/users/gurukiran07/orgs", "received_events_url": "https://api.github.com/users/gurukiran07/received_events", "repos_url": "https://api.github.com/users/gurukiran07/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions", "type": "User", "url": "https://api.github.com/users/gurukiran07" }
[ { "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": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
3
2020-05-30T04:39:39Z
2020-07-08T14:23:19Z
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np df1 = pd.DataFrame({'group_col': [0.0, np.nan, 0.0, 0.0], 'value_col': [2,2,2,2]}) df2 = pd.DataFrame({'group_col': [np.nan, 0.0, 0.0, 0.0], 'value_col': [2,2,2,2]}) ``` groupby apply on `df1` gives multi-index output ```python df1.groupby('group_col').value_col.apply(lambda x: x.value_counts().reindex(index=[1,2,3])) group_col 0.0 1 NaN 2 3.0 3 NaN Name: value_col, dtype: float64 ``` groupby apply on `df2` gives a single level index output: ```python df2.groupby('group_col').value_col.apply(lambda x: x.value_counts().reindex(index=[1,2,3])) 0 NaN 1 NaN 2 3.0 3 NaN Name: value_col, dtype: float64 ``` #### Problem description groupby apply on `df1` and `df2` produce different outputs. They should produce the same output. #### Expected Output The output of both the above mentioned examples should be this: ```python3 group_col 0.0 1 NaN 2 3.0 3 NaN Name: value_col, dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.3 pytz : 2019.3 dateutil : 2.8.1 pip : 20.1.1 setuptools : 46.1.3 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : None </details>
{ "+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/34478/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34478/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34479
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34479/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34479/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34479/events
https://github.com/pandas-dev/pandas/issues/34479
627,667,765
MDU6SXNzdWU2Mjc2Njc3NjU=
34,479
API: any/all logical operation for datetime-like dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" }, { "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
[]
null
5
2020-05-30T06:58:51Z
2021-08-07T22:31:52Z
null
MEMBER
null
In my attempt to enable DataFrame reductions for ExtensionArrays (and at the same time cleaning up `DataFrame._reduce` a bit) at https://github.com/pandas-dev/pandas/pull/32867, I am running into the following inconsistency. Consider a Timedelta array, and how it behaves for the `any` and `all` logical functions (on current master, bit similar for released pandas): ```python >>> td = pd.timedelta_range(0, periods=3) # Index >>> td.any() ... TypeError: cannot perform any with this index type: TimedeltaIndex # Series >>> pd.Series(td).any() ... TypeError: cannot perform any with type timedelta64[ns] # DataFrame >>> pd.DataFrame({'a': td}).any() a True dtype: bool ``` (and exactly the same pattern for datetime64[ns]) For DataFrame, it works because there we call `pandas.core.nanops.nanany()`, and our internal version of nan-aware `any`/`all` work fine with timedelta64/datetime64 dtypes. The reason it fails for Index and Series is because we simply up front say: this operation is not possible with this dtype (we never get to call `nanany()` in those cases). But in the DataFrame reduction, we simply try it on `df.values`, and it works. This is clearly an inconsistency that we should solve. And especially for my PR https://github.com/pandas-dev/pandas/pull/32867 this gives problems, as I want to rely on the array (column-wise) ops for DataFrame reductions, but thus those give a differen result leading to failing tests. ---- The question is thus: **do we think that the `any()` and `all()` operations make sense for datetime-like data?** (and if yes, we can simply enable them for the array/index/series case) - For timedelta, I think you can say there is a concept of "zero" and "non-zero" (which is what any/all are testing in the end, for non-boolean, numeric data) - But for datetimes this might make less sense? The fact that 1970-01-01 00:00:00 would be "False" is just an implementation detail of the numbering starting at that point in time. As reference, this operation fails in numpy for both timedelta and datetime: ```python >>> np.array([0, 1], dtype="datetime64[ns]").any() ... TypeError: No loop matching the specified signature and casting was found for ufunc logical_or >>> np.array([0, 1], dtype="timedelta64[ns]").any() ... TypeError: No loop matching the specified signature and casting was found for ufunc logical_or ``` But for timedeltas, that might rather be an issue of "never got implemented" rather than "deliberately not implemented" ? (there was a similar conversation about "mean" for timedelta) cc @shoyer
{ "+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/34479/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34479/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34480
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34480/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34480/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34480/events
https://github.com/pandas-dev/pandas/issues/34480
627,690,998
MDU6SXNzdWU2Mjc2OTA5OTg=
34,480
DOC: `merge` doc for `indicator` parameter can be improved
{ "avatar_url": "https://avatars.githubusercontent.com/u/273210?v=4", "events_url": "https://api.github.com/users/ianozsvald/events{/privacy}", "followers_url": "https://api.github.com/users/ianozsvald/followers", "following_url": "https://api.github.com/users/ianozsvald/following{/other_user}", "gists_url": "https://api.github.com/users/ianozsvald/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ianozsvald", "id": 273210, "login": "ianozsvald", "node_id": "MDQ6VXNlcjI3MzIxMA==", "organizations_url": "https://api.github.com/users/ianozsvald/orgs", "received_events_url": "https://api.github.com/users/ianozsvald/received_events", "repos_url": "https://api.github.com/users/ianozsvald/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ianozsvald/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ianozsvald/subscriptions", "type": "User", "url": "https://api.github.com/users/ianozsvald" }
[ { "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/31258241?v=4", "events_url": "https://api.github.com/users/nnick14/events{/privacy}", "followers_url": "https://api.github.com/users/nnick14/followers", "following_url": "https://api.github.com/users/nnick14/following{/other_user}", "gists_url": "https://api.github.com/users/nnick14/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nnick14", "id": 31258241, "login": "nnick14", "node_id": "MDQ6VXNlcjMxMjU4MjQx", "organizations_url": "https://api.github.com/users/nnick14/orgs", "received_events_url": "https://api.github.com/users/nnick14/received_events", "repos_url": "https://api.github.com/users/nnick14/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nnick14/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nnick14/subscriptions", "type": "User", "url": "https://api.github.com/users/nnick14" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/31258241?v=4", "events_url": "https://api.github.com/users/nnick14/events{/privacy}", "followers_url": "https://api.github.com/users/nnick14/followers", "following_url": "https://api.github.com/users/nnick14/following{/other_user}", "gists_url": "https://api.github.com/users/nnick14/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nnick14", "id": 31258241, "login": "nnick14", "node_id": "MDQ6VXNlcjMxMjU4MjQx", "organizations_url": "https://api.github.com/users/nnick14/orgs", "received_events_url": "https://api.github.com/users/nnick14/received_events", "repos_url": "https://api.github.com/users/nnick14/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nnick14/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nnick14/subscriptions", "type": "User", "url": "https://api.github.com/users/nnick14" } ]
null
1
2020-05-30T09:43:21Z
2020-06-07T20:26:14Z
2020-06-07T20:26:14Z
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.merge.html#pandas.DataFrame.merge #### Documentation problem The documentation is correct but hard to read, currently: ```... If string, column with information on source of each row will be added to output DataFrame, and column will be named value of string. Information column is Categorical-type and ...``` #### Suggested fix for documentation I believe the following paragraph will be easier to read: ``` If True, adds a column to the output DataFrame called “_merge” with information on the source of each row. The column can be given a different name by providing a string argument. The column will have a Categorical type with the value of “left_only” for observations whose merge key only appears in ‘left’ DataFrame, “right_only” for observations whose merge key only appears in ‘right’ DataFrame, and “both” if the observation’s merge key is found in both. ```
{ "+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/34480/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34480/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34481
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34481/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34481/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34481/events
https://github.com/pandas-dev/pandas/pull/34481
627,740,421
MDExOlB1bGxSZXF1ZXN0NDI1NDcxNDI3
34,481
DOC: start 1.0.5
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "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": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
0
2020-05-30T14:13:52Z
2020-06-01T15:43:56Z
2020-05-31T18:04:34Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/33970#issuecomment-624029963
{ "+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/34481/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34481/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34481.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34481", "merged_at": "2020-05-31T18:04:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34481.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34481" }
https://api.github.com/repos/pandas-dev/pandas/issues/34482
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34482/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34482/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34482/events
https://github.com/pandas-dev/pandas/issues/34482
627,741,470
MDU6SXNzdWU2Mjc3NDE0NzA=
34,482
QST: Integrate a function with pandas and scipy.integrate.quad
{ "avatar_url": "https://avatars.githubusercontent.com/u/8952225?v=4", "events_url": "https://api.github.com/users/JunioCalu/events{/privacy}", "followers_url": "https://api.github.com/users/JunioCalu/followers", "following_url": "https://api.github.com/users/JunioCalu/following{/other_user}", "gists_url": "https://api.github.com/users/JunioCalu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JunioCalu", "id": 8952225, "login": "JunioCalu", "node_id": "MDQ6VXNlcjg5NTIyMjU=", "organizations_url": "https://api.github.com/users/JunioCalu/orgs", "received_events_url": "https://api.github.com/users/JunioCalu/received_events", "repos_url": "https://api.github.com/users/JunioCalu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JunioCalu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JunioCalu/subscriptions", "type": "User", "url": "https://api.github.com/users/JunioCalu" }
[ { "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": "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
[]
null
2
2020-05-30T14:19:59Z
2021-03-26T05:59:05Z
2021-03-26T05:59:05Z
NONE
null
I'm trying to integrate a function with pandas and scipy in the most elegant way possible, but I'm getting the following error when executing: TypeError: 'float' object is not subscriptable This is a preview of the data set: ``` 0 1 Live time: 11646 0 1.0 2.0 0.0 0.0 0.0 1 2.0 3.0 0.0 0.0 0.0 2 3.0 4.0 0.0 0.0 0.0 3 4.0 5.0 1.0 0.0 0.0 4 5.0 6.0 2.0 0.0 0.0 ... ... ... ... ... ... 4094 4095.0 4096.0 4092.0 1.0 0.0 4095 4096.0 4097.0 4093.0 0.0 0.0 4096 4097.0 4098.0 4094.0 1.0 0.0 4097 4098.0 4099.0 4095.0 2.0 0.0 4098 4099.0 4100.0 4096.0 0.0 0.0 ``` I know there are other ways to solve the problem, but I would like to keep the lambda function, because it makes things simpler. Code: ``` import pandas as pd import pylab as plt import numpy as np from scipy.integrate import quad dados = pd.read_csv('data.csv', sep=',| |\t|\s+', engine='python') dados = dados.apply(pd.to_numeric,errors='coerce').fillna(0).astype('float') def func(x): return x[3]/x[3].max() dados['I'] = dados.apply(lambda x: quad(func, 140.0, 4000.0), axis=1) ``` CSV file: [data.txt](https://github.com/pandas-dev/pandas/files/4705783/data.txt)
{ "+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/34482/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34482/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34483
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34483/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34483/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34483/events
https://github.com/pandas-dev/pandas/issues/34483
627,760,145
MDU6SXNzdWU2Mjc3NjAxNDU=
34,483
REF: Move sampling logic into algorithms.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "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": 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" }
0
2020-05-30T15:46:14Z
2021-07-02T00:05:13Z
2021-07-02T00:05:13Z
MEMBER
null
https://github.com/pandas-dev/pandas/pull/34069 is implementing a sampling procedure for groupby which then uses the same from core/generic.py, however it may be preferable to implement lower-level code in core/algorithms.py which then both can share.
{ "+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/34483/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34483/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34484
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34484/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34484/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34484/events
https://github.com/pandas-dev/pandas/pull/34484
627,766,003
MDExOlB1bGxSZXF1ZXN0NDI1NDg5Mzg2
34,484
BUG: merge_asof should be treated as a left join
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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" } ]
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" }
15
2020-05-30T16:17:34Z
2021-04-12T17:33:51Z
2021-04-12T14:41:14Z
MEMBER
null
- [x] closes #33463 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The fix broke one test (`test_merge_index_column_tz` in `test_merge_asof.py`) which expected the right index instead of the left index. The default index selection does not work in case of asof and `left_index=True`. I had to catch this case here.
{ "+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/34484/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34484/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34484.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34484", "merged_at": "2021-04-12T14:41:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34484.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34484" }
https://api.github.com/repos/pandas-dev/pandas/issues/34485
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34485/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34485/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34485/events
https://github.com/pandas-dev/pandas/pull/34485
627,786,163
MDExOlB1bGxSZXF1ZXN0NDI1NTAxMzI2
34,485
DOC: updating the `indicator` wording in `merge` doc
{ "avatar_url": "https://avatars.githubusercontent.com/u/31258241?v=4", "events_url": "https://api.github.com/users/nnick14/events{/privacy}", "followers_url": "https://api.github.com/users/nnick14/followers", "following_url": "https://api.github.com/users/nnick14/following{/other_user}", "gists_url": "https://api.github.com/users/nnick14/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nnick14", "id": 31258241, "login": "nnick14", "node_id": "MDQ6VXNlcjMxMjU4MjQx", "organizations_url": "https://api.github.com/users/nnick14/orgs", "received_events_url": "https://api.github.com/users/nnick14/received_events", "repos_url": "https://api.github.com/users/nnick14/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nnick14/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nnick14/subscriptions", "type": "User", "url": "https://api.github.com/users/nnick14" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-30T18:00:46Z
2020-06-07T20:26:21Z
2020-06-07T20:26:14Z
CONTRIBUTOR
null
- [ ] closes #34480 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34485/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34485/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34485.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34485", "merged_at": "2020-06-07T20:26:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34485.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34485" }
https://api.github.com/repos/pandas-dev/pandas/issues/34486
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34486/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34486/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34486/events
https://github.com/pandas-dev/pandas/pull/34486
627,795,543
MDExOlB1bGxSZXF1ZXN0NDI1NTA2ODIx
34,486
ENH: mul(Tick, float); simplify to_offset
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-30T18:50:31Z
2020-06-01T03:22:12Z
2020-06-01T02:40:02Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This will let us remove Resolution.get_stride_from_decimal
{ "+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/34486/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34486/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34486.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34486", "merged_at": "2020-06-01T02:40:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34486.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34486" }
https://api.github.com/repos/pandas-dev/pandas/issues/34487
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34487/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34487/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34487/events
https://github.com/pandas-dev/pandas/pull/34487
627,796,284
MDExOlB1bGxSZXF1ZXN0NDI1NTA3MjQ3
34,487
TST, TYP: _use_dynamic_x
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
10
2020-05-30T18:54:09Z
2020-06-04T19:52:48Z
2020-06-04T19:37:09Z
MEMBER
null
This condition (which, from the current plotting test suite, is unreachable) was introduced in #9814, when `_use_dynamic_x` was written. Is there any reason why `get_period_alias(freq)` would return `None` if `freq` is a valid time frequency? If so, I'll add a test - else, this PR removes unreachable code. Added an annotation for `data` and the return type while I was here - is there a way to annotate `ax`? UPDATE ------ As it turns out (thanks jbrockmendel and jorisvandenbossche), this line can be hit, so I've included a test which does
{ "+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/34487/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34487/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34487.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34487", "merged_at": "2020-06-04T19:37:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34487.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34487" }
https://api.github.com/repos/pandas-dev/pandas/issues/34488
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34488/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34488/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34488/events
https://github.com/pandas-dev/pandas/pull/34488
627,807,150
MDExOlB1bGxSZXF1ZXN0NDI1NTEzOTUw
34,488
BUG: Raise ValueError for non numerical join columns in merge_asof
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "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" }
13
2020-05-30T19:57:50Z
2021-07-25T21:58:03Z
2021-01-06T00:16:29Z
MEMBER
null
- [x] closes #29130 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I checked for dtype object. Normally, I would try to check for allowed dtypes, but that would require a lot of dtype checks instead of only one. I hope object dtype is sufficient to exclude
{ "+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/34488/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34488/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34488.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34488", "merged_at": "2021-01-06T00:16:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34488.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34488" }
https://api.github.com/repos/pandas-dev/pandas/issues/34489
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34489/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34489/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34489/events
https://github.com/pandas-dev/pandas/pull/34489
627,813,169
MDExOlB1bGxSZXF1ZXN0NDI1NTE4MjU0
34,489
Added documentation for building using pyenv.
{ "avatar_url": "https://avatars.githubusercontent.com/u/47309835?v=4", "events_url": "https://api.github.com/users/rorcores/events{/privacy}", "followers_url": "https://api.github.com/users/rorcores/followers", "following_url": "https://api.github.com/users/rorcores/following{/other_user}", "gists_url": "https://api.github.com/users/rorcores/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rorcores", "id": 47309835, "login": "rorcores", "node_id": "MDQ6VXNlcjQ3MzA5ODM1", "organizations_url": "https://api.github.com/users/rorcores/orgs", "received_events_url": "https://api.github.com/users/rorcores/received_events", "repos_url": "https://api.github.com/users/rorcores/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rorcores/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rorcores/subscriptions", "type": "User", "url": "https://api.github.com/users/rorcores" }
[]
closed
false
null
[]
null
0
2020-05-30T20:24:03Z
2020-05-30T20:50:34Z
2020-05-30T20:50:34Z
CONTRIBUTOR
null
Added documentation for building using pyenv. Discussed this PR with @WillAyd on gitter on May 20. Also fixed up another line he mentioned (python setup.py build_ext --inplace -j 4 instead of: python setup.py build_ext --inplace -j 0) for conda/venv/pyenv. Have rebuilt the docs and ensured they build properly.
{ "+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/34489/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34489/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34489.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34489", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34489.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34489" }
https://api.github.com/repos/pandas-dev/pandas/issues/34490
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34490/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34490/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34490/events
https://github.com/pandas-dev/pandas/pull/34490
627,819,305
MDExOlB1bGxSZXF1ZXN0NDI1NTIyMTc5
34,490
DOC: Added documentation for building using pyenv
{ "avatar_url": "https://avatars.githubusercontent.com/u/47309835?v=4", "events_url": "https://api.github.com/users/rorcores/events{/privacy}", "followers_url": "https://api.github.com/users/rorcores/followers", "following_url": "https://api.github.com/users/rorcores/following{/other_user}", "gists_url": "https://api.github.com/users/rorcores/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rorcores", "id": 47309835, "login": "rorcores", "node_id": "MDQ6VXNlcjQ3MzA5ODM1", "organizations_url": "https://api.github.com/users/rorcores/orgs", "received_events_url": "https://api.github.com/users/rorcores/received_events", "repos_url": "https://api.github.com/users/rorcores/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rorcores/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rorcores/subscriptions", "type": "User", "url": "https://api.github.com/users/rorcores" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-05-30T20:52:29Z
2020-06-07T20:10:05Z
2020-06-07T20:09:52Z
CONTRIBUTOR
null
Added documentation for building using pyenv. Discussed this PR with @WillAyd on gitter on May 20. Also fixed up another line he mentioned (python setup.py build_ext --inplace -j 4 instead of: python setup.py build_ext --inplace -j 0) for conda/venv/pyenv. Have rebuilt the docs and ensured they build properly.
{ "+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/34490/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34490/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34490.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34490", "merged_at": "2020-06-07T20:09:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34490.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34490" }
https://api.github.com/repos/pandas-dev/pandas/issues/34491
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34491/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34491/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34491/events
https://github.com/pandas-dev/pandas/pull/34491
627,860,716
MDExOlB1bGxSZXF1ZXN0NDI1NTQyOTUx
34,491
CLN: de-duplicate bits lib timestamps
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-31T00:50:29Z
2020-05-31T22:32:59Z
2020-05-31T22:20:10Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34491/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34491/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34491.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34491", "merged_at": "2020-05-31T22:20:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34491.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34491" }
https://api.github.com/repos/pandas-dev/pandas/issues/34492
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34492/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34492/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34492/events
https://github.com/pandas-dev/pandas/pull/34492
627,870,425
MDExOlB1bGxSZXF1ZXN0NDI1NTQ3ODgx
34,492
CLN: remove unused JsonReader.path_or_buf
{ "avatar_url": "https://avatars.githubusercontent.com/u/18373967?v=4", "events_url": "https://api.github.com/users/link2xt/events{/privacy}", "followers_url": "https://api.github.com/users/link2xt/followers", "following_url": "https://api.github.com/users/link2xt/following{/other_user}", "gists_url": "https://api.github.com/users/link2xt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/link2xt", "id": 18373967, "login": "link2xt", "node_id": "MDQ6VXNlcjE4MzczOTY3", "organizations_url": "https://api.github.com/users/link2xt/orgs", "received_events_url": "https://api.github.com/users/link2xt/received_events", "repos_url": "https://api.github.com/users/link2xt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/link2xt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/link2xt/subscriptions", "type": "User", "url": "https://api.github.com/users/link2xt" }
[ { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-31T01:53:57Z
2020-05-31T22:04:02Z
2020-05-31T21:30:38Z
CONTRIBUTOR
null
- [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | 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/34492/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34492/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34492.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34492", "merged_at": "2020-05-31T21:30:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34492.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34492" }
https://api.github.com/repos/pandas-dev/pandas/issues/34493
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34493/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34493/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34493/events
https://github.com/pandas-dev/pandas/pull/34493
627,883,445
MDExOlB1bGxSZXF1ZXN0NDI1NTU0OTQx
34,493
Test for pd.to_sql column error if data contains -np.inf
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "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": "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
[]
null
10
2020-05-31T03:31:31Z
2020-07-01T18:28:50Z
2020-07-01T18:28:31Z
MEMBER
null
- [x] closes #34431 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | 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/34493/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34493/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34493.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34493", "merged_at": "2020-07-01T18:28:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34493.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34493" }
https://api.github.com/repos/pandas-dev/pandas/issues/34494
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34494/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34494/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34494/events
https://github.com/pandas-dev/pandas/pull/34494
627,903,454
MDExOlB1bGxSZXF1ZXN0NDI1NTY5MTIy
34,494
ENH: Add read_logfmt()
{ "avatar_url": "https://avatars.githubusercontent.com/u/18373967?v=4", "events_url": "https://api.github.com/users/link2xt/events{/privacy}", "followers_url": "https://api.github.com/users/link2xt/followers", "following_url": "https://api.github.com/users/link2xt/following{/other_user}", "gists_url": "https://api.github.com/users/link2xt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/link2xt", "id": 18373967, "login": "link2xt", "node_id": "MDQ6VXNlcjE4MzczOTY3", "organizations_url": "https://api.github.com/users/link2xt/orgs", "received_events_url": "https://api.github.com/users/link2xt/received_events", "repos_url": "https://api.github.com/users/link2xt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/link2xt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/link2xt/subscriptions", "type": "User", "url": "https://api.github.com/users/link2xt" }
[]
closed
false
null
[]
null
2
2020-05-31T06:31:31Z
2020-05-31T21:10:22Z
2020-05-31T21:10:17Z
CONTRIBUTOR
null
- [x] closes #34501 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | 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/34494/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34494/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34494.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34494", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34494.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34494" }
https://api.github.com/repos/pandas-dev/pandas/issues/34495
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34495/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34495/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34495/events
https://github.com/pandas-dev/pandas/pull/34495
627,931,094
MDExOlB1bGxSZXF1ZXN0NDI1NTg4NDU0
34,495
DOC: Clarify behaviour of pd.merge
{ "avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4", "events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}", "followers_url": "https://api.github.com/users/Bharat123rox/followers", "following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}", "gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bharat123rox", "id": 13381361, "login": "Bharat123rox", "node_id": "MDQ6VXNlcjEzMzgxMzYx", "organizations_url": "https://api.github.com/users/Bharat123rox/orgs", "received_events_url": "https://api.github.com/users/Bharat123rox/received_events", "repos_url": "https://api.github.com/users/Bharat123rox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions", "type": "User", "url": "https://api.github.com/users/Bharat123rox" }
[ { "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
[]
null
5
2020-05-31T10:00:51Z
2020-07-08T16:21:41Z
2020-07-08T16:21:40Z
CONTRIBUTOR
null
- [x] Closes #34412 (also attempts to clarify #34273) - [x] tests added / passed (passes `scripts/validate_docstrings.py`) - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry (Not needed)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34495/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34495/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34495.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34495", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34495.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34495" }
https://api.github.com/repos/pandas-dev/pandas/issues/34496
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34496/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34496/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34496/events
https://github.com/pandas-dev/pandas/pull/34496
627,967,892
MDExOlB1bGxSZXF1ZXN0NDI1NjE1MDU5
34,496
BUG: Fix value setting in case of merging via index on one side and column on other side.
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
closed
false
null
[]
null
3
2020-05-31T13:52:12Z
2021-04-26T22:00:03Z
2021-01-01T22:04:22Z
MEMBER
null
- [x] xref #15692 - [x] xref #17257 - [x] xref #28220 - [x] xref #28243 - [x] xref #33232 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Until now the `_maybe_add_join_keys` function changed the target column in the result, if the join was done over index on one side and the column on the other side. This resulted in taking values from the index and setting them for the target column, which explained the weird behavior in the issues referenced. Together with #34468 this will fix the issues. Both combined will transfer the merged index in these cases and the merged columns with the correct name. As of now this fix will only transfer the values, so the index will be wrong here. We can not skip the method completly, because this would cause issues in case of the column is in both `DataFrames` we have to run through this steps to ensure that the target values are right. So I check if this is only contained in one side.
{ "+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/34496/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34496/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34496.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34496", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34496.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34496" }
https://api.github.com/repos/pandas-dev/pandas/issues/34497
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34497/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34497/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34497/events
https://github.com/pandas-dev/pandas/issues/34497
627,976,666
MDU6SXNzdWU2Mjc5NzY2NjY=
34,497
BUG: Cannot index into DataFrame with Nullable Integer as index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1868190?v=4", "events_url": "https://api.github.com/users/elinor-lev/events{/privacy}", "followers_url": "https://api.github.com/users/elinor-lev/followers", "following_url": "https://api.github.com/users/elinor-lev/following{/other_user}", "gists_url": "https://api.github.com/users/elinor-lev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/elinor-lev", "id": 1868190, "login": "elinor-lev", "node_id": "MDQ6VXNlcjE4NjgxOTA=", "organizations_url": "https://api.github.com/users/elinor-lev/orgs", "received_events_url": "https://api.github.com/users/elinor-lev/received_events", "repos_url": "https://api.github.com/users/elinor-lev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/elinor-lev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elinor-lev/subscriptions", "type": "User", "url": "https://api.github.com/users/elinor-lev" }
[ { "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
open
false
null
[]
null
4
2020-05-31T14:40:34Z
2020-05-31T18:29:29Z
null
NONE
null
#### Code Sample ```python import pandas as pd import numpy as np df = pd.DataFrame(data=np.array([[1,2,3,4],[5,6,7,8],[1,2,np.nan,np.nan]]).T,columns=('a','b','c'),dtype="Int64") df2 = df.set_index('c') df2.loc[1] ``` #### Problem description When there is more than one missing value in the dataframe index, indexing into the dataframe results in ``` TypeError: Cannot convert bool to numpy.ndarray ``` If only one NaN index exists, this works: ```python df = pd.DataFrame(data=np.array([[1,2,3,4],[5,6,7,8],[1,2,3,np.nan]]).T,columns=('a','b','c'),dtype="Int64") df2 = df.set_index('c') df2.loc[1] ``` ``` a 1 b 5 Name: 1, dtype: Int64 ``` #### Expected Output I Expect `df2.loc[1]` to return ``` a 1 b 5 Name: 1, dtype: Int64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-53-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.1.1 setuptools : 46.1.3.post20200330 Cython : 0.29.15 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.2.1 html5lib : 0.999999999 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.6.0 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.2.1 matplotlib : 3.1.2 numexpr : 2.6.4 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : 3.4.2 tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.48.0 ​ </details>
{ "+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/34497/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34497/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34498
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34498/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34498/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34498/events
https://github.com/pandas-dev/pandas/issues/34498
627,981,537
MDU6SXNzdWU2Mjc5ODE1Mzc=
34,498
DOC: improve the .equals() docstring
{ "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/40865954?v=4", "events_url": "https://api.github.com/users/freakypandit/events{/privacy}", "followers_url": "https://api.github.com/users/freakypandit/followers", "following_url": "https://api.github.com/users/freakypandit/following{/other_user}", "gists_url": "https://api.github.com/users/freakypandit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/freakypandit", "id": 40865954, "login": "freakypandit", "node_id": "MDQ6VXNlcjQwODY1OTU0", "organizations_url": "https://api.github.com/users/freakypandit/orgs", "received_events_url": "https://api.github.com/users/freakypandit/received_events", "repos_url": "https://api.github.com/users/freakypandit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/freakypandit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/freakypandit/subscriptions", "type": "User", "url": "https://api.github.com/users/freakypandit" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/40865954?v=4", "events_url": "https://api.github.com/users/freakypandit/events{/privacy}", "followers_url": "https://api.github.com/users/freakypandit/followers", "following_url": "https://api.github.com/users/freakypandit/following{/other_user}", "gists_url": "https://api.github.com/users/freakypandit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/freakypandit", "id": 40865954, "login": "freakypandit", "node_id": "MDQ6VXNlcjQwODY1OTU0", "organizations_url": "https://api.github.com/users/freakypandit/orgs", "received_events_url": "https://api.github.com/users/freakypandit/received_events", "repos_url": "https://api.github.com/users/freakypandit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/freakypandit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/freakypandit/subscriptions", "type": "User", "url": "https://api.github.com/users/freakypandit" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "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.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-05-31T15:06:47Z
2020-08-07T19:16:40Z
2020-08-07T19:16:40Z
MEMBER
null
The current docstring for Series/DataFrame `equals` method can use some improvement (https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.equals.html): - " The column headers do not need to have the same type" is not very clear, and also doesn't apply to Series.equals. Something like "The row/column index do not need to have the same type (as long as the values are still considered equal)" might be better - The "Notes" section is mostly duplicating the long description at the top.
{ "+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/34498/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34498/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34499
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34499/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34499/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34499/events
https://github.com/pandas-dev/pandas/pull/34499
627,989,539
MDExOlB1bGxSZXF1ZXN0NDI1NjMwODYw
34,499
REF/PERF: PeriodDtype decouple from DateOffset
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-05-31T15:49:01Z
2020-06-04T16:50:19Z
2020-06-04T05:51:16Z
MEMBER
null
ATM we define PeriodDtype in terms of DateOffsets, but this is a misnomer. In fact, virtually every Period/PeriodArray method has to start off by taking its `.freq` and finding the corresponding integer code. This makes the integer code itself into a dtype. We lose a little bit of ground on the constructor, then make it back up in subsequent calls. ``` In [2]: per = pd.Period("2016Q1") In [3]: %timeit per.year 556 ns ± 13.3 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 94.5 ns ± 1.36 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [4]: %timeit pd.Period("2016Q1") 21.2 µs ± 176 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master 25.8 µs ± 457 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR ``` The constructor perf I think we can improve by eventually cutting the DateOffset out of the process altogether. We'll also be able to de-duplicate a _bunch_ of other stuff: FreqGroup can be defined in terms of PeriodDypeCode, Resolution can be defined in terms of FreqGroup (xref #34462), we can avoid redundant definitions of the dtype codes in period.pyx, and a lot of the rest of libfrequencies becomes unnecessary. In a follow-up I plan to mix the cython-space PeriodDtype into the core.dtypes PeriodDtype and we can get the same perf improvements in the PeriodArray methods.
{ "+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/34499/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34499/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34499.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34499", "merged_at": "2020-06-04T05:51:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34499.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34499" }
https://api.github.com/repos/pandas-dev/pandas/issues/34500
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34500/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34500/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34500/events
https://github.com/pandas-dev/pandas/pull/34500
628,001,759
MDExOlB1bGxSZXF1ZXN0NDI1NjM5ODAy
34,500
REG: Fix read_parquet from file-like objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
14
2020-05-31T16:58:23Z
2020-06-12T22:33:50Z
2020-06-12T18:17:07Z
CONTRIBUTOR
null
- [x] xref #34467 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - waiting on https://github.com/pandas-dev/pandas/pull/34481 Use arrow parquet.read_table opposed to ParquetDataset
{ "+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/34500/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34500/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34500.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34500", "merged_at": "2020-06-12T18:17:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34500.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34500" }
https://api.github.com/repos/pandas-dev/pandas/issues/34501
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34501/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34501/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34501/events
https://github.com/pandas-dev/pandas/issues/34501
628,008,797
MDU6SXNzdWU2MjgwMDg3OTc=
34,501
ENH: add logfmt support
{ "avatar_url": "https://avatars.githubusercontent.com/u/18373967?v=4", "events_url": "https://api.github.com/users/link2xt/events{/privacy}", "followers_url": "https://api.github.com/users/link2xt/followers", "following_url": "https://api.github.com/users/link2xt/following{/other_user}", "gists_url": "https://api.github.com/users/link2xt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/link2xt", "id": 18373967, "login": "link2xt", "node_id": "MDQ6VXNlcjE4MzczOTY3", "organizations_url": "https://api.github.com/users/link2xt/orgs", "received_events_url": "https://api.github.com/users/link2xt/received_events", "repos_url": "https://api.github.com/users/link2xt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/link2xt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/link2xt/subscriptions", "type": "User", "url": "https://api.github.com/users/link2xt" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/18373967?v=4", "events_url": "https://api.github.com/users/link2xt/events{/privacy}", "followers_url": "https://api.github.com/users/link2xt/followers", "following_url": "https://api.github.com/users/link2xt/following{/other_user}", "gists_url": "https://api.github.com/users/link2xt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/link2xt", "id": 18373967, "login": "link2xt", "node_id": "MDQ6VXNlcjE4MzczOTY3", "organizations_url": "https://api.github.com/users/link2xt/orgs", "received_events_url": "https://api.github.com/users/link2xt/received_events", "repos_url": "https://api.github.com/users/link2xt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/link2xt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/link2xt/subscriptions", "type": "User", "url": "https://api.github.com/users/link2xt" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/18373967?v=4", "events_url": "https://api.github.com/users/link2xt/events{/privacy}", "followers_url": "https://api.github.com/users/link2xt/followers", "following_url": "https://api.github.com/users/link2xt/following{/other_user}", "gists_url": "https://api.github.com/users/link2xt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/link2xt", "id": 18373967, "login": "link2xt", "node_id": "MDQ6VXNlcjE4MzczOTY3", "organizations_url": "https://api.github.com/users/link2xt/orgs", "received_events_url": "https://api.github.com/users/link2xt/received_events", "repos_url": "https://api.github.com/users/link2xt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/link2xt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/link2xt/subscriptions", "type": "User", "url": "https://api.github.com/users/link2xt" } ]
null
10
2020-05-31T17:40:06Z
2020-08-21T17:05:43Z
2020-05-31T21:39:56Z
CONTRIBUTOR
null
[logfmt](https://www.brandur.org/logfmt) is a structured log format similar to JSON lines, but much simpler. Each line has a format `column1=value1 column2=value2 ...`. Pandas already has support for JSON lines, which can be read with `pd.read_json(path, lines=True)`, but to read logfmt logs a conversion is needed. I have been using [agrind](https://github.com/rcoh/angle-grinder) to convert logs to JSON lines, but it is an additional step that I would like to eliminate from my workflow. You can see an example at https://gitlab.com/nsnam/ns-3-dev/-/merge_requests/303 Besides, I would like to use logfmt as an output format for simple computational experiments (think C/Fortran without dependencies), because it is easier to maintain one line of code that outputs keys and values interleaved, in contrast to maintaining the code to output headers and code to output values separately. And logfmt becomes easier to read than CSV as the number of columns grows. Compare ``` node=1 throughput=63.0 delay=52.0 x=0.0 y=5.0 node=2 throughput=100.0 delay=35.0 x=5.0 y=5.0 ``` to ``` node,throughput,delay,x,y 1,63.0,52.0,0.0,5.0 2,100.0,35.0,5.0,5.0 ``` To read logfmt directly with pandas, I want a function `pd.read_logfmt()` that can be used in place of `pd.read_csv()` and `pd.read_json()` in described above cases.
{ "+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/34501/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34501/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34502
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34502/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34502/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34502/events
https://github.com/pandas-dev/pandas/pull/34502
628,010,894
MDExOlB1bGxSZXF1ZXN0NDI1NjQ2Mzk2
34,502
CLN: GH29547 format with f-strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/46203939?v=4", "events_url": "https://api.github.com/users/DanBasson/events{/privacy}", "followers_url": "https://api.github.com/users/DanBasson/followers", "following_url": "https://api.github.com/users/DanBasson/following{/other_user}", "gists_url": "https://api.github.com/users/DanBasson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanBasson", "id": 46203939, "login": "DanBasson", "node_id": "MDQ6VXNlcjQ2MjAzOTM5", "organizations_url": "https://api.github.com/users/DanBasson/orgs", "received_events_url": "https://api.github.com/users/DanBasson/received_events", "repos_url": "https://api.github.com/users/DanBasson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanBasson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanBasson/subscriptions", "type": "User", "url": "https://api.github.com/users/DanBasson" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-05-31T17:52:39Z
2020-06-20T19:59:26Z
2020-06-20T19:59:22Z
CONTRIBUTOR
null
replace .format() for f-strings in the following: 1. pandas/tests/series/indexing/test_numeric.py 2. pandas/tests/series/indexing/test_take.py 3. pandas/tests/series/indexing/test_where.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/34502/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34502/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34502.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34502", "merged_at": "2020-06-20T19:59:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34502.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34502" }
https://api.github.com/repos/pandas-dev/pandas/issues/34503
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34503/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34503/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34503/events
https://github.com/pandas-dev/pandas/pull/34503
628,013,052
MDExOlB1bGxSZXF1ZXN0NDI1NjQ3OTAy
34,503
Backport PR #34481 on branch 1.0.x (DOC: start 1.0.5)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
2
2020-05-31T18:05:26Z
2020-06-01T14:25:15Z
2020-06-01T07:00:22Z
NONE
null
Backport PR #34481: DOC: start 1.0.5
{ "+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/34503/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34503/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34503.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34503", "merged_at": "2020-06-01T07:00:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34503.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34503" }
https://api.github.com/repos/pandas-dev/pandas/issues/34504
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34504/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34504/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34504/events
https://github.com/pandas-dev/pandas/pull/34504
628,018,030
MDExOlB1bGxSZXF1ZXN0NDI1NjUxNTg0
34,504
CLN: stronger typing in tzconversion
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-31T18:33:03Z
2020-05-31T22:39:12Z
2020-05-31T21:47:35Z
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/34504/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34504/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34504.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34504", "merged_at": "2020-05-31T21:47:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34504.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34504" }
https://api.github.com/repos/pandas-dev/pandas/issues/34505
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34505/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34505/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34505/events
https://github.com/pandas-dev/pandas/pull/34505
628,024,584
MDExOlB1bGxSZXF1ZXN0NDI1NjU2MTM0
34,505
CLN: unreachable branch in tzconversion
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-31T19:11:27Z
2020-05-31T22:34:18Z
2020-05-31T21:46:24Z
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/34505/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34505/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34505.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34505", "merged_at": "2020-05-31T21:46:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34505.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34505" }
https://api.github.com/repos/pandas-dev/pandas/issues/34506
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34506/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34506/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34506/events
https://github.com/pandas-dev/pandas/issues/34506
628,030,545
MDU6SXNzdWU2MjgwMzA1NDU=
34,506
BUG: DataFrame.apply(raw=True) applies function twice on first row/column
{ "avatar_url": "https://avatars.githubusercontent.com/u/25847554?v=4", "events_url": "https://api.github.com/users/alonme/events{/privacy}", "followers_url": "https://api.github.com/users/alonme/followers", "following_url": "https://api.github.com/users/alonme/following{/other_user}", "gists_url": "https://api.github.com/users/alonme/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alonme", "id": 25847554, "login": "alonme", "node_id": "MDQ6VXNlcjI1ODQ3NTU0", "organizations_url": "https://api.github.com/users/alonme/orgs", "received_events_url": "https://api.github.com/users/alonme/received_events", "repos_url": "https://api.github.com/users/alonme/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alonme/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alonme/subscriptions", "type": "User", "url": "https://api.github.com/users/alonme" }
[ { "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" }
9
2020-05-31T19:46:31Z
2020-09-24T15:58:07Z
2020-09-24T15:58:07Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python In [1]: import pandas as pd ...: ...: df = pd.DataFrame({'a': [1,2,3]}) ...: ...: def mul2(x): ...: print('Hello') ...: return x*2 ...: ...: print('Apply:') ...: df.apply(mul2) ...: ...: print('\nApply Raw:') ...: df.apply(mul2, raw=True) Apply: Hello Apply Raw: Hello Hello ``` #### Problem description Because of an implementation detail, the applied function is applied twice on the first row/column, This results in side effects happening twice. Other than the `apply_raw` code path, this issues should be fixed by https://github.com/pandas-dev/pandas/pull/34183. #### Expected Output ```python Apply: Hello Apply Raw: Hello ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 07edc871f5f220c4e4835447cdcf61d64d5a93ab python : 3.7.5.final.0 python-bits : 64 OS : Darwin OS-release : 19.5.0 Version : Darwin Kernel Version 19.5.0: Thu Apr 30 18:25:59 PDT 2020; root:xnu-6153.121.1~7/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.0.dev0+1706.g07edc871f.dirty numpy : 1.18.3 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.17 pytest : 5.4.1 hypothesis : 5.11.0 sphinx : 3.0.3 blosc : 1.9.1 feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.14.0 pandas_datareader: None bs4 : 4.9.0 bottleneck : 1.3.2 fastparquet : 0.3.3 gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.0 pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : 1.3.16 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.49.0 </details>
{ "+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/34506/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34506/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34507
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34507/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34507/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34507/events
https://github.com/pandas-dev/pandas/pull/34507
628,073,205
MDExOlB1bGxSZXF1ZXN0NDI1NjkwODIz
34,507
REF: use standard pattern in normalize_i8_timestamps
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-01T00:04:20Z
2020-06-09T15:00:58Z
2020-06-01T02:31:19Z
MEMBER
null
From here the plan is to move to passing `int64_t*` which will allow us to share code between the scalar/vector versions of this function
{ "+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/34507/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34507/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34507.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34507", "merged_at": "2020-06-01T02:31:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34507.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34507" }
https://api.github.com/repos/pandas-dev/pandas/issues/34508
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34508/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34508/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34508/events
https://github.com/pandas-dev/pandas/pull/34508
628,147,673
MDExOlB1bGxSZXF1ZXN0NDI1NzQ4NzY3
34,508
DOC: Docstring updated for DataFrame.equals
{ "avatar_url": "https://avatars.githubusercontent.com/u/40865954?v=4", "events_url": "https://api.github.com/users/freakypandit/events{/privacy}", "followers_url": "https://api.github.com/users/freakypandit/followers", "following_url": "https://api.github.com/users/freakypandit/following{/other_user}", "gists_url": "https://api.github.com/users/freakypandit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/freakypandit", "id": 40865954, "login": "freakypandit", "node_id": "MDQ6VXNlcjQwODY1OTU0", "organizations_url": "https://api.github.com/users/freakypandit/orgs", "received_events_url": "https://api.github.com/users/freakypandit/received_events", "repos_url": "https://api.github.com/users/freakypandit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/freakypandit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/freakypandit/subscriptions", "type": "User", "url": "https://api.github.com/users/freakypandit" }
[ { "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "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.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-06-01T04:44:14Z
2020-08-07T19:16:54Z
2020-08-07T19:16:40Z
CONTRIBUTOR
null
- [ ] closes #34498
{ "+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/34508/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34508/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34508.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34508", "merged_at": "2020-08-07T19:16:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34508.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34508" }
https://api.github.com/repos/pandas-dev/pandas/issues/34509
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34509/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34509/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34509/events
https://github.com/pandas-dev/pandas/pull/34509
628,216,595
MDExOlB1bGxSZXF1ZXN0NDI1ODA0Mjk0
34,509
BUG: fix BooleanArray.astype('string') (GH34110)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-06-01T07:27:09Z
2020-06-01T08:29:49Z
2020-06-01T08:07:26Z
MEMBER
null
This should fix CI (bug caused by https://github.com/pandas-dev/pandas/pull/34110, due to another PR that was merged a few days ago adding this capability)
{ "+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/34509/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34509/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34509.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34509", "merged_at": "2020-06-01T08:07:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34509.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34509" }
https://api.github.com/repos/pandas-dev/pandas/issues/34510
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34510/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34510/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34510/events
https://github.com/pandas-dev/pandas/issues/34510
628,378,623
MDU6SXNzdWU2MjgzNzg2MjM=
34,510
Performance regression in TimedeltaIndexing.time_get_loc
{ "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": "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-06-01T11:51:48Z
2020-06-15T14:38:54Z
2020-06-15T14:38:54Z
MEMBER
null
Setup: ```python index = pd.timedelta_range(start="1985", periods=1000, freq="D") timedelta = index[500] %timeit index.get_loc(timedelta) ``` ``` # master 7.39 µs ± 78.9 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # 1.0.3 2.82 µs ± 13.5 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) ``` See https://pandas.pydata.org/speed/pandas/#timedelta.TimedeltaIndexing.time_get_loc?commits=9929fca8-62c7dd3e Happened somewhere between May 11 and May 27 (the gap in the benchmarks)
{ "+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/34510/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34510/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34511
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34511/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34511/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34511/events
https://github.com/pandas-dev/pandas/issues/34511
628,394,075
MDU6SXNzdWU2MjgzOTQwNzU=
34,511
BUG: DateOffset pickle bug when months=12
{ "avatar_url": "https://avatars.githubusercontent.com/u/8352312?v=4", "events_url": "https://api.github.com/users/jjbarton/events{/privacy}", "followers_url": "https://api.github.com/users/jjbarton/followers", "following_url": "https://api.github.com/users/jjbarton/following{/other_user}", "gists_url": "https://api.github.com/users/jjbarton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jjbarton", "id": 8352312, "login": "jjbarton", "node_id": "MDQ6VXNlcjgzNTIzMTI=", "organizations_url": "https://api.github.com/users/jjbarton/orgs", "received_events_url": "https://api.github.com/users/jjbarton/received_events", "repos_url": "https://api.github.com/users/jjbarton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jjbarton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jjbarton/subscriptions", "type": "User", "url": "https://api.github.com/users/jjbarton" }
[ { "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" }, { "color": "6c1cdb", "default": false, "description": "read_pickle, to_pickle", "id": 1625435109, "name": "IO Pickle", "node_id": "MDU6TGFiZWwxNjI1NDM1MTA5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Pickle" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "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.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-06-01T12:17:34Z
2020-08-14T16:17:38Z
2020-08-14T16:17:38Z
NONE
null
- [ x] I have checked that this issue has not already been reported. - [ x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ``` import pickle import pandas as pd offset = pd.DateOffset(months=12) pickle.dump(offset, open("/tmp/o.p", "wb")) loaded = pickle.load(open("/tmp/o.p", "rb")) print(loaded) # <DateOffset: months=12, years=1> ``` #### Problem description If you pickle a pandas DateOffset instance with months=12, and then unpickle it, you have a DateOffset(months=12, years=1) instance (effectively a 2 year date offset object. Arguably one shouldn't create a 12 month date offset in preference to a 1 year offset, but this is still bad behaviour imho. #### Expected Output print(loaded) # <DateOffset: months=12> #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+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/34511/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34511/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34512
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34512/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34512/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34512/events
https://github.com/pandas-dev/pandas/pull/34512
628,454,557
MDExOlB1bGxSZXF1ZXN0NDI1OTkyODYz
34,512
Update : In DataFrame Class, Columns should not contain duplicate val…
{ "avatar_url": "https://avatars.githubusercontent.com/u/60480420?v=4", "events_url": "https://api.github.com/users/MohakGangwani/events{/privacy}", "followers_url": "https://api.github.com/users/MohakGangwani/followers", "following_url": "https://api.github.com/users/MohakGangwani/following{/other_user}", "gists_url": "https://api.github.com/users/MohakGangwani/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MohakGangwani", "id": 60480420, "login": "MohakGangwani", "node_id": "MDQ6VXNlcjYwNDgwNDIw", "organizations_url": "https://api.github.com/users/MohakGangwani/orgs", "received_events_url": "https://api.github.com/users/MohakGangwani/received_events", "repos_url": "https://api.github.com/users/MohakGangwani/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MohakGangwani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MohakGangwani/subscriptions", "type": "User", "url": "https://api.github.com/users/MohakGangwani" }
[]
closed
false
null
[]
null
5
2020-06-01T13:52:48Z
2020-07-05T07:53:10Z
2020-07-05T07:53:10Z
NONE
null
Also updated the Docstring.(#12991)
{ "+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/34512/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34512/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34512.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34512", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34512.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34512" }
https://api.github.com/repos/pandas-dev/pandas/issues/34513
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34513/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34513/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34513/events
https://github.com/pandas-dev/pandas/issues/34513
628,465,400
MDU6SXNzdWU2Mjg0NjU0MDA=
34,513
Release notes still missing for 1.0.4
{ "avatar_url": "https://avatars.githubusercontent.com/u/566650?v=4", "events_url": "https://api.github.com/users/impredicative/events{/privacy}", "followers_url": "https://api.github.com/users/impredicative/followers", "following_url": "https://api.github.com/users/impredicative/following{/other_user}", "gists_url": "https://api.github.com/users/impredicative/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/impredicative", "id": 566650, "login": "impredicative", "node_id": "MDQ6VXNlcjU2NjY1MA==", "organizations_url": "https://api.github.com/users/impredicative/orgs", "received_events_url": "https://api.github.com/users/impredicative/received_events", "repos_url": "https://api.github.com/users/impredicative/repos", "site_admin": false, "starred_url": "https://api.github.com/users/impredicative/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/impredicative/subscriptions", "type": "User", "url": "https://api.github.com/users/impredicative" }
[ { "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
true
null
[]
null
4
2020-06-01T14:04:55Z
2020-08-21T17:05:44Z
2020-06-01T14:07:14Z
NONE
too heated
What's up with the release notes still missing for 1.0.4? It has been four days since the release. This is unprofessional. https://github.com/pandas-dev/pandas/releases/tag/v1.0.4 links to https://pandas.pydata.org/docs/whatsnew/v1.0.4.html but the whatsnew page has been missing. Shouldn't it be made available no later than two hours after a release? People look for it and can't find it. A release shouldn't be published if its notes are not ready to go. @simonjayhawkins you seem responsible.
{ "+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/34513/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34513/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34514
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34514/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34514/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34514/events
https://github.com/pandas-dev/pandas/pull/34514
628,492,988
MDExOlB1bGxSZXF1ZXN0NDI2MDI0Nzgz
34,514
BUG: asymmetric error bars for series (GH9536)
{ "avatar_url": "https://avatars.githubusercontent.com/u/14163614?v=4", "events_url": "https://api.github.com/users/Steffen911/events{/privacy}", "followers_url": "https://api.github.com/users/Steffen911/followers", "following_url": "https://api.github.com/users/Steffen911/following{/other_user}", "gists_url": "https://api.github.com/users/Steffen911/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Steffen911", "id": 14163614, "login": "Steffen911", "node_id": "MDQ6VXNlcjE0MTYzNjE0", "organizations_url": "https://api.github.com/users/Steffen911/orgs", "received_events_url": "https://api.github.com/users/Steffen911/received_events", "repos_url": "https://api.github.com/users/Steffen911/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Steffen911/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Steffen911/subscriptions", "type": "User", "url": "https://api.github.com/users/Steffen911" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-06-01T14:46:29Z
2020-07-17T16:46:15Z
2020-07-17T16:26:47Z
CONTRIBUTOR
null
closes #9536 This fix enables asymmetric errors bars for pd.Series plots. In the current implementation the bars are symmetric, even if two sets of errors are provided. Took inspirations from #12046
{ "+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/34514/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34514/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34514.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34514", "merged_at": "2020-07-17T16:26:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34514.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34514" }
https://api.github.com/repos/pandas-dev/pandas/issues/34515
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34515/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34515/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34515/events
https://github.com/pandas-dev/pandas/pull/34515
628,517,550
MDExOlB1bGxSZXF1ZXN0NDI2MDQ0NzMx
34,515
CLN: remove Resolution.get_stride_from_decimal
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-06-01T15:11:32Z
2020-06-01T22:57:15Z
2020-06-01T21:55:36Z
MEMBER
null
as it is no longer used; update its tests rename Resolution.get_reso -> Resolution.from_attrname
{ "+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/34515/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34515/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34515.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34515", "merged_at": "2020-06-01T21:55:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34515.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34515" }
https://api.github.com/repos/pandas-dev/pandas/issues/34516
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34516/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34516/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34516/events
https://github.com/pandas-dev/pandas/pull/34516
628,521,607
MDExOlB1bGxSZXF1ZXN0NDI2MDQ4MzYz
34,516
CI: Linux py37_np_dev failing on 1.0.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "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": "2020-06-18T13:09:32Z", "closed_issues": 28, "created_at": "2020-05-30T13:59:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/74", "id": 5480671, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74/labels", "node_id": "MDk6TWlsZXN0b25lNTQ4MDY3MQ==", "number": 74, "open_issues": 0, "state": "closed", "title": "1.0.5", "updated_at": "2020-06-18T13:09:32Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/74" }
3
2020-06-01T15:14:54Z
2020-06-02T07:22:02Z
2020-06-01T20:14:57Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/34503#issuecomment-636651219
{ "+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/34516/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34516/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34516.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34516", "merged_at": "2020-06-01T20:14:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34516.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34516" }