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/37219
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37219/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37219/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37219/events
https://github.com/pandas-dev/pandas/pull/37219
724,003,754
MDExOlB1bGxSZXF1ZXN0NTA1NDY5OTA3
37,219
DOC: Updated resample.py and groupby.py to fix SA04 Errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/65619177?v=4", "events_url": "https://api.github.com/users/nagesh-chowdaiah/events{/privacy}", "followers_url": "https://api.github.com/users/nagesh-chowdaiah/followers", "following_url": "https://api.github.com/users/nagesh-chowdaiah/following{/other_user}", "gists_url": "https://api.github.com/users/nagesh-chowdaiah/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nagesh-chowdaiah", "id": 65619177, "login": "nagesh-chowdaiah", "node_id": "MDQ6VXNlcjY1NjE5MTc3", "organizations_url": "https://api.github.com/users/nagesh-chowdaiah/orgs", "received_events_url": "https://api.github.com/users/nagesh-chowdaiah/received_events", "repos_url": "https://api.github.com/users/nagesh-chowdaiah/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nagesh-chowdaiah/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nagesh-chowdaiah/subscriptions", "type": "User", "url": "https://api.github.com/users/nagesh-chowdaiah" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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": "d80222", "default": false, "description": "", "id": 2402564166, "name": "hacktoberfest-accepted", "node_id": "MDU6TGFiZWwyNDAyNTY0MTY2", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/hacktoberfest-accepted" } ]
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" }
9
2020-10-18T13:09:21Z
2020-10-29T16:07:25Z
2020-10-29T11:14:22Z
CONTRIBUTOR
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry: Fixed Partial SA04 Errors
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37219/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37219/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37219.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37219", "merged_at": "2020-10-29T11:14:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37219.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37219" }
https://api.github.com/repos/pandas-dev/pandas/issues/37220
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37220/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37220/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37220/events
https://github.com/pandas-dev/pandas/issues/37220
724,011,850
MDU6SXNzdWU3MjQwMTE4NTA=
37,220
BUG: MultiIndex.is_montonic erronoes when nan in at least one level
{ "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": "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": "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
{ "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" }
[ { "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" } ]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-18T13:52:48Z
2020-10-27T12:51:13Z
2020-10-27T12:51:13Z
MEMBER
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 print(pd.MultiIndex.from_tuples([(np.nan, ), (1,)], names=["test"]).is_monotonic_increasing) ``` #### Problem description This returns ``True``, which is obviously not correct. This was introduced by #27495. The error persists with more than one level in the ``MultiIndex``. The example is just for simplicity. #### Expected Output ``False`` #### Output of ``pd.show_versions()`` <details> master </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/37220/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37220/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37221
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37221/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37221/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37221/events
https://github.com/pandas-dev/pandas/pull/37221
724,014,216
MDExOlB1bGxSZXF1ZXN0NTA1NDc3NzQ0
37,221
Fix regression for is_monotonic_increasing with nan in MultiIndex
{ "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": "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": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
6
2020-10-18T14:03:54Z
2020-10-27T13:12:34Z
2020-10-27T12:51:14Z
MEMBER
null
- [x] closes #37220 - [x] closes #27498 (closes that one too probably, because we need this case) - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Found this while debugging a different issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37221/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37221/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37221.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37221", "merged_at": "2020-10-27T12:51:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37221.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37221" }
https://api.github.com/repos/pandas-dev/pandas/issues/37222
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37222/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37222/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37222/events
https://github.com/pandas-dev/pandas/issues/37222
724,050,258
MDU6SXNzdWU3MjQwNTAyNTg=
37,222
BUG: get_indexer for MultiIndex with nans returns wrong indexer
{ "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": "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" } ]
open
false
null
[]
null
0
2020-10-18T16:56:56Z
2021-08-13T04:59:24Z
null
MEMBER
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 idx1 = pd.MultiIndex.from_product([['A'], [1.0, 2.0]], names=['id1', 'id2']) idx2 = pd.MultiIndex.from_product([['A'], [np.nan, 2.0]], names=['id1', 'id2']) print(idx2.get_indexer(idx1)) print(idx1.get_indexer(idx2)) ``` #### Problem description This snippet returns ``` [0 1] [-1 1] ``` #### Expected Output It should return ``[-1, 1]`` for both statement. Part of the problem is in https://github.com/pandas-dev/pandas/blob/54fa3da2e0b65b733d12de6cbecbf2d8afef4e9f/pandas/core/indexes/multi.py#L1045-L1064 The ``self.levels`` statement does not hand the ``nans`` over. But even fixing this returns ``` [ 0 -1] [-1 1] ``` The error must be somewhere deeper, but I could not figure out where something goes wrong. Tested on 1.0.5 and 0.25.3. Does not seem to be a regression. #### Output of ``pd.show_versions()`` <details> master </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/37222/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37222/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37223
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37223/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37223/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37223/events
https://github.com/pandas-dev/pandas/pull/37223
724,051,311
MDExOlB1bGxSZXF1ZXN0NTA1NTA1MTQz
37,223
Backport PR #37149 on branch 1.1.x (BUG: GroupBy().fillna() performance regression)
{ "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" }
[ { "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-18T17:01:58Z
2020-10-19T11:03:09Z
2020-10-19T11:03:09Z
NONE
null
Backport PR #37149: BUG: GroupBy().fillna() performance regression
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37223/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37223/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37223.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37223", "merged_at": "2020-10-19T11:03:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37223.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37223" }
https://api.github.com/repos/pandas-dev/pandas/issues/37224
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37224/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37224/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37224/events
https://github.com/pandas-dev/pandas/pull/37224
724,065,608
MDExOlB1bGxSZXF1ZXN0NTA1NTE1ODg0
37,224
TYP: indexes
{ "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": "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-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-10-18T18:15:48Z
2020-10-29T15:55:27Z
2020-10-29T15:51:24Z
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/37224/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37224/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37224.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37224", "merged_at": "2020-10-29T15:51:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37224.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37224" }
https://api.github.com/repos/pandas-dev/pandas/issues/37225
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37225/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37225/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37225/events
https://github.com/pandas-dev/pandas/pull/37225
724,071,449
MDExOlB1bGxSZXF1ZXN0NTA1NTIwMTY1
37,225
CLN: remove unused arguments in _get_string_slice
{ "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": "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-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-10-18T18:45:20Z
2020-10-19T22:45:41Z
2020-10-19T22:40:07Z
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/37225/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37225/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37225.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37225", "merged_at": "2020-10-19T22:40:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37225.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37225" }
https://api.github.com/repos/pandas-dev/pandas/issues/37226
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37226/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37226/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37226/events
https://github.com/pandas-dev/pandas/pull/37226
724,083,306
MDExOlB1bGxSZXF1ZXN0NTA1NTI5MjA1
37,226
DOC: Fix typos and broken formatting
{ "avatar_url": "https://avatars.githubusercontent.com/u/56120643?v=4", "events_url": "https://api.github.com/users/sahidvelji/events{/privacy}", "followers_url": "https://api.github.com/users/sahidvelji/followers", "following_url": "https://api.github.com/users/sahidvelji/following{/other_user}", "gists_url": "https://api.github.com/users/sahidvelji/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sahidvelji", "id": 56120643, "login": "sahidvelji", "node_id": "MDQ6VXNlcjU2MTIwNjQz", "organizations_url": "https://api.github.com/users/sahidvelji/orgs", "received_events_url": "https://api.github.com/users/sahidvelji/received_events", "repos_url": "https://api.github.com/users/sahidvelji/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sahidvelji/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sahidvelji/subscriptions", "type": "User", "url": "https://api.github.com/users/sahidvelji" }
[ { "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" }
1
2020-10-18T19:45:07Z
2020-10-22T21:02:51Z
2020-10-22T19:37:39Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This PR fixes minor typos in the getting started tutorial [How to manipulate textual data?](https://pandas.pydata.org/pandas-docs/stable/getting_started/intro_tutorials/10_text_data.html). I built the documentation to confirm that I fixed the formatting of the Wikipedia link. I also fixed the inconsistent use of "element-wise" versus "element wise".
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37226/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37226/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37226.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37226", "merged_at": "2020-10-22T19:37:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37226.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37226" }
https://api.github.com/repos/pandas-dev/pandas/issues/37227
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37227/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37227/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37227/events
https://github.com/pandas-dev/pandas/pull/37227
724,122,166
MDExOlB1bGxSZXF1ZXN0NTA1NTYzNjE4
37,227
CLN: Simplify gathering of results in aggregate
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "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": "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": "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-10-18T21:14:48Z
2020-10-22T23:54:28Z
2020-10-22T23:49:42Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Reduces the number of paths when collecting results in `aggregation.aggregate`; one where we are gathering NDFrames using `concat` and the other where we are gathering scalars using `Series`. The reason for the one test change is as follows. In one case, we previously gathered results using `DataFrame`. When this occurs and the indexes are not all equal, `DataFrame` will sort the index whereas `concat` will have the index in order of appearance. For example with ``` df = DataFrame( { 'A': pd.Series([1, 2], index=['b', 'a']), 'B': pd.Series([3, 4], index=['c', 'a']) } ) ``` gives ``` A B a 2.0 4.0 b 1.0 NaN c NaN 3.0 ``` whereas using `concat` instead of `DataFrame` on the first line with `axis=1` gives: ``` A B b 1.0 NaN a 2.0 4.0 c NaN 3.0 ``` If in this example you replace the 2nd index with ['b', 'a'] (so that they are equal), then both `Dataframe` and `concat` will produce the same result with index `['b', 'a']`. If on the other hand you replace the 2nd index with `['a', 'b']`, then `DataFrame` will result in index `['a', 'b']` whereas concat will result in index `['b', 'a']`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37227/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37227/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37227.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37227", "merged_at": "2020-10-22T23:49:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37227.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37227" }
https://api.github.com/repos/pandas-dev/pandas/issues/37228
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37228/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37228/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37228/events
https://github.com/pandas-dev/pandas/pull/37228
724,132,866
MDExOlB1bGxSZXF1ZXN0NTA1NTcxMzkw
37,228
TST: indexing tests for #21168, #27420, #15928, #30053
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
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" }
1
2020-10-18T22:14:44Z
2020-10-20T02:08:43Z
2020-10-20T02:08:30Z
MEMBER
null
- [x] closes #21168 - [x] closes #27420 - [x] closes #15928 - [x] closes #30053 - [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/37228/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37228/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37228.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37228", "merged_at": "2020-10-20T02:08:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37228.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37228" }
https://api.github.com/repos/pandas-dev/pandas/issues/37229
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37229/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37229/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37229/events
https://github.com/pandas-dev/pandas/pull/37229
724,133,775
MDExOlB1bGxSZXF1ZXN0NTA1NTcyMTEx
37,229
CLN: consolidate exception messages in datetimelike validate_listlike
{ "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": "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-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-10-18T22:19:27Z
2020-10-20T17:31:51Z
2020-10-20T16:57:10Z
MEMBER
null
The next step is to consolidate the messages in _validate_scalar, then we should be able to get rid of some duplicate _validate_foo 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/37229/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37229/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37229.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37229", "merged_at": "2020-10-20T16:57:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37229.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37229" }
https://api.github.com/repos/pandas-dev/pandas/issues/37230
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37230/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37230/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37230/events
https://github.com/pandas-dev/pandas/pull/37230
724,135,591
MDExOlB1bGxSZXF1ZXN0NTA1NTczNTYw
37,230
TST: collect unary tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-10-18T22:29:49Z
2020-10-19T16:31:48Z
2020-10-19T12:57:55Z
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/37230/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37230/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37230.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37230", "merged_at": "2020-10-19T12:57:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37230.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37230" }
https://api.github.com/repos/pandas-dev/pandas/issues/37231
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37231/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37231/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37231/events
https://github.com/pandas-dev/pandas/pull/37231
724,140,264
MDExOlB1bGxSZXF1ZXN0NTA1NTc3Mzk1
37,231
REF: move get_op_result_name out of ops.__init__
{ "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "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-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" }
0
2020-10-18T22:53:01Z
2020-10-19T23:43:56Z
2020-10-19T23:42:29Z
MEMBER
null
Slowly chipping away at the long-time goal of not having a bunch of code in `ops.__init__`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37231/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37231/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37231.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37231", "merged_at": "2020-10-19T23:42:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37231.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37231" }
https://api.github.com/repos/pandas-dev/pandas/issues/37232
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37232/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37232/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37232/events
https://github.com/pandas-dev/pandas/pull/37232
724,157,467
MDExOlB1bGxSZXF1ZXN0NTA1NTkzODIy
37,232
REF: move misplaced pd.concat tests
{ "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": "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": "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": "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" }
0
2020-10-18T23:14:25Z
2020-10-19T16:32:24Z
2020-10-19T12:58:44Z
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/37232/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37232/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37232.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37232", "merged_at": "2020-10-19T12:58:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37232.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37232" }
https://api.github.com/repos/pandas-dev/pandas/issues/37233
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37233/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37233/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37233/events
https://github.com/pandas-dev/pandas/pull/37233
724,172,449
MDExOlB1bGxSZXF1ZXN0NTA1NjA2OTM1
37,233
REF: collect tests by method
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-10-19T00:02:37Z
2020-10-19T16:31:22Z
2020-10-19T13:01:17Z
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/37233/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37233/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37233.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37233", "merged_at": "2020-10-19T13:01:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37233.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37233" }
https://api.github.com/repos/pandas-dev/pandas/issues/37234
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37234/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37234/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37234/events
https://github.com/pandas-dev/pandas/pull/37234
724,203,652
MDExOlB1bGxSZXF1ZXN0NTA1NjMxMzQx
37,234
TST/CLN: Split out some to_string tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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-10-19T02:06:46Z
2020-10-20T23:05:39Z
2020-10-20T23:02:57Z
MEMBER
null
test_format.py is over 3000 lines long so breaking some (but not all) to_string-specific tests into a separate test_to_string.py file (we already have test_to_html.py, test_to_latex.py, and test_to_markdown.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/37234/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37234/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37234.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37234", "merged_at": "2020-10-20T23:02:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37234.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37234" }
https://api.github.com/repos/pandas-dev/pandas/issues/37235
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37235/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37235/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37235/events
https://github.com/pandas-dev/pandas/issues/37235
724,209,302
MDU6SXNzdWU3MjQyMDkzMDI=
37,235
BUG: HDFStore.get_storer.shape returns (1, #) when the table has 0 row
{ "avatar_url": "https://avatars.githubusercontent.com/u/26168300?v=4", "events_url": "https://api.github.com/users/chris0411/events{/privacy}", "followers_url": "https://api.github.com/users/chris0411/followers", "following_url": "https://api.github.com/users/chris0411/following{/other_user}", "gists_url": "https://api.github.com/users/chris0411/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chris0411", "id": 26168300, "login": "chris0411", "node_id": "MDQ6VXNlcjI2MTY4MzAw", "organizations_url": "https://api.github.com/users/chris0411/orgs", "received_events_url": "https://api.github.com/users/chris0411/received_events", "repos_url": "https://api.github.com/users/chris0411/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chris0411/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chris0411/subscriptions", "type": "User", "url": "https://api.github.com/users/chris0411" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
open
false
null
[]
null
0
2020-10-19T02:25:21Z
2021-08-13T05:01:06Z
null
NONE
null
```python import pandas as pd h5file = r'D:\test.h5' df = pd.DataFrame(range(10)).iloc[0:0] # 0 row, 1 column df.to_hdf(h5file, key='abc', format='f') h5 = pd.HDFStore(h5file) print(h5.get_storer('abc').shape) # get [1, 1] instead of [0, 1] ``` #### Problem description I expect HDFStore.get_storer.shape to give [0, #] where there's 0 row in an HDF file, but it gives [1, #]. This happens in fixed format tables. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 165 Stepping 2, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0.post20201006 Cython : 0.29.21 pytest : 6.1.1 hypothesis : 5.37.1 sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </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/37235/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37235/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37236
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37236/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37236/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37236/events
https://github.com/pandas-dev/pandas/pull/37236
724,229,390
MDExOlB1bGxSZXF1ZXN0NTA1NjUxMzIx
37,236
CLN: core/dtypes/cast.py::maybe_infer_to_datetimelike
{ "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": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "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
14
2020-10-19T03:29:23Z
2021-01-05T01:17:46Z
2021-01-05T01:17:36Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/37236/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37236/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37236.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37236", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37236.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37236" }
https://api.github.com/repos/pandas-dev/pandas/issues/37237
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37237/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37237/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37237/events
https://github.com/pandas-dev/pandas/issues/37237
724,241,898
MDU6SXNzdWU3MjQyNDE4OTg=
37,237
DOC: update PeriodArray docstring
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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-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-10-19T04:08:42Z
2020-10-21T18:28:34Z
2020-10-21T18:28:26Z
MEMBER
null
AFAICT we currently don't have dedicated pages for these methods in the API reference. When we add them we also want add links on the `pd.PeriodArray` [page](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.arrays.PeriodArray.html) (and possibly in other places)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37237/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37237/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37238
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37238/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37238/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37238/events
https://github.com/pandas-dev/pandas/pull/37238
724,382,252
MDExOlB1bGxSZXF1ZXN0NTA1NzgwMzQz
37,238
CLN: clean-up test on addition of series/frames
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "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-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-10-19T08:09:30Z
2020-10-20T05:47:31Z
2020-10-20T01:22:23Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Cleanup in ``pandas/tests/arithmetic/test_numeric.py``. - Split ``test_arith_ops_df_compat`` into ``test_add_series`` and ``test_add_frames``. - Parametrize tests.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37238/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37238/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37238.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37238", "merged_at": "2020-10-20T01:22:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37238.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37238" }
https://api.github.com/repos/pandas-dev/pandas/issues/37239
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37239/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37239/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37239/events
https://github.com/pandas-dev/pandas/issues/37239
724,422,347
MDU6SXNzdWU3MjQ0MjIzNDc=
37,239
DOC: documentation rendering issue for functions using typing overloads
{ "avatar_url": "https://avatars.githubusercontent.com/u/1130029?v=4", "events_url": "https://api.github.com/users/shaido987/events{/privacy}", "followers_url": "https://api.github.com/users/shaido987/followers", "following_url": "https://api.github.com/users/shaido987/following{/other_user}", "gists_url": "https://api.github.com/users/shaido987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shaido987", "id": 1130029, "login": "shaido987", "node_id": "MDQ6VXNlcjExMzAwMjk=", "organizations_url": "https://api.github.com/users/shaido987/orgs", "received_events_url": "https://api.github.com/users/shaido987/received_events", "repos_url": "https://api.github.com/users/shaido987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shaido987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shaido987/subscriptions", "type": "User", "url": "https://api.github.com/users/shaido987" }
[ { "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": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
null
3
2020-10-19T09:04:18Z
2020-12-23T11:58:26Z
2020-12-23T11:58:25Z
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/docs/dev/reference/api/pandas.concat.html #### Documentation problem This is how the method header looks for concat: ```python pandas.concat(objs: Union[Iterable[‘DataFrame’], Mapping[Label, ‘DataFrame’]], axis='0', join: str = "'outer'", ignore_index: bool = 'False', keys='None', levels='None', names='None', verify_integrity: bool = 'False', sort: bool = 'False', copy: bool = 'True') → ’DataFrame’ pandas.concat(objs: Union[Iterable[FrameOrSeries], Mapping[Label, FrameOrSeries]], axis='0', join: str = "'outer'", ignore_index: bool = 'False', keys='None', levels='None', names='None', verify_integrity: bool = 'False', sort: bool = 'False', copy: bool = 'True') → FrameOrSeriesUnion ``` For comparison, this is merge: ```python pandas.merge(left, right, how='inner', on=None, left_on=None, right_on=None, left_index=False, right_index=False, sort=False, suffixes='_x', '_y', copy=True, indicator=False, validate=None) ``` As can be seen above, concat keeps the type information and there are two entries (likely due to the different output types). I'm not sure why this occurs, but there are several overloaded methods in the code which could be related: https://github.com/pandas-dev/pandas/blob/54fa3da2e0b65b733d12de6cbecbf2d8afef4e9f/pandas/core/reshape/concat.py#L40-L83
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37239/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37239/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37240
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37240/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37240/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37240/events
https://github.com/pandas-dev/pandas/pull/37240
724,434,890
MDExOlB1bGxSZXF1ZXN0NTA1ODIyNTc0
37,240
CI move non-standard-import checks over to pre-commit
{ "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": "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": "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-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" }
5
2020-10-19T09:20:36Z
2020-10-23T07:17:22Z
2020-10-22T23:51:37Z
MEMBER
null
Like this they're cross-platform, provide faster feedback to devs, and can use pre-commit `pygrep` instead of the custom `invgrep`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37240/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37240/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37240.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37240", "merged_at": "2020-10-22T23:51:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37240.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37240" }
https://api.github.com/repos/pandas-dev/pandas/issues/37241
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37241/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37241/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37241/events
https://github.com/pandas-dev/pandas/pull/37241
724,475,394
MDExOlB1bGxSZXF1ZXN0NTA1ODU0NzU1
37,241
CI move code directives to pre-commit, remove some outdated checks
{ "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": "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": "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-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-10-19T10:15:32Z
2020-10-20T07:39:53Z
2020-10-20T01:08:38Z
MEMBER
null
Moving checks for incorrect code block or IPython directives to pre-commit so they're cross-platform and give faster feedback to devs. Also removing some no-longer-necessary code checks: - "Check that no file in the repo contains trailing whitespaces" is taken care of by the `trailing-whitespace` hook - "Check for extra blank lines after the class definition" is enforced by `black`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37241/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37241/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37241.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37241", "merged_at": "2020-10-20T01:08:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37241.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37241" }
https://api.github.com/repos/pandas-dev/pandas/issues/37242
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37242/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37242/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37242/events
https://github.com/pandas-dev/pandas/issues/37242
724,539,527
MDU6SXNzdWU3MjQ1Mzk1Mjc=
37,242
CI: Split .github\workflows\ci.yml into separate workflows
{ "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" } ]
open
false
null
[]
null
0
2020-10-19T11:51:49Z
2021-08-13T04:59:46Z
null
MEMBER
null
CI / Checks (push) — Checks and CI / Web and docs (push) — Web and docs are part of the same workflow. If we want to restart one of the jobs (quiet infrequent - a few instances of connection issues on web and docs IIRC), both are re-run. It may make sense to split these. An alternative could be to combine with pre-commit into a single workflow and only run 'Checks' and 'Web and docs' on success.
{ "+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/37242/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37242/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37243
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37243/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37243/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37243/events
https://github.com/pandas-dev/pandas/issues/37243
724,587,559
MDU6SXNzdWU3MjQ1ODc1NTk=
37,243
TST: split up test_concat.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "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/66844934?v=4", "events_url": "https://api.github.com/users/kamilt5/events{/privacy}", "followers_url": "https://api.github.com/users/kamilt5/followers", "following_url": "https://api.github.com/users/kamilt5/following{/other_user}", "gists_url": "https://api.github.com/users/kamilt5/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kamilt5", "id": 66844934, "login": "kamilt5", "node_id": "MDQ6VXNlcjY2ODQ0OTM0", "organizations_url": "https://api.github.com/users/kamilt5/orgs", "received_events_url": "https://api.github.com/users/kamilt5/received_events", "repos_url": "https://api.github.com/users/kamilt5/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kamilt5/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kamilt5/subscriptions", "type": "User", "url": "https://api.github.com/users/kamilt5" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/66844934?v=4", "events_url": "https://api.github.com/users/kamilt5/events{/privacy}", "followers_url": "https://api.github.com/users/kamilt5/followers", "following_url": "https://api.github.com/users/kamilt5/following{/other_user}", "gists_url": "https://api.github.com/users/kamilt5/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kamilt5", "id": 66844934, "login": "kamilt5", "node_id": "MDQ6VXNlcjY2ODQ0OTM0", "organizations_url": "https://api.github.com/users/kamilt5/orgs", "received_events_url": "https://api.github.com/users/kamilt5/received_events", "repos_url": "https://api.github.com/users/kamilt5/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kamilt5/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kamilt5/subscriptions", "type": "User", "url": "https://api.github.com/users/kamilt5" } ]
{ "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-10-19T13:00:21Z
2020-10-28T12:04:16Z
2020-10-28T12:04:16Z
CONTRIBUTOR
null
we should split this to a sub-module (concat) and then split logically (similar to merge) https://github.com/pandas-dev/pandas/blob/master/pandas/tests/reshape/test_concat.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/37243/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37243/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37244
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37244/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37244/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37244/events
https://github.com/pandas-dev/pandas/issues/37244
724,603,123
MDU6SXNzdWU3MjQ2MDMxMjM=
37,244
QST: Rolling mean triggers exception : Cannot cast array data from dtype('float64') to dtype('int32') [Works on macOS (64 bits?) not on Linux 32 bits])
{ "avatar_url": "https://avatars.githubusercontent.com/u/61522212?v=4", "events_url": "https://api.github.com/users/aamalikcmu/events{/privacy}", "followers_url": "https://api.github.com/users/aamalikcmu/followers", "following_url": "https://api.github.com/users/aamalikcmu/following{/other_user}", "gists_url": "https://api.github.com/users/aamalikcmu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aamalikcmu", "id": 61522212, "login": "aamalikcmu", "node_id": "MDQ6VXNlcjYxNTIyMjEy", "organizations_url": "https://api.github.com/users/aamalikcmu/orgs", "received_events_url": "https://api.github.com/users/aamalikcmu/received_events", "repos_url": "https://api.github.com/users/aamalikcmu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aamalikcmu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aamalikcmu/subscriptions", "type": "User", "url": "https://api.github.com/users/aamalikcmu" }
[ { "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" }, { "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
[]
null
4
2020-10-19T13:19:31Z
2020-12-27T23:54:12Z
2020-12-27T23:54:12Z
NONE
null
- [ Check] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ Check] I have asked my usage related question on [StackOverflow](https://stackoverflow.com/questions/64373351/pandas-rolling-window-cannot-cast-array-data-from-dtypeint64-to-dtypeint). --- #### Question about pandas I am trying to calculate the average of a rolling window [of x number of seconds, in this case 300] using Panda's rolling window function. This works perfectly fine on my mac ![image](https://user-images.githubusercontent.com/61522212/96454822-66d22680-11ea-11eb-936a-8fcd5db56ff6.png) however the same code fails to work on a armv71 [32 bit system Linux 4.9.82-ti-r102 armv7l GNU/Linux]. here is a minimal reproducible example : ```python import pandas as pd import times df = pd.read_csv('example.csv', index_col=2) df.index = pd.to_datetime(df.index) df.index try: # Interval is the step size interval = 300 # input to rolling window window_val = str(interval) + 's' # Variable start = time.time() df['Variable_Average_' + str(interval)] = df \ .groupby('Group_By_Number') \ .rolling(window=window_val)['Variable'] \ .mean() \ .reset_index(drop=True) \ .values except: print(traceback.format_exc()) ``` This produces the following error for me : ``` Traceback (most recent call last): File "Test2.py", line 19, in <module> .rolling(window=window_val)['Variable'] \ File "/home/fiq/venv/lib/python3.7/site-packages/pandas/core/window/rolling.py", line 2091, in mean return super().mean(*args, **kwargs) File "/home/fiq/venv/lib/python3.7/site-packages/pandas/core/window/rolling.py", line 1488, in mean return self._apply(window_func, center=self.center, name="mean", **kwargs) File "/home/fiq/venv/lib/python3.7/site-packages/pandas/core/window/rolling.py", line 2194, in _apply **kwargs, File "/home/fiq/venv/lib/python3.7/site-packages/pandas/core/window/rolling.py", line 588, in _apply result = calc(values) File "/home/fiq/venv/lib/python3.7/site-packages/pandas/core/window/rolling.py", line 574, in calc closed=self.closed, File "/home/fiq/venv/lib/python3.7/site-packages/pandas/core/window/indexers.py", line 301, in get_window_bounds index_array = self.index_array.take(indicies) TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe' ``` On the line where I call the rolling mean function. I have tried typecasting all the data to int32 before reaching the rolling stage and i still get the same error. The data used for this example is as follows : ![image](https://user-images.githubusercontent.com/61522212/96456056-fdebae00-11eb-11eb-9076-0543aa173558.png) with tmstamp being its index and all other columns of type str and int32 respectively.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37244/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37244/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37245
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37245/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37245/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37245/events
https://github.com/pandas-dev/pandas/issues/37245
724,610,582
MDU6SXNzdWU3MjQ2MTA1ODI=
37,245
BUG: with integer column labels, .info() throws KeyError after column subsetting with .loc[]
{ "avatar_url": "https://avatars.githubusercontent.com/u/4275885?v=4", "events_url": "https://api.github.com/users/stefan-jansen/events{/privacy}", "followers_url": "https://api.github.com/users/stefan-jansen/followers", "following_url": "https://api.github.com/users/stefan-jansen/following{/other_user}", "gists_url": "https://api.github.com/users/stefan-jansen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stefan-jansen", "id": 4275885, "login": "stefan-jansen", "node_id": "MDQ6VXNlcjQyNzU4ODU=", "organizations_url": "https://api.github.com/users/stefan-jansen/orgs", "received_events_url": "https://api.github.com/users/stefan-jansen/received_events", "repos_url": "https://api.github.com/users/stefan-jansen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stefan-jansen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stefan-jansen/subscriptions", "type": "User", "url": "https://api.github.com/users/stefan-jansen" }
[ { "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
3
2020-10-19T13:28:55Z
2020-10-20T00:51:57Z
2020-10-20T00:51:57Z
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 numpy as np import pandas as pd df = pd.DataFrame(np.random.random(size=(2, 3)), index=['A', 'B'], columns=[0, 1, 2]) print(df.info()) <class 'pandas.core.frame.DataFrame'> Index: 2 entries, A to B Data columns (total 3 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 0 2 non-null float64 1 1 2 non-null float64 2 2 2 non-null float64 dtypes: float64(3) memory usage: 64.0+ bytes None print(df.loc[:, [1, 2]]) 1 2 A 0.950714 0.731994 B 0.156019 0.155995 print(df.loc[:, [1, 2]].info()) Traceback (most recent call last): File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 2895, in get_loc return self._engine.get_loc(casted_key) File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1032, in pandas._libs.hashtable.Int64HashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1039, in pandas._libs.hashtable.Int64HashTable.get_item KeyError: 0 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "some_file.py", line 32, in <module> print(df.loc[:, [1, 2]].info()) File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/core/frame.py", line 2589, in info return DataFrameInfo( File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/io/formats/info.py", line 250, in info self._verbose_repr(lines, ids, dtypes, show_counts) File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/io/formats/info.py", line 335, in _verbose_repr dtype = dtypes[i] File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/core/series.py", line 882, in __getitem__ return self._get_value(key) File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/core/series.py", line 989, in _get_value loc = self.index.get_loc(label) File ".../.pyenv/versions/dm/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc raise KeyError(key) from err KeyError: 0 Process finished with exit code 1 ``` #### Problem description When column names are integers, calling `.info()` after selecting a subset of the columns using `.loc[:, [...]]` causes the above error. Converting to `str` avoids the error: ``` df.columns = df.columns.astype(str) print(df.loc[:, ['1', '2']].info()) <class 'pandas.core.frame.DataFrame'> Index: 2 entries, A to B Data columns (total 2 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 1 2 non-null float64 1 2 2 non-null float64 dtypes: float64(2) memory usage: 48.0+ bytes None ``` #### Expected Output Standard `.info()` DataFrame summary. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-51-generic Version : #56-Ubuntu SMP Mon Oct 5 14:28:49 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.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.3 fastparquet : 0.4.1 gcsfs : 0.7.1 matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : 0.51.2 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/37245/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37245/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37246
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37246/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37246/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37246/events
https://github.com/pandas-dev/pandas/issues/37246
724,632,649
MDU6SXNzdWU3MjQ2MzI2NDk=
37,246
BUG: ValueError: The name None occurs multiple times, use a level number
{ "avatar_url": "https://avatars.githubusercontent.com/u/17337794?v=4", "events_url": "https://api.github.com/users/jcunhafonte/events{/privacy}", "followers_url": "https://api.github.com/users/jcunhafonte/followers", "following_url": "https://api.github.com/users/jcunhafonte/following{/other_user}", "gists_url": "https://api.github.com/users/jcunhafonte/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jcunhafonte", "id": 17337794, "login": "jcunhafonte", "node_id": "MDQ6VXNlcjE3MzM3Nzk0", "organizations_url": "https://api.github.com/users/jcunhafonte/orgs", "received_events_url": "https://api.github.com/users/jcunhafonte/received_events", "repos_url": "https://api.github.com/users/jcunhafonte/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jcunhafonte/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jcunhafonte/subscriptions", "type": "User", "url": "https://api.github.com/users/jcunhafonte" }
[ { "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" } ]
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-10-19T13:55:05Z
2021-09-20T14:28:42Z
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. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np df = pd.DataFrame([ {'JOB':'Worker','NAME':'Bob' ,'YEAR':2013,'MONTH':12,'DAYS': 3,'SALARY': 17}, {'JOB':'Employ','NAME':'Mary','YEAR':2013,'MONTH':12,'DAYS': 5,'SALARY': 23}, {'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 1,'DAYS':10,'SALARY':100}, {'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 1,'DAYS':11,'SALARY':110}, {'JOB':'Employ','NAME':'Mary','YEAR':2014,'MONTH': 1,'DAYS':15,'SALARY':200}, {'JOB':'Worker','NAME':'Bob' ,'YEAR':2014,'MONTH': 2,'DAYS': 8,'SALARY': 80}, {'JOB':'Employ','NAME':'Mary','YEAR':2014,'MONTH': 2,'DAYS': 5,'SALARY':190}, {'JOB':'Cloudbeds','NAME':'Rob','YEAR':2020,'MONTH': 4,'DAYS': 20,'SALARY':690}, {'JOB':'Worker','NAME':'Jose','YEAR':2010,'MONTH': 3,'DAYS': 20,'SALARY':90}, {'JOB':'Cloudbeds','NAME':'Jose','YEAR':2030,'MONTH': 2,'DAYS': 20,'SALARY':60} ]) pivot = df.pivot_table( index=['JOB','NAME'], columns=['YEAR','MONTH'], values=['DAYS','SALARY'], aggfunc={ 'DAYS': ['mean'], 'SALARY': [np.mean, np.sum, np.max, np.min], }, dropna=False, margins=True ) ``` #### Problem description When executing the `pivot_table` function with `aggfunc` argument as a **dict** with multiple metrics as on a single value, e.g.: `'SALARY': [np.mean, np.sum, np.max, np.min]` and `margins=True` to get the totals the following error is raised: ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-5-68d98b312428> in <module> 8 }, 9 dropna=False, ---> 10 margins=True 11 ) /srv/conda/envs/notebook/lib/python3.7/site-packages/pandas/core/frame.py in pivot_table(self, values, index, columns, aggfunc, fill_value, margins, dropna, margins_name) 5757 aggfunc=aggfunc, fill_value=fill_value, 5758 margins=margins, dropna=dropna, -> 5759 margins_name=margins_name) 5760 5761 def stack(self, level=-1, dropna=True): /srv/conda/envs/notebook/lib/python3.7/site-packages/pandas/core/reshape/pivot.py in pivot_table(data, values, index, columns, aggfunc, fill_value, margins, dropna, margins_name) 133 cols=columns, aggfunc=aggfunc, 134 observed=dropna, --> 135 margins_name=margins_name, fill_value=fill_value) 136 137 # discard the top level /srv/conda/envs/notebook/lib/python3.7/site-packages/pandas/core/reshape/pivot.py in _add_margins(table, data, values, rows, cols, aggfunc, observed, margins_name, fill_value) 165 if hasattr(table, 'columns'): 166 for level in table.columns.names[1:]: --> 167 if margins_name in table.columns.get_level_values(level): 168 raise ValueError(msg) 169 /srv/conda/envs/notebook/lib/python3.7/site-packages/pandas/core/indexes/multi.py in get_level_values(self, level) 1410 Index(['d', 'e', 'f'], dtype='object', name='level_2') 1411 """ -> 1412 level = self._get_level_number(level) 1413 values = self._get_level_values(level) 1414 return values /srv/conda/envs/notebook/lib/python3.7/site-packages/pandas/core/indexes/multi.py in _get_level_number(self, level) 1116 if (count > 1) and not is_integer(level): 1117 raise ValueError('The name %s occurs multiple times, use a ' -> 1118 'level number' % level) 1119 try: 1120 level = self.names.index(level) ValueError: The name None occurs multiple times, use a level number ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.8.final.0 python-bits: 64 OS: Linux OS-release: 4.19.112+ machine: x86_64 processor: x86_64 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: None pip: 20.1.1 setuptools: 49.2.0.post20200712 Cython: None numpy: 1.19.2 scipy: 1.5.2 pyarrow: None xarray: None IPython: 7.16.1 sphinx: None patsy: 0.5.1 dateutil: 2.8.1 pytz: 2020.1 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.1.3 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: 1.3.18 pymysql: None psycopg2: None jinja2: 2.11.2 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: 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/37246/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37246/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37247
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37247/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37247/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37247/events
https://github.com/pandas-dev/pandas/issues/37247
724,656,882
MDU6SXNzdWU3MjQ2NTY4ODI=
37,247
DOC: Replace pandas on Ray in ecosystem.rst with Modin
{ "avatar_url": "https://avatars.githubusercontent.com/u/10732128?v=4", "events_url": "https://api.github.com/users/devin-petersohn/events{/privacy}", "followers_url": "https://api.github.com/users/devin-petersohn/followers", "following_url": "https://api.github.com/users/devin-petersohn/following{/other_user}", "gists_url": "https://api.github.com/users/devin-petersohn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/devin-petersohn", "id": 10732128, "login": "devin-petersohn", "node_id": "MDQ6VXNlcjEwNzMyMTI4", "organizations_url": "https://api.github.com/users/devin-petersohn/orgs", "received_events_url": "https://api.github.com/users/devin-petersohn/received_events", "repos_url": "https://api.github.com/users/devin-petersohn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/devin-petersohn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/devin-petersohn/subscriptions", "type": "User", "url": "https://api.github.com/users/devin-petersohn" }
[ { "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" }
0
2020-10-19T14:09:52Z
2020-10-20T00:35:16Z
2020-10-20T00:35:16Z
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/docs/ecosystem.html#ray #### Documentation problem Pandas on Ray does not exist anymore. #### Suggested fix for documentation Update references to Modin. I will do 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/37247/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37247/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37248
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37248/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37248/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37248/events
https://github.com/pandas-dev/pandas/issues/37248
724,661,041
MDU6SXNzdWU3MjQ2NjEwNDE=
37,248
DOC: update development documentation for link to built docs
{ "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": "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/7524704?v=4", "events_url": "https://api.github.com/users/ukarroum/events{/privacy}", "followers_url": "https://api.github.com/users/ukarroum/followers", "following_url": "https://api.github.com/users/ukarroum/following{/other_user}", "gists_url": "https://api.github.com/users/ukarroum/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ukarroum", "id": 7524704, "login": "ukarroum", "node_id": "MDQ6VXNlcjc1MjQ3MDQ=", "organizations_url": "https://api.github.com/users/ukarroum/orgs", "received_events_url": "https://api.github.com/users/ukarroum/received_events", "repos_url": "https://api.github.com/users/ukarroum/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ukarroum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ukarroum/subscriptions", "type": "User", "url": "https://api.github.com/users/ukarroum" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/7524704?v=4", "events_url": "https://api.github.com/users/ukarroum/events{/privacy}", "followers_url": "https://api.github.com/users/ukarroum/followers", "following_url": "https://api.github.com/users/ukarroum/following{/other_user}", "gists_url": "https://api.github.com/users/ukarroum/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ukarroum", "id": 7524704, "login": "ukarroum", "node_id": "MDQ6VXNlcjc1MjQ3MDQ=", "organizations_url": "https://api.github.com/users/ukarroum/orgs", "received_events_url": "https://api.github.com/users/ukarroum/received_events", "repos_url": "https://api.github.com/users/ukarroum/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ukarroum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ukarroum/subscriptions", "type": "User", "url": "https://api.github.com/users/ukarroum" } ]
{ "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-10-19T14:13:03Z
2020-10-24T07:27:52Z
2020-10-24T07:27:52Z
CONTRIBUTOR
null
this has the built docs: https://pandas.pydata.org/pandas-docs/dev/ rather than https://dev.pandas.io/, so need to update the contributing docs.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37248/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37248/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37249
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37249/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37249/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37249/events
https://github.com/pandas-dev/pandas/pull/37249
724,664,988
MDExOlB1bGxSZXF1ZXN0NTA2MDE1NDE2
37,249
DOC: Replace pandas on Ray in ecosystem.rst with Modin
{ "avatar_url": "https://avatars.githubusercontent.com/u/10732128?v=4", "events_url": "https://api.github.com/users/devin-petersohn/events{/privacy}", "followers_url": "https://api.github.com/users/devin-petersohn/followers", "following_url": "https://api.github.com/users/devin-petersohn/following{/other_user}", "gists_url": "https://api.github.com/users/devin-petersohn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/devin-petersohn", "id": 10732128, "login": "devin-petersohn", "node_id": "MDQ6VXNlcjEwNzMyMTI4", "organizations_url": "https://api.github.com/users/devin-petersohn/orgs", "received_events_url": "https://api.github.com/users/devin-petersohn/received_events", "repos_url": "https://api.github.com/users/devin-petersohn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/devin-petersohn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/devin-petersohn/subscriptions", "type": "User", "url": "https://api.github.com/users/devin-petersohn" }
[ { "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" }
10
2020-10-19T14:16:46Z
2020-11-17T17:17:49Z
2020-10-20T00:35:17Z
CONTRIBUTOR
null
* Resolves #37247 Signed-off-by: Devin Petersohn <devin.petersohn@gmail.com> - [x] closes #37247 - [ ] 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/37249/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37249/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37249.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37249", "merged_at": "2020-10-20T00:35:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37249.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37249" }
https://api.github.com/repos/pandas-dev/pandas/issues/37250
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37250/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37250/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37250/events
https://github.com/pandas-dev/pandas/issues/37250
724,671,971
MDU6SXNzdWU3MjQ2NzE5NzE=
37,250
BUG: Rolling by day
{ "avatar_url": "https://avatars.githubusercontent.com/u/12829326?v=4", "events_url": "https://api.github.com/users/paris0120/events{/privacy}", "followers_url": "https://api.github.com/users/paris0120/followers", "following_url": "https://api.github.com/users/paris0120/following{/other_user}", "gists_url": "https://api.github.com/users/paris0120/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/paris0120", "id": 12829326, "login": "paris0120", "node_id": "MDQ6VXNlcjEyODI5MzI2", "organizations_url": "https://api.github.com/users/paris0120/orgs", "received_events_url": "https://api.github.com/users/paris0120/received_events", "repos_url": "https://api.github.com/users/paris0120/repos", "site_admin": false, "starred_url": "https://api.github.com/users/paris0120/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/paris0120/subscriptions", "type": "User", "url": "https://api.github.com/users/paris0120" }
[ { "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": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
0
2020-10-19T14:23:38Z
2020-10-19T15:09:33Z
2020-10-19T15:09:33Z
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 dsf['sigma'] = dsf.groupby('PERMNO').rolling('365D', on='DATE')['RET'].std() ``` #### Problem description --------------------------------------------------------------------------- ValueError Traceback (most recent call last) C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\frame.py in reindexer(value) 3726 try: -> 3727 value = value.reindex(self.index)._values 3728 except ValueError as err: C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\series.py in reindex(self, index, **kwargs) 4398 def reindex(self, index=None, **kwargs): -> 4399 return super().reindex(index=index, **kwargs) 4400 C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\generic.py in reindex(self, *args, **kwargs) 4461 return self._reindex_axes( -> 4462 axes, level, limit, tolerance, method, fill_value, copy 4463 ).__finalize__(self, method="reindex") C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\generic.py in _reindex_axes(self, axes, level, limit, tolerance, method, fill_value, copy) 4476 new_index, indexer = ax.reindex( -> 4477 labels, level=level, limit=limit, tolerance=tolerance, method=method 4478 ) C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\indexes\multi.py in reindex(self, target, method, level, limit, tolerance) 2324 # hopefully? -> 2325 target = MultiIndex.from_tuples(target) 2326 C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\indexes\multi.py in from_tuples(cls, tuples, sortorder, names) 500 --> 501 arrays = list(lib.tuples_to_object_array(tuples).T) 502 elif isinstance(tuples, list): pandas\_libs\lib.pyx in pandas._libs.lib.tuples_to_object_array() ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long long' The above exception was the direct cause of the following exception: TypeError Traceback (most recent call last) <ipython-input-12-60461c76cedf> in <module>() ----> 1 dsf['sigma'] = dsf.groupby('PERMNO').rolling('365D', on='DATE')['RET'].std() C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\frame.py in __setitem__(self, key, value) 3038 else: 3039 # set column -> 3040 self._set_item(key, value) 3041 3042 def _setitem_slice(self, key: slice, value): C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\frame.py in _set_item(self, key, value) 3114 """ 3115 self._ensure_valid_index(value) -> 3116 value = self._sanitize_column(key, value) 3117 NDFrame._set_item(self, key, value) 3118 C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\frame.py in _sanitize_column(self, key, value, broadcast) 3739 3740 if isinstance(value, Series): -> 3741 value = reindexer(value) 3742 3743 elif isinstance(value, DataFrame): C:\Users\paris\.conda\envs\ml\lib\site-packages\pandas\core\frame.py in reindexer(value) 3735 raise TypeError( 3736 "incompatible index of inserted column with frame index" -> 3737 ) from err 3738 return value 3739 TypeError: incompatible index of inserted column with frame index #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0.post20201006 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 : 5.8.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.0 fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : None tabulate : None xarray : None xlrd : 1.2.0 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/37250/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37250/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37251
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37251/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37251/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37251/events
https://github.com/pandas-dev/pandas/pull/37251
724,680,485
MDExOlB1bGxSZXF1ZXN0NTA2MDI5MzAx
37,251
DOC: update PeriodArray docstring
{ "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": "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" }
3
2020-10-19T14:27:37Z
2020-10-21T18:30:32Z
2020-10-21T18:28:26Z
MEMBER
null
- [x] closes #37237 - [ ] 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/37251/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37251/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37251.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37251", "merged_at": "2020-10-21T18:28:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37251.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37251" }
https://api.github.com/repos/pandas-dev/pandas/issues/37252
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37252/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37252/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37252/events
https://github.com/pandas-dev/pandas/issues/37252
724,735,555
MDU6SXNzdWU3MjQ3MzU1NTU=
37,252
DOC Fix some typos in the docs
{ "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": "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
null
[]
null
4
2020-10-19T15:31:03Z
2020-10-19T18:36:39Z
2020-10-19T18:36:39Z
MEMBER
null
Here's a few typos I found via `codespell`, first-timers are welcome to open a pull request to fix them ``` doc/source/ecosystem.rst:233: copyed ==> copied doc/source/whatsnew/v0.24.1.rst:3: Whats ==> What's doc/source/whatsnew/v0.16.2.rst:150: arithmetics ==> arithmetic doc/source/whatsnew/v0.24.2.rst:3: Whats ==> What's doc/source/whatsnew/v1.2.0.rst:183: Expecially ==> Especially ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37252/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37252/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37253
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37253/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37253/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37253/events
https://github.com/pandas-dev/pandas/pull/37253
724,754,442
MDExOlB1bGxSZXF1ZXN0NTA2MDkwNDUx
37,253
fixed spelling errors in whatsnew, userguide, and ecosystem
{ "avatar_url": "https://avatars.githubusercontent.com/u/28710772?v=4", "events_url": "https://api.github.com/users/asharma13524/events{/privacy}", "followers_url": "https://api.github.com/users/asharma13524/followers", "following_url": "https://api.github.com/users/asharma13524/following{/other_user}", "gists_url": "https://api.github.com/users/asharma13524/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/asharma13524", "id": 28710772, "login": "asharma13524", "node_id": "MDQ6VXNlcjI4NzEwNzcy", "organizations_url": "https://api.github.com/users/asharma13524/orgs", "received_events_url": "https://api.github.com/users/asharma13524/received_events", "repos_url": "https://api.github.com/users/asharma13524/repos", "site_admin": false, "starred_url": "https://api.github.com/users/asharma13524/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asharma13524/subscriptions", "type": "User", "url": "https://api.github.com/users/asharma13524" }
[ { "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" }
1
2020-10-19T15:54:27Z
2020-10-19T18:07:35Z
2020-10-19T18:07:27Z
CONTRIBUTOR
null
Hi there, I fixed the spelling errors mentioned here. https://github.com/pandas-dev/pandas/issues/37252 The 2 "wit" spelling errors were confusing, and I could not understand the sentences. This is my first pull request, so please excuse my ignorance if I did something incorrectly. Thanks.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37253/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37253/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37253.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37253", "merged_at": "2020-10-19T18:07:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37253.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37253" }
https://api.github.com/repos/pandas-dev/pandas/issues/37254
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37254/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37254/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37254/events
https://github.com/pandas-dev/pandas/pull/37254
724,763,495
MDExOlB1bGxSZXF1ZXN0NTA2MDk3ODMx
37,254
[Doc] fix spelling errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/19372617?v=4", "events_url": "https://api.github.com/users/lacrosse91/events{/privacy}", "followers_url": "https://api.github.com/users/lacrosse91/followers", "following_url": "https://api.github.com/users/lacrosse91/following{/other_user}", "gists_url": "https://api.github.com/users/lacrosse91/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lacrosse91", "id": 19372617, "login": "lacrosse91", "node_id": "MDQ6VXNlcjE5MzcyNjE3", "organizations_url": "https://api.github.com/users/lacrosse91/orgs", "received_events_url": "https://api.github.com/users/lacrosse91/received_events", "repos_url": "https://api.github.com/users/lacrosse91/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lacrosse91/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lacrosse91/subscriptions", "type": "User", "url": "https://api.github.com/users/lacrosse91" }
[]
closed
false
null
[]
null
1
2020-10-19T16:06:01Z
2020-10-19T18:06:50Z
2020-10-19T18:06:50Z
CONTRIBUTOR
null
I fixed the spelling errors. #37252
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37254/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37254/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37254.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37254", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37254.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37254" }
https://api.github.com/repos/pandas-dev/pandas/issues/37255
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37255/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37255/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37255/events
https://github.com/pandas-dev/pandas/pull/37255
724,794,066
MDExOlB1bGxSZXF1ZXN0NTA2MTIzMDc5
37,255
TST: use equivalent fixtures in test_multilevel
{ "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": "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": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
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" }
1
2020-10-19T16:49:34Z
2020-10-20T02:09:23Z
2020-10-20T02:09:11Z
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/37255/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37255/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37255.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37255", "merged_at": "2020-10-20T02:09:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37255.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37255" }
https://api.github.com/repos/pandas-dev/pandas/issues/37256
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37256/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37256/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37256/events
https://github.com/pandas-dev/pandas/pull/37256
724,797,111
MDExOlB1bGxSZXF1ZXN0NTA2MTI1NTUy
37,256
BUG: with integer column labels, .info() throws KeyError
{ "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": "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
2
2020-10-19T16:54:17Z
2020-10-20T19:47:54Z
2020-10-20T00:51:57Z
MEMBER
null
- [ ] closes #37245 - [ ] 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/37256/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37256/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37256.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37256", "merged_at": "2020-10-20T00:51:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37256.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37256" }
https://api.github.com/repos/pandas-dev/pandas/issues/37257
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37257/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37257/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37257/events
https://github.com/pandas-dev/pandas/issues/37257
724,814,079
MDU6SXNzdWU3MjQ4MTQwNzk=
37,257
BUG: to_parquet corrupting temporary files
{ "avatar_url": "https://avatars.githubusercontent.com/u/63794314?v=4", "events_url": "https://api.github.com/users/deschman/events{/privacy}", "followers_url": "https://api.github.com/users/deschman/followers", "following_url": "https://api.github.com/users/deschman/following{/other_user}", "gists_url": "https://api.github.com/users/deschman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deschman", "id": 63794314, "login": "deschman", "node_id": "MDQ6VXNlcjYzNzk0MzE0", "organizations_url": "https://api.github.com/users/deschman/orgs", "received_events_url": "https://api.github.com/users/deschman/received_events", "repos_url": "https://api.github.com/users/deschman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deschman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deschman/subscriptions", "type": "User", "url": "https://api.github.com/users/deschman" }
[ { "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": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
open
false
null
[]
null
3
2020-10-19T17:20:23Z
2021-06-06T20:57:30Z
null
NONE
null
#### Code Sample, a copy-pastable example I get an OSError from the following code: ```python from tempfile import NamedTemporaryFile import pandas as pd with NamedTemporaryFile(suffix='.gz') as file: df = pd.DataFrame({'A': [1, 2, 3]}) df.to_parquet(file) df['A'] = list('abc') df.to_parquet(file) df = pd.read_parquet(file) ``` ```python-traceback File "C:\Users\deschman\AppData\Local\Continuum\anaconda3\Lib\site-packages\mymodules\reporting\untitled0.py", line 11, in <module> df = pd.read_parquet(file) File "C:\Users\deschman\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\io\parquet.py", line 317, in read_parquet return impl.read(path, columns=columns, **kwargs) File "C:\Users\deschman\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\io\parquet.py", line 142, in read path, columns=columns, filesystem=fs, **kwargs File "C:\Users\deschman\AppData\Local\Continuum\anaconda3\lib\site-packages\pyarrow\parquet.py", line 1595, in read_table use_pandas_metadata=use_pandas_metadata) File "C:\Users\deschman\AppData\Local\Continuum\anaconda3\lib\site-packages\pyarrow\parquet.py", line 1475, in read use_threads=use_threads File "pyarrow\_dataset.pyx", line 399, in pyarrow._dataset.Dataset.to_table File "pyarrow\_dataset.pyx", line 1994, in pyarrow._dataset.Scanner.to_table File "pyarrow\error.pxi", line 122, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow\error.pxi", line 99, in pyarrow.lib.check_status OSError: Unexpected end of stream ``` #### Problem description The error message provided by pyarrow does not indicate where the issue is in the code. I did not test with fastparquet engine as they do not currently seem to support the _TemporaryFileWrapper. If this should go to pyarrow instead, please let me know. #### Expected Output If a temporary file should not be wrote over by to_parquet multiple times, I would expect to_parquet to throw an error before corrupting the file. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.17763 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : en LOCALE : None.None pandas : 1.1.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.1.0 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.8.2 bottleneck : 1.3.2 fsspec : 0.7.1 fastparquet : 0.4.1 gcsfs : None matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.16 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 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/37257/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37257/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37258
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37258/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37258/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37258/events
https://github.com/pandas-dev/pandas/issues/37258
724,820,259
MDU6SXNzdWU3MjQ4MjAyNTk=
37,258
REF: NumericIndex.union determine casting dtype using concat logic
{ "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": "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" }, { "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": "006b75", "default": false, "description": "union, intersection, difference, symmetric_difference", "id": 3073524400, "name": "setops", "node_id": "MDU6TGFiZWwzMDczNTI0NDAw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops" } ]
open
false
null
[]
null
8
2020-10-19T17:29:06Z
2021-09-03T15:56:07Z
null
MEMBER
null
ATM NumericIndex._union has special casting rules for what dtype it casts to when unioning with another NumericIndex of a different dtype. ``` # Right now, we treat union(int, float) a bit special. # See https://github.com/pandas-dev/pandas/issues/26778 for discussion # We may change union(int, float) to go to object. # float | [u]int -> float (the special case) # <T> | <T> -> T # <T> | <U> -> object ``` Instead, we should re-use code (not sure where this lives, cc @jorisvandenbossche ?) from concat (maybe even Block.putmask?) to determing the appropriate upcast dtype.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37258/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37258/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37259
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37259/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37259/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37259/events
https://github.com/pandas-dev/pandas/pull/37259
724,857,940
MDExOlB1bGxSZXF1ZXN0NTA2MTc5Mjgy
37,259
TST: split up test_concat.py #37243
{ "avatar_url": "https://avatars.githubusercontent.com/u/66844934?v=4", "events_url": "https://api.github.com/users/kamilt5/events{/privacy}", "followers_url": "https://api.github.com/users/kamilt5/followers", "following_url": "https://api.github.com/users/kamilt5/following{/other_user}", "gists_url": "https://api.github.com/users/kamilt5/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kamilt5", "id": 66844934, "login": "kamilt5", "node_id": "MDQ6VXNlcjY2ODQ0OTM0", "organizations_url": "https://api.github.com/users/kamilt5/orgs", "received_events_url": "https://api.github.com/users/kamilt5/received_events", "repos_url": "https://api.github.com/users/kamilt5/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kamilt5/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kamilt5/subscriptions", "type": "User", "url": "https://api.github.com/users/kamilt5" }
[ { "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": "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
7
2020-10-19T18:00:26Z
2020-10-28T19:36:48Z
2020-10-28T19:36:48Z
CONTRIBUTOR
null
- [ ] closes #37243 - [ ] 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/37259/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37259/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37259.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37259", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37259.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37259" }
https://api.github.com/repos/pandas-dev/pandas/issues/37260
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37260/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37260/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37260/events
https://github.com/pandas-dev/pandas/issues/37260
724,864,969
MDU6SXNzdWU3MjQ4NjQ5Njk=
37,260
BUG: astype(float) raises TypeError for StringDtype series (float() does not accept NAType)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5933118?v=4", "events_url": "https://api.github.com/users/RauliRuohonen/events{/privacy}", "followers_url": "https://api.github.com/users/RauliRuohonen/followers", "following_url": "https://api.github.com/users/RauliRuohonen/following{/other_user}", "gists_url": "https://api.github.com/users/RauliRuohonen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RauliRuohonen", "id": 5933118, "login": "RauliRuohonen", "node_id": "MDQ6VXNlcjU5MzMxMTg=", "organizations_url": "https://api.github.com/users/RauliRuohonen/orgs", "received_events_url": "https://api.github.com/users/RauliRuohonen/received_events", "repos_url": "https://api.github.com/users/RauliRuohonen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RauliRuohonen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RauliRuohonen/subscriptions", "type": "User", "url": "https://api.github.com/users/RauliRuohonen" }
[ { "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": "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
[]
null
5
2020-10-19T18:11:22Z
2021-08-13T07:23:06Z
2021-08-13T07:23:06Z
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 pd.Series(['1.0', None, '2.0'], dtype='string').astype(float) ``` #### Problem description Running this code results in `TypeError: float() argument must be a string or a number, not 'NAType'`. The same code works for old-style str dtype. Running ```python import pandas as pd pd.Series(['1.0', None, '2.0'], dtype='str').astype(float) ``` outputs ``` 0 1.0 1 NaN 2 2.0 dtype: float64 ``` This is a common way to convert strings to floats, and switching from the old-style 'str' to the new-style 'string' dtype will break code using it. #### Expected Output ``` 0 1.0 1 NaN 2 2.0 dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/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.3 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.21 pytest : 6.1.1 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.15.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.4.1 gcsfs : None matplotlib : 3.2.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.19 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.50.0 </details> #### Output of ``pd.show_versions()`` (master) <details> INSTALLED VERSIONS ------------------ commit : c15ded3ed653447415d34b72b62127fa612fd741 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/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.2.0.dev0+829.gc15ded3ed numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.21 pytest : 6.1.1 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.15.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.4.1 gcsfs : None matplotlib : 3.2.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.19 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.50.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/37260/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37260/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37261
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37261/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37261/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37261/events
https://github.com/pandas-dev/pandas/issues/37261
724,867,196
MDU6SXNzdWU3MjQ4NjcxOTY=
37,261
ENH: match warning messages
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" } ]
null
0
2020-10-19T18:14:58Z
2020-10-20T16:51:01Z
2020-10-20T16:51:01Z
MEMBER
null
#### Is your feature request related to a problem? I wish we could match warning messages using ``pandas._testing.assert_produces_warning``. Currently it catches the warning category, but does not match the message. Recently (https://github.com/pandas-dev/pandas/pull/36982) I stumbled upon the need for this feature. #### Describe the solution you'd like ``pandas._testing.assert_produces_warning`` should take optional keyword argument ``match``, to make it look similar to ``pytest.warns``. #### API breaking implications Should not break existing API, as ``match`` would be an optional argument. #### Describe alternatives you've considered I used custom way of catching warnings (via ``warnings.catch_warnings``) and matching their messages, but was suggested to give preference to ``assert_produces_warning``.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37261/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37261/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37262
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37262/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37262/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37262/events
https://github.com/pandas-dev/pandas/issues/37262
724,870,533
MDU6SXNzdWU3MjQ4NzA1MzM=
37,262
BUG: to_numeric() raises TypeError for StringDtype series
{ "avatar_url": "https://avatars.githubusercontent.com/u/5933118?v=4", "events_url": "https://api.github.com/users/RauliRuohonen/events{/privacy}", "followers_url": "https://api.github.com/users/RauliRuohonen/followers", "following_url": "https://api.github.com/users/RauliRuohonen/following{/other_user}", "gists_url": "https://api.github.com/users/RauliRuohonen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RauliRuohonen", "id": 5933118, "login": "RauliRuohonen", "node_id": "MDQ6VXNlcjU5MzMxMTg=", "organizations_url": "https://api.github.com/users/RauliRuohonen/orgs", "received_events_url": "https://api.github.com/users/RauliRuohonen/received_events", "repos_url": "https://api.github.com/users/RauliRuohonen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RauliRuohonen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RauliRuohonen/subscriptions", "type": "User", "url": "https://api.github.com/users/RauliRuohonen" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "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-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" }
4
2020-10-19T18:20:34Z
2020-10-21T07:11:18Z
2020-10-20T23:10:11Z
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. --- #### Code Sample, a copy-pastable example ```python import pandas as pd pd.to_numeric(pd.Series(['1', None, '2'], dtype='string')) ``` #### Problem description Running this code results in `TypeError: Invalid object type at position 1` The same code works for old-style str dtype. Running ```python import pandas as pd pd.to_numeric(pd.Series(['1', None, '2'], dtype='str')) ``` outputs ``` 0 1.0 1 NaN 2 2.0 dtype: float64 ``` This is a common way to convert strings to floats, and switching from the old-style 'str' to the new-style 'string' dtype will break code using it. #### Expected Output ``` 0 1.0 1 NaN 2 2.0 dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/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.3 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.21 pytest : 6.1.1 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.15.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.4.1 gcsfs : None matplotlib : 3.2.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.19 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.50.0 </details> #### Output of ``pd.show_versions()`` (master) <details> INSTALLED VERSIONS ------------------ commit : c15ded3ed653447415d34b72b62127fa612fd741 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/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.2.0.dev0+829.gc15ded3ed numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.21 pytest : 6.1.1 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.15.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.4.1 gcsfs : None matplotlib : 3.2.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.17.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.19 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.50.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/37262/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37262/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37263
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37263/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37263/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37263/events
https://github.com/pandas-dev/pandas/pull/37263
724,893,682
MDExOlB1bGxSZXF1ZXN0NTA2MjA4OTg4
37,263
ENH: implement matching warning message
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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-10-19T18:54:36Z
2020-11-06T15:38:58Z
2020-10-20T16:51:01Z
MEMBER
null
- [ ] closes #37261 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Implement matching warning message. New kwarg ``match`` in ``assert_produces_warning``.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37263/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37263/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37263.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37263", "merged_at": "2020-10-20T16:51:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37263.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37263" }
https://api.github.com/repos/pandas-dev/pandas/issues/37264
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37264/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37264/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37264/events
https://github.com/pandas-dev/pandas/issues/37264
724,949,034
MDU6SXNzdWU3MjQ5NDkwMzQ=
37,264
BUG: another ValueError: buffer source array is read-only
{ "avatar_url": "https://avatars.githubusercontent.com/u/41548538?v=4", "events_url": "https://api.github.com/users/dmitra79/events{/privacy}", "followers_url": "https://api.github.com/users/dmitra79/followers", "following_url": "https://api.github.com/users/dmitra79/following{/other_user}", "gists_url": "https://api.github.com/users/dmitra79/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dmitra79", "id": 41548538, "login": "dmitra79", "node_id": "MDQ6VXNlcjQxNTQ4NTM4", "organizations_url": "https://api.github.com/users/dmitra79/orgs", "received_events_url": "https://api.github.com/users/dmitra79/received_events", "repos_url": "https://api.github.com/users/dmitra79/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dmitra79/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmitra79/subscriptions", "type": "User", "url": "https://api.github.com/users/dmitra79" }
[ { "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": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
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" }
8
2020-10-19T20:24:12Z
2020-11-04T13:43:47Z
2020-11-04T13:43:47Z
NONE
null
- [ ] 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. --- This seems related to: https://github.com/pandas-dev/pandas/issues/37174 however it shows up under different conditions - appears to be triggered by comparison involving NaN. #### Code Sample, a copy-pastable example ```python print(temp) temp[temp>180]=temp[temp>180]-360 ``` Output: ``` 2016-12-27 02:02:09.000 182.220 2016-12-27 02:02:09.017 182.226 2016-12-27 02:02:09.033 182.227 2016-12-27 02:02:09.050 182.222 2016-12-27 02:02:09.066 NaN dtype: float64 --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in __setitem__(self, key, value) 999 try: -> 1000 self._set_with_engine(key, value) 1001 except (KeyError, ValueError): ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in _set_with_engine(self, key, value) 1032 # fails with AttributeError for IntervalIndex -> 1033 loc = self.index._engine.get_loc(key) 1034 validate_numeric_casting(self.dtype, value) pandas/_libs/index.pyx in pandas._libs.index.DatetimeEngine.get_loc() pandas/_libs/index.pyx in pandas._libs.index.DatetimeEngine.get_loc() TypeError: '2016-12-27 02:02:09.000 True 2016-12-27 02:02:09.017 True 2016-12-27 02:02:09.033 True 2016-12-27 02:02:09.050 True 2016-12-27 02:02:09.066 False dtype: bool' is an invalid key During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) <ipython-input-33-85e39ae5f3f1> in <module> 3 temp=temp.head(5) 4 print(temp.head()) ----> 5 temp[temp>180]=temp[temp>180]-360 ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in __setitem__(self, key, value) 1018 key = np.asarray(key, dtype=bool) 1019 try: -> 1020 self._where(~key, value, inplace=True) 1021 except InvalidIndexError: 1022 self.iloc[key] = value ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/generic.py in _where(self, cond, other, inplace, axis, level, errors, try_cast) 8778 if other.ndim <= self.ndim: 8779 -> 8780 _, other = self.align( 8781 other, join="left", axis=axis, level=level, fill_value=np.nan 8782 ) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in align(self, other, join, axis, level, copy, fill_value, method, limit, fill_axis, broadcast_axis) 4272 broadcast_axis=None, 4273 ): -> 4274 return super().align( 4275 other, 4276 join=join, ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/generic.py in align(self, other, join, axis, level, copy, fill_value, method, limit, fill_axis, broadcast_axis) 8557 ) 8558 elif isinstance(other, ABCSeries): -> 8559 return self._align_series( 8560 other, 8561 join=join, ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/generic.py in _align_series(self, other, join, axis, level, copy, fill_value, method, limit, fill_axis) 8660 join_index, lidx, ridx = None, None, None 8661 else: -> 8662 join_index, lidx, ridx = self.index.join( 8663 other.index, how=join, level=level, return_indexers=True 8664 ) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/datetimelike.py in join(self, other, how, level, return_indexers, sort) 884 885 this, other = self._maybe_utc_convert(other) --> 886 return Index.join( 887 this, 888 other, ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/base.py in join(self, other, how, level, return_indexers, sort) 3500 elif self.is_monotonic and other.is_monotonic: 3501 try: -> 3502 return self._join_monotonic( 3503 other, how=how, return_indexers=return_indexers 3504 ) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/base.py in _join_monotonic(self, other, how, return_indexers) 3800 join_index = self 3801 lidx = None -> 3802 ridx = self._left_indexer_unique(sv, ov) 3803 elif how == "right": 3804 join_index = other ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/datetimelike.py in wrapper(left, right) 62 right = right.view("i8") 63 ---> 64 results = joinf(left, right) 65 if with_indexers: 66 # dtype should be timedelta64[ns] for TimedeltaIndex pandas/_libs/join.pyx in pandas._libs.join.left_join_indexer_unique() ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/_libs/join.cpython-38-x86_64-linux-gnu.so in View.MemoryView.memoryview_cwrapper() ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/_libs/join.cpython-38-x86_64-linux-gnu.so in View.MemoryView.memoryview.__cinit__() ValueError: buffer source array is read-only ``` #### Problem description See error above #### Expected Output I would have expected: - the 'NA' value to be ignored in comparison without causing an error - If an error is due to NA, I expect to see appropriate message, instead of 'read-only' being thrown #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS commit : db08276 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-118-generic Version : #119-Ubuntu SMP Tue Sep 8 12:30:01 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.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20201009 Cython : 0.29.21 lxml.etree : 4.5.2 jinja2 : 2.11.2 IPython : 7.18.1 fsspec : 0.8.4 fastparquet : 0.4.1 matplotlib : 3.3.2 pyarrow : 0.17.1 scipy : 1.5.2 xarray : 0.16.1 numba : 0.51.2 </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/37264/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37264/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37265
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37265/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37265/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37265/events
https://github.com/pandas-dev/pandas/issues/37265
724,965,774
MDU6SXNzdWU3MjQ5NjU3NzQ=
37,265
BUG: PeriodIndex.dtype comparison with string exhibits contradiction
{ "avatar_url": "https://avatars.githubusercontent.com/u/39277069?v=4", "events_url": "https://api.github.com/users/hickmanw/events{/privacy}", "followers_url": "https://api.github.com/users/hickmanw/followers", "following_url": "https://api.github.com/users/hickmanw/following{/other_user}", "gists_url": "https://api.github.com/users/hickmanw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hickmanw", "id": 39277069, "login": "hickmanw", "node_id": "MDQ6VXNlcjM5Mjc3MDY5", "organizations_url": "https://api.github.com/users/hickmanw/orgs", "received_events_url": "https://api.github.com/users/hickmanw/received_events", "repos_url": "https://api.github.com/users/hickmanw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hickmanw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hickmanw/subscriptions", "type": "User", "url": "https://api.github.com/users/hickmanw" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
1
2020-10-19T20:51:13Z
2020-10-20T16:50:01Z
2020-10-20T16:50:01Z
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. --- #### Code Sample ```python index = pd.period_range(start='01Jan2019', end='01Dec2019', freq='M') string = "period[M]" index.dtype == string # True index.dtype != string # also True ``` #### Problem description `PeriodIndex.dtype` is both `__eq__` and `__ne__` to the string representation of its frequency. I suspect that comparing the dtype to a string is not recommended, but the contradiction seemed worth reporting. I don't know when this was introduced, but it did not occur in 0.25.3. #### Expected Output One of the two comparisons to evaluate to `False`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : a34a408e854b6300dbbdd0b29026d19bc5477d73 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 4.14.198-152.320.amzn2.x86_64 Version : #1 SMP Wed Sep 23 23:57:28 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.0.dev0+830.ga34a408e8 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 49.6.0.post20201009 Cython : 0.29.21 pytest : 6.1.1 hypothesis : 5.37.3 sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.1 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.4 fastparquet : 0.4.1 gcsfs : 0.7.1 matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 1.0.1 pyxlsb : None s3fs : 0.4.2 scipy : 1.5.2 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </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/37265/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37265/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37266
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37266/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37266/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37266/events
https://github.com/pandas-dev/pandas/pull/37266
725,007,935
MDExOlB1bGxSZXF1ZXN0NTA2MzA1MjA4
37,266
REF: nargsort incorrectly calling _values_for_argsort
{ "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" } ]
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-10-19T22:01:31Z
2020-10-20T00:38:13Z
2020-10-20T00:25:52Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry cc @jorisvandenbossche
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37266/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37266/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37266.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37266", "merged_at": "2020-10-20T00:25:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37266.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37266" }
https://api.github.com/repos/pandas-dev/pandas/issues/37267
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37267/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37267/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37267/events
https://github.com/pandas-dev/pandas/issues/37267
725,027,134
MDU6SXNzdWU3MjUwMjcxMzQ=
37,267
BUG: offsets are now unhashable
{ "avatar_url": "https://avatars.githubusercontent.com/u/881019?v=4", "events_url": "https://api.github.com/users/dhirschfeld/events{/privacy}", "followers_url": "https://api.github.com/users/dhirschfeld/followers", "following_url": "https://api.github.com/users/dhirschfeld/following{/other_user}", "gists_url": "https://api.github.com/users/dhirschfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dhirschfeld", "id": 881019, "login": "dhirschfeld", "node_id": "MDQ6VXNlcjg4MTAxOQ==", "organizations_url": "https://api.github.com/users/dhirschfeld/orgs", "received_events_url": "https://api.github.com/users/dhirschfeld/received_events", "repos_url": "https://api.github.com/users/dhirschfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dhirschfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dhirschfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/dhirschfeld" }
[ { "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": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-19T22:39:36Z
2020-10-22T00:08:33Z
2020-10-22T00:08:33Z
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. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- As discussed on gitter, this was apparently an unindended consequence of https://github.com/pandas-dev/pandas/pull/34227 ![image](https://user-images.githubusercontent.com/881019/96518983-56d04a80-12af-11eb-951d-89b02badf9df.png) https://gitter.im/pydata/pandas?at=5f8d8a106c8d484be294872f #### Code Sample, a copy-pastable example ```python >>> import pandas as pd >>> hash(pd.offsets.Day()) Traceback (most recent call last): File "C:\Users\dhirschf\envs\dev\lib\site-packages\IPython\core\interactiveshell.py", line 3417, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-46-d78c0d3ee4ad>", line 1, in <module> hash(pd.offsets.Day()) TypeError: unhashable type: 'pandas._libs.tslibs.offsets.Day' ``` #### Problem description My code relied on the hashability of offsets and so this broke my code and has so far prevented me upgrading to the latest `pandas` #### Expected Output #### Output of ``pd.show_versions()`` <details> ``` >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.17763 machine : AMD64 processor : Intel64 Family 6 Model 58 Stepping 0, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 Cython : 0.29.21 pytest : 6.1.1 hypothesis : 5.37.3 sphinx : 3.2.1 blosc : 1.9.2 feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.0 html5lib : 1.1 pymysql : 0.10.1 psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 ``` </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/37267/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37267/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37268
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37268/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37268/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37268/events
https://github.com/pandas-dev/pandas/pull/37268
725,079,079
MDExOlB1bGxSZXF1ZXN0NTA2MzY2Nzg3
37,268
BUG: Don't raise TypeError when converting NA from string to numeric
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "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-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" }
3
2020-10-20T00:26:02Z
2020-10-20T23:12:42Z
2020-10-20T23:10:11Z
MEMBER
null
- [x] closes #37262 - [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/37268/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37268/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37268.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37268", "merged_at": "2020-10-20T23:10:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37268.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37268" }
https://api.github.com/repos/pandas-dev/pandas/issues/37269
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37269/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37269/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37269/events
https://github.com/pandas-dev/pandas/pull/37269
725,080,602
MDExOlB1bGxSZXF1ZXN0NTA2MzY4MTQ2
37,269
DOC: troubleshoot docbuild
{ "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
2
2020-10-20T00:29:23Z
2020-10-20T00:38:41Z
2020-10-20T00:38:35Z
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/37269/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37269/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37269.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37269", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37269.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37269" }
https://api.github.com/repos/pandas-dev/pandas/issues/37270
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37270/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37270/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37270/events
https://github.com/pandas-dev/pandas/pull/37270
725,117,892
MDExOlB1bGxSZXF1ZXN0NTA2Mzk5NTAy
37,270
REGR: Make comparisons consistent for PeriodDtype
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "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": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
5
2020-10-20T01:59:04Z
2020-10-21T11:38:18Z
2020-10-20T16:50:02Z
MEMBER
null
- [x] closes #37265 - [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/37270/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37270/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37270.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37270", "merged_at": "2020-10-20T16:50:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37270.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37270" }
https://api.github.com/repos/pandas-dev/pandas/issues/37271
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37271/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37271/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37271/events
https://github.com/pandas-dev/pandas/pull/37271
725,163,468
MDExOlB1bGxSZXF1ZXN0NTA2NDM4NTQw
37,271
REF: collect tests by method
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-10-20T03:39:12Z
2020-10-20T17:31:13Z
2020-10-20T16:51:55Z
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/37271/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37271/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37271.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37271", "merged_at": "2020-10-20T16:51:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37271.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37271" }
https://api.github.com/repos/pandas-dev/pandas/issues/37272
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37272/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37272/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37272/events
https://github.com/pandas-dev/pandas/issues/37272
725,371,127
MDU6SXNzdWU3MjUzNzExMjc=
37,272
DOC: list all options for encoding and quoting in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/22752322?v=4", "events_url": "https://api.github.com/users/YuriyTigiev/events{/privacy}", "followers_url": "https://api.github.com/users/YuriyTigiev/followers", "following_url": "https://api.github.com/users/YuriyTigiev/following{/other_user}", "gists_url": "https://api.github.com/users/YuriyTigiev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YuriyTigiev", "id": 22752322, "login": "YuriyTigiev", "node_id": "MDQ6VXNlcjIyNzUyMzIy", "organizations_url": "https://api.github.com/users/YuriyTigiev/orgs", "received_events_url": "https://api.github.com/users/YuriyTigiev/received_events", "repos_url": "https://api.github.com/users/YuriyTigiev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YuriyTigiev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YuriyTigiev/subscriptions", "type": "User", "url": "https://api.github.com/users/YuriyTigiev" }
[ { "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": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
3
2020-10-20T09:06:23Z
2020-10-25T17:52:58Z
2020-10-25T17:47:53Z
NONE
null
#### Location of the documentation [pandas.to_csv](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_csv.html) **Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/). #### Documentation problem "encoding" and "quoting" described briefly. #### Suggested fix for documentation Should provide all parameters which support these options.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37272/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37272/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37273
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37273/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37273/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37273/events
https://github.com/pandas-dev/pandas/issues/37273
725,427,596
MDU6SXNzdWU3MjU0Mjc1OTY=
37,273
BUG: to_offset has inconsistent behaviour for "W"
{ "avatar_url": "https://avatars.githubusercontent.com/u/22575361?v=4", "events_url": "https://api.github.com/users/larsrinn/events{/privacy}", "followers_url": "https://api.github.com/users/larsrinn/followers", "following_url": "https://api.github.com/users/larsrinn/following{/other_user}", "gists_url": "https://api.github.com/users/larsrinn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/larsrinn", "id": 22575361, "login": "larsrinn", "node_id": "MDQ6VXNlcjIyNTc1MzYx", "organizations_url": "https://api.github.com/users/larsrinn/orgs", "received_events_url": "https://api.github.com/users/larsrinn/received_events", "repos_url": "https://api.github.com/users/larsrinn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/larsrinn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/larsrinn/subscriptions", "type": "User", "url": "https://api.github.com/users/larsrinn" }
[ { "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": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-10-20T10:11:33Z
2021-08-13T05:09:01Z
2021-08-13T05:09:01Z
NONE
null
- [x] I have checked that this issue has not already been reported. It might be related to https://github.com/pandas-dev/pandas/issues/34101 - I'm not sure, though - [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 from pandas.tseries.frequencies import to_offset offsets = [ pd.offsets.YearBegin(), pd.offsets.YearEnd(), pd.offsets.YearEnd(month=5), pd.offsets.BYearBegin(month=3), pd.offsets.MonthBegin(), pd.offsets.MonthEnd(), pd.offsets.CustomBusinessMonthBegin(), pd.offsets.SemiMonthBegin(), pd.offsets.Week(), # this is the one with the inconsistency pd.offsets.Week(weekday=4), pd.offsets.Hour(), pd.offsets.Hour(2), pd.offsets.Minute(), pd.offsets.Minute(15), pd.offsets.Hour(2) + pd.offsets.Minute(15), ] for offset in offsets: freqstr = offset.freqstr offset_from_freqstr = to_offset(freqstr) if offset != offset_from_freqstr: print(f"Round trip not working for offset={offset}, offset.freqstr: {freqstr}, to_offset(offset.freqstr): {offset_from_freqstr}") ``` This yields: ``` Round trip not working for offset=<Week: weekday=None>, offset.freqstr: W, to_offset(offset.freqstr): <Week: weekday=6> ``` #### Problem description I'd expect `to_offset("W")` to produce `pd.offsets.Week()`. However it yields `pd.offsets.Week(weekday=6)`. This is inconsistent with the behaviour of basically all other offsets, where passing the `freqstr` property of an offset to `to_offset` yields the offset itsself. Also for the ones with an anchor (see code example above) For a context: I'm trying to store a time series to a database and only want to store the values, the first time and the freqeuncy. While doing that I'd like to use the `freqstr` property to serialize the frequency, a consistent round trip would be a requirement for that, though. #### Expected Output No output from code above #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : de_DE.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : None pytest : 6.1.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 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/37273/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37273/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37274
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37274/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37274/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37274/events
https://github.com/pandas-dev/pandas/pull/37274
725,522,565
MDExOlB1bGxSZXF1ZXN0NTA2NzQzODYw
37,274
TST: fix warnings on multiple subplots
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
15
2020-10-20T12:16:02Z
2020-11-10T04:45:40Z
2020-11-09T18:55:08Z
MEMBER
null
- [ ] xref #37178 partially - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This PR suggests a (partial) fix for such warnings, which take place when running test suite on ``pandas/tests/plotting``. ``` UserWarning: To output multiple subplots, the figure containing the passed axes is being cleared ``` The problem is the following. The function ``_check_plot_works`` creates subplot(211) if axes are not provided. This is fine, when the plot to be created is a single-axes plot. However, if the plot itself is to be plotted on multiple axes (for instance, df.hist would plot each column on a dedicated subplot, by default), then the warnings mentioned are emitted. Two ways to handle it: - Find cases where plot is a multiaxes-plot and catch warnings there. This is fine, but in some parametrized tests the plots are either single-axes or multiple-axes. It makes it difficult to figure out without splitting the tests. - Change function ``_check_plot_works``: do not create subplot(211). I created ``_check_single_plot_works`` which does not create subplots and used it in the problematic cases. I guess, that the name is not the best (I would prefer ``_check_plot_works``), but I encourage those concerned to have a discussion here. Please see comments in ``_check_plot_works`` (I will remove them once we come to the conclusion on the topic).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37274/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37274/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37274.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37274", "merged_at": "2020-11-09T18:55:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37274.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37274" }
https://api.github.com/repos/pandas-dev/pandas/issues/37275
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37275/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37275/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37275/events
https://github.com/pandas-dev/pandas/issues/37275
725,556,001
MDU6SXNzdWU3MjU1NTYwMDE=
37,275
BUG: Groupby aggregate functions (e.g. min/max) fail to preserve categorical dtype on single categorical column
{ "avatar_url": "https://avatars.githubusercontent.com/u/45699730?v=4", "events_url": "https://api.github.com/users/btw08/events{/privacy}", "followers_url": "https://api.github.com/users/btw08/followers", "following_url": "https://api.github.com/users/btw08/following{/other_user}", "gists_url": "https://api.github.com/users/btw08/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/btw08", "id": 45699730, "login": "btw08", "node_id": "MDQ6VXNlcjQ1Njk5NzMw", "organizations_url": "https://api.github.com/users/btw08/orgs", "received_events_url": "https://api.github.com/users/btw08/received_events", "repos_url": "https://api.github.com/users/btw08/repos", "site_admin": false, "starred_url": "https://api.github.com/users/btw08/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/btw08/subscriptions", "type": "User", "url": "https://api.github.com/users/btw08" }
[ { "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "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" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/35455325?v=4", "events_url": "https://api.github.com/users/sonalprabhu/events{/privacy}", "followers_url": "https://api.github.com/users/sonalprabhu/followers", "following_url": "https://api.github.com/users/sonalprabhu/following{/other_user}", "gists_url": "https://api.github.com/users/sonalprabhu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sonalprabhu", "id": 35455325, "login": "sonalprabhu", "node_id": "MDQ6VXNlcjM1NDU1MzI1", "organizations_url": "https://api.github.com/users/sonalprabhu/orgs", "received_events_url": "https://api.github.com/users/sonalprabhu/received_events", "repos_url": "https://api.github.com/users/sonalprabhu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sonalprabhu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonalprabhu/subscriptions", "type": "User", "url": "https://api.github.com/users/sonalprabhu" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/35455325?v=4", "events_url": "https://api.github.com/users/sonalprabhu/events{/privacy}", "followers_url": "https://api.github.com/users/sonalprabhu/followers", "following_url": "https://api.github.com/users/sonalprabhu/following{/other_user}", "gists_url": "https://api.github.com/users/sonalprabhu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sonalprabhu", "id": 35455325, "login": "sonalprabhu", "node_id": "MDQ6VXNlcjM1NDU1MzI1", "organizations_url": "https://api.github.com/users/sonalprabhu/orgs", "received_events_url": "https://api.github.com/users/sonalprabhu/received_events", "repos_url": "https://api.github.com/users/sonalprabhu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sonalprabhu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonalprabhu/subscriptions", "type": "User", "url": "https://api.github.com/users/sonalprabhu" } ]
{ "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-10-20T12:53:40Z
2021-10-24T22:09:13Z
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. --- #### Set-up Code ```python import pandas as pd dtype = pd.CategoricalDtype(categories=['small', 'big'], ordered=True) df = pd.DataFrame([ [1, 'small'], [1, 'big'], [2, 'small'] ], columns=['grp', 'description']).astype({'description': dtype}) biggest = df.groupby('grp')['description'].max() ``` #### Outputs Here, I'm expecting a categorical dtype - the same as defined in my first line. Instead, I get an object dtype. ```python >>> biggest.dtype dtype('O') ``` ... and that causes problems down the line, because now, the overall max of "biggest" turns out to be "small". ```python >>> biggest.max() 'small' ``` #### Problem description After performing a groupby (using a column or columns of any type as the "by"), I'd expect taking the min or max (or first or last, and probably other aggregations that make sense) of a column of categorical dtype to return a series of that same dtype. Instead, the dtype appears to be converted to `object` during the aggregation. For what it's worth, the expected behavior seems to happen if I do this as a _frame_ operation as opposed to a _series_ operation. That is, if I replace this line from above ```python biggest = df.groupby('grp')['description'].max() ``` with ```python df_biggest = df.groupby('grp')[['description']].max() ``` the dtype _does_ seem to be preserved. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.1.3 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0.post20201006 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 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/37275/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37275/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37276
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37276/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37276/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37276/events
https://github.com/pandas-dev/pandas/issues/37276
725,557,061
MDU6SXNzdWU3MjU1NTcwNjE=
37,276
QST: Does SciPy dependency license still apply / if so, for what version?
{ "avatar_url": "https://avatars.githubusercontent.com/u/13902458?v=4", "events_url": "https://api.github.com/users/r-i-v-a/events{/privacy}", "followers_url": "https://api.github.com/users/r-i-v-a/followers", "following_url": "https://api.github.com/users/r-i-v-a/following{/other_user}", "gists_url": "https://api.github.com/users/r-i-v-a/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/r-i-v-a", "id": 13902458, "login": "r-i-v-a", "node_id": "MDQ6VXNlcjEzOTAyNDU4", "organizations_url": "https://api.github.com/users/r-i-v-a/orgs", "received_events_url": "https://api.github.com/users/r-i-v-a/received_events", "repos_url": "https://api.github.com/users/r-i-v-a/repos", "site_admin": false, "starred_url": "https://api.github.com/users/r-i-v-a/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/r-i-v-a/subscriptions", "type": "User", "url": "https://api.github.com/users/r-i-v-a" }
[ { "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": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-10-20T12:54:52Z
2021-03-17T19:13:26Z
2021-03-17T19:13:26Z
NONE
null
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas I noticed that a SciPy license was added to the licenses folder https://github.com/pandas-dev/pandas/blob/master/LICENSES/SCIPY_LICENSE in a commit from 2012 (doesn't mention a specific version). SciPy doesn't currently seem to get installed as a dependency via pip install. Does that dependency still apply? Asking for the purpose of attributing licenses and tracking relevance of CVEs filed on some past versions of SciPy.
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37276/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37276/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37277
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37277/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37277/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37277/events
https://github.com/pandas-dev/pandas/issues/37277
725,734,748
MDU6SXNzdWU3MjU3MzQ3NDg=
37,277
BUG/API: index.array for RangeIndex, MultiIndex
{ "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
open
false
null
[]
null
3
2020-10-20T15:58:00Z
2021-08-13T05:11:32Z
null
MEMBER
null
ATM MultiIndex.array raises ValueError, since there is no single array actually backing MI. RangeIndex creates and returns a PandasArray. I think RangeIndex should also raise (at least until/unless we implement a RangeArray). This also has implications for extract_array, which currently raises on MultiIndex, which has led to some ugly checks in e.g. Index._cmp_method.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37277/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37277/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37278
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37278/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37278/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37278/events
https://github.com/pandas-dev/pandas/issues/37278
725,754,456
MDU6SXNzdWU3MjU3NTQ0NTY=
37,278
BUG: Undocumented, Inconsistent matplotlib figure usage (Series.hist vs Series.plot.hist)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1515637?v=4", "events_url": "https://api.github.com/users/EmperorArthur/events{/privacy}", "followers_url": "https://api.github.com/users/EmperorArthur/followers", "following_url": "https://api.github.com/users/EmperorArthur/following{/other_user}", "gists_url": "https://api.github.com/users/EmperorArthur/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/EmperorArthur", "id": 1515637, "login": "EmperorArthur", "node_id": "MDQ6VXNlcjE1MTU2Mzc=", "organizations_url": "https://api.github.com/users/EmperorArthur/orgs", "received_events_url": "https://api.github.com/users/EmperorArthur/received_events", "repos_url": "https://api.github.com/users/EmperorArthur/repos", "site_admin": false, "starred_url": "https://api.github.com/users/EmperorArthur/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EmperorArthur/subscriptions", "type": "User", "url": "https://api.github.com/users/EmperorArthur" }
[ { "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": "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
[]
{ "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-10-20T16:23:31Z
2020-10-28T15:44:00Z
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 # Your code here from pandas import DataFrame import matplotlib.pyplot as plt d = DataFrame({'y1':[0,1,2,3], 'y2':[3,4,5,6]}, index=[0,1,2,3]) # A new matplotlib figure is created print(plt.gcf().number) d.hist() print(plt.gcf().number) # new figure is created, current matplotlib figure is the new one # Can NOT assign a figure to a dataframe plot figure = plt.figure() print(figure.number) print(plt.gcf().number) d.hist(figure=figure) # Throws an exception print(plt.gcf().number) # new figure is still created! current matplotlib figure is the new one # Can assign a figure to a Series histogram figure1 = plt.figure() figure2 = plt.figure() # Current figure is always the last one created print(figure1.number) print(figure2.number) print(plt.gcf().number) d['y1'].hist(figure=figure1) print(plt.gcf().number) # Current figure stays the same figure1.show() # This works # Can NOT assign a figure to a Series histogram when using the .plot CachedAccessor # However, it does not create a new figure figure1 = plt.figure() figure2 = plt.figure() # Current figure is always the last one created print(figure1.number) print(figure2.number) print(plt.gcf().number) d['y1'].plot.hist(figure=figure1) # Throws an exception! print(plt.gcf().number) # Current figure stays the same ``` #### Problem description It is currently impossible to assign a plot of a DataFrame to an existing figure. The functionality is just broken. The API to set a Series to an existing figure is almost completely broken (with the exception of the direct hist function). There is a workaround in setting the global current figure `plt.figure(old_figure.number)`, but that does not work if `plt.Figure()` is used. #### Expected Output All three examples accept the `figure=` argument, and use it. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-51-generic Version : #56-Ubuntu SMP Mon Oct 5 14:28:49 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.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.3 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/37278/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37278/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37279
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37279/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37279/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37279/events
https://github.com/pandas-dev/pandas/pull/37279
725,769,627
MDExOlB1bGxSZXF1ZXN0NTA2OTUyMjg0
37,279
ENH: Add is_sparse method to check for sparse columns in a DataFrame (GH26706)
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "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" }, { "color": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" } ]
closed
false
null
[]
null
9
2020-10-20T16:44:53Z
2021-07-10T02:28:15Z
2021-07-10T02:28:14Z
CONTRIBUTOR
null
- [x] closes #26706 - [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/37279/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37279/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37279.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37279", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37279.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37279" }
https://api.github.com/repos/pandas-dev/pandas/issues/37280
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37280/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37280/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37280/events
https://github.com/pandas-dev/pandas/issues/37280
725,819,917
MDU6SXNzdWU3MjU4MTk5MTc=
37,280
BUG: regression: pandas.read_stata(filename, iterator=True) raises ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/426784?v=4", "events_url": "https://api.github.com/users/remram44/events{/privacy}", "followers_url": "https://api.github.com/users/remram44/followers", "following_url": "https://api.github.com/users/remram44/following{/other_user}", "gists_url": "https://api.github.com/users/remram44/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/remram44", "id": 426784, "login": "remram44", "node_id": "MDQ6VXNlcjQyNjc4NA==", "organizations_url": "https://api.github.com/users/remram44/orgs", "received_events_url": "https://api.github.com/users/remram44/received_events", "repos_url": "https://api.github.com/users/remram44/repos", "site_admin": false, "starred_url": "https://api.github.com/users/remram44/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/remram44/subscriptions", "type": "User", "url": "https://api.github.com/users/remram44" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "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": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
5
2020-10-20T18:00:15Z
2020-10-23T12:15:12Z
2020-10-23T12:15:12Z
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 >>> # for example https://gitlab.com/ViDA-NYU/datamart/datamart/-/blob/master/tests/data/stata118.dta >>> iterator = pandas.read_stata(stata_file_name, iterator=True) >>> list(iterator) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "site-packages/pandas/io/stata.py", line 1523, in __next__ raise ValueError( ValueError: chunksize must be set to a positive integer to use as an iterator. ``` #### Problem description `read_stata(filename, iterator=True)` no longer works in pandas 1.1.3. **It worked in pandas 1.0.5.** #### Expected Output DataFrame is loaded correctly #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-51-generic Version : #56-Ubuntu SMP Mon Oct 5 14:28:49 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.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : 3.2.1 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 fsspec : 0.8.4 fastparquet : None gcsfs : 0.7.1 matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.5.3 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 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/37280/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37280/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37281
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37281/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37281/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37281/events
https://github.com/pandas-dev/pandas/pull/37281
725,834,476
MDExOlB1bGxSZXF1ZXN0NTA3MDA1Mjcy
37,281
REF/TST: collect fillna tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
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" }
0
2020-10-20T18:22:17Z
2020-10-21T15:20:53Z
2020-10-21T12:55:59Z
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/37281/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37281/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37281.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37281", "merged_at": "2020-10-21T12:55:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37281.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37281" }
https://api.github.com/repos/pandas-dev/pandas/issues/37282
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37282/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37282/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37282/events
https://github.com/pandas-dev/pandas/pull/37282
725,835,112
MDExOlB1bGxSZXF1ZXN0NTA3MDA1ODQy
37,282
REF/TST: collect astype tests
{ "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": "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "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" }
3
2020-10-20T18:22:43Z
2020-10-21T16:02:09Z
2020-10-21T15:58:53Z
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/37282/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37282/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37282.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37282", "merged_at": "2020-10-21T15:58:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37282.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37282" }
https://api.github.com/repos/pandas-dev/pandas/issues/37283
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37283/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37283/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37283/events
https://github.com/pandas-dev/pandas/pull/37283
725,867,002
MDExOlB1bGxSZXF1ZXN0NTA3MDMyMzE4
37,283
REF/TST: collect reindex tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
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" }
3
2020-10-20T19:04:59Z
2020-10-21T00:45:32Z
2020-10-21T00:45:24Z
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/37283/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37283/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37283.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37283", "merged_at": "2020-10-21T00:45:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37283.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37283" }
https://api.github.com/repos/pandas-dev/pandas/issues/37284
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37284/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37284/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37284/events
https://github.com/pandas-dev/pandas/pull/37284
725,874,970
MDExOlB1bGxSZXF1ZXN0NTA3MDM4OTM3
37,284
DOC: update the URL for the "Mailing List"
{ "avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4", "events_url": "https://api.github.com/users/partev/events{/privacy}", "followers_url": "https://api.github.com/users/partev/followers", "following_url": "https://api.github.com/users/partev/following{/other_user}", "gists_url": "https://api.github.com/users/partev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/partev", "id": 23830955, "login": "partev", "node_id": "MDQ6VXNlcjIzODMwOTU1", "organizations_url": "https://api.github.com/users/partev/orgs", "received_events_url": "https://api.github.com/users/partev/received_events", "repos_url": "https://api.github.com/users/partev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/partev/subscriptions", "type": "User", "url": "https://api.github.com/users/partev" }
[ { "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" }
1
2020-10-20T19:17:26Z
2020-10-20T23:02:19Z
2020-10-20T23:02:15Z
CONTRIBUTOR
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/37284/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37284/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37284.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37284", "merged_at": "2020-10-20T23:02:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37284.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37284" }
https://api.github.com/repos/pandas-dev/pandas/issues/37285
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37285/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37285/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37285/events
https://github.com/pandas-dev/pandas/pull/37285
725,894,271
MDExOlB1bGxSZXF1ZXN0NTA3MDU0OTMy
37,285
Backport PR #37256 on branch 1.1.x (BUG: with integer column labels, .info() throws KeyError )
{ "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" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
3
2020-10-20T19:48:53Z
2020-10-21T10:51:54Z
2020-10-21T10:51:54Z
NONE
null
Backport PR #37256: BUG: with integer column labels, .info() throws KeyError
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37285/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37285/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37285.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37285", "merged_at": "2020-10-21T10:51:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37285.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37285" }
https://api.github.com/repos/pandas-dev/pandas/issues/37286
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37286/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37286/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37286/events
https://github.com/pandas-dev/pandas/issues/37286
725,931,534
MDU6SXNzdWU3MjU5MzE1MzQ=
37,286
BUG: Pyarrow 2.0.0 broke test_timezone_aware_index 6/7 tests
{ "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": "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" }, { "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
7
2020-10-20T20:46:03Z
2020-11-28T17:54:10Z
null
MEMBER
null
Pyarrow 2.0.0 was released yesterday and broke the test `` test_timezone_aware_index`` in 6 of 7 cases. Can be seen through our CI. Location of test is ``pandas/tests/io/test_parquet.py`` Link to ci: https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=45611&view=logs&j=b1c7b65e-b3ce-541a-7fd5-29b4ba56ce18&t=46ecc253-e38f-5abc-2ea7-addca6b44d0a&l=22 cc @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/37286/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37286/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37287
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37287/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37287/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37287/events
https://github.com/pandas-dev/pandas/issues/37287
725,942,348
MDU6SXNzdWU3MjU5NDIzNDg=
37,287
BUG:TypeError: Cannot interpret 'CategoricalDtype(categories=['no', 'yes'], ordered=False)' as a data type
{ "avatar_url": "https://avatars.githubusercontent.com/u/4946163?v=4", "events_url": "https://api.github.com/users/sureshchepuri/events{/privacy}", "followers_url": "https://api.github.com/users/sureshchepuri/followers", "following_url": "https://api.github.com/users/sureshchepuri/following{/other_user}", "gists_url": "https://api.github.com/users/sureshchepuri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sureshchepuri", "id": 4946163, "login": "sureshchepuri", "node_id": "MDQ6VXNlcjQ5NDYxNjM=", "organizations_url": "https://api.github.com/users/sureshchepuri/orgs", "received_events_url": "https://api.github.com/users/sureshchepuri/received_events", "repos_url": "https://api.github.com/users/sureshchepuri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sureshchepuri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sureshchepuri/subscriptions", "type": "User", "url": "https://api.github.com/users/sureshchepuri" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2020-10-20T21:03:42Z
2020-10-21T10:25:06Z
2020-10-21T10:25:06Z
NONE
null
I just upgraded all my python libraries, and now my previous code is started to fail. I'm using blaze with pandas. Here is my method code ``` blaze.data(res) ``` res contains below data ``` col1 age ... col31 year 0 yes 55-64 ... NaN 2011 1 no 25-34 ... NaN 2011 2 no 55-64 ... NaN 2011 ``` I'm using below dependencies ``` - python=3.6.11=h4d41432_2_cpython - blaze=0.11.3=py36h4e06776_0 - pandas=1.0.5=py36h0573a6f_0 - numpy=1.19.1=py36h3849536_2 ``` I'm getting the following error ``` File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/blaze/interactive.py", line 153, in data dshape = discover(data_source) File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/multipledispatch/dispatcher.py", line 278, in __call__ return func(*args, **kwargs) File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/odo/backends/pandas.py", line 31, in discover_dataframe for k in df.columns]) File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/odo/backends/pandas.py", line 31, in <listcomp> for k in df.columns]) File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/odo/backends/pandas.py", line 23, in dshape_from_pandas dshape = datashape.CType.from_numpy_dtype(col.dtype) File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/datashape/coretypes.py", line 779, in from_numpy_dtype if np.issubdtype(dt, np.datetime64): File "/home/ubuntu/miniconda/envs/my_env/lib/python3.6/site-packages/numpy/core/numerictypes.py", line 388, in issubdtype arg1 = dtype(arg1).type TypeError: Cannot interpret 'CategoricalDtype(categories=['no', 'yes'], ordered=False)' as a data type ``` It's failing to parse second column values.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37287/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37287/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37288
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37288/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37288/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37288/events
https://github.com/pandas-dev/pandas/pull/37288
725,955,407
MDExOlB1bGxSZXF1ZXN0NTA3MTA1NzY5
37,288
Regression in offsets caused offsets to be no longer hashable
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "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": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
3
2020-10-20T21:25:29Z
2020-10-22T21:42:02Z
2020-10-22T00:08:34Z
MEMBER
null
- [x] closes #37267 - [x] tests added / passed Not quite sure, if these test is sufficient, if yes, I would tests for other functions. - [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": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37288/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37288/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37288.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37288", "merged_at": "2020-10-22T00:08:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37288.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37288" }
https://api.github.com/repos/pandas-dev/pandas/issues/37289
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37289/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37289/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37289/events
https://github.com/pandas-dev/pandas/pull/37289
725,967,069
MDExOlB1bGxSZXF1ZXN0NTA3MTE1Mzkx
37,289
CLN: make PeriodArray signature match DTA/TDA
{ "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": "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-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-10-20T21:46:25Z
2020-10-21T15:19:09Z
2020-10-21T12:55:26Z
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/37289/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37289/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37289.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37289", "merged_at": "2020-10-21T12:55:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37289.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37289" }
https://api.github.com/repos/pandas-dev/pandas/issues/37290
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37290/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37290/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37290/events
https://github.com/pandas-dev/pandas/issues/37290
725,969,683
MDU6SXNzdWU3MjU5Njk2ODM=
37,290
BUG: rank raises error with read-only data
{ "avatar_url": "https://avatars.githubusercontent.com/u/6988170?v=4", "events_url": "https://api.github.com/users/zeromh/events{/privacy}", "followers_url": "https://api.github.com/users/zeromh/followers", "following_url": "https://api.github.com/users/zeromh/following{/other_user}", "gists_url": "https://api.github.com/users/zeromh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zeromh", "id": 6988170, "login": "zeromh", "node_id": "MDQ6VXNlcjY5ODgxNzA=", "organizations_url": "https://api.github.com/users/zeromh/orgs", "received_events_url": "https://api.github.com/users/zeromh/received_events", "repos_url": "https://api.github.com/users/zeromh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zeromh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zeromh/subscriptions", "type": "User", "url": "https://api.github.com/users/zeromh" }
[ { "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": "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": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
2
2020-10-20T21:51:36Z
2020-10-27T22:09:06Z
2020-10-27T22:09:06Z
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 numpy as np arr = np.arange(10) arr.setflags(write=False) pd.Series(arr).rank() ``` Output: ``` ValueError Traceback (most recent call last) <ipython-input-5-afa6b4ecf509> in <module> 3 arr = np.arange(10) 4 arr.setflags(write=False) ----> 5 pd.Series(arr).rank() ~/anaconda/envs/xfactor/lib/python3.8/site-packages/pandas/core/generic.py in rank(self, axis, method, numeric_only, na_option, ascending, pct) 8334 if numeric_only is None: 8335 try: -> 8336 return ranker(self) 8337 except TypeError: 8338 numeric_only = True ~/anaconda/envs/xfactor/lib/python3.8/site-packages/pandas/core/generic.py in ranker(data) 8319 8320 def ranker(data): -> 8321 ranks = algos.rank( 8322 data.values, 8323 axis=axis, ~/anaconda/envs/xfactor/lib/python3.8/site-packages/pandas/core/algorithms.py in rank(values, axis, method, na_option, ascending, pct) 934 if values.ndim == 1: 935 values = _get_values_for_rank(values) --> 936 ranks = algos.rank_1d( 937 values, 938 ties_method=method, pandas/_libs/algos.pyx in pandas._libs.algos.rank_1d() ~/anaconda/envs/xfactor/lib/python3.8/site-packages/pandas/_libs/algos.cpython-38-darwin.so in View.MemoryView.memoryview_cwrapper() ~/anaconda/envs/xfactor/lib/python3.8/site-packages/pandas/_libs/algos.cpython-38-darwin.so in View.MemoryView.memoryview.__cinit__() ValueError: buffer source array is read-only ``` #### Problem description `rank` should work with read-only data. I noticed the problem when using `check_estimator` from `sklearn.utils.estimator_checks` on an estimator that uses pandas `rank`. I haven't explored fully but I assume `check_estimator` uses read-only data for running its tests, which causes this error. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/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.3 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20200814 Cython : None pytest : 6.0.2 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : 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 : 1.5.2 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/37290/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37290/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37291
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37291/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37291/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37291/events
https://github.com/pandas-dev/pandas/pull/37291
725,987,308
MDExOlB1bGxSZXF1ZXN0NTA3MTMxODY3
37,291
DOC: fix a small typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4", "events_url": "https://api.github.com/users/partev/events{/privacy}", "followers_url": "https://api.github.com/users/partev/followers", "following_url": "https://api.github.com/users/partev/following{/other_user}", "gists_url": "https://api.github.com/users/partev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/partev", "id": 23830955, "login": "partev", "node_id": "MDQ6VXNlcjIzODMwOTU1", "organizations_url": "https://api.github.com/users/partev/orgs", "received_events_url": "https://api.github.com/users/partev/received_events", "repos_url": "https://api.github.com/users/partev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/partev/subscriptions", "type": "User", "url": "https://api.github.com/users/partev" }
[ { "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" }
1
2020-10-20T22:26:42Z
2020-10-20T22:42:33Z
2020-10-20T22:42:30Z
CONTRIBUTOR
null
an alternative fix would be "pandas provides a wide range of functions for cleaning textual data and extracting useful information from it." - [ ] 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/37291/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37291/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37291.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37291", "merged_at": "2020-10-20T22:42:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37291.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37291" }
https://api.github.com/repos/pandas-dev/pandas/issues/37292
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37292/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37292/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37292/events
https://github.com/pandas-dev/pandas/issues/37292
725,991,198
MDU6SXNzdWU3MjU5OTExOTg=
37,292
BUG: Problem using to_csv with BytesIO
{ "avatar_url": "https://avatars.githubusercontent.com/u/453543?v=4", "events_url": "https://api.github.com/users/amotl/events{/privacy}", "followers_url": "https://api.github.com/users/amotl/followers", "following_url": "https://api.github.com/users/amotl/following{/other_user}", "gists_url": "https://api.github.com/users/amotl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amotl", "id": 453543, "login": "amotl", "node_id": "MDQ6VXNlcjQ1MzU0Mw==", "organizations_url": "https://api.github.com/users/amotl/orgs", "received_events_url": "https://api.github.com/users/amotl/received_events", "repos_url": "https://api.github.com/users/amotl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amotl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amotl/subscriptions", "type": "User", "url": "https://api.github.com/users/amotl" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "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" }
7
2020-10-20T22:35:26Z
2020-10-21T15:52:12Z
2020-10-20T23:48:50Z
NONE
null
Dear people of Pandas, first things first: Thanks for all of your excellent work conceiving and maintaining Pandas. You know who you are. With kind regards, Andreas. --- - [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 from io import BytesIO df = pd.DataFrame() buffer = BytesIO() df.to_csv(buffer) ``` #### Problem description The snippet above croaks with ``` TypeError: a bytes-like object is required, not 'str' ``` We expected this to work. However, we will be happy to learn otherwise. We also had a look at #22555 and #35129 which seem to be related but not exactly on the spot. The background on this is that we are currently in the process of upgrading [Kotori](https://github.com/daq-tools/kotori) to Python 3 (yeah, we are late to the game). However, coming from this, we can confirm it worked when using Pandas 0.18.1 on Python 2 the other day. The relevant code is - https://github.com/daq-tools/kotori/blob/0.24.5/kotori/io/protocol/http.py#L8 - https://github.com/daq-tools/kotori/blob/0.24.5/kotori/io/protocol/http.py#L588-L602 Thanks already for looking into this! #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.6.9.final.0 python-bits : 64 OS : Darwin OS-release : 17.7.0 Version : Darwin Kernel Version 17.7.0: Thu Jun 18 21:21:34 PDT 2020; root:xnu-4570.71.82.5~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.2 pytz : 2018.9 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0 Cython : None pytest : 4.6.9 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.6 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.8 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 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/37292/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37292/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37293
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37293/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37293/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37293/events
https://github.com/pandas-dev/pandas/pull/37293
726,010,643
MDExOlB1bGxSZXF1ZXN0NTA3MTUwOTIy
37,293
REF: de-duplicate DTA/TDA validators by standardizing exception messages
{ "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": "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-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" }
0
2020-10-20T23:21:40Z
2020-10-22T01:19:21Z
2020-10-22T00:07:52Z
MEMBER
null
After this, _validate_setitem_value is the same as _validate_where_value, and we are close to having _validate_insert_value and _validate_searchsorted_value math too.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37293/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37293/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37293.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37293", "merged_at": "2020-10-22T00:07:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37293.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37293" }
https://api.github.com/repos/pandas-dev/pandas/issues/37294
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37294/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37294/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37294/events
https://github.com/pandas-dev/pandas/issues/37294
726,011,680
MDU6SXNzdWU3MjYwMTE2ODA=
37,294
ENH: Cast string dtype to nullable numeric types in to_numeric
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "color": "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
1
2020-10-20T23:24:16Z
2020-10-21T07:15:06Z
null
MEMBER
null
https://github.com/pandas-dev/pandas/pull/37268 fixed a bug so that nullable string dtype can now be cast to numeric from "number-like" strings and NA, however the output dtype is currently float64. Better would be for this to cast to either nullable Int64 or Float64 depending on the values. Below is master: ```python [ins] In [2]: import pandas as pd ...: ...: s = pd.Series(["1", "2", None], dtype="string") ...: print(pd.to_numeric(s)) ...: ...: s = pd.Series(["1", "2.5", None], dtype="string") ...: print(pd.to_numeric(s)) ...: 0 1.0 1 2.0 2 NaN dtype: float64 0 1.0 1 2.5 2 NaN dtype: float64 ``` The first case would ideally cast to Int64, and the second to Float64.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37294/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37294/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37295
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37295/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37295/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37295/events
https://github.com/pandas-dev/pandas/issues/37295
726,024,770
MDU6SXNzdWU3MjYwMjQ3NzA=
37,295
BUG: Regression adding Timedelta to DatetimeIndex, get ValueError: Inferred frequency None from passed values does not conform to passed frequency
{ "avatar_url": "https://avatars.githubusercontent.com/u/3137319?v=4", "events_url": "https://api.github.com/users/nathanielatom/events{/privacy}", "followers_url": "https://api.github.com/users/nathanielatom/followers", "following_url": "https://api.github.com/users/nathanielatom/following{/other_user}", "gists_url": "https://api.github.com/users/nathanielatom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nathanielatom", "id": 3137319, "login": "nathanielatom", "node_id": "MDQ6VXNlcjMxMzczMTk=", "organizations_url": "https://api.github.com/users/nathanielatom/orgs", "received_events_url": "https://api.github.com/users/nathanielatom/received_events", "repos_url": "https://api.github.com/users/nathanielatom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nathanielatom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nathanielatom/subscriptions", "type": "User", "url": "https://api.github.com/users/nathanielatom" }
[ { "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "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.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
7
2020-10-21T00:01:32Z
2020-11-13T04:40:04Z
2020-11-13T04:40:04Z
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. --- #### Code Sample, a copy-pastable example ```python import pandas as pd pd.date_range(start=pd.Timestamp('2019-03-26 00:00:00-0400', tz='Canada/Eastern'), end=pd.Timestamp('2020-10-17 00:00:00-0400', tz='Canada/Eastern'), freq='D') + pd.Timedelta('1D') ``` #### Traceback <details> ```python-traceback --------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~/.miniconda/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py in _validate_frequency(cls, index, freq, **kwargs) 1156 if not np.array_equal(index.asi8, on_freq.asi8): -> 1157 raise ValueError 1158 except ValueError as e: ValueError: The above exception was the direct cause of the following exception: ValueError Traceback (most recent call last) <ipython-input-2-d8f454fa3ee3> in <module> ----> 1 pd.date_range(start=pd.Timestamp('2019-03-26 00:00:00-0400', tz='Canada/Eastern'), end=pd.Timestamp('2020-10-17 00:00:00-0400', tz='Canada/Eastern'), freq='D') + pd.Timedelta('1D') ~/.miniconda/lib/python3.7/site-packages/pandas/core/indexes/extension.py in method(self, other) 145 return NotImplemented 146 meth = getattr(self._data, opname) --> 147 result = meth(_maybe_unwrap_index(other)) 148 return _wrap_arithmetic_op(self, other, result) 149 ~/.miniconda/lib/python3.7/site-packages/pandas/core/ops/common.py in new_method(self, other) 63 other = item_from_zerodim(other) 64 ---> 65 return method(self, other) 66 67 return new_method ~/.miniconda/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py in __add__(self, other) 1399 result = self._add_nat() 1400 elif isinstance(other, (Tick, timedelta, np.timedelta64)): -> 1401 result = self._add_timedeltalike_scalar(other) 1402 elif isinstance(other, BaseOffset): 1403 # specifically _not_ a Tick ~/.miniconda/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py in _add_timedeltalike_scalar(self, other) 1254 new_freq = self.freq 1255 -> 1256 return type(self)(new_values, dtype=self.dtype, freq=new_freq) 1257 1258 def _add_timedelta_arraylike(self, other): ~/.miniconda/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py in __init__(self, values, dtype, freq, copy) 282 283 if inferred_freq is None and freq is not None: --> 284 type(self)._validate_frequency(self, freq) 285 286 @classmethod ~/.miniconda/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py in _validate_frequency(cls, index, freq, **kwargs) 1169 f"Inferred frequency {inferred} from passed values " 1170 f"does not conform to passed frequency {freq.freqstr}" -> 1171 ) from e 1172 1173 # monotonicity/uniqueness properties are called via frequencies.infer_freq, ValueError: Inferred frequency None from passed values does not conform to passed frequency D ``` </details> #### Problem description Unexpected ValueError when adding a Timedelta to a timezone-aware DatetimeIndex. It appears using timezone-aware Timestamp objects is necessary to reproduce - simple date strings won't. #### Expected Output The output from the same code sample in `v0.25.3` is: ```python DatetimeIndex(['2019-03-27 00:00:00-04:00', '2019-03-28 00:00:00-04:00', '2019-03-29 00:00:00-04:00', '2019-03-30 00:00:00-04:00', '2019-03-31 00:00:00-04:00', '2019-04-01 00:00:00-04:00', '2019-04-02 00:00:00-04:00', '2019-04-03 00:00:00-04:00', '2019-04-04 00:00:00-04:00', '2019-04-05 00:00:00-04:00', ... '2020-10-09 00:00:00-04:00', '2020-10-10 00:00:00-04:00', '2020-10-11 00:00:00-04:00', '2020-10-12 00:00:00-04:00', '2020-10-13 00:00:00-04:00', '2020-10-14 00:00:00-04:00', '2020-10-15 00:00:00-04:00', '2020-10-16 00:00:00-04:00', '2020-10-17 00:00:00-04:00', '2020-10-18 00:00:00-04:00'], dtype='datetime64[ns, Canada/Eastern]', length=572, freq=None) ``` don't know about later versions, before `v1.1.3`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.6.final.0 python-bits : 64 OS : Darwin OS-release : 16.7.0 Version : Darwin Kernel Version 16.7.0: Thu Dec 20 21:53:35 PST 2018; root:xnu-3789.73.31~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_CA.UTF-8 LOCALE : en_CA.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0 Cython : 0.29.20 pytest : 6.1.1 hypothesis : None sphinx : 1.8.5 blosc : 1.9.2 feather : None xlsxwriter : 1.2.1 lxml.etree : 4.5.2 html5lib : 0.9999999 pymysql : 0.9.3 psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: 0.9.0 bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 2.6.3 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.11 tables : 3.6.1 tabulate : None xarray : 0.16.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </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/37295/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37295/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37296
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37296/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37296/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37296/events
https://github.com/pandas-dev/pandas/pull/37296
726,043,444
MDExOlB1bGxSZXF1ZXN0NTA3MTc3NTE5
37,296
CI: tz dtype mismatch in test_parquet following pyarrow upgrade
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
4
2020-10-21T00:51:44Z
2020-10-21T14:52:18Z
2020-10-21T14:52:11Z
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/37296/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37296/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37296.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37296", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37296.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37296" }
https://api.github.com/repos/pandas-dev/pandas/issues/37297
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37297/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37297/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37297/events
https://github.com/pandas-dev/pandas/pull/37297
726,053,914
MDExOlB1bGxSZXF1ZXN0NTA3MTg1ODY4
37,297
CLN: _almost_ always rebox_native following _unbox
{ "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": "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-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" }
0
2020-10-21T01:21:34Z
2020-10-21T15:07:35Z
2020-10-21T12:56:53Z
MEMBER
null
A couple more special cases to handle, after which we will always _rebox_native and it can be rolled into _unbox so we can get rid of the method altogether
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37297/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37297/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37297.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37297", "merged_at": "2020-10-21T12:56:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37297.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37297" }
https://api.github.com/repos/pandas-dev/pandas/issues/37298
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37298/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37298/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37298/events
https://github.com/pandas-dev/pandas/pull/37298
726,054,700
MDExOlB1bGxSZXF1ZXN0NTA3MTg2NTA0
37,298
CI: Add unwanted pattern check
{ "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": "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": "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-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" }
7
2020-10-21T01:23:52Z
2020-10-22T08:19:42Z
2020-10-21T12:31:09Z
MEMBER
null
Follow up to https://github.com/pandas-dev/pandas/pull/37188
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37298/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37298/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37298.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37298", "merged_at": "2020-10-21T12:31:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37298.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37298" }
https://api.github.com/repos/pandas-dev/pandas/issues/37299
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37299/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37299/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37299/events
https://github.com/pandas-dev/pandas/pull/37299
726,062,129
MDExOlB1bGxSZXF1ZXN0NTA3MTkyMzYx
37,299
API: require timezone match in DatetimeArray.shift
{ "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "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-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" }
8
2020-10-21T01:46:18Z
2020-10-31T20:52:33Z
2020-10-31T19:18:11Z
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/37299/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37299/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37299.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37299", "merged_at": "2020-10-31T19:18:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37299.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37299" }
https://api.github.com/repos/pandas-dev/pandas/issues/37300
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37300/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37300/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37300/events
https://github.com/pandas-dev/pandas/pull/37300
726,105,276
MDExOlB1bGxSZXF1ZXN0NTA3MjI2NjIw
37,300
TST: collect tests by method
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-10-21T03:42:01Z
2020-10-21T14:49:20Z
2020-10-21T12:08:57Z
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/37300/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37300/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37300.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37300", "merged_at": "2020-10-21T12:08:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37300.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37300" }
https://api.github.com/repos/pandas-dev/pandas/issues/37301
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37301/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37301/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37301/events
https://github.com/pandas-dev/pandas/issues/37301
726,169,343
MDU6SXNzdWU3MjYxNjkzNDM=
37,301
ENH: Add support for more units in pandas.Timedelta
{ "avatar_url": "https://avatars.githubusercontent.com/u/2353212?v=4", "events_url": "https://api.github.com/users/rohan-gt/events{/privacy}", "followers_url": "https://api.github.com/users/rohan-gt/followers", "following_url": "https://api.github.com/users/rohan-gt/following{/other_user}", "gists_url": "https://api.github.com/users/rohan-gt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rohan-gt", "id": 2353212, "login": "rohan-gt", "node_id": "MDQ6VXNlcjIzNTMyMTI=", "organizations_url": "https://api.github.com/users/rohan-gt/orgs", "received_events_url": "https://api.github.com/users/rohan-gt/received_events", "repos_url": "https://api.github.com/users/rohan-gt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rohan-gt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rohan-gt/subscriptions", "type": "User", "url": "https://api.github.com/users/rohan-gt" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2020-10-21T06:12:24Z
2020-10-21T10:27:59Z
2020-10-21T10:27:59Z
NONE
null
Currently pandas.Timedelta only support units upto weeks. Can it be extended to months, quarters, years etc.?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37301/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37301/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37302
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37302/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37302/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37302/events
https://github.com/pandas-dev/pandas/pull/37302
726,249,342
MDExOlB1bGxSZXF1ZXN0NTA3MzQ1ODk5
37,302
BUG: Allow empty chunksize in stata reader when using iterator
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "color": "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": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
7
2020-10-21T08:15:17Z
2020-10-23T12:35:48Z
2020-10-23T12:15:12Z
CONTRIBUTOR
null
- [X] closes #37280 - [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": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37302/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37302/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37302.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37302", "merged_at": "2020-10-23T12:15:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37302.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37302" }
https://api.github.com/repos/pandas-dev/pandas/issues/37303
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37303/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37303/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37303/events
https://github.com/pandas-dev/pandas/pull/37303
726,278,744
MDExOlB1bGxSZXF1ZXN0NTA3MzY5ODU4
37,303
CI: temporary skip parquet tz test for pyarrow>=2.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "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-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" }
10
2020-10-21T08:55:05Z
2020-10-21T12:07:28Z
2020-10-21T10:49:56Z
MEMBER
null
See https://github.com/pandas-dev/pandas/issues/37286, this PR is not the actual fix, but at least ensures we don't have failing CI in other PRs (I prefer to skip the test instead of pinning pyarrow to <= 1.0, since all other tests are passing on 2.0, which is good to still run)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37303/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37303/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37303.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37303", "merged_at": "2020-10-21T10:49:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37303.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37303" }
https://api.github.com/repos/pandas-dev/pandas/issues/37304
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37304/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37304/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37304/events
https://github.com/pandas-dev/pandas/pull/37304
726,336,498
MDExOlB1bGxSZXF1ZXN0NTA3NDE2NjU4
37,304
TST: correct parquet test expected partition column dtype for pyarrow 2.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
5
2020-10-21T10:10:07Z
2020-10-21T12:25:05Z
2020-10-21T12:06:58Z
MEMBER
null
Follow-up on https://github.com/pandas-dev/pandas/pull/35814, but now incorporating the changes in pyarrow 2.0 cc @alimcmaster1 Also related to https://github.com/pandas-dev/pandas/issues/37286 and https://github.com/pandas-dev/pandas/pull/37296/ (timezone related failures), but doing this fix separate as it's not something that needs to be reverted.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37304/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37304/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37304.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37304", "merged_at": "2020-10-21T12:06:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37304.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37304" }
https://api.github.com/repos/pandas-dev/pandas/issues/37305
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37305/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37305/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37305/events
https://github.com/pandas-dev/pandas/pull/37305
726,362,617
MDExOlB1bGxSZXF1ZXN0NTA3NDM4NjAy
37,305
Backport PR #37198 on branch 1.1.x (BUG: Regression in Resample.apply raised error when apply affected only a Series)
{ "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" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
6
2020-10-21T10:46:47Z
2020-10-26T18:21:27Z
2020-10-26T18:21:27Z
NONE
null
Backport PR #37198: BUG: Regression in Resample.apply raised error when apply affected only a Series
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37305/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37305/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37305.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37305", "merged_at": "2020-10-26T18:21:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37305.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37305" }
https://api.github.com/repos/pandas-dev/pandas/issues/37306
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37306/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37306/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37306/events
https://github.com/pandas-dev/pandas/issues/37306
726,367,987
MDU6SXNzdWU3MjYzNjc5ODc=
37,306
CI: pin some builds to use pyarrow==1.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
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" }
3
2020-10-21T10:54:21Z
2020-11-14T02:22:23Z
2020-11-14T02:22:23Z
MEMBER
null
Now that pyarrow 2.0 is released, it will get picked by the CI builds that don't pin the pyarrow version. It would be good to pin some builds to use pyarrow 1.0. See this overview table of @simonjayhawkins at https://github.com/pandas-dev/pandas/pull/35259#issuecomment-712966527
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37306/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37306/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37307
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37307/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37307/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37307/events
https://github.com/pandas-dev/pandas/pull/37307
726,397,066
MDExOlB1bGxSZXF1ZXN0NTA3NDY3MzM4
37,307
Backport PR #37270 on branch 1.1.x: REGR: Make comparisons consistent for PeriodDtype
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-21T11:35:52Z
2020-10-21T12:47:08Z
2020-10-21T12:47:01Z
MEMBER
null
Backport PR #37270 on branch 1.1.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/37307/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37307/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37307.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37307", "merged_at": "2020-10-21T12:47:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37307.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37307" }
https://api.github.com/repos/pandas-dev/pandas/issues/37308
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37308/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37308/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37308/events
https://github.com/pandas-dev/pandas/pull/37308
726,423,038
MDExOlB1bGxSZXF1ZXN0NTA3NDg5MDgx
37,308
Backport PR #37304 on branch 1.1.x (TST: correct parquet test expected partition column dtype for pyarrow 2.0)
{ "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" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-21T12:13:53Z
2020-10-21T13:20:26Z
2020-10-21T13:20:26Z
NONE
null
Backport PR #37304: TST: correct parquet test expected partition column dtype for pyarrow 2.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37308/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37308/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37308.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37308", "merged_at": "2020-10-21T13:20:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37308.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37308" }
https://api.github.com/repos/pandas-dev/pandas/issues/37309
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37309/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37309/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37309/events
https://github.com/pandas-dev/pandas/issues/37309
726,434,816
MDU6SXNzdWU3MjY0MzQ4MTY=
37,309
CI: travis-36-cov builds regularly fails to build with The build has been terminated on 1.1.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" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "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.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
3
2020-10-21T12:29:53Z
2020-11-26T14:00:37Z
2020-11-26T14:00:37Z
MEMBER
null
The last good build can be seen at https://travis-ci.org/github/pandas-dev/pandas/builds/736681105 There are some failures that have started to appear since this started timing out that also need to be resolved. ``` =========================== short test summary info ============================ FAILED pandas/tests/test_downstream.py::test_pandas_gbq - AttributeError: mod... FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemy::test_to_sql_with_negative_npinf[load_iris_data0-input0] FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemy::test_to_sql_with_negative_npinf[load_iris_data0-input1] FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemy::test_to_sql_with_negative_npinf[load_iris_data0-input2] FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemyConn::test_to_sql_with_negative_npinf[load_iris_data0-input0] FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemyConn::test_to_sql_with_negative_npinf[load_iris_data0-input1] FAILED pandas/tests/io/test_sql.py::TestMySQLAlchemyConn::test_to_sql_with_negative_npinf[load_iris_data0-input2] FAILED pandas/tests/util/test_show_versions.py::test_show_versions - Attribut... ERROR pandas/tests/io/test_gbq.py - AttributeError: module 'google.protobuf.d... = 8 failed, 73783 passed, 1033 skipped, 1053 xfailed, 6 xpassed, 77 warnings, 1 error in 1533.46s (0:25:33) = ``` xref #36779, https://github.com/pandas-dev/pandas/pull/37303#issuecomment-713513751, https://github.com/pandas-dev/pandas/pull/37304#issuecomment-713515608
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37309/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37309/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37310
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37310/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37310/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37310/events
https://github.com/pandas-dev/pandas/pull/37310
726,452,321
MDExOlB1bGxSZXF1ZXN0NTA3NTEzMzQ0
37,310
BUG: stabilize sort_values algorithms for Series and time-like Indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "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" }
12
2020-10-21T12:52:49Z
2020-12-23T17:48:20Z
2020-10-31T14:49:14Z
MEMBER
null
- [X] closes #35922 - [X] 18 tests changed / 18 passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry ## Problem Our `sort_values` functions currently behave differently for different objects: for most `Index` subclasses they are stable when sorting in descending order (this was introduced by #35604), but for DateTime-like `Index` subclasses and `Series` they are unstable. This isn't good as sorting should be stable across the board. ## Details Came across this one while introducing missing-value support to `Index.sort_values` in #35604, so I had to limit that PR to non-DateTime-like `Index` subclasses. The problem was that we had different expectations for sorting stability baked into our test suite, so unifying sorting algorithms and missing-value support needed a bunch of careful test changes and altering both `sort_values` and algorithms in `sorting.py`. Since this PR necessarily includes changes in several places, I have commented on all the changes made in the code and the unusual changes in the tests to make reviewing the code easier (see "On test changes" below). ## On test changes Most changes I made in the tests are for cases where we were expecting an unstable sort or expected NaNs to be sorted to the beginning of a list of duplicates for ascending sort and to the end for descending (we forced this by inserting NaN-likes at 0 position and reversing when sorting in descending order in `Series.sort_values`). ## Default behavior changes Since DateTime-like `Index` subclasses now support `na_position` using the same implementation as the other `Index` subclasses, they now sort missing values to the end of the `Index` by default. ## Performance Ran the full benchmark suite, and there are no performance regressions. ## Out-of-scope The only type I didn't touch so far is MultiIndex. It can't be sorted the same way through nargsort, and I don't think we should be doing it in this PR, if it all (stabilizing descending order MultiIndex.sort_values will definitely be a PITA, and it's a very narrow use case, in my opinion).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37310/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37310/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37310.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37310", "merged_at": "2020-10-31T14:49:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37310.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37310" }
https://api.github.com/repos/pandas-dev/pandas/issues/37311
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37311/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37311/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37311/events
https://github.com/pandas-dev/pandas/pull/37311
726,497,920
MDExOlB1bGxSZXF1ZXN0NTA3NTUzMTY3
37,311
CI: troubleshoot travis-36-cov on 1.1.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" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "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.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
7
2020-10-21T13:37:23Z
2020-11-26T13:59:20Z
2020-11-26T13:59:15Z
MEMBER
null
closes #37309
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37311/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37311/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37311.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37311", "merged_at": "2020-11-26T13:59:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37311.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37311" }
https://api.github.com/repos/pandas-dev/pandas/issues/37312
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37312/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37312/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37312/events
https://github.com/pandas-dev/pandas/issues/37312
726,558,492
MDU6SXNzdWU3MjY1NTg0OTI=
37,312
BUG: comparison/indexing causes ValueError: buffer source array is read-only
{ "avatar_url": "https://avatars.githubusercontent.com/u/41548538?v=4", "events_url": "https://api.github.com/users/dmitra79/events{/privacy}", "followers_url": "https://api.github.com/users/dmitra79/followers", "following_url": "https://api.github.com/users/dmitra79/following{/other_user}", "gists_url": "https://api.github.com/users/dmitra79/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dmitra79", "id": 41548538, "login": "dmitra79", "node_id": "MDQ6VXNlcjQxNTQ4NTM4", "organizations_url": "https://api.github.com/users/dmitra79/orgs", "received_events_url": "https://api.github.com/users/dmitra79/received_events", "repos_url": "https://api.github.com/users/dmitra79/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dmitra79/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmitra79/subscriptions", "type": "User", "url": "https://api.github.com/users/dmitra79" }
[ { "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-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-10-21T14:41:31Z
2020-11-04T13:43:47Z
2020-11-04T13:43:47Z
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 di=np.array(['2016-12-27 02:02:09', '2016-12-27 02:02:09.017000', '2016-12-27 02:02:09.033000', '2016-12-27 02:02:09.050000', '2016-12-27 02:02:09.066000'],dtype='datetime64[ns]') di.setflags(write=False) v1=[95.746, 95.735, 95.722, 95.709, 10] v2=[-86.474, -86.491, -86.505, -86.513, 11] temp=pd.DataFrame({'v1':v1,'v2':v2}, index=di) temp=temp.astype('float64') temp2=temp.v1-temp.v2 temp2[temp2>180]=temp2[temp2>180]-360 ``` This code throws an error: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in __setitem__(self, key, value) 999 try: -> 1000 self._set_with_engine(key, value) 1001 except (KeyError, ValueError): ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in _set_with_engine(self, key, value) 1032 # fails with AttributeError for IntervalIndex -> 1033 loc = self.index._engine.get_loc(key) 1034 validate_numeric_casting(self.dtype, value) pandas/_libs/index.pyx in pandas._libs.index.DatetimeEngine.get_loc() pandas/_libs/index.pyx in pandas._libs.index.DatetimeEngine.get_loc() TypeError: '2016-12-27 02:02:09.000 True 2016-12-27 02:02:09.017 True 2016-12-27 02:02:09.033 True 2016-12-27 02:02:09.050 True 2016-12-27 02:02:09.066 False dtype: bool' is an invalid key During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) <ipython-input-3-05bd4183267d> in <module> 8 temp=temp.astype('float64') 9 temp2=temp.v1-temp.v2 ---> 10 temp2[temp2>180]=temp2[temp2>180]-360 ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in __setitem__(self, key, value) 1018 key = np.asarray(key, dtype=bool) 1019 try: -> 1020 self._where(~key, value, inplace=True) 1021 except InvalidIndexError: 1022 self.iloc[key] = value ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/generic.py in _where(self, cond, other, inplace, axis, level, errors, try_cast) 8778 if other.ndim <= self.ndim: 8779 -> 8780 _, other = self.align( 8781 other, join="left", axis=axis, level=level, fill_value=np.nan 8782 ) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py in align(self, other, join, axis, level, copy, fill_value, method, limit, fill_axis, broadcast_axis) 4272 broadcast_axis=None, 4273 ): -> 4274 return super().align( 4275 other, 4276 join=join, ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/generic.py in align(self, other, join, axis, level, copy, fill_value, method, limit, fill_axis, broadcast_axis) 8557 ) 8558 elif isinstance(other, ABCSeries): -> 8559 return self._align_series( 8560 other, 8561 join=join, ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/generic.py in _align_series(self, other, join, axis, level, copy, fill_value, method, limit, fill_axis) 8660 join_index, lidx, ridx = None, None, None 8661 else: -> 8662 join_index, lidx, ridx = self.index.join( 8663 other.index, how=join, level=level, return_indexers=True 8664 ) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/datetimelike.py in join(self, other, how, level, return_indexers, sort) 884 885 this, other = self._maybe_utc_convert(other) --> 886 return Index.join( 887 this, 888 other, ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/base.py in join(self, other, how, level, return_indexers, sort) 3500 elif self.is_monotonic and other.is_monotonic: 3501 try: -> 3502 return self._join_monotonic( 3503 other, how=how, return_indexers=return_indexers 3504 ) ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/base.py in _join_monotonic(self, other, how, return_indexers) 3800 join_index = self 3801 lidx = None -> 3802 ridx = self._left_indexer_unique(sv, ov) 3803 elif how == "right": 3804 join_index = other ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/indexes/datetimelike.py in wrapper(left, right) 62 right = right.view("i8") 63 ---> 64 results = joinf(left, right) 65 if with_indexers: 66 # dtype should be timedelta64[ns] for TimedeltaIndex pandas/_libs/join.pyx in pandas._libs.join.left_join_indexer_unique() ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/_libs/join.cpython-38-x86_64-linux-gnu.so in View.MemoryView.memoryview_cwrapper() ~/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/_libs/join.cpython-38-x86_64-linux-gnu.so in View.MemoryView.memoryview.__cinit__() ValueError: buffer source array is read-only ``` #### Problem description #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS commit : db08276 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-118-generic Version : #119-Ubuntu SMP Tue Sep 8 12:30:01 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.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20201009 Cython : 0.29.21 lxml.etree : 4.5.2 jinja2 : 2.11.2 IPython : 7.18.1 fsspec : 0.8.4 fastparquet : 0.4.1 matplotlib : 3.3.2 pyarrow : 0.17.1 scipy : 1.5.2 xarray : 0.16.1 numba : 0.51.2 </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/37312/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37312/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37313
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37313/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37313/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37313/events
https://github.com/pandas-dev/pandas/pull/37313
726,604,308
MDExOlB1bGxSZXF1ZXN0NTA3NjQwODQz
37,313
CLN: always rebox_native in DatetimeLikeArray
{ "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-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-10-21T15:34:22Z
2020-12-02T18:59:59Z
2020-10-22T00:05:19Z
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/37313/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37313/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37313.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37313", "merged_at": "2020-10-22T00:05:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37313.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37313" }
https://api.github.com/repos/pandas-dev/pandas/issues/37314
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37314/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37314/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37314/events
https://github.com/pandas-dev/pandas/pull/37314
726,620,526
MDExOlB1bGxSZXF1ZXN0NTA3NjU1MTU3
37,314
TST/REF: collect stack/unstack tests
{ "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": "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": "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": "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" }
0
2020-10-21T15:47:36Z
2020-10-22T01:13:12Z
2020-10-22T00:18:10Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37314/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37314/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37314.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37314", "merged_at": "2020-10-22T00:18:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37314.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37314" }
https://api.github.com/repos/pandas-dev/pandas/issues/37315
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37315/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37315/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37315/events
https://github.com/pandas-dev/pandas/pull/37315
726,648,319
MDExOlB1bGxSZXF1ZXN0NTA3NjgwMjI1
37,315
TST/REF: collect tests by method
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-10-21T16:06:01Z
2020-10-22T23:49:49Z
2020-10-22T23:31:51Z
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/37315/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37315/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37315.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37315", "merged_at": "2020-10-22T23:31:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37315.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37315" }
https://api.github.com/repos/pandas-dev/pandas/issues/37316
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37316/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37316/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37316/events
https://github.com/pandas-dev/pandas/issues/37316
726,700,357
MDU6SXNzdWU3MjY3MDAzNTc=
37,316
DOC: `to_pickle` function takes pickle v5 but doc says only 1-4 supported
{ "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/5007013?v=4", "events_url": "https://api.github.com/users/botplex/events{/privacy}", "followers_url": "https://api.github.com/users/botplex/followers", "following_url": "https://api.github.com/users/botplex/following{/other_user}", "gists_url": "https://api.github.com/users/botplex/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/botplex", "id": 5007013, "login": "botplex", "node_id": "MDQ6VXNlcjUwMDcwMTM=", "organizations_url": "https://api.github.com/users/botplex/orgs", "received_events_url": "https://api.github.com/users/botplex/received_events", "repos_url": "https://api.github.com/users/botplex/repos", "site_admin": false, "starred_url": "https://api.github.com/users/botplex/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/botplex/subscriptions", "type": "User", "url": "https://api.github.com/users/botplex" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/5007013?v=4", "events_url": "https://api.github.com/users/botplex/events{/privacy}", "followers_url": "https://api.github.com/users/botplex/followers", "following_url": "https://api.github.com/users/botplex/following{/other_user}", "gists_url": "https://api.github.com/users/botplex/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/botplex", "id": 5007013, "login": "botplex", "node_id": "MDQ6VXNlcjUwMDcwMTM=", "organizations_url": "https://api.github.com/users/botplex/orgs", "received_events_url": "https://api.github.com/users/botplex/received_events", "repos_url": "https://api.github.com/users/botplex/repos", "site_admin": false, "starred_url": "https://api.github.com/users/botplex/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/botplex/subscriptions", "type": "User", "url": "https://api.github.com/users/botplex" } ]
{ "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" }
3
2020-10-21T17:16:06Z
2020-10-22T00:11:03Z
2020-10-22T00:11:03Z
CONTRIBUTOR
null
#### Location of the documentation * https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_pickle.html * https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.DataFrame.to_pickle.html (same as stable) #### Documentation problem The docstring states ` DataFrame.to_pickle(path, compression='infer', protocol=5, storage_options=None)` noting _protocol 5_ by default, the Parameters following text notes "The possible values are 0, 1, 2, 3, 4" which does not include protocol 5. #### Suggested fix for documentation Add "5" to the docs: "The possible values are 0, 1, 2, 3, 4, 5" which was included from Python 3.8 https://docs.python.org/3/library/pickle.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37316/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37316/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37317
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37317/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37317/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37317/events
https://github.com/pandas-dev/pandas/pull/37317
726,718,504
MDExOlB1bGxSZXF1ZXN0NTA3NzM5NjI0
37,317
TST/REF: rename test files
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-10-21T17:41:45Z
2020-10-22T01:18:51Z
2020-10-22T00:03:32Z
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/37317/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37317/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37317.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37317", "merged_at": "2020-10-22T00:03:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37317.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37317" }
https://api.github.com/repos/pandas-dev/pandas/issues/37318
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37318/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37318/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37318/events
https://github.com/pandas-dev/pandas/issues/37318
726,718,856
MDU6SXNzdWU3MjY3MTg4NTY=
37,318
Adding the filename as a Dataframe property
{ "avatar_url": "https://avatars.githubusercontent.com/u/34785792?v=4", "events_url": "https://api.github.com/users/agcala/events{/privacy}", "followers_url": "https://api.github.com/users/agcala/followers", "following_url": "https://api.github.com/users/agcala/following{/other_user}", "gists_url": "https://api.github.com/users/agcala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agcala", "id": 34785792, "login": "agcala", "node_id": "MDQ6VXNlcjM0Nzg1Nzky", "organizations_url": "https://api.github.com/users/agcala/orgs", "received_events_url": "https://api.github.com/users/agcala/received_events", "repos_url": "https://api.github.com/users/agcala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agcala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agcala/subscriptions", "type": "User", "url": "https://api.github.com/users/agcala" }
[ { "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": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2020-10-21T17:42:21Z
2020-10-21T19:58:55Z
2020-10-21T19:58:55Z
NONE
null
I some complicated programming environments involving Pandas dataframes it would be very useful to be able to recover the dataframe filename from the dataframe object. I am particularly thinking about production environment where the data source would be evolving with time. In such environments being able to recover the underlying filename would be essential to check if the right file is being used.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37318/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37318/timeline
null
null
null