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/38719
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38719/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38719/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38719/events
|
https://github.com/pandas-dev/pandas/pull/38719
| 775,042,437
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODEwODI2
| 38,719
|
TST: GH38718 Tests for casting an interval range from float to int
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"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"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2020-12-27T13:55:43Z
| 2020-12-30T03:27:32Z
| 2020-12-30T03:27:23Z
|
MEMBER
| null |
xrefs #38697 , #15832
- [x] closes #38718
- [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/38719/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38719/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38719.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38719",
"merged_at": "2020-12-30T03:27:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38719.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38719"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38720
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38720/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38720/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38720/events
|
https://github.com/pandas-dev/pandas/pull/38720
| 775,049,036
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODE1NDY0
| 38,720
|
TST: GH30999 Add match=msg to all pytest.raises in tests/reductions and add an error message to nanmedian
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-27T14:36:43Z
| 2020-12-30T19:58:59Z
| 2020-12-30T19:58:55Z
|
MEMBER
| null |
This pull request partially addresses xref #30999 to remove bare `pytest.raises` by adding `match=msg`. It doesn't close that issue as I have only addressed test modules in the pandas/tests/reductions directory.
When going through the tests I found one case where the error message was the empty string. I decided that wasn't correct so I modified the `TypeError` to inherit the error message from the `ValueError` it was raising from. This made the error message similar to other messages in the same test.
- [ ] 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/38720/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38720/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38720.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38720",
"merged_at": "2020-12-30T19:58:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38720.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38720"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38721
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38721/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38721/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38721/events
|
https://github.com/pandas-dev/pandas/issues/38721
| 775,051,286
|
MDU6SXNzdWU3NzUwNTEyODY=
| 38,721
|
RLS: 1.2.1
|
{
"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": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 22
| 2020-12-27T14:50:15Z
| 2021-01-20T21:29:11Z
| 2021-01-20T19:36:29Z
|
MEMBER
| null |
Tracking issue for the 1.2.1 release.
https://github.com/pandas-dev/pandas/milestone/81
Currently scheduled for January 18, 2021 (date flexible on severity of regressions)
List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38721/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38721/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38722
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38722/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38722/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38722/events
|
https://github.com/pandas-dev/pandas/issues/38722
| 775,065,664
|
MDU6SXNzdWU3NzUwNjU2NjQ=
| 38,722
|
FutureWarning: _AXIS_NAMES has been deprecated.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61567145?v=4",
"events_url": "https://api.github.com/users/JSunRae/events{/privacy}",
"followers_url": "https://api.github.com/users/JSunRae/followers",
"following_url": "https://api.github.com/users/JSunRae/following{/other_user}",
"gists_url": "https://api.github.com/users/JSunRae/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JSunRae",
"id": 61567145,
"login": "JSunRae",
"node_id": "MDQ6VXNlcjYxNTY3MTQ1",
"organizations_url": "https://api.github.com/users/JSunRae/orgs",
"received_events_url": "https://api.github.com/users/JSunRae/received_events",
"repos_url": "https://api.github.com/users/JSunRae/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JSunRae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JSunRae/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JSunRae"
}
|
[
{
"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": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 2
| 2020-12-27T16:17:35Z
| 2020-12-28T19:51:44Z
| 2020-12-28T19:51:44Z
|
NONE
| null |
At random intervals I keep getting the following error.
> \.vscode\extensions\ms-python.python-2020.12.424452561\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_resolver.py:193: FutureWarning: _AXIS_NUMBERS has been deprecated.
> attr = getattr(var, name)
> \.vscode\extensions\ms-python.python-2020.12.424452561\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_resolver.py:193: FutureWarning: _AXIS_NAMES has been deprecated.
> attr = getattr(var, name)
This seems to be refering to how I am using a dataframe in pandas. Though, due to the delays, I am not sure what specifically. I have found only one other refernce to this issue on the internet [https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009512560-PyDev-FutureWarning-Django-console](url)
Saying they believe it occurs on `df.columns`
I'm running my project though a conda environment with:
> Version Build Channel
> absl-py 0.9.0 pypi_0 pypi
> astor 0.8.1 pypi_0 pypi
> astunparse 1.6.3 pypi_0 pypi
> beautifulsoup4 4.9.1 py37_0
> brotlipy 0.7.0 py37he774522_1000
> bzip2 1.0.8 he774522_0
> ca-certificates 2020.7.22 0
> cachetools 4.1.1 pypi_0 pypi
> certifi 2020.6.20 py37_0
> cffi 1.14.3 py37h7a1dbc1_0
> chardet 3.0.4 py37_1003
> conda 4.8.5 py37_0
> conda-build 3.18.11 py37_0
> conda-package-handling 1.6.1 py37h62dcd97_0
> console_shortcut 0.1.1 4
> cryptography 3.1.1 py37h7a1dbc1_0
> filelock 3.0.12 py_0
> gast 0.2.2 pypi_0 pypi
> glob2 0.7 py_0
> google-auth 1.18.0 pypi_0 pypi
> google-auth-oauthlib 0.4.1 pypi_0 pypi
> google-pasta 0.2.0 pypi_0 pypi
> grpcio 1.30.0 pypi_0 pypi
> h5py 2.10.0 pypi_0 pypi
> idna 2.10 py_0
> importlib-metadata 1.7.0 pypi_0 pypi
> jinja2 2.11.2 py_0
> keras-applications 1.0.8 pypi_0 pypi
> keras-preprocessing 1.1.2 pypi_0 pypi
> libarchive 3.4.2 h5e25573_0
> libiconv 1.15 h1df5818_7
> liblief 0.10.1 ha925a31_0
> libxml2 2.9.10 h464c3ec_1
> lz4-c 1.9.2 h62dcd97_1
> markdown 3.2.2 pypi_0 pypi
> markupsafe 1.1.1 py37hfa6e2cd_1
> menuinst 1.4.16 py37he774522_0
> numpy 1.19.0 pypi_0 pypi
> oauthlib 3.1.0 pypi_0 pypi
> openssl 1.1.1h he774522_0
> opt-einsum 3.2.1 pypi_0 pypi
> pip 20.2.3 py37_0
> pkginfo 1.5.0.1 py37_0
> powershell_shortcut 0.0.1 3
> protobuf 3.12.2 pypi_0 pypi
> psutil 5.7.2 py37he774522_0
> py-lief 0.10.1 py37ha925a31_0
> pyasn1 0.4.8 pypi_0 pypi
> pyasn1-modules 0.2.8 pypi_0 pypi
> pycosat 0.6.3 py37he774522_0
> pycparser 2.20 py_2
> pyopenssl 19.1.0 py_1
> pysocks 1.7.1 py37_1
> python 3.7.7 h81c818b_4
> python-libarchive-c 2.9 py_0
> pytz 2020.1 py_0
> pywin32 227 py37he774522_1
> pyyaml 5.3.1 py37he774522_1
> requests 2.24.0 py_0
> requests-oauthlib 1.3.0 pypi_0 pypi
> rsa 4.6 pypi_0 pypi
> ruamel_yaml 0.15.87 py37he774522_1
> scipy 1.4.1 pypi_0 pypi
> setuptools 49.6.0 py37_1
> six 1.15.0 py_0
> soupsieve 2.0.1 py_0
> sqlite 3.33.0 h2a8f88b_0
> style 1.1.0 pypi_0 pypi
> tensorboard 1.15.0 pypi_0 pypi
> tensorboard-plugin-wit 1.7.0 pypi_0 pypi
> tensorflow 2.2.0 pypi_0 pypi
> tensorflow-estimator 1.15.1 pypi_0 pypi
> tensorflow-gpu 1.15.0 pypi_0 pypi
> termcolor 1.1.0 pypi_0 pypi
> tqdm 4.49.0 py_0
> update 0.0.1 pypi_0 pypi
> urllib3 1.25.10 py_0
> vc 14.1 h0510ff6_4
> vs2015_runtime 14.16.27012 hf0eaf9b_3
> werkzeug 1.0.1 pypi_0 pypi
> wheel 0.35.1 py_0
> win_inet_pton 1.1.0 py37_0
> wincertstore 0.2 py37_0
> wrapt 1.12.1 pypi_0 pypi
> xz 5.2.5 h62dcd97_0
> yaml 0.2.5 he774522_0
> zipp 3.1.0 pypi_0 pypi
> zlib 1.2.11 h62dcd97_4
> zstd 1.4.5 h04227a9_0
Anyone got any ideas?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38722/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38722/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38723
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38723/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38723/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38723/events
|
https://github.com/pandas-dev/pandas/pull/38723
| 775,074,653
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODMzNjg1
| 38,723
|
BUG: inconsistency between frame.any/all with dt64 vs dt64tz
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 5
| 2020-12-27T17:12:34Z
| 2020-12-30T15:45:14Z
| 2020-12-30T13:23:25Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38723/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38723/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38723.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38723",
"merged_at": "2020-12-30T13:23:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38723.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38723"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38724
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38724/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38724/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38724/events
|
https://github.com/pandas-dev/pandas/pull/38724
| 775,075,816
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODM0NDgz
| 38,724
|
TST: GH30999 Add match=msg to all but two pytest.raises in tests/io
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-27T17:20:11Z
| 2020-12-30T11:08:25Z
| 2020-12-28T14:25:22Z
|
MEMBER
| null |
This pull request partially addresses xref #30999 to remove bare `pytest.raises` by adding `match=msg`. It doesn't close that issue as I have only addressed test modules in the pandas/tests/io/ directory.
I thought this was going to be relatively small because there were only 25 such instances, but it turned out some of them were in methods that were reused several times, so this ended up larger than I expected.
There were a couple of cases where I found the structure of the tests quite confusing, with an internal function definition and two nested asserts. This structure also made it difficult to add the assertion about the error message. I restructured the tests to be, in my opinion, more straightforward.
There's one file, pandas/tests/io/test_sql.py, with two instances of `pytest.raises` in tests which were skipped on my machine and which I couldn't figure out how to run, so those are left as is.
- [ ] 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/38724/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38724/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38724.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38724",
"merged_at": "2020-12-28T14:25:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38724.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38724"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38725
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38725/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38725/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38725/events
|
https://github.com/pandas-dev/pandas/issues/38725
| 775,082,897
|
MDU6SXNzdWU3NzUwODI4OTc=
| 38,725
|
pandas.DataFrame.plot arguments 'xlabel' & 'ylabel' not working.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71471098?v=4",
"events_url": "https://api.github.com/users/dave-espinosa/events{/privacy}",
"followers_url": "https://api.github.com/users/dave-espinosa/followers",
"following_url": "https://api.github.com/users/dave-espinosa/following{/other_user}",
"gists_url": "https://api.github.com/users/dave-espinosa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dave-espinosa",
"id": 71471098,
"login": "dave-espinosa",
"node_id": "MDQ6VXNlcjcxNDcxMDk4",
"organizations_url": "https://api.github.com/users/dave-espinosa/orgs",
"received_events_url": "https://api.github.com/users/dave-espinosa/received_events",
"repos_url": "https://api.github.com/users/dave-espinosa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dave-espinosa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dave-espinosa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dave-espinosa"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-12-27T18:03:23Z
| 2020-12-27T18:29:01Z
| 2020-12-27T18:26:27Z
|
NONE
| null |
Hello everyone.
I was rehearsing some exercises with pandas.DataFrame.plot. I stumbled upon one (apparent) issue regarding '_xlabel_' and '_ylabel_' arguments. I followed instructions provided at [https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html](this site), as that is my current working Pandas version. If my understanding is correct, those arguments are to display some _str_ inserted by user, at _xlabel_ & _ylabel_ respectively, right? What the documentation says is the following:
- xlabel: Name to use for the xlabel on x-axis --> ERROR SHOWN: 'Line2D' object has no property 'xlabel'
- ylabel: Name to use for the ylabel on Y-axis --> ERROR SHOWN: 'Line2D' object has no property 'yabel'
Currently, I am using the following lines of code AFTER df.plot() has been used, to obtain the desired result; however I'd love to know if the previously mentioned behaviour is an actual issue, or some missunderstanding on the current documentation:
`plt.ylabel(ylabel=my_ylabel, fontsize=tz)
plt.xlabel(xlabel=my_xlabel, fontsize=tz)`
Thank you in advance.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38725/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38725/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38726
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38726/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38726/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38726/events
|
https://github.com/pandas-dev/pandas/issues/38726
| 775,083,362
|
MDU6SXNzdWU3NzUwODMzNjI=
| 38,726
|
DOC: chat-ops
|
{
"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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21278205?v=4",
"events_url": "https://api.github.com/users/1nF0rmed/events{/privacy}",
"followers_url": "https://api.github.com/users/1nF0rmed/followers",
"following_url": "https://api.github.com/users/1nF0rmed/following{/other_user}",
"gists_url": "https://api.github.com/users/1nF0rmed/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/1nF0rmed",
"id": 21278205,
"login": "1nF0rmed",
"node_id": "MDQ6VXNlcjIxMjc4MjA1",
"organizations_url": "https://api.github.com/users/1nF0rmed/orgs",
"received_events_url": "https://api.github.com/users/1nF0rmed/received_events",
"repos_url": "https://api.github.com/users/1nF0rmed/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/1nF0rmed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1nF0rmed/subscriptions",
"type": "User",
"url": "https://api.github.com/users/1nF0rmed"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/21278205?v=4",
"events_url": "https://api.github.com/users/1nF0rmed/events{/privacy}",
"followers_url": "https://api.github.com/users/1nF0rmed/followers",
"following_url": "https://api.github.com/users/1nF0rmed/following{/other_user}",
"gists_url": "https://api.github.com/users/1nF0rmed/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/1nF0rmed",
"id": 21278205,
"login": "1nF0rmed",
"node_id": "MDQ6VXNlcjIxMjc4MjA1",
"organizations_url": "https://api.github.com/users/1nF0rmed/orgs",
"received_events_url": "https://api.github.com/users/1nF0rmed/received_events",
"repos_url": "https://api.github.com/users/1nF0rmed/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/1nF0rmed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1nF0rmed/subscriptions",
"type": "User",
"url": "https://api.github.com/users/1nF0rmed"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-27T18:06:20Z
| 2020-12-30T15:07:16Z
| 2020-12-30T15:07:16Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/38444#issuecomment-749711369
There are some GitHub Actions workflows which can be triggered via comments:
1. If you comment `@github-actions pre-commit` on a pull request, it will trigger a workflow which will autofix formatting errors (e.g. from `black` or `isort`)
2. `@meeseeksdev backport ` will trigger a workflow which will backport a given change to a branch (e.g. `@meeseeksdev backport 1.2.x`)
3. If you comment `take` on an issue, it will trigger a workflow which will assign the issue to you
These should be documented somewhere in the docs - I think `doc/source/development/contributing.rst` might be a sensible location. `take` is already documented in there, but the other two aren't
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38726/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38726/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38727
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38727/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38727/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38727/events
|
https://github.com/pandas-dev/pandas/pull/38727
| 775,086,717
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODQyMzc5
| 38,727
|
BUG: pd.read_json May Not Maintain Numeric String Index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/28800819?v=4",
"events_url": "https://api.github.com/users/theoniko/events{/privacy}",
"followers_url": "https://api.github.com/users/theoniko/followers",
"following_url": "https://api.github.com/users/theoniko/following{/other_user}",
"gists_url": "https://api.github.com/users/theoniko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/theoniko",
"id": 28800819,
"login": "theoniko",
"node_id": "MDQ6VXNlcjI4ODAwODE5",
"organizations_url": "https://api.github.com/users/theoniko/orgs",
"received_events_url": "https://api.github.com/users/theoniko/received_events",
"repos_url": "https://api.github.com/users/theoniko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/theoniko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/theoniko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/theoniko"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2020-12-27T18:29:22Z
| 2021-01-04T23:29:00Z
| 2021-01-04T23:29:00Z
|
CONTRIBUTOR
| null |
- [x] closes #28556
- [x] tests added / passed
- [ ] 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/38727/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38727/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38727.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38727",
"merged_at": "2021-01-04T23:29:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38727.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38727"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38728
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38728/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38728/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38728/events
|
https://github.com/pandas-dev/pandas/pull/38728
| 775,089,828
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODQ0NTU2
| 38,728
|
REGR: to_csv created corrupt ZIP files when chunksize<rows
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
}
|
[
{
"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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 3
| 2020-12-27T18:51:54Z
| 2021-02-08T00:43:21Z
| 2020-12-29T00:05:07Z
|
CONTRIBUTOR
| null |
- [x] closes #38714
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
When `ZipFile`'s `write` is called multiple times, it will create multiple files within the zip file (with the same filename).
Edit: This also happens independently of `chunksize` as https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/writers.pyx#L14 calls `writerows` multiple times.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38728/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38728/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38728",
"merged_at": "2020-12-29T00:05:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38728"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38729
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38729/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38729/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38729/events
|
https://github.com/pandas-dev/pandas/issues/38729
| 775,093,235
|
MDU6SXNzdWU3NzUwOTMyMzU=
| 38,729
|
BUG: DataFrame.where with EA other
|
{
"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": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-27T19:17:30Z
| 2020-12-29T14:30:43Z
| 2020-12-29T14:30:43Z
|
MEMBER
| null |
```
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
arr = pd.array([7, pd.NA, 9])
mask = np.ones(df.shape, dtype=bool)
>>> result = df.where(mask, arr)
AttributeError: 'IntegerArray' object has no attribute 'reshape'
```
we can kludge around this by using `np.reshape(arr, shape)` instead of `arr.reshape(shape)`, but that'll cast to object, which is not great.
Non-kludge solution: 2D EAs
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38729/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38729/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38730
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38730/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38730/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38730/events
|
https://github.com/pandas-dev/pandas/issues/38730
| 775,096,744
|
MDU6SXNzdWU3NzUwOTY3NDQ=
| 38,730
|
BUG: casting column in place doesn't change data type
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5834059?v=4",
"events_url": "https://api.github.com/users/tlatorre-uchicago/events{/privacy}",
"followers_url": "https://api.github.com/users/tlatorre-uchicago/followers",
"following_url": "https://api.github.com/users/tlatorre-uchicago/following{/other_user}",
"gists_url": "https://api.github.com/users/tlatorre-uchicago/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tlatorre-uchicago",
"id": 5834059,
"login": "tlatorre-uchicago",
"node_id": "MDQ6VXNlcjU4MzQwNTk=",
"organizations_url": "https://api.github.com/users/tlatorre-uchicago/orgs",
"received_events_url": "https://api.github.com/users/tlatorre-uchicago/received_events",
"repos_url": "https://api.github.com/users/tlatorre-uchicago/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tlatorre-uchicago/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tlatorre-uchicago/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tlatorre-uchicago"
}
|
[
{
"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 | 1
| 2020-12-27T19:44:03Z
| 2020-12-27T19:50:29Z
| 2020-12-27T19:50:29Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [ ] 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
>>> a = pd.DataFrame({'a': [b'blah']})
>>> a.dtypes
a object
dtype: object
>>> a.a = a.a.astype(np.dtype("S8"))
>>> a.dtypes
a object
dtype: object
>>> a['b'] = a.a.astype(np.dtype("S8"))
>>> a.dtypes
a object
b |S8
dtype: object
```
#### Problem description
Naively it seems like this should behave similarly to other data types. Trying the same example and casting int64 -> int32 works.
#### Expected Output
```python
>>> a = pd.DataFrame({'a': [b'blah']})
>>> a.dtypes
a object
dtype: object
>>> a.a = a.a.astype(np.dtype("S8"))
>>> a.dtypes
a |S8
dtype: object
```
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.6.6-300.fc32.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.18.4
pytz : 2020.4
dateutil : 2.8.0
pip : 19.3.1
setuptools : 41.6.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.12.0
pandas_datareader: 0.8.0
bs4 : None
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : 3.5.2
xarray : None
xlrd : 1.2.0
xlwt : 1.1.2
xlsxwriter : None
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38730/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38730/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38731
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38731/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38731/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38731/events
|
https://github.com/pandas-dev/pandas/pull/38731
| 775,098,913
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODUwODY0
| 38,731
|
DOC: reference the visualization page from the ecosystem one
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4",
"events_url": "https://api.github.com/users/afeld/events{/privacy}",
"followers_url": "https://api.github.com/users/afeld/followers",
"following_url": "https://api.github.com/users/afeld/following{/other_user}",
"gists_url": "https://api.github.com/users/afeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/afeld",
"id": 86842,
"login": "afeld",
"node_id": "MDQ6VXNlcjg2ODQy",
"organizations_url": "https://api.github.com/users/afeld/orgs",
"received_events_url": "https://api.github.com/users/afeld/received_events",
"repos_url": "https://api.github.com/users/afeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/afeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/afeld"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-27T20:00:44Z
| 2020-12-29T00:08:09Z
| 2020-12-27T21:37:40Z
|
MEMBER
| null |
The link already exists in the other direction, so want to make sure readers who come across the latter understand the built-in option.
- [ ] ~~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/38731/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38731/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38731.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38731",
"merged_at": "2020-12-27T21:37:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38731.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38731"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38732
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38732/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38732/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38732/events
|
https://github.com/pandas-dev/pandas/pull/38732
| 775,103,231
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODUzODY5
| 38,732
|
BUG: Ensure series/frame mode() keeps int index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-27T20:31:03Z
| 2020-12-29T20:00:09Z
| 2020-12-29T19:51:24Z
|
MEMBER
| null |
- [x] closes #33321
- [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/38732/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38732/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38732.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38732",
"merged_at": "2020-12-29T19:51:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38732.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38732"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38733
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38733/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38733/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38733/events
|
https://github.com/pandas-dev/pandas/pull/38733
| 775,112,753
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODYwNzY4
| 38,733
|
BUG: GroupBy.idxmax/idxmin with EA dtypes
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 10
| 2020-12-27T21:40:23Z
| 2021-01-19T23:28:59Z
| 2021-01-19T22:36:42Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
@jorisvandenbossche thoughts on how/where to handle the skipna kwarg?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38733/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38733/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38733",
"merged_at": "2021-01-19T22:36:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38733"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38734
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38734/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38734/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38734/events
|
https://github.com/pandas-dev/pandas/pull/38734
| 775,113,497
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODYxMjg4
| 38,734
|
Backport PR #38344 on branch 1.2.x (CI: Move sql builds from Travis to Github actions)
|
{
"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": "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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-27T21:44:48Z
| 2020-12-28T00:09:58Z
| 2020-12-28T00:09:58Z
|
NONE
| null |
Backport PR #38344: CI: Move sql builds from Travis to Github actions
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38734/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38734/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38734.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38734",
"merged_at": "2020-12-28T00:09:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38734.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38734"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38735
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38735/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38735/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38735/events
|
https://github.com/pandas-dev/pandas/pull/38735
| 775,114,371
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODYxODY4
| 38,735
|
DOC: make shared includes for describing the datasets in the Getting Started tutorials
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4",
"events_url": "https://api.github.com/users/afeld/events{/privacy}",
"followers_url": "https://api.github.com/users/afeld/followers",
"following_url": "https://api.github.com/users/afeld/following{/other_user}",
"gists_url": "https://api.github.com/users/afeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/afeld",
"id": 86842,
"login": "afeld",
"node_id": "MDQ6VXNlcjg2ODQy",
"organizations_url": "https://api.github.com/users/afeld/orgs",
"received_events_url": "https://api.github.com/users/afeld/received_events",
"repos_url": "https://api.github.com/users/afeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/afeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/afeld"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-27T21:50:53Z
| 2020-12-31T00:11:06Z
| 2020-12-30T13:55:26Z
|
MEMBER
| null |
Just a refactor; the net result should be the same.
- [ ] ~~closes #xxxx~~
- [x] 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/38735/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38735/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38735.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38735",
"merged_at": "2020-12-30T13:55:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38735.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38735"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38736
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38736/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38736/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38736/events
|
https://github.com/pandas-dev/pandas/issues/38736
| 775,119,055
|
MDU6SXNzdWU3NzUxMTkwNTU=
| 38,736
|
BUG: Change of behavior between 1.1.5 and 1.2.0 in plot functions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1616559?v=4",
"events_url": "https://api.github.com/users/pcolazurdo/events{/privacy}",
"followers_url": "https://api.github.com/users/pcolazurdo/followers",
"following_url": "https://api.github.com/users/pcolazurdo/following{/other_user}",
"gists_url": "https://api.github.com/users/pcolazurdo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pcolazurdo",
"id": 1616559,
"login": "pcolazurdo",
"node_id": "MDQ6VXNlcjE2MTY1NTk=",
"organizations_url": "https://api.github.com/users/pcolazurdo/orgs",
"received_events_url": "https://api.github.com/users/pcolazurdo/received_events",
"repos_url": "https://api.github.com/users/pcolazurdo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pcolazurdo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pcolazurdo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pcolazurdo"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "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": "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
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5
| 2020-12-27T22:23:09Z
| 2021-08-14T22:34:04Z
| 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
import pandas as pd
from pandas import Timestamp
import matplotlib.pyplot as plt
a= {'Argentina': {Timestamp('2020-11-17 00:00:00'): 56.0},
'Brazil': {Timestamp('2020-11-17 00:00:00'): 103.0},
'Guatemala': {Timestamp('2020-11-17 00:00:00'): 99.0},
'Ireland': {Timestamp('2020-11-17 00:00:00'): 53.0},
'Italy': {Timestamp('2020-11-17 00:00:00'): 19.0},
'Spain': {Timestamp('2020-11-17 00:00:00'): 49.0},
'Sweden': {Timestamp('2020-11-17 00:00:00'): 42.0},
'US': {Timestamp('2020-11-17 00:00:00'): 86.0},
'United Kingdom': {Timestamp('2020-11-17 00:00:00'): 32.0}}
b = {'Val': {'Afghanistan_confirmed': 50886},
'Country': {'Afghanistan_confirmed': 'Afghanistan'},
'Population': {'Afghanistan_confirmed': 37.171922},
'Ratio': {'Afghanistan_confirmed': 1368.9364784527418}}
doubling_df = pd.DataFrame().from_dict(a)
df = pd.DataFrame().from_dict(b)
_ = doubling_df.plot()
_ = df.sort_values(by='Ratio', ascending=False)[:1]['Ratio'].plot.bar(color='blue')
```
#### Stack Trace
<details>
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/matplotlib/axis.py", line 1523, in convert_units
ret = self.converter.convert(x, self.units, self)
File "/usr/local/lib/python3.8/site-packages/matplotlib/category.py", line 61, in convert
unit.update(values)
File "/usr/local/lib/python3.8/site-packages/matplotlib/category.py", line 211, in update
cbook._check_isinstance((str, bytes), value=val)
File "/usr/local/lib/python3.8/site-packages/matplotlib/cbook/__init__.py", line 2246, in _check_isinstance
raise TypeError(
TypeError: 'value' must be an instance of str or bytes, not a datetime.datetime
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/pablo/bug_report.py", line 22, in <module>
_ = df.sort_values(by='Ratio', ascending=False)[:1]['Ratio'].plot.bar(color='blue')
File "/usr/local/lib/python3.8/site-packages/pandas/plotting/_core.py", line 1113, in bar
return self(kind="bar", x=x, y=y, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pandas/plotting/_core.py", line 955, in __call__
return plot_backend.plot(data, kind=kind, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pandas/plotting/_matplotlib/__init__.py", line 61, in plot
plot_obj.generate()
File "/usr/local/lib/python3.8/site-packages/pandas/plotting/_matplotlib/core.py", line 280, in generate
self._make_plot()
File "/usr/local/lib/python3.8/site-packages/pandas/plotting/_matplotlib/core.py", line 1433, in _make_plot
ax.xaxis.update_units(self.ax_index)
File "/usr/local/lib/python3.8/site-packages/matplotlib/axis.py", line 1466, in update_units
default = self.converter.default_units(data, self)
File "/usr/local/lib/python3.8/site-packages/matplotlib/category.py", line 107, in default_units
axis.set_units(UnitData(data))
File "/usr/local/lib/python3.8/site-packages/matplotlib/axis.py", line 1541, in set_units
self.callbacks.process('units')
File "/usr/local/lib/python3.8/site-packages/matplotlib/cbook/__init__.py", line 229, in process
self.exception_handler(exc)
File "/usr/local/lib/python3.8/site-packages/matplotlib/cbook/__init__.py", line 81, in _exception_printer
raise exc
File "/usr/local/lib/python3.8/site-packages/matplotlib/cbook/__init__.py", line 224, in process
func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/matplotlib/lines.py", line 648, in recache_always
self.recache(always=True)
File "/usr/local/lib/python3.8/site-packages/matplotlib/lines.py", line 652, in recache
xconv = self.convert_xunits(self._xorig)
File "/usr/local/lib/python3.8/site-packages/matplotlib/artist.py", line 175, in convert_xunits
return ax.xaxis.convert_units(x)
File "/usr/local/lib/python3.8/site-packages/matplotlib/axis.py", line 1525, in convert_units
raise munits.ConversionError('Failed to convert value(s) to axis '
matplotlib.units.ConversionError: Failed to convert value(s) to axis units: array([datetime.datetime(2020, 11, 17, 0, 0)], dtype=object)
</details>
#### Problem description
There was some change in behavior between pandas 1.1.5 and 1.2.0 where the code above crashes with the stack trace detailed. The solution for 1.2.0 to work is to add a ```plt.close('all')``` between the two plot functions, but this change of behavior is not documented in the release guide so it seems to be a bug.
This happens only when running this in a headless python setup (in the real code I use ```get_figure``` to save the images) - when running in a Jupyter notebook this code works as expected.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.121-linuxkit
Version : #1 SMP Tue Dec 1 17:50:32 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.4
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
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/38736/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38736/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38737
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38737/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38737/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38737/events
|
https://github.com/pandas-dev/pandas/pull/38737
| 775,129,329
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODcyNTc0
| 38,737
|
BUG/REG: RollingGroupby MultiIndex levels dropped
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 7
| 2020-12-27T23:44:21Z
| 2020-12-29T19:35:36Z
| 2020-12-29T18:56:08Z
|
MEMBER
| null |
- [x] closes #38523
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This was accidentally caused by https://github.com/pandas-dev/pandas/pull/37661 where I thought https://github.com/pandas-dev/pandas/issues/37641 was a bug when it was actually the correct behavior.
Therefore, I had to change the behavior of some prior 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/38737/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38737/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38737.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38737",
"merged_at": "2020-12-29T18:56:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38737.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38737"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38738
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38738/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38738/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38738/events
|
https://github.com/pandas-dev/pandas/pull/38738
| 775,132,360
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODc0NzA5
| 38,738
|
WIP/REF: setitem_with_indexer always use same path for 2D
|
{
"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": "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 |
[] | null | 2
| 2020-12-28T00:07:50Z
| 2021-01-16T03:43:21Z
| 2021-01-16T03:43:21Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
@phofl I'm hoping you're interested in picking up the torch to get this across the finish line. There are two main places where I think this still needs work
1) being systematic about whether/when we issue a SettingWithCopyWarning
2) perf, as operating column-wise is going to take a toll. We need to operate block-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/38738/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38738/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38738.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38738",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38738.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38738"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38739
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38739/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38739/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38739/events
|
https://github.com/pandas-dev/pandas/pull/38739
| 775,154,832
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODkxODA0
| 38,739
|
CLN: remove duplicate banklist.html file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4",
"events_url": "https://api.github.com/users/afeld/events{/privacy}",
"followers_url": "https://api.github.com/users/afeld/followers",
"following_url": "https://api.github.com/users/afeld/following{/other_user}",
"gists_url": "https://api.github.com/users/afeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/afeld",
"id": 86842,
"login": "afeld",
"node_id": "MDQ6VXNlcjg2ODQy",
"organizations_url": "https://api.github.com/users/afeld/orgs",
"received_events_url": "https://api.github.com/users/afeld/received_events",
"repos_url": "https://api.github.com/users/afeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/afeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/afeld"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-28T02:20:14Z
| 2020-12-29T00:08:24Z
| 2020-12-28T15:19:51Z
|
MEMBER
| null |
Wasn't quite a duplicate — had a missing `<tr>`. Also updated the `.gitignore` to more accurately only exclude HTML files from `doc/source/_static/`, since other files are checked in.
- [ ] ~~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/38739/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38739/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38739.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38739",
"merged_at": "2020-12-28T15:19:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38739.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38739"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38740
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38740/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38740/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38740/events
|
https://github.com/pandas-dev/pandas/pull/38740
| 775,162,435
|
MDExOlB1bGxSZXF1ZXN0NTQ1ODk3NDU1
| 38,740
|
DEPR: Hide deprecated attrs _AXIS_NAMES & _AXIS_NUMBERS
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 3
| 2020-12-28T02:57:52Z
| 2020-12-28T20:12:52Z
| 2020-12-28T19:51:44Z
|
CONTRIBUTOR
| null |
- [x] closes #38722
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Users that do e.g. `[getattr(pd.DataFrame, x) for x in dir(pd.DataFrame())]` or `inspect.getmembers(pd.DataFrame())` currently get an unfriendly deprecation warning. This fixes that by adding `_AXIS_NAMES` & `_AXIS_NUMBERS` to `_hidden_attrs`.
@JSunRae, is it possible for you to add this to your pandas source code and see if this fixes your problem?
xref: #33637
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38740/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38740/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38740.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38740",
"merged_at": "2020-12-28T19:51:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38740.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38740"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38741
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38741/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38741/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38741/events
|
https://github.com/pandas-dev/pandas/pull/38741
| 775,171,214
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTA0MDU3
| 38,741
|
BUG: IntervalIndex, PeriodIndex, DatetimeIndex symmetric_difference with Categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2020-12-28T03:36:04Z
| 2020-12-28T23:19:58Z
| 2020-12-28T23:19:32Z
|
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/38741/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38741/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38741.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38741",
"merged_at": "2020-12-28T23:19:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38741.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38741"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38742
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38742/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38742/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38742/events
|
https://github.com/pandas-dev/pandas/pull/38742
| 775,179,064
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTEwMDU1
| 38,742
|
CLN: NDFrame._where
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-28T04:10:29Z
| 2020-12-29T15:58:08Z
| 2020-12-29T14:30:43Z
|
MEMBER
| null |
- [ ] closes #38729
- [ ] 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/38742/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38742/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38742.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38742",
"merged_at": "2020-12-29T14:30:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38742.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38742"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38743
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38743/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38743/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38743/events
|
https://github.com/pandas-dev/pandas/issues/38743
| 775,202,200
|
MDU6SXNzdWU3NzUyMDIyMDA=
| 38,743
|
BUG: IntervalIndex intersections are not intersections in many cases
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-28T05:26:06Z
| 2020-12-31T01:50:22Z
| 2020-12-31T01:50:22Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas._testing as tm
idx_unique = tm.makeIntervalIndex(k=5)
idx_non_unique = idx_unique[[0, 0, 1, 2, 3, 4]]
assert idx_unique.intersection(idx_non_unique).equals(idx_non_unique)
assert idx_non_unique.intersection(idx_unique).equals(idx_non_unique)
# As an implementation note:
assert idx_non_unique._intersection_non_unique(idx_unique).equals(idx_non_unique)
```
All of these should probably fail
#### Problem description
Intersections on `IntervalIndexes` should not repeat duplicated elements, similar to all other `Index` types.
I came across this while writing tests for #38654
For example, if we defined a test:
```python
def check_intersection_commutative(left, right):
assert left.intersection(right).equals(right.intersection(left))
@pytest.mark.parametrize("index_maker", tm.index_subclass_makers_generator())
def test_intersection_uniqueness(index_maker):
if index_make is tm.makeMultiIndex:
pytest.pass() # This index maker is bugged
ind_unique = index_maker(k=5)
ind_non_unique = idx_unique[[0, 0, 1, 2, 3, 4]]
check_intersection_commutative(ind_unique, ind_non_unique)
assert idx_unique.intersection(idx_non_unique).is_unique
```
Only `IntervalIndex` would fail (not including the bugged `makeMultiIndex`).
#### Expected Output
All of the assertions in the original example should fail.
#### Output of ``pd.show_versions()``
<details>
<summary> dev environment </summary>
```
INSTALLED VERSIONS
------------------
commit : 9f1a41dee0e9167361d9f435b4c3d499d01e415a
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~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.3.0.dev0+210.g9f1a41dee0.dirty
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 49.2.0.post20200712
Cython : 0.29.21
pytest : 5.4.3
hypothesis : 5.20.3
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.7.4
fastparquet : 0.4.1
gcsfs : 0.6.2
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.17.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.0
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.50.1
```
</details>
<details>
<summary> 1.1.5 </summary>
```
INSTALLED VERSIONS
------------------
commit : b5958ee1999e9aead1938c0bba2b674378807b3d
python : 3.8.6.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~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.5
numpy : 1.19.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.0.0
Cython : 0.29.21
pytest : 6.2.1
hypothesis : None
sphinx : 3.3.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.5
fastparquet : 0.4.1
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.4
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.2
xlrd : 1.2.0
xlwt : None
numba : 0.52.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/38743/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38743/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38744
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38744/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38744/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38744/events
|
https://github.com/pandas-dev/pandas/pull/38744
| 775,207,719
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTMzODc1
| 38,744
|
REF/POC: Share groupby/series algos (rank)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"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": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 8
| 2020-12-28T05:40:50Z
| 2021-01-01T00:21:34Z
| 2021-01-01T00:08:22Z
|
MEMBER
| null |
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Right now there are 3 rank algorithms which are extremely similar, but have slight differences. This seems to cause some maintenance pain. First, inconsistencies between implementations allows more bug potential (like #32593, only a bug for `rank_2d`). For issues like #32859 which affect all 3, a fix would have to be applied in 3 places and testing added separately for `Series`, `DataFrame`, and `GroupBy`. This pr attempts to mitigate these issues by combining the implementations `group_rank` and `rank_1d` (which as an additional bonus gives the enhancement of object support for `GroupBy.rank()` (#38278)).
Is this kind of refactor/deduplication helpful? If so, similar logic can probably be applied elsewhere.
The diff here makes the changes look more complicated than they are because `rank_1d` is essentially replaced by `group_rank`. The original `group_rank` implementation is only slightly changed to allow for optional labels and object support.
Benchmarks look ok:
<details>
```
before after ratio
[9f1a41de] [5cd81d25]
<master> <ref/rank>
7.87±0.1ms 7.77±0.1ms 0.99 frame_methods.Rank.time_rank('float')
2.61±0.1ms 2.55±0.1ms 0.97 frame_methods.Rank.time_rank('int')
57.9±3ms 59.0±6ms 1.02 frame_methods.Rank.time_rank('object')
2.67±0.04ms 2.58±0.08ms 0.97 frame_methods.Rank.time_rank('uint')
10.8±0.4ms 9.45±0.3ms ~0.87 series_methods.Rank.time_rank('float')
7.39±0.2ms 6.79±1ms 0.92 series_methods.Rank.time_rank('int')
52.9±4ms 47.7±2ms ~0.90 series_methods.Rank.time_rank('object')
7.32±1ms 6.58±0.3ms ~0.90 series_methods.Rank.time_rank('uint')
314±3μs 352±40μs ~1.12 groupby.GroupByMethods.time_dtype_as_field('datetime', 'rank', 'direct')
316±8μs 322±10μs 1.02 groupby.GroupByMethods.time_dtype_as_field('datetime', 'rank', 'transformation')
421±10μs 475±60μs ~1.13 groupby.GroupByMethods.time_dtype_as_field('float', 'rank', 'direct')
409±10μs 482±60μs ~1.18 groupby.GroupByMethods.time_dtype_as_field('float', 'rank', 'transformation')
505±3μs 420±10μs ~0.83 groupby.GroupByMethods.time_dtype_as_field('int', 'rank', 'direct')
- 510±20μs 410±3μs 0.80 groupby.GroupByMethods.time_dtype_as_field('int', 'rank', 'transformation')
411±20μs 441±60μs 1.07 groupby.GroupByMethods.time_dtype_as_group('datetime', 'rank', 'direct')
486±30μs 509±10μs 1.05 groupby.GroupByMethods.time_dtype_as_group('datetime', 'rank', 'transformation')
470±50μs 424±9μs ~0.90 groupby.GroupByMethods.time_dtype_as_group('float', 'rank', 'direct')
409±10μs 505±60μs ~1.23 groupby.GroupByMethods.time_dtype_as_group('float', 'rank', 'transformation')
404±7μs 470±60μs ~1.16 groupby.GroupByMethods.time_dtype_as_group('int', 'rank', 'direct')
407±7μs 412±9μs 1.01 groupby.GroupByMethods.time_dtype_as_group('int', 'rank', 'transformation')
```
</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/38744/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38744/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38744.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38744",
"merged_at": "2021-01-01T00:08:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38744.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38744"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38745
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38745/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38745/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38745/events
|
https://github.com/pandas-dev/pandas/pull/38745
| 775,246,281
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTY2NjQ0
| 38,745
|
[WIP] Test (and more fixes) for duplicate indices with concat
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 14
| 2020-12-28T07:16:22Z
| 2021-05-24T17:27:49Z
| 2021-05-24T17:27:34Z
|
CONTRIBUTOR
| null |
- [ ] closes #31308, #36263
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Follow up to #38654, currently WIP.
It's a work in progress because it turns out union and intersection act differently for different index types. `intersection` seems mostly normal, except for `IntervalIndex` #38743), while `union` is sometimes a set union (for `Index`) and sometimes keeps duplicates (for many `Index` subclasses, though order matters sometimes).
This effects `concat` in `get_objs_combined_axis`. Once I figured out where the problems were coming from, I figured I could maybe side step this by adding checks to `get_objs_combined_axis` for equality and uniqueness. All checks pass `reshape` on my machine, but I'm done working on this for the day, so I'll rely on CI to do the checks on the rest of the codebase.
------------------------
This test could be expanded with:
* More types of indexes (there is no `object` index currently)
* Checks for commutativity, i.e. results should have set-equal columns regardless of order
* Interactions with other arguments (`sort`, `axis`?)
TODO:
- [ ] Move test for `concat` where duplicates don't error
- [ ] Decide whether error should be `DuplicateLabelErrors`
- [ ] Have error report which duplicates are used
- [ ] Check that error reports which duplicates are 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/38745/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38745/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38745.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38745",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38745.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38745"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38746
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38746/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38746/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38746/events
|
https://github.com/pandas-dev/pandas/pull/38746
| 775,248,906
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTY4ODg2
| 38,746
|
ENH: support downcasting of nullable EAs in pd.to_numeric
|
{
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "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"
},
{
"color": "78bced",
"default": false,
"description": "Waiting for review/response from a maintainer.",
"id": 2324533627,
"name": "Needs Review",
"node_id": "MDU6TGFiZWwyMzI0NTMzNjI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-28T07:22:31Z
| 2020-12-30T14:06:49Z
| 2020-12-30T13:59:01Z
|
MEMBER
| null |
- [x] closes #33013
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Picking up #33435.
In `pd.to_numeric` when encountering an `IntegerArray` and `FloatingArray` (or `Series` built from them) we downcast `_data` then reconstruct the array using the downcast `_data` and the `_mask` from the original array.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38746/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38746/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38746.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38746",
"merged_at": "2020-12-30T13:59:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38746.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38746"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38747
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38747/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38747/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38747/events
|
https://github.com/pandas-dev/pandas/pull/38747
| 775,253,569
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTcyODgz
| 38,747
|
⬆️ UPGRADE: Autoupdate pre-commit config
|
{
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/apps/github-actions",
"id": 41898282,
"login": "github-actions[bot]",
"node_id": "MDM6Qm90NDE4OTgyODI=",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"type": "Bot",
"url": "https://api.github.com/users/github-actions%5Bbot%5D"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2020-12-28T07:33:34Z
| 2020-12-30T12:14:18Z
| 2020-12-28T14:48:02Z
|
CONTRIBUTOR
| null |
<!-- START pr-commits -->
<!-- END pr-commits -->
## Base PullRequest
default branch (https://github.com/pandas-dev/pandas/tree/master)
## Command results
<details>
<summary>Details: </summary>
<details>
<summary><em>add path</em></summary>
```Shell
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin
```
</details>
<details>
<summary><em>pip install pre-commit</em></summary>
```Shell
Collecting pre-commit
Downloading pre_commit-2.9.3-py2.py3-none-any.whl (184 kB)
Collecting cfgv>=2.0.0
Using cached cfgv-3.2.0-py2.py3-none-any.whl (7.3 kB)
Collecting identify>=1.0.0
Downloading identify-1.5.10-py2.py3-none-any.whl (97 kB)
Collecting nodeenv>=0.11.1
Using cached nodeenv-1.5.0-py2.py3-none-any.whl (21 kB)
Collecting pyyaml>=5.1
Using cached PyYAML-5.3.1-cp39-cp39-linux_x86_64.whl
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting virtualenv>=20.0.8
Downloading virtualenv-20.2.2-py2.py3-none-any.whl (5.7 MB)
Collecting appdirs<2,>=1.4.3
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: six, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
Successfully installed appdirs-1.4.4 cfgv-3.2.0 distlib-0.3.1 filelock-3.0.12 identify-1.5.10 nodeenv-1.5.0 pre-commit-2.9.3 pyyaml-5.3.1 six-1.15.0 toml-0.10.2 virtualenv-20.2.2
```
### stderr:
```Shell
WARNING: You are using pip version 20.3.1; however, version 20.3.3 is available.
You should consider upgrading via the '/opt/hostedtoolcache/Python/3.9.1/x64/bin/python -m pip install --upgrade pip' command.
```
</details>
<details>
<summary><em>pre-commit autoupdate || (exit 0);</em></summary>
```Shell
Updating https://github.com/python/black ... already up to date.
Updating https://gitlab.com/pycqa/flake8 ... already up to date.
Updating https://github.com/PyCQA/isort ... already up to date.
Updating https://github.com/asottile/pyupgrade ... [INFO] Initializing environment for https://github.com/asottile/pyupgrade.
already up to date.
Updating https://github.com/pre-commit/pygrep-hooks ... already up to date.
Updating https://github.com/asottile/yesqa ... already up to date.
Updating https://github.com/pre-commit/pre-commit-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
updating v3.3.0 -> v3.4.0.
```
</details>
<details>
<summary><em>pre-commit run -a || (exit 0);</em></summary>
```Shell
[INFO] Installing environment for https://github.com/python/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
black..................................................................................................Passed
flake8.................................................................................................Passed
flake8 (cython)........................................................................................Passed
flake8 (cython template)...............................................................................Passed
isort..................................................................................................Passed
pyupgrade..............................................................................................Passed
rst ``code`` is two backticks..........................................................................Passed
rst directives end with two colons.....................................................................Passed
rst ``inline code`` next to normal text................................................................Passed
Generate pip dependency from conda.....................................................................Passed
flake8-rst.............................................................................................Passed
Check for non-standard imports.........................................................................Passed
Check for non-standard numpy.random-related imports excluding pandas/_testing.py.......................Passed
Check for non-standard imports in test suite...........................................................Passed
Check for incorrect code block or IPython directives...................................................Passed
Check for use of not concatenated strings..............................................................Passed
Check for strings with wrong placed spaces.............................................................Passed
Check for import of private attributes across modules..................................................Passed
Check for use of private functions across modules......................................................Passed
Check for inconsistent use of pandas namespace in tests................................................Passed
Check for use of Union[Series, DataFrame] instead of FrameOrSeriesUnion alias..........................Passed
Check for use of foo.__class__ instead of type(foo)....................................................Passed
Check for use of comment-based annotation syntax and missing error codes...............................Passed
Check code for instances of os.remove..................................................................Passed
Strip unnecessary `# noqa`s............................................................................Passed
Fix End of Files.......................................................................................Passed
Trim Trailing Whitespace...............................................................................Passed
```
</details>
</details>
## Changed files
<details>
<summary>Changed file: </summary>
- .pre-commit-config.yaml
</details>
<hr>
[:octocat: Repo](https://github.com/technote-space/create-pr-action) | [:memo: Issues](https://github.com/technote-space/create-pr-action/issues) | [:department_store: Marketplace](https://github.com/marketplace/actions/create-pr-action)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38747/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38747/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38747.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38747",
"merged_at": "2020-12-28T14:48:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38747.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38747"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38748
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38748/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38748/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38748/events
|
https://github.com/pandas-dev/pandas/pull/38748
| 775,258,768
|
MDExOlB1bGxSZXF1ZXN0NTQ1OTc3Mjg5
| 38,748
|
Revert "TST: Bare pytest raises" in base extension tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2020-12-28T07:46:04Z
| 2020-12-28T15:35:00Z
| 2020-12-28T14:59:02Z
|
MEMBER
| null |
Reverts pandas-dev/pandas#38576, see discussion there. We should not add detailed error message asserts, as those tests are also used by external packages, that might have different error messages.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38748/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38748/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38748.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38748",
"merged_at": "2020-12-28T14:59:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38748.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38748"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38749
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38749/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38749/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38749/events
|
https://github.com/pandas-dev/pandas/issues/38749
| 775,353,320
|
MDU6SXNzdWU3NzUzNTMzMjA=
| 38,749
|
BUG: TypeError: bad operand type for unary -: 'FloatingArray'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32574004?v=4",
"events_url": "https://api.github.com/users/hbaniecki/events{/privacy}",
"followers_url": "https://api.github.com/users/hbaniecki/followers",
"following_url": "https://api.github.com/users/hbaniecki/following{/other_user}",
"gists_url": "https://api.github.com/users/hbaniecki/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hbaniecki",
"id": 32574004,
"login": "hbaniecki",
"node_id": "MDQ6VXNlcjMyNTc0MDA0",
"organizations_url": "https://api.github.com/users/hbaniecki/orgs",
"received_events_url": "https://api.github.com/users/hbaniecki/received_events",
"repos_url": "https://api.github.com/users/hbaniecki/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hbaniecki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hbaniecki/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hbaniecki"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0e8a16",
"default": 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": "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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18115607?v=4",
"events_url": "https://api.github.com/users/zitorelova/events{/privacy}",
"followers_url": "https://api.github.com/users/zitorelova/followers",
"following_url": "https://api.github.com/users/zitorelova/following{/other_user}",
"gists_url": "https://api.github.com/users/zitorelova/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zitorelova",
"id": 18115607,
"login": "zitorelova",
"node_id": "MDQ6VXNlcjE4MTE1NjA3",
"organizations_url": "https://api.github.com/users/zitorelova/orgs",
"received_events_url": "https://api.github.com/users/zitorelova/received_events",
"repos_url": "https://api.github.com/users/zitorelova/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zitorelova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zitorelova/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zitorelova"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/18115607?v=4",
"events_url": "https://api.github.com/users/zitorelova/events{/privacy}",
"followers_url": "https://api.github.com/users/zitorelova/followers",
"following_url": "https://api.github.com/users/zitorelova/following{/other_user}",
"gists_url": "https://api.github.com/users/zitorelova/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zitorelova",
"id": 18115607,
"login": "zitorelova",
"node_id": "MDQ6VXNlcjE4MTE1NjA3",
"organizations_url": "https://api.github.com/users/zitorelova/orgs",
"received_events_url": "https://api.github.com/users/zitorelova/received_events",
"repos_url": "https://api.github.com/users/zitorelova/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zitorelova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zitorelova/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zitorelova"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2020-12-28T11:28:29Z
| 2021-02-28T08:38:16Z
| 2021-02-28T08:38:16Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
x = pd.Series([1, 2, 3], dtype=pd.Float32Dtype())
-x
```
#### Problem description
Should it generate an error?
`TypeError: bad operand type for unary -: 'FloatingArray'`
#### Expected Output
```python
-1 * x
# like -pd.Series([1, 2, 3])
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 126 Stepping 5, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_Europe.1252
pandas : 1.2.0
numpy : 1.19.3
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.2.1
Cython : 0.29.14
pytest : 6.0.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.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : None
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.51.1
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38749/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38749/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38750
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38750/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38750/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38750/events
|
https://github.com/pandas-dev/pandas/pull/38750
| 775,406,706
|
MDExOlB1bGxSZXF1ZXN0NTQ2MDk4NjAz
| 38,750
|
Iloc truncates single-column dataframe with extension arrays
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6254610?v=4",
"events_url": "https://api.github.com/users/luijkr/events{/privacy}",
"followers_url": "https://api.github.com/users/luijkr/followers",
"following_url": "https://api.github.com/users/luijkr/following{/other_user}",
"gists_url": "https://api.github.com/users/luijkr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/luijkr",
"id": 6254610,
"login": "luijkr",
"node_id": "MDQ6VXNlcjYyNTQ2MTA=",
"organizations_url": "https://api.github.com/users/luijkr/orgs",
"received_events_url": "https://api.github.com/users/luijkr/received_events",
"repos_url": "https://api.github.com/users/luijkr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/luijkr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/luijkr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/luijkr"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-12-28T13:42:00Z
| 2021-02-11T01:42:14Z
| 2021-02-11T01:42:13Z
|
NONE
| null |
Added a test to ensure .iloc does not truncate data for a single-column dataframe with an extension array, as discussed in GH30263.
- [ ] closes #30263
- [x ] 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/38750/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38750/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38750.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38750",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38750.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38750"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38751
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38751/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38751/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38751/events
|
https://github.com/pandas-dev/pandas/issues/38751
| 775,500,663
|
MDU6SXNzdWU3NzU1MDA2NjM=
| 38,751
|
BUG: FloatingArray constructor with input of all missing values: np.nan vs. pd.NA
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
open
| false
| null |
[] | null | 3
| 2020-12-28T17:13:07Z
| 2021-08-14T22:34:56Z
| null |
MEMBER
| null |
Not sure this is really an issue but maybe(or not?) a slight inconsistency.
The following throws:
```python
In [18]: import numpy as np
...: import pandas as pd
...:
...: arr = pd.array([pd.NA, pd.NA], dtype="float")
...: ser = pd.Series(arr)
...: pd.to_numeric(ser, downcast="float")
...:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-18-c7fb0ba8f6eb> in <module>
2 import pandas as pd
3
----> 4 arr = pd.array([pd.NA, pd.NA], dtype="float")
5 ser = pd.Series(arr)
6 pd.to_numeric(ser, downcast="float")
~/repos/pandas/pandas/core/construction.py in array(data, dtype, copy)
344 return TimedeltaArray._from_sequence(data, dtype=dtype, copy=copy)
345
--> 346 result = PandasArray._from_sequence(data, dtype=dtype, copy=copy)
347 return result
348
~/repos/pandas/pandas/core/arrays/numpy_.py in _from_sequence(cls, scalars, dtype, copy)
178 dtype = dtype._dtype
179
--> 180 result = np.asarray(scalars, dtype=dtype)
181 if copy and result is scalars:
182 result = result.copy()
~/anaconda3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/_asarray.py in asarray(a, dtype, order)
81
82 """
---> 83 return array(a, dtype, copy=False, order=order)
84
85
TypeError: float() argument must be a string or a number, not 'NAType'
```
but with `np.nan` it runs fine:
``` python
In [19]: import numpy as np
...: import pandas as pd
...:
...: arr = pd.array([np.nan, np.nan], dtype="float")
...: ser = pd.Series(arr)
...: pd.to_numeric(ser, downcast="float")
...:
Out[19]:
0 NaN
1 NaN
dtype: float32
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38751/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38751/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38752
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38752/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38752/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38752/events
|
https://github.com/pandas-dev/pandas/issues/38752
| 775,510,619
|
MDU6SXNzdWU3NzU1MTA2MTk=
| 38,752
|
BUG:Wrong sum in groupby rolling due to precision issues
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/30558059?v=4",
"events_url": "https://api.github.com/users/AkariGale/events{/privacy}",
"followers_url": "https://api.github.com/users/AkariGale/followers",
"following_url": "https://api.github.com/users/AkariGale/following{/other_user}",
"gists_url": "https://api.github.com/users/AkariGale/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AkariGale",
"id": 30558059,
"login": "AkariGale",
"node_id": "MDQ6VXNlcjMwNTU4MDU5",
"organizations_url": "https://api.github.com/users/AkariGale/orgs",
"received_events_url": "https://api.github.com/users/AkariGale/received_events",
"repos_url": "https://api.github.com/users/AkariGale/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AkariGale/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AkariGale/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AkariGale"
}
|
[
{
"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": "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 |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 11
| 2020-12-28T17:38:15Z
| 2021-08-14T22:38:41Z
| 2021-08-14T22:38:41Z
|
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 numpy as np
import math
import pandas as pd
id1 = pd.date_range('2019-10-01', '2020-01-08', freq='2H').to_frame(name='stamp').reset_index(drop=True)
id2 = pd.date_range('2019-10-01', '2020-01-08').to_frame(name='stamp').reset_index(drop=True)
id1['id'] = 1
a = 2.5
id1['value'] = (math.e + a) ** (((id1.index + 10) % 40) - 20)
id2['id'] = 2
id2['value'] = np.nan
id2.loc[id2.stamp == '2019-11-15', 'value'] = 10. ** -13
df = pd.concat([id1, id2], ignore_index=True)
df.sort_values('stamp', inplace=True)
roll_sum = df.groupby('id').rolling('93D', on='stamp')['value'].sum().reset_index()
print(roll_sum[roll_sum.id == 2].iloc[-1].value)
roll_sum_2 = df[df.id == 2].groupby('id').rolling('93D', on='stamp')['value'].sum().reset_index()
print(roll_sum_2[roll_sum_2.id == 2].iloc[-1].value)
```
#### Problem description
In the code above i show that last values in rollings are not equal:
- if i count a sum of `value` using rolling on full dataframe, i obtain `0.015625000000100003`
- If i filter a dataframe and keep only `id=2`, i obtain `1e-13`.
It seems that the aggregation in the second group depends on the first group.
If i replace `a` on `0`, i will get `2.980242e-08` in a first rolling. And if i replace `a` on `1`, i will get a correct answer `1e-13`
#### Expected Output
`1e-13`
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.13-300.fc31.x86_64
Version : #1 SMP Mon Nov 25 17:25:25 UTC 2019
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.17.4
pytz : 2019.2
dateutil : 2.8.0
pip : 19.1.1
setuptools : 50.3.0
Cython : None
pytest : 5.4.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.10.1
IPython : None
pandas_datareader: None
bs4 : 4.9.0
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.3.11
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/38752/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38752/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38753
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38753/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38753/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38753/events
|
https://github.com/pandas-dev/pandas/issues/38753
| 775,534,507
|
MDU6SXNzdWU3NzU1MzQ1MDc=
| 38,753
|
REGR: pd.read_csv segfaults with 1.2 (has worked since before pandas 1.0)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8699967?v=4",
"events_url": "https://api.github.com/users/snowman2/events{/privacy}",
"followers_url": "https://api.github.com/users/snowman2/followers",
"following_url": "https://api.github.com/users/snowman2/following{/other_user}",
"gists_url": "https://api.github.com/users/snowman2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/snowman2",
"id": 8699967,
"login": "snowman2",
"node_id": "MDQ6VXNlcjg2OTk5Njc=",
"organizations_url": "https://api.github.com/users/snowman2/orgs",
"received_events_url": "https://api.github.com/users/snowman2/received_events",
"repos_url": "https://api.github.com/users/snowman2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/snowman2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snowman2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/snowman2"
}
|
[
{
"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_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "36ede0",
"default": false,
"description": "Non-Recoverable Error",
"id": 1121248195,
"name": "Segfault",
"node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 9
| 2020-12-28T18:37:15Z
| 2020-12-30T18:41:00Z
| 2020-12-30T18:41:00Z
|
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
Wish I could give more information, but this is all I have (not sure I can share the input data):
```
Fatal Python error: Segmentation fault
Current thread 0x00007f658531a740 (most recent call first):
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 2056 in read
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1052 in read
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 463 in _read
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 605 in read_csv
```
Once I added the pin `pandas<1.2` everything works again.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0-1020-aws
Version : #29-Ubuntu SMP Wed Jun 14 15:54:52 UTC 2017
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.1
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : 3.4.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.2
html5lib : None
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 : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : 1.3.22
tables : None
tabulate : 0.8.7
xarray : 0.16.2
xlrd : None
xlwt : None
numba : None
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/38753/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38753/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38754
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38754/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38754/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38754/events
|
https://github.com/pandas-dev/pandas/pull/38754
| 775,546,862
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjA1MDk0
| 38,754
|
DOC: chat-ops
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21278205?v=4",
"events_url": "https://api.github.com/users/1nF0rmed/events{/privacy}",
"followers_url": "https://api.github.com/users/1nF0rmed/followers",
"following_url": "https://api.github.com/users/1nF0rmed/following{/other_user}",
"gists_url": "https://api.github.com/users/1nF0rmed/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/1nF0rmed",
"id": 21278205,
"login": "1nF0rmed",
"node_id": "MDQ6VXNlcjIxMjc4MjA1",
"organizations_url": "https://api.github.com/users/1nF0rmed/orgs",
"received_events_url": "https://api.github.com/users/1nF0rmed/received_events",
"repos_url": "https://api.github.com/users/1nF0rmed/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/1nF0rmed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1nF0rmed/subscriptions",
"type": "User",
"url": "https://api.github.com/users/1nF0rmed"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2020-12-28T19:11:48Z
| 2020-12-30T15:07:21Z
| 2020-12-30T15:07:16Z
|
CONTRIBUTOR
| null |
- [x] closes #38726
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] Added documentation for `@githubactions pre-commit`
- [x] Added documentation for `@meeseeksdev backport`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38754/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38754/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38754.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38754",
"merged_at": "2020-12-30T15:07:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38754.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38754"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38755
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38755/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38755/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38755/events
|
https://github.com/pandas-dev/pandas/pull/38755
| 775,562,031
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjE3NjQw
| 38,755
|
Backport PR #38740 on branch 1.2.x (DEPR: Hide deprecated attrs _AXIS_NAMES & _AXIS_NUMBERS)
|
{
"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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-28T19:53:07Z
| 2020-12-28T21:20:04Z
| 2020-12-28T21:20:03Z
|
NONE
| null |
Backport PR #38740: DEPR: Hide deprecated attrs _AXIS_NAMES & _AXIS_NUMBERS
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38755/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38755/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38755.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38755",
"merged_at": "2020-12-28T21:20:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38755.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38755"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38756
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38756/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38756/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38756/events
|
https://github.com/pandas-dev/pandas/pull/38756
| 775,563,881
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjE5MTU5
| 38,756
|
TST: use frame_or_series for some tz_localize/tz_convert 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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-28T19:58:36Z
| 2020-12-28T23:27:16Z
| 2020-12-28T23:23: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/38756/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38756/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38756",
"merged_at": "2020-12-28T23:23:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38756"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38757
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38757/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38757/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38757/events
|
https://github.com/pandas-dev/pandas/pull/38757
| 775,577,582
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjMwMzc0
| 38,757
|
REF: implement nested_data_to_arrays
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-28T20:37:16Z
| 2020-12-29T00:05:42Z
| 2020-12-29T00:02:36Z
|
MEMBER
| null |
In the next step, I plan to use this in the relevant case for ndarray, which we currently treat differently from EA.
Categorical edits are unrelated, just sneaking in.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38757/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38757/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38757.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38757",
"merged_at": "2020-12-29T00:02:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38757.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38757"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38758
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38758/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38758/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38758/events
|
https://github.com/pandas-dev/pandas/pull/38758
| 775,583,838
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjM1NDk4
| 38,758
|
CLN: simplify tm.decompress_file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
}
|
[
{
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-28T20:56:22Z
| 2020-12-28T22:23:12Z
| 2020-12-28T22:23:04Z
|
CONTRIBUTOR
| null |
Could re-use `get_handle` but I'm not sure whether the testing code should depend on the to-be tested code?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38758/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38758/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38758.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38758",
"merged_at": "2020-12-28T22:23:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38758.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38758"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38759
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38759/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38759/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38759/events
|
https://github.com/pandas-dev/pandas/pull/38759
| 775,585,226
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjM2NjA4
| 38,759
|
BUG: float-like string, trailing 0 truncation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 4
| 2020-12-28T21:01:04Z
| 2020-12-29T03:20:56Z
| 2020-12-29T03:18:49Z
|
MEMBER
| null |
- [x] closes #38708
- [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/38759/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38759/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38759.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38759",
"merged_at": "2020-12-29T03:18:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38759.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38759"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38760
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38760/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38760/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38760/events
|
https://github.com/pandas-dev/pandas/issues/38760
| 775,591,941
|
MDU6SXNzdWU3NzU1OTE5NDE=
| 38,760
|
pandas.Series.to_json() incorrectly localizes tz-naive datetimes to UTC
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/58305309?v=4",
"events_url": "https://api.github.com/users/dactrungnguyen/events{/privacy}",
"followers_url": "https://api.github.com/users/dactrungnguyen/followers",
"following_url": "https://api.github.com/users/dactrungnguyen/following{/other_user}",
"gists_url": "https://api.github.com/users/dactrungnguyen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dactrungnguyen",
"id": 58305309,
"login": "dactrungnguyen",
"node_id": "MDQ6VXNlcjU4MzA1MzA5",
"organizations_url": "https://api.github.com/users/dactrungnguyen/orgs",
"received_events_url": "https://api.github.com/users/dactrungnguyen/received_events",
"repos_url": "https://api.github.com/users/dactrungnguyen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dactrungnguyen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dactrungnguyen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dactrungnguyen"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "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"
}
] |
open
| false
| null |
[] | null | 3
| 2020-12-28T21:21:49Z
| 2021-08-14T22:39:37Z
| null |
NONE
| null |
Seemingly related but not identical to #12997
## How to reproduce the bug
Checked with pandas 0.24.2, 1.1.5 and 1.2.0.
```
import pandas as pd
index = pd.date_range(
start='2020-12-28 00:00:00',
end='2020-12-28 02:00:00',
freq='1H',
)
a = pd.Series(
data=range(3),
index=index,
)
a.to_json(date_format='iso')
```
## Output
```
'{"2020-12-28T00:00:00.000Z":0,"2020-12-28T01:00:00.000Z":1,"2020-12-28T02:00:00.000Z":2}'
```
(Notice the "Z" indicating UTC)
## Expected output
```
'{"2020-12-28T00:00:00.000":0,"2020-12-28T01:00:00.000":1,"2020-12-28T02:00:00.000":2}'
```
(without "Z")
|
{
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38760/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38760/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38761
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38761/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38761/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38761/events
|
https://github.com/pandas-dev/pandas/pull/38761
| 775,593,914
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjQzNjM1
| 38,761
|
CI: print build version
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 2
| 2020-12-28T21:27:36Z
| 2020-12-29T01:57:33Z
| 2020-12-28T23:12:15Z
|
MEMBER
| null |
xref #38344
followup
|
{
"+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/38761/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38761/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38761.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38761",
"merged_at": "2020-12-28T23:12:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38761.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38761"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38762
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38762/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38762/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38762/events
|
https://github.com/pandas-dev/pandas/issues/38762
| 775,610,499
|
MDU6SXNzdWU3NzU2MTA0OTk=
| 38,762
|
Sample ExtensionArray.take implementation doesn't correctly handle scalars
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] | null | 4
| 2020-12-28T22:24:46Z
| 2020-12-29T14:01:31Z
| null |
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
The sample at https://github.com/pandas-dev/pandas/blob/6210077d32a9e9675526ea896e6d1f9189629d4a/pandas/core/arrays/base.py#L1031-L1047 is buggy since it doesn't handle scalars properly
```python
class MyDtype(ExtensionDtype):
name = "name"
class MyArray(ExtensionArray):
dtype = MyDtype()
def __init__(self, data):
self._data = data
@classmethod
def _from_sequence(cls, scalars, *, dtype=None, copy=False):
return cls(np.array(scalars))
def __getitem__(self, item):
return self._data[item]
def __len__(self):
return len(self._data)
def take(self, indices, allow_fill=False, fill_value=None):
from pandas.core.algorithms import take
# If the ExtensionArray is backed by an ndarray, then
# just pass that here instead of coercing to object.
data = self.astype(object)
if allow_fill and fill_value is None:
fill_value = self.dtype.na_value
# fill value should always be translated from the scalar
# type for the array, to the physical storage type for
# the data, before passing to take.
result = take(data, indices, fill_value=fill_value,
allow_fill=allow_fill)
return self._from_sequence(result, dtype=self.dtype)
a = MyArray._from_sequence([1, 2, 3])
result = a.take(0)
assert result == 1
```
#### Problem description
#### Expected Output
`.take(0)` should return the scalar `1`, rather than trying to wrap it in a new `MyArray`.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38762/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38762/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38763
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38763/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38763/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38763/events
|
https://github.com/pandas-dev/pandas/pull/38763
| 775,622,346
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjY2Mjc5
| 38,763
|
Backport PR #38761 on branch 1.2.x (CI: print build version)
|
{
"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": "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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-28T23:12:44Z
| 2020-12-28T23:59:57Z
| 2020-12-28T23:59:57Z
|
NONE
| null |
Backport PR #38761: CI: print build version
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38763/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38763/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38763.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38763",
"merged_at": "2020-12-28T23:59:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38763.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38763"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38764
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38764/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38764/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38764/events
|
https://github.com/pandas-dev/pandas/pull/38764
| 775,625,044
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjY4NDQ1
| 38,764
|
BUG: Series construction with mismatched dt64 data vs td64 dtype
|
{
"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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2020-12-28T23:23:35Z
| 2020-12-29T19:07:22Z
| 2020-12-29T19:05:43Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Fixing this for DataFrame is much harder, so punting for now.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38764/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38764/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38764.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38764",
"merged_at": "2020-12-29T19:05:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38764.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38764"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38765
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38765/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38765/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38765/events
|
https://github.com/pandas-dev/pandas/pull/38765
| 775,627,284
|
MDExOlB1bGxSZXF1ZXN0NTQ2MjcwMTkw
| 38,765
|
TYP: DataFrame.(dot, __matmul__)
|
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2020-12-28T23:32:46Z
| 2021-01-06T19:29:38Z
| 2021-01-05T00:37:14Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
xref https://github.com/pandas-dev/pandas/pull/38416/files#r549438292
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38765/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38765/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38765.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38765",
"merged_at": "2021-01-05T00:37:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38765.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38765"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38766
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38766/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38766/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38766/events
|
https://github.com/pandas-dev/pandas/pull/38766
| 775,632,321
|
MDExOlB1bGxSZXF1ZXN0NTQ2Mjc0MjAy
| 38,766
|
BLD: fix build failure py3.9.1 on OSX
|
{
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 3
| 2020-12-28T23:55:12Z
| 2020-12-29T15:57:32Z
| 2020-12-29T14:05:09Z
|
MEMBER
| null |
Ran `brew upgrade` yesterday and ended up bumping from 3.9.0 to 3.9.1, after which I got build failures
```
LooseVersion(python_target) < "10.9"
File "/usr/local/Cellar/python@3.9/3.9.1_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/version.py", line 306, in __init__
self.parse(vstring)
File "/usr/local/Cellar/python@3.9/3.9.1_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/version.py", line 314, in parse
components = [x for x in self.component_re.split(vstring)
TypeError: expected string or bytes-like object
```
No idea why this just started breaking now.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38766/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38766/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38766.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38766",
"merged_at": "2020-12-29T14:05:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38766.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38766"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38767
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38767/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38767/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38767/events
|
https://github.com/pandas-dev/pandas/pull/38767
| 775,634,447
|
MDExOlB1bGxSZXF1ZXN0NTQ2Mjc1ODQ1
| 38,767
|
Backport PR #38728 on branch 1.2.x (REGR: to_csv created corrupt ZIP files when chunksize<rows)
|
{
"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": "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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-29T00:05:21Z
| 2020-12-29T03:16:45Z
| 2020-12-29T03:16:45Z
|
NONE
| null |
Backport PR #38728: REGR: to_csv created corrupt ZIP files when chunksize<rows
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38767/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38767/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38767",
"merged_at": "2020-12-29T03:16:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38767"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38768
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38768/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38768/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38768/events
|
https://github.com/pandas-dev/pandas/pull/38768
| 775,665,060
|
MDExOlB1bGxSZXF1ZXN0NTQ2Mjk5MTk5
| 38,768
|
CLN: rolling.py and window/aggregations.pyx
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-29T02:31:39Z
| 2020-12-29T18:43:13Z
| 2020-12-29T14:05:56Z
|
MEMBER
| null |
* Inlined a helper method
* Added `const`s
* Removed unneeded comments/code
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38768/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38768/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38768.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38768",
"merged_at": "2020-12-29T14:05:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38768.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38768"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38769
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38769/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38769/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38769/events
|
https://github.com/pandas-dev/pandas/pull/38769
| 775,675,596
|
MDExOlB1bGxSZXF1ZXN0NTQ2MzA3NDE1
| 38,769
|
Backport PR #38759 on branch 1.2.x (BUG: float-like string, trailing 0 truncation)
|
{
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-29T03:19:31Z
| 2020-12-29T10:22:15Z
| 2020-12-29T10:22:15Z
|
NONE
| null |
Backport PR #38759: BUG: float-like string, trailing 0 truncation
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38769/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38769/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38769.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38769",
"merged_at": "2020-12-29T10:22:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38769.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38769"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38770
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38770/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38770/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38770/events
|
https://github.com/pandas-dev/pandas/pull/38770
| 775,681,949
|
MDExOlB1bGxSZXF1ZXN0NTQ2MzEyNTI0
| 38,770
|
DOC: suppress debug messages when displaying plots
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-29T03:46:04Z
| 2020-12-29T22:00:30Z
| 2020-12-29T14:06:41Z
|
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/38770/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38770/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38770.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38770",
"merged_at": "2020-12-29T14:06:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38770.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38770"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38771
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38771/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38771/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38771/events
|
https://github.com/pandas-dev/pandas/pull/38771
| 775,696,920
|
MDExOlB1bGxSZXF1ZXN0NTQ2MzI0NDU5
| 38,771
|
DOC: create shared includes for comparison docs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4",
"events_url": "https://api.github.com/users/afeld/events{/privacy}",
"followers_url": "https://api.github.com/users/afeld/followers",
"following_url": "https://api.github.com/users/afeld/following{/other_user}",
"gists_url": "https://api.github.com/users/afeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/afeld",
"id": 86842,
"login": "afeld",
"node_id": "MDQ6VXNlcjg2ODQy",
"organizations_url": "https://api.github.com/users/afeld/orgs",
"received_events_url": "https://api.github.com/users/afeld/received_events",
"repos_url": "https://api.github.com/users/afeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/afeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/afeld"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2020-12-29T04:53:05Z
| 2021-01-03T19:39:08Z
| 2021-01-03T19:39:08Z
|
MEMBER
| null |
This will help ensure consistency between the examples.
Similar to https://github.com/pandas-dev/pandas/pull/38735, but focusing on shared content in a different folder. Particularly interested to see if the build fails in the same way.
- [ ] ~~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/38771/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38771/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38771.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38771",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38771.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38771"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38772
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38772/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38772/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38772/events
|
https://github.com/pandas-dev/pandas/pull/38772
| 775,699,827
|
MDExOlB1bGxSZXF1ZXN0NTQ2MzI2NzUx
| 38,772
|
BUG: Added test cases to check loc on multiindex with NaNs #29751
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/30443978?v=4",
"events_url": "https://api.github.com/users/kasim95/events{/privacy}",
"followers_url": "https://api.github.com/users/kasim95/followers",
"following_url": "https://api.github.com/users/kasim95/following{/other_user}",
"gists_url": "https://api.github.com/users/kasim95/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kasim95",
"id": 30443978,
"login": "kasim95",
"node_id": "MDQ6VXNlcjMwNDQzOTc4",
"organizations_url": "https://api.github.com/users/kasim95/orgs",
"received_events_url": "https://api.github.com/users/kasim95/received_events",
"repos_url": "https://api.github.com/users/kasim95/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kasim95/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kasim95/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kasim95"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-29T05:05:16Z
| 2021-01-07T13:58:12Z
| 2021-01-07T13:58:09Z
|
CONTRIBUTOR
| null |
- [x] closes #29751
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Added test cases to check loc on multiindex containing NaN values using `np.nan`, `pd.NA`, and `None`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38772/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38772/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38772.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38772",
"merged_at": "2021-01-07T13:58:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38772.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38772"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38773
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38773/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38773/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38773/events
|
https://github.com/pandas-dev/pandas/issues/38773
| 775,731,223
|
MDU6SXNzdWU3NzU3MzEyMjM=
| 38,773
|
API: idx.get_indexer(keys) fails if idx is non-unique, even if keys in idx are unique
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
}
|
[
{
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"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 | 0
| 2020-12-29T06:46:31Z
| 2021-08-14T22:41:29Z
| null |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.Index(["a", "a", "b", "c"]).get_indexer(pd.Index(["b", "c"]))
# InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
Came across this here: https://github.com/pandas-dev/pandas/pull/38745#discussion_r549577521
#### Problem description
It makes sense to me why this would error:
```python
pd.Index(["a", "a", "b", "c"]).get_indexer(pd.Index(["a", "c"]))
```
There isn't a unique solution. For the case presented at the top, there is a unique solution.
#### Expected Output
```python
pd.Index(["a", "a", "b", "c"]).get_indexer(pd.Index(["b", "c"]))
# array([2, 3])
```
Note, this is the behaviour of `pd.Index._get_indexer` on `master`
#### Output of ``pd.show_versions()``
<details>
<summary> master </summary>
```python
INSTALLED VERSIONS
------------------
commit : 7f912a4009da963b5eacdcebb638c38eec06e7a7
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~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.3.0.dev0+228.g7f912a4009
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 49.2.0.post20200712
Cython : 0.29.21
pytest : 5.4.3
hypothesis : 5.20.3
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.7.4
fastparquet : 0.4.1
gcsfs : 0.6.2
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.17.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.0
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.50.1
```
</details>
<details>
<summary> 1.2.0 </summary>
`pd.show_versions()` is failing with: `ImportError: Can't determine version for numba`, so here's `conda list`:
```
$ conda list
# packages in environment at /Users/isaac/miniconda3/envs/pandas-1.2:
#
# Name Version Build Channel
appnope 0.1.2 py38hecd8cb5_1001
backcall 0.2.0 py_0
blas 1.0 mkl
ca-certificates 2020.12.8 hecd8cb5_0
certifi 2020.12.5 py38hecd8cb5_0
decorator 4.4.2 py_0
intel-openmp 2019.4 233
ipython 7.19.0 py38h01d92e1_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
jedi 0.17.0 py38_0
libcxx 11.0.0 h4c3b8ed_1 conda-forge
libedit 3.1.20191231 h1de35cc_1
libffi 3.3 hb1e8313_2
mkl 2019.4 233
mkl-service 2.3.0 py38h9ed2024_0
mkl_fft 1.2.0 py38hc64f4ea_0
mkl_random 1.1.1 py38h959d312_0
ncurses 6.2 h0a44026_1
numpy 1.19.2 py38h456fd55_0
numpy-base 1.19.2 py38hcfb5961_0
openssl 1.1.1i h9ed2024_0
pandas 1.2.0 py38he9f00de_0 conda-forge
parso 0.8.1 pyhd3eb1b0_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pip 20.3.3 py38hecd8cb5_0
prompt-toolkit 3.0.8 py_0
ptyprocess 0.6.0 pyhd3eb1b0_2
pygments 2.7.3 pyhd3eb1b0_0
python 3.8.5 h26836e1_1
python-dateutil 2.8.1 py_0
python_abi 3.8 1_cp38 conda-forge
pytz 2020.4 pyhd3eb1b0_0
readline 8.0 h1de35cc_0
setuptools 51.0.0 py38hecd8cb5_2
six 1.15.0 py38hecd8cb5_0
sqlite 3.33.0 hffcf06c_0
tk 8.6.10 hb0a8c7a_0
traitlets 5.0.5 py_0
wcwidth 0.2.5 py_0
wheel 0.36.2 pyhd3eb1b0_0
xz 5.2.5 h1de35cc_0
zlib 1.2.11 h1de35cc_3
```
</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/38773/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38773/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38774
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38774/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38774/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38774/events
|
https://github.com/pandas-dev/pandas/issues/38774
| 775,784,301
|
MDU6SXNzdWU3NzU3ODQzMDE=
| 38,774
|
BUG: sem() with level raised ValueError in pandas 1.2
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
}
|
[
{
"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": "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
|
{
"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"
}
|
[
{
"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"
}
] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 2
| 2020-12-29T09:06:29Z
| 2020-12-30T23:38:49Z
| 2020-12-30T23:38:49Z
|
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.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
idx = pd.MultiIndex.from_arrays([
[str(i) for i in range(100)], np.random.choice(['A', 'B'], size=(100,))
], names=['a', 'b'])
data_dict = dict((str(i), np.random.rand(100)) for i in range(10))
data_dict['string'] = [str(i) for i in range(100)]
data_dict['bool'] = np.random.choice([True, False], (100,))
data = pd.DataFrame(data_dict, index=idx)
data.sem(level=1)
```
#### Problem description
Unexpected exception raised:
```
Traceback (most recent call last):
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-8-cd9abe134148>", line 1, in <module>
data.sem(level=1)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 10925, in sem
return NDFrame.sem(self, axis, skipna, level, ddof, numeric_only, **kwargs)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 10665, in sem
return self._stat_function_ddof(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 10655, in _stat_function_ddof
return self._agg_by_level(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 10552, in _agg_by_level
return getattr(grouped, name)(**kwargs)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 1612, in sem
result.iloc[:, cols] = result.iloc[:, cols] / np.sqrt(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 691, in __setitem__
iloc._setitem_with_indexer(indexer, value, self.name)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1636, in _setitem_with_indexer
self._setitem_single_block(indexer, value, name)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1860, in _setitem_single_block
self.obj._mgr = self.obj._mgr.setitem(indexer=indexer, value=value)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 568, in setitem
return self.apply("setitem", indexer=indexer, value=value)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 427, in apply
applied = getattr(b, f)(**kwargs)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 1025, in setitem
values[indexer] = value
ValueError: shape mismatch: value array of shape (2,12) could not be broadcast to indexing result of shape (11,2)
```
#### Expected Output
Correct aggregation results shall be returned.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.3.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : zh_CN.UTF-8
pandas : 1.2.0
numpy : 1.19.1
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : 0.29.21
pytest : 6.0.1
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.17.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : 0.4.2
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : None
scipy : 1.5.0
sqlalchemy : 1.3.18
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
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/38774/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38774/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38775
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38775/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38775/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38775/events
|
https://github.com/pandas-dev/pandas/issues/38775
| 775,807,701
|
MDU6SXNzdWU3NzU4MDc3MDE=
| 38,775
|
Jinja2 error when trying to render a Pandas DataFrame to html from within a PyInstaller distribution
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26312908?v=4",
"events_url": "https://api.github.com/users/boazdori/events{/privacy}",
"followers_url": "https://api.github.com/users/boazdori/followers",
"following_url": "https://api.github.com/users/boazdori/following{/other_user}",
"gists_url": "https://api.github.com/users/boazdori/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/boazdori",
"id": 26312908,
"login": "boazdori",
"node_id": "MDQ6VXNlcjI2MzEyOTA4",
"organizations_url": "https://api.github.com/users/boazdori/orgs",
"received_events_url": "https://api.github.com/users/boazdori/received_events",
"repos_url": "https://api.github.com/users/boazdori/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/boazdori/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/boazdori/subscriptions",
"type": "User",
"url": "https://api.github.com/users/boazdori"
}
|
[
{
"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 | 4
| 2020-12-29T10:02:56Z
| 2020-12-29T12:48:09Z
| 2020-12-29T12:07:00Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
Yes
- [x] I have confirmed this bug exists on the latest version of pandas.
Yes
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
Yes
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
pandas-io-formats-style.py line 133
loader = jinja2.PackageLoader("pandas", "io/formats/templates")
env = jinja2.Environment(loader=loader, trim_blocks=True)
template = env.get_template("html.tpl")
```python
# Your code here
replaced the above lines with the following
import sys
if getattr(sys, 'frozen', False):
# we are running in a bundle
bundle_dir = sys._MEIPASS
loader = jinja2.FileSystemLoader(bundle_dir)
else:
loader = jinja2.PackageLoader("pandas", "io/formats/templates")
env = jinja2.Environment(loader=loader, trim_blocks=True)
template = env.get_template("html.tpl")
#### Problem description
When trying to package projects which include pandas and jinja2 with pyinstaller and running the produced exe we are getting the following error:
File "lib\site-packages\pandas\io\formats\style.py", line 62, in <module>
File "lib\site-packages\pandas\io\formats\style.py", line 135, in Styler
File "lib\site-packages\jinja2\environment.py", line 883, in get_template
File "lib\site-packages\jinja2\environment.py", line 857, in _load_template
File "lib\site-packages\jinja2\loaders.py", line 115, in load
File "lib\site-packages\jinja2\loaders.py", line 248, in get_source
jinja2.exceptions.TemplateNotFound: html.tpl
#### Expected Output
To run after compilation
#### Notes
If the code is replaced in pandas-io-formats-style.py line 133 as suggested above the problem is resolved.
See StackOverflow link below
[https://stackoverflow.com/questions/31259673/unable-to-include-jinja2-template-to-pyinstaller-distribution](URL)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38775/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38775/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38776
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38776/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38776/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38776/events
|
https://github.com/pandas-dev/pandas/pull/38776
| 775,840,897
|
MDExOlB1bGxSZXF1ZXN0NTQ2NDQzNzQ0
| 38,776
|
CI,STYLE: add spell check?
|
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2020-12-29T11:20:53Z
| 2020-12-29T17:03:13Z
| 2020-12-29T17:03:09Z
|
MEMBER
| null |
IIRC it was suggested in a comment some time ago to use a spell checker, so I thought I'd make a little PR showing how `codespell` would work (for now just applied to `pandas/core`).
Is this something we'd want? False positives can be ignored in `setup.cfg` in the `[codespell]` section
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38776/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38776/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38776.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38776",
"merged_at": "2020-12-29T17:03:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38776.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38776"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38777
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38777/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38777/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38777/events
|
https://github.com/pandas-dev/pandas/pull/38777
| 775,909,668
|
MDExOlB1bGxSZXF1ZXN0NTQ2NDk5NzI0
| 38,777
|
Backport PR #38766 on branch 1.2.x (BLD: fix build failure py3.9.1 on OSX)
|
{
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-29T14:06:02Z
| 2020-12-29T15:35:02Z
| 2020-12-29T15:35:02Z
|
NONE
| null |
Backport PR #38766: BLD: fix build failure py3.9.1 on OSX
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38777/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38777/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38777.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38777",
"merged_at": "2020-12-29T15:35:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38777.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38777"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38778
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38778/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38778/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38778/events
|
https://github.com/pandas-dev/pandas/issues/38778
| 775,926,743
|
MDU6SXNzdWU3NzU5MjY3NDM=
| 38,778
|
BUG: sum vs groupby.sum errors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31950195?v=4",
"events_url": "https://api.github.com/users/cipriantrofin/events{/privacy}",
"followers_url": "https://api.github.com/users/cipriantrofin/followers",
"following_url": "https://api.github.com/users/cipriantrofin/following{/other_user}",
"gists_url": "https://api.github.com/users/cipriantrofin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cipriantrofin",
"id": 31950195,
"login": "cipriantrofin",
"node_id": "MDQ6VXNlcjMxOTUwMTk1",
"organizations_url": "https://api.github.com/users/cipriantrofin/orgs",
"received_events_url": "https://api.github.com/users/cipriantrofin/received_events",
"repos_url": "https://api.github.com/users/cipriantrofin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cipriantrofin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cipriantrofin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cipriantrofin"
}
|
[
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 10
| 2020-12-29T14:41:19Z
| 2021-01-03T23:25:09Z
| 2021-01-03T23:25:09Z
|
NONE
| null |
[data_source.zip](https://github.com/pandas-dev/pandas/files/5750979/data_source.zip)
The attached data source is a subset of a larger set. I included just enough rows to show the error (when the datasource is larger, the difference of sums grows larger too).
#### Code Sample, a copy-pastable example
```
import pandas as pd
import numpy as np
pd.options.display.float_format = '{:.5f}'.format
df = pd.read_csv("data_source.csv", index_col = 0)
df.reset_index(inplace = True)
print ("Regular sum: %s\n" % df["rul_c"].sum())
print ("Regular sum on filtered column: %s\n" % df[df["cont"] == 20]["rul_c"].sum())
print ("GroupBy sum:\n%s" % df.groupby("cont")["rul_c"].sum())
```
#### Problem description
I know about floating point math and small associated "errors" but the "cont" column has an unique, not-null value, and this means all sums above should be the same (about 30880496049.43). However the groupby.sum is quite different from the expected result .45165.
The larger the dataset, the larger the difference.
```
Regular sum: 30880496049.429993
Regular sum on filtered column: 30880496049.429993
GroupBy sum:
cont
20 30880496049.45165
Name: rul_c, dtype: float64
```
#### Expected Output
All sums should be 30880496049.429993
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
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 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : Romanian_Romania.1252
pandas : 1.2.0
numpy : 1.19.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 47.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.3.4
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 : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 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 : 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/38778/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38778/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38779
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38779/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38779/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38779/events
|
https://github.com/pandas-dev/pandas/issues/38779
| 775,926,794
|
MDU6SXNzdWU3NzU5MjY3OTQ=
| 38,779
|
QST: Can I use pandas to do all jobs done by MS Office word/excel in work?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11155854?v=4",
"events_url": "https://api.github.com/users/hongyi-zhao/events{/privacy}",
"followers_url": "https://api.github.com/users/hongyi-zhao/followers",
"following_url": "https://api.github.com/users/hongyi-zhao/following{/other_user}",
"gists_url": "https://api.github.com/users/hongyi-zhao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongyi-zhao",
"id": 11155854,
"login": "hongyi-zhao",
"node_id": "MDQ6VXNlcjExMTU1ODU0",
"organizations_url": "https://api.github.com/users/hongyi-zhao/orgs",
"received_events_url": "https://api.github.com/users/hongyi-zhao/received_events",
"repos_url": "https://api.github.com/users/hongyi-zhao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongyi-zhao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongyi-zhao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongyi-zhao"
}
|
[
{
"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 |
[] |
{
"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-12-29T14:41:25Z
| 2020-12-29T17:35:47Z
| 2020-12-29T17:35:39Z
|
NONE
| null |
Hi,
I use Linux as my working environment exclusively. So, I can't access the native MS Office supplied for macOS/Windows. But I sometimes really need to manipulate and process MS Office documents, especially DOCX and XLSX files. Though there are some free and open source office suites, e.g. LibreOffice, but none of them can completely compatible with the MS Office.
So, I want to know whether I can use pandas to do any possible job done by MS Office word/excel in work programmatically? Any hints/notes/comments will be highly appreciated.
Regards,
HY
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38779/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38779/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38780
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38780/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38780/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38780/events
|
https://github.com/pandas-dev/pandas/pull/38780
| 775,935,515
|
MDExOlB1bGxSZXF1ZXN0NTQ2NTE5NDUz
| 38,780
|
Center rolling window for time offset
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/52446786?v=4",
"events_url": "https://api.github.com/users/luholgit/events{/privacy}",
"followers_url": "https://api.github.com/users/luholgit/followers",
"following_url": "https://api.github.com/users/luholgit/following{/other_user}",
"gists_url": "https://api.github.com/users/luholgit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/luholgit",
"id": 52446786,
"login": "luholgit",
"node_id": "MDQ6VXNlcjUyNDQ2Nzg2",
"organizations_url": "https://api.github.com/users/luholgit/orgs",
"received_events_url": "https://api.github.com/users/luholgit/received_events",
"repos_url": "https://api.github.com/users/luholgit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/luholgit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/luholgit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/luholgit"
}
|
[
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/52446786?v=4",
"events_url": "https://api.github.com/users/luholgit/events{/privacy}",
"followers_url": "https://api.github.com/users/luholgit/followers",
"following_url": "https://api.github.com/users/luholgit/following{/other_user}",
"gists_url": "https://api.github.com/users/luholgit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/luholgit",
"id": 52446786,
"login": "luholgit",
"node_id": "MDQ6VXNlcjUyNDQ2Nzg2",
"organizations_url": "https://api.github.com/users/luholgit/orgs",
"received_events_url": "https://api.github.com/users/luholgit/received_events",
"repos_url": "https://api.github.com/users/luholgit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/luholgit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/luholgit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/luholgit"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/52446786?v=4",
"events_url": "https://api.github.com/users/luholgit/events{/privacy}",
"followers_url": "https://api.github.com/users/luholgit/followers",
"following_url": "https://api.github.com/users/luholgit/following{/other_user}",
"gists_url": "https://api.github.com/users/luholgit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/luholgit",
"id": 52446786,
"login": "luholgit",
"node_id": "MDQ6VXNlcjUyNDQ2Nzg2",
"organizations_url": "https://api.github.com/users/luholgit/orgs",
"received_events_url": "https://api.github.com/users/luholgit/received_events",
"repos_url": "https://api.github.com/users/luholgit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/luholgit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/luholgit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/luholgit"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 14
| 2020-12-29T14:59:14Z
| 2021-04-13T12:11:23Z
| 2021-04-09T16:28:12Z
|
CONTRIBUTOR
| null |
- [x] closes #20012
- [x] tests added / passed
- [x] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Added center functionality for `VariableWindowIndexer`. Note - I am unsure if the NotImplementedError in lines 1966-1969 in rolling.py still correctly raises an error for offset based windows.
Finalizes previous PR https://github.com/pandas-dev/pandas/pull/36097
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38780/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38780/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38780.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38780",
"merged_at": "2021-04-09T16:28:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38780.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38780"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38781
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38781/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38781/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38781/events
|
https://github.com/pandas-dev/pandas/issues/38781
| 775,956,004
|
MDU6SXNzdWU3NzU5NTYwMDQ=
| 38,781
|
DOC: Undocumented change in .isin behavior from 1.1.5 to 1.2.0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/28559054?v=4",
"events_url": "https://api.github.com/users/StefanBRas/events{/privacy}",
"followers_url": "https://api.github.com/users/StefanBRas/followers",
"following_url": "https://api.github.com/users/StefanBRas/following{/other_user}",
"gists_url": "https://api.github.com/users/StefanBRas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/StefanBRas",
"id": 28559054,
"login": "StefanBRas",
"node_id": "MDQ6VXNlcjI4NTU5MDU0",
"organizations_url": "https://api.github.com/users/StefanBRas/orgs",
"received_events_url": "https://api.github.com/users/StefanBRas/received_events",
"repos_url": "https://api.github.com/users/StefanBRas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/StefanBRas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/StefanBRas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/StefanBRas"
}
|
[
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 9
| 2020-12-29T15:40:50Z
| 2021-01-17T15:36:01Z
| 2021-01-17T15:36:01Z
|
NONE
| null |
#### Location of the documentation
https://pandas.pydata.org/docs/whatsnew/v1.2.0.html
#### Documentation problem
There seems to be an undocumented change with how `isin` works.
pandas 1.1.5:
```python
import pandas as pd
pd.Series([0]).isin(['0'])
# 0 True
# dtype: bool
pd.Series([1]).isin(['1'])
# 0 True
# dtype: bool
pd.Series([1.1]).isin(['1.1'])
# 0 True
# dtype: bool
```
But in pandas 1.2.0 (and 1.2.0rc):
```python
import pandas as pd
pd.Series([0]).isin(['0'])
# 0 False
# dtype: bool
pd.Series([1]).isin(['1'])
# 0 False
# dtype: bool
pd.Series([1.1]).isin(['1.1'])
# 0 False
# dtype: bool
```
But the release notes mentions nothing about it.
I have not posted this issue as an bug, because I think the newer implementation is the better implementation.
However I propose adding the change to the release notes for other people like me where the change broke tests in a pipeline.
#### Suggested fix for documentation
Add a line mentioning that `isin` no longer returns true when comparing floats to a string of the float.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38781/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38781/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38782
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38782/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38782/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38782/events
|
https://github.com/pandas-dev/pandas/pull/38782
| 775,980,781
|
MDExOlB1bGxSZXF1ZXN0NTQ2NTUzNzgz
| 38,782
|
BUG: inspect.getmembers(Series)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "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": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2020-12-29T16:33:01Z
| 2021-02-08T17:23:38Z
| 2021-02-07T16:44:02Z
|
CONTRIBUTOR
| null |
Make `inspect.getmembers(Series)` work, previously raised an `AbstractMethodError`.
xref: #38740
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38782/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38782/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38782.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38782",
"merged_at": "2021-02-07T16:44:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38782.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38782"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38783
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38783/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38783/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38783/events
|
https://github.com/pandas-dev/pandas/pull/38783
| 776,013,692
|
MDExOlB1bGxSZXF1ZXN0NTQ2NTc3MjIz
| 38,783
|
TYP: ExtensionIndex
|
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-29T17:44:25Z
| 2020-12-29T20:33:09Z
| 2020-12-29T20:29:47Z
|
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/38783/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38783/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38783.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38783",
"merged_at": "2020-12-29T20:29:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38783.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38783"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/38784
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38784/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38784/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38784/events
|
https://github.com/pandas-dev/pandas/pull/38784
| 776,040,215
|
MDExOlB1bGxSZXF1ZXN0NTQ2NTk4MDMx
| 38,784
|
Backport PR #38737 on branch 1.2.x (BUG/REG: RollingGroupby MultiIndex levels dropped)
|
{
"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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 7
| 2020-12-29T18:56:53Z
| 2020-12-31T14:38:28Z
| 2020-12-31T14:38:28Z
|
NONE
| null |
Backport PR #38737: BUG/REG: RollingGroupby MultiIndex levels dropped
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38784/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38784/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38784.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38784",
"merged_at": "2020-12-31T14:38:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38784.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38784"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38785
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38785/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38785/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38785/events
|
https://github.com/pandas-dev/pandas/issues/38785
| 776,042,643
|
MDU6SXNzdWU3NzYwNDI2NDM=
| 38,785
|
BUG: Series.apply with DatetimeTZDtype passes DatetimeIndex to UDF
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26069306?v=4",
"events_url": "https://api.github.com/users/mikeronayne/events{/privacy}",
"followers_url": "https://api.github.com/users/mikeronayne/followers",
"following_url": "https://api.github.com/users/mikeronayne/following{/other_user}",
"gists_url": "https://api.github.com/users/mikeronayne/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mikeronayne",
"id": 26069306,
"login": "mikeronayne",
"node_id": "MDQ6VXNlcjI2MDY5MzA2",
"organizations_url": "https://api.github.com/users/mikeronayne/orgs",
"received_events_url": "https://api.github.com/users/mikeronayne/received_events",
"repos_url": "https://api.github.com/users/mikeronayne/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mikeronayne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mikeronayne/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mikeronayne"
}
|
[
{
"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 | 1
| 2020-12-29T19:03:54Z
| 2021-01-04T21:16:22Z
| 2021-01-04T21:16:22Z
|
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.
---
#### Problem description
Calling `.apply` on a `Series` of `DatetimeTZDtype` passes the data as a `DatetimeIndex` to the user-supplied function, instead of each value of the `Series` individually.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
def f(val):
print(f"Function received: {val}\n")
return val
s = pd.Series([pd.Timestamp.utcnow()])
new_s = s.apply(f)
print(new_s)
```
#### Actual Output
```
Function received: DatetimeIndex(['2020-12-29 18:48:48.688326+00:00'], dtype='datetime64[ns, UTC]', freq=None)
0 2020-12-29 18:48:48.688326+00:00
dtype: datetime64[ns, UTC]
```
Interestingly, if `f` returns `None`, then `apply` will first pass the `Series` as a `DatetimeIndex`, then it passes the actual `Timestamp`. The return value of that `apply` is still a length-1 `Series` (whose one value is `None`), not a length-2 `Series` with two `None` values.
#### Expected Output
```
Function received: 2020-12-29 18:48:48.688326+00:00
0 2020-12-29 18:48:48.688326+00:00
dtype: datetime64[ns, UTC]
```
**NOTE: If the `Series` is created with `pd.Timestamp.now()` (not UTC), then we get the expected behavior.**
#### Why this is a problem
Users write their `apply` functions with the expectation that it will receive the values of the `Series` one by one. This leads to errors when operations are applied to the received value that do not work on a `DatetimeIndex`, but would work on a `Timestamp`.
Additionally, users do not expect different behavior from the `apply` function based on whether their data has time zone information or not.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.0
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : None
pytest : 6.0.1
hypothesis : None
sphinx : 3.3.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 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/38785/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38785/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38786
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38786/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38786/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38786/events
|
https://github.com/pandas-dev/pandas/issues/38786
| 776,062,770
|
MDU6SXNzdWU3NzYwNjI3NzA=
| 38,786
|
COMPAT: a xfailed test in `tests/scalar/timedelta/test_arithmetic.py` has passed on Apple M1 machine
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "0DF09E",
"default": false,
"description": "Related to Mac OS & hardware issues (M1)",
"id": 3260433562,
"name": "OS X",
"node_id": "MDU6TGFiZWwzMjYwNDMzNTYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/OS%20X"
}
] |
open
| false
| null |
[] | null | 0
| 2020-12-29T20:00:53Z
| 2021-08-14T22:43:24Z
| null |
MEMBER
| null |
xref #31992
The exact test is `pandas/tests/scalar/timedelta/test_arithmetic.py::TestTimedeltaMultiplicationDivision::test_td_div_nan[nan1]`
This test should only pass on py39.
I built numpy from source since `pip install numpy` doesn't work on Apple M1 machine yet. It might be specific for numpy dev build for arm64.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5a6a0f7d2c7c16d6379fc3f903152d99058d6ec5
python : 3.8.2.final.0
python-bits : 64
OS : Darwin
OS-release : 20.2.0
Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
machine : arm64
processor : arm
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0.dev0+232.g5a6a0f7d2.dirty
numpy : 1.21.0.dev0+384.g717df4e93
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 41.2.0
Cython : 0.29.21
pytest : 6.2.1
hypothesis : 5.43.4
</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/38786/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38786/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38787
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38787/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38787/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38787/events
|
https://github.com/pandas-dev/pandas/issues/38787
| 776,065,367
|
MDU6SXNzdWU3NzYwNjUzNjc=
| 38,787
|
API: Preferred MultiIndex result for groupby().rolling() for an object with a MultiIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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"
},
{
"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": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"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.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
}
| 8
| 2020-12-29T20:08:08Z
| 2021-04-05T16:22:13Z
| 2021-04-05T16:22:13Z
|
MEMBER
| null |
`groupby().rolling()` in master currently constructs the resulting `MultiIndex` manually by inserting `groupby` keys as the first level(s) and then the original object's `Index` as the second level(s).
However, `groupby().rolling()` behaves similarly to `groupby().transform()` (i.e. maintains the original shape), so should the resulting index align with results of `groupby().transform()`?
```
In [4]: pd.__version__
Out[4]: '1.3.0.dev0+238.g1d196295c'
In [6]: df = pd.DataFrame({'a': [1], 'b': [2]})
In [7]: df
Out[7]:
a b
0 1 2
# Example of the original DataFrame having a regular Index
In [8]: df.groupby('a').rolling(1).sum()
Out[8]:
a b
a
1 0 1.0 2.0
In [16]: df.groupby('a').transform(lambda x: np.sum(x))
Out[16]:
b
0 2
In [9]: df = pd.DataFrame({'a': [1], 'b': [2]}, index=pd.MultiIndex.from_tuples([('idx1', 'idx2')], names=['label1', 'label2']))
In [9]: df
Out[9]:
a b
label1 label2
idx1 idx2 1 2
# Examples of the original DataFrame having a MultiIndex
In [10]: df.groupby('label1').rolling(1).sum()
Out[10]:
a b
label1 label1 label2
idx1 idx1 idx2 1.0 2.0
In [20]: df.groupby('label1').transform(lambda x: np.sum(x))
Out[20]:
a b
label1 label2
idx1 idx2 1 2
In [11]: df.groupby('a').rolling(1).sum()
Out[11]:
a b
a label1 label2
1 idx1 idx2 1.0 2.0
In [21]: df.groupby('a').transform(lambda x: np.sum(x))
Out[21]:
b
label1 label2
idx1 idx2 2
In [12]: df.groupby(['label1', 'a']).rolling(1).sum()
Out[12]:
b
label1 a label1 label2
idx1 1 idx1 idx2 2.0
In [22]: df.groupby(['label1', 'a']).transform(lambda x: np.sum(x))
Out[22]:
b
label1 label2
idx1 idx2 2
```
As shown, when the original object as a `MultiIndex`, there is consistency of the resulting `MultiIndex` for the `groupby().rolling()` result but can lead to redundancy. There is lack of consistency of the resulting `MultiIndex` for the `groupby().transform()` result but looks more convenient.
IMO I prefer the consistent result we have today in `groupby().rolling()` but open to thoughts.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38787/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38787/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38788
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38788/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38788/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38788/events
|
https://github.com/pandas-dev/pandas/issues/38788
| 776,081,804
|
MDU6SXNzdWU3NzYwODE4MDQ=
| 38,788
|
BUG: read_excel throws FileNotFoundError with s3fs objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40869489?v=4",
"events_url": "https://api.github.com/users/likealostcause/events{/privacy}",
"followers_url": "https://api.github.com/users/likealostcause/followers",
"following_url": "https://api.github.com/users/likealostcause/following{/other_user}",
"gists_url": "https://api.github.com/users/likealostcause/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/likealostcause",
"id": 40869489,
"login": "likealostcause",
"node_id": "MDQ6VXNlcjQwODY5NDg5",
"organizations_url": "https://api.github.com/users/likealostcause/orgs",
"received_events_url": "https://api.github.com/users/likealostcause/received_events",
"repos_url": "https://api.github.com/users/likealostcause/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/likealostcause/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/likealostcause/subscriptions",
"type": "User",
"url": "https://api.github.com/users/likealostcause"
}
|
[
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 3
| 2020-12-29T20:53:12Z
| 2020-12-30T21:12:30Z
| 2020-12-30T21:12:30Z
|
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
I get a FileNotFoundError when running the following code:
```python
import pandas as pd
import s3fs
fs = s3fs.S3FileSystem()
with fs.open('s3://bucket_name/filename.xlsx') as f:
pd.read_excel(f)
# NOTE: pd.ExcelFile(f) throws same error
```
```python-traceback
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/home/airflow/GVIP/venv/lib/python3.8/site-packages/pandas/util/_decorators.py", line 299, in wrapper
return func(*args, **kwargs)
File "/home/airflow/GVIP/venv/lib/python3.8/site-packages/pandas/io/excel/_base.py", line 336, in read_excel
io = ExcelFile(io, storage_options=storage_options, engine=engine)
File "/home/airflow/GVIP/venv/lib/python3.8/site-packages/pandas/io/excel/_base.py", line 1062, in __init__
ext = inspect_excel_format(
File "/home/airflow/GVIP/venv/lib/python3.8/site-packages/pandas/io/excel/_base.py", line 938, in inspect_excel_format
with get_handle(
File "/home/airflow/GVIP/venv/lib/python3.8/site-packages/pandas/io/common.py", line 648, in get_handle
handle = open(handle, ioargs.mode)
FileNotFoundError: [Errno 2] No such file or directory: '<File-like object S3FileSystem, bucket_name/filename.xlsx>'
```
#### Problem description
I should be able to read in the File-like object from s3fs when using `pd.read_excel` or `pd.ExcelFile`. Pandas 1.1.x allows for this, but it looks like changes to `pd.io.common.get_handle` in 1.2 have made this impossible. The simple workaround for this is to just use the s3 URI instead of using `s3fs` to open it first, but to my knowledge, the ability to use `read_excel` with an s3fs object was not intended to be deprecated in 1.2.
#### My noob guess on what's going wrong
I'm new to contributing to open source projects, so I don't know exactly how to fix this, but it looks like the issue is that the `pd.io.common.get_handle` method in 1.2 thinks the s3fs object is a file handle rather than a file-like buffer. To solve this, I would think something similar to the [`need_text_wrapping` boolean option](https://github.com/pandas-dev/pandas/blob/1.1.x/pandas/io/common.py#L503) from the `get_handle` method in 1.1.x needs to be added to 1.2's `get_handle` in order to tell pandas that the s3fs object needs a TextIOWrapper rather than treating it like a local file handle.
If someone could give me a little guidance on how to fix this, I'd be happy to give my first open-source contribution a go, but if that's not really how this works, I understand.
#### Expected Output
<class 'pandas.core.frame.DataFrame'>
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.0.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0-197-generic
Version : #229-Ubuntu SMP Wed Nov 25 11:05:42 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.2.0
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.3.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.5
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : 0.5.2
scipy : 1.5.4
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/38788/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38788/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38789
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38789/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38789/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38789/events
|
https://github.com/pandas-dev/pandas/pull/38789
| 776,084,361
|
MDExOlB1bGxSZXF1ZXN0NTQ2NjMzODg1
| 38,789
|
BUG: Fix precise_xstrtod segfault on long exponent
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"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_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "36ede0",
"default": false,
"description": "Non-Recoverable Error",
"id": 1121248195,
"name": "Segfault",
"node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 4
| 2020-12-29T21:00:46Z
| 2020-12-30T18:54:26Z
| 2020-12-30T18:41:00Z
|
MEMBER
| null |
- [x] closes #38753
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
@snowman2 can you check if this branch returns behavior to what you had before 1.2?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38789/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38789/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38789.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38789",
"merged_at": "2020-12-30T18:40:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38789.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38789"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38790
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38790/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38790/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38790/events
|
https://github.com/pandas-dev/pandas/pull/38790
| 776,127,505
|
MDExOlB1bGxSZXF1ZXN0NTQ2NjY5MTc2
| 38,790
|
Backport PR #38649 on branch 1.2.x (BUG: Fix regression for groupby.indices in case of unused categories)
|
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-29T23:16:53Z
| 2020-12-30T11:11:20Z
| 2020-12-30T11:11:20Z
|
NONE
| null |
Backport PR #38649: BUG: Fix regression for groupby.indices in case of unused categories
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38790/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38790/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38790.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38790",
"merged_at": "2020-12-30T11:11:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38790.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38790"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38791
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38791/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38791/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38791/events
|
https://github.com/pandas-dev/pandas/pull/38791
| 776,159,709
|
MDExOlB1bGxSZXF1ZXN0NTQ2Njk0NzI4
| 38,791
|
BUG: Categorical with non-nano dt64
|
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-30T01:49:07Z
| 2020-12-30T15:42:28Z
| 2020-12-30T13:35:00Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Fixes the flaky xfails in test_drop_duplicates
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38791/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38791/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38791.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38791",
"merged_at": "2020-12-30T13:35:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38791.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38791"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38792
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38792/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38792/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38792/events
|
https://github.com/pandas-dev/pandas/pull/38792
| 776,168,032
|
MDExOlB1bGxSZXF1ZXN0NTQ2NzAxMjc5
| 38,792
|
BUG: DataFrame(dt64data, dtype=td64) corner cases
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2020-12-30T02:29:39Z
| 2021-01-01T02:04:12Z
| 2020-12-31T23:49:08Z
|
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/38792/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38792/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38792.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38792",
"merged_at": "2020-12-31T23:49:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38792.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38792"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38793
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38793/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38793/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38793/events
|
https://github.com/pandas-dev/pandas/pull/38793
| 776,169,542
|
MDExOlB1bGxSZXF1ZXN0NTQ2NzAyNDYz
| 38,793
|
REF: implement array_algos.putmask
|
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-12-30T02:37:19Z
| 2020-12-30T20:03:18Z
| 2020-12-30T19:58:14Z
|
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/38793/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38793/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38793.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38793",
"merged_at": "2020-12-30T19:58:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38793.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38793"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38794
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38794/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38794/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38794/events
|
https://github.com/pandas-dev/pandas/issues/38794
| 776,170,410
|
MDU6SXNzdWU3NzYxNzA0MTA=
| 38,794
|
BUG: read_csv (c engine, round_trip precision) platform inconsistency with large exponents
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "f9c1b1",
"default": false,
"description": "Linux OS",
"id": 1233745380,
"name": "Linux",
"node_id": "MDU6TGFiZWwxMjMzNzQ1Mzgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Linux"
},
{
"color": "0DF09E",
"default": false,
"description": "Related to Mac OS & hardware issues (M1)",
"id": 3260433562,
"name": "OS X",
"node_id": "MDU6TGFiZWwzMjYwNDMzNTYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/OS%20X"
}
] |
open
| false
| null |
[] | null | 1
| 2020-12-30T02:41:40Z
| 2021-08-23T04:04:43Z
| null |
MEMBER
| null |
On OS X
```python
data = io.StringIO("data\n10E999")
pd.read_csv(data, engine="c", float_precision="round_trip")
```
gives
```
data
0 inf
```
But on Linux this gives
```
data
0 10E999
```
Is this expected for any reason?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38794/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38794/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38795
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38795/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38795/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38795/events
|
https://github.com/pandas-dev/pandas/issues/38795
| 776,175,180
|
MDU6SXNzdWU3NzYxNzUxODA=
| 38,795
|
BUG: pd.testing.makeMultiIndex ignores k parameter
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24571294?v=4",
"events_url": "https://api.github.com/users/ShreyasPatel031/events{/privacy}",
"followers_url": "https://api.github.com/users/ShreyasPatel031/followers",
"following_url": "https://api.github.com/users/ShreyasPatel031/following{/other_user}",
"gists_url": "https://api.github.com/users/ShreyasPatel031/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShreyasPatel031",
"id": 24571294,
"login": "ShreyasPatel031",
"node_id": "MDQ6VXNlcjI0NTcxMjk0",
"organizations_url": "https://api.github.com/users/ShreyasPatel031/orgs",
"received_events_url": "https://api.github.com/users/ShreyasPatel031/received_events",
"repos_url": "https://api.github.com/users/ShreyasPatel031/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShreyasPatel031/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShreyasPatel031/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShreyasPatel031"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/24571294?v=4",
"events_url": "https://api.github.com/users/ShreyasPatel031/events{/privacy}",
"followers_url": "https://api.github.com/users/ShreyasPatel031/followers",
"following_url": "https://api.github.com/users/ShreyasPatel031/following{/other_user}",
"gists_url": "https://api.github.com/users/ShreyasPatel031/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShreyasPatel031",
"id": 24571294,
"login": "ShreyasPatel031",
"node_id": "MDQ6VXNlcjI0NTcxMjk0",
"organizations_url": "https://api.github.com/users/ShreyasPatel031/orgs",
"received_events_url": "https://api.github.com/users/ShreyasPatel031/received_events",
"repos_url": "https://api.github.com/users/ShreyasPatel031/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShreyasPatel031/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShreyasPatel031/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShreyasPatel031"
}
] | null | 3
| 2020-12-30T03:04:47Z
| 2021-09-23T22:23:57Z
| null |
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
assert len(pd.testing.makeMultiIndex(k=10)) == 4
```
https://github.com/pandas-dev/pandas/blob/0976c4ca0276a333346619c5a9e3c92631ec7006/pandas/_testing/__init__.py#L491-L492
#### Problem description
All other `testing.make*Index` methods take a parameter `k` which lets you specify the length. `makeMultiIndex` explicitly takes this parameter but does nothing with it.
#### Expected Output
```python
assert len(pd.testing.makeMultiIndex(k=10)) == 10
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38795/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38795/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38796
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38796/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38796/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38796/events
|
https://github.com/pandas-dev/pandas/pull/38796
| 776,175,638
|
MDExOlB1bGxSZXF1ZXN0NTQ2NzA3Mjcz
| 38,796
|
BUG: GH38672 SeriesGroupBy.value_counts for categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51399800?v=4",
"events_url": "https://api.github.com/users/venaturum/events{/privacy}",
"followers_url": "https://api.github.com/users/venaturum/followers",
"following_url": "https://api.github.com/users/venaturum/following{/other_user}",
"gists_url": "https://api.github.com/users/venaturum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/venaturum",
"id": 51399800,
"login": "venaturum",
"node_id": "MDQ6VXNlcjUxMzk5ODAw",
"organizations_url": "https://api.github.com/users/venaturum/orgs",
"received_events_url": "https://api.github.com/users/venaturum/received_events",
"repos_url": "https://api.github.com/users/venaturum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/venaturum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/venaturum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/venaturum"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2020-12-30T03:06:51Z
| 2020-12-31T22:09:33Z
| 2020-12-31T16:41:17Z
|
CONTRIBUTOR
| null |
Unobserved categories in Series were being dropped in value_counts, which was inconsistent with Series.value_counts
- [x] closes #38672
- [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/38796/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38796/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38796.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38796",
"merged_at": "2020-12-31T16:41:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38796.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38796"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38797
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38797/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38797/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38797/events
|
https://github.com/pandas-dev/pandas/issues/38797
| 776,272,674
|
MDU6SXNzdWU3NzYyNzI2NzQ=
| 38,797
|
API/ ENH: Unambiguous indexing should be allowed, even if duplicates are present
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] |
open
| false
| null |
[] | null | 2
| 2020-12-30T05:27:56Z
| 2021-08-14T22:45:44Z
| null |
CONTRIBUTOR
| null |
### Is your feature request related to a problem?
While working on #38745, I was expecting this to be allowed:
```python
import pandas as pd
result = pd.concat(
[
pd.Series(0, index=[0, 0, 1, 2]),
pd.Series(1, index=[1, 2]),
],
join="inner",
)
expected = pd.DataFrame({0: [0, 0], 1: [1, 1]}, index=[1, 2])
pd.testing.assert_frame_equal(result, expected)
```
Because the intersection of those indices is well defined. However, it turns out this does not work – `pd.concat` errors – and has not worked recently (v1.1.5). This is related to allowing `.get_indexer` when result is uniquely specified (#38773), but I'll go into that more below.
### Describe the solution you'd like
I would like this to work.
I think this would also require these to work (they currently error):
```python
pd.Series(np.arange(4), index=[0, 0, 1, 2]).reindex([1, 2])
pd.Index([0, 0, 1, 2]).get_index([1, 2])
```
This could coincide with better error messages when the results are ambiguous, e.g. `DuplicateLabelErrors` where the duplicates are explicitly named.
### API breaking implications
I think this is a subtle change to the API, which should not break much. It mostly will turn some errors into working cases, but those cases should have unambiguous results.
I'd divide the behaviour changes into indexing and API functions. These indexing functions would change:
* `Index.get_indexer`
* `obj.reindex`
* `obj.reindex_like`
These API functions would change, though any function which relied on returning results from the intersection of indices could be affected.
* `pd.concat(..., join="inner")`
* `pd.crosstab`
### Describe alternatives you've considered
* There could be no change, and continue to error. Maybe it's better to just encourage unique indices in all cases. But sometimes duplicates do happen.
* There could be some changes (e.g. only change this for `pd.concat`, make it handle the indices)
It could continue to be an error. It was an error in 1.1.5, and is currently.
### Additional context
The exact behavior of combining indices with set operations seems to have a long history here, so I cannot provide a full context. I will go into detail about a bit of history I've come across while looking into this issue.
#### `join="inner"` (Specific to `concat`)
It is a bit strange that the `concat(..., join="inner")` gets the intersection of the indices, when an inner join would be a bit different. [It's documented](https://pandas.pydata.org/docs/user_guide/merging.html#concatenating-objects) that `concat` uses set operations on the "other axis", so I don't think this is a huge issue. the value `"inner"` does suggest different behaviour, where duplicates would always be allowed.
I think this has been a source of confusion on `concat`s handling of duplicates (#36263). With set operations, there's no way to handle duplicates (unless we take some other definition of set (https://github.com/pandas-dev/pandas/issues/6963#issuecomment-573556670)). With joins, you'll be taking the cross product (which is often undesirable #36290).
#### Performance
There should only be a performance penalty when:
* There are duplicated indices, so we need to check if they would be in the result
* This may happen multiple times. In concat it would happen once when intersecting indices, and again with `get_index`. Is this so bad? Alternatively, there could be an "unsafe `get_indexer/ reindex` where the user promises the passed index has a unique solution, and no check occurs.
* Checks if indexes are unique, which are cached. Wouldn't be necessary to check when `allows_duplicate_labels=False`.
#### `.reindex`, `.get_index`
Ultimately, I think this is an issue about what operations are unambiguous when there are duplicate values on the indices. Because of this, there may need to be other changes in behaviour this request consistent with the rest of library and reasonable to implement. For instance:
```python
s1 = pd.Series(0, index=[0, 0, 1, 2])
s2 = pd.Series(1, index=[1, 2])
shared_indices = s1.index.intersection(s2.index)
s1.reindex(shared_indices) # This currently errors
```
This currently errors, since the behaviour follows this logic (stated in #28257):
> ... `.reindex` should allow targets to be duplicated but not the sources. However, currently in allows the source to be duplicated but not the targets, which is exactly the wrong behaviour.
This is a bit similar to this statement (#8849):
> I propose that when a series has a duplicate index, the method reindex should always raise an exception, because when a series with a duplicate index is to be conformed to a new index, the intended behaviour is always ambiguous.
I think neither is quite right. I think that `reindex`, `get_index`, etc. should allow any operation where the result is uniquely defined. If the source has duplicates, and the target includes those duplicates, the result is ambiguous. If the source has duplicates, but the target does not contain them, the result is uniquely specified.
```python
# ambiguous, should not be allowed
pd.Index([0, 0, 1, 2]).get_index([0, 1])
# unambiguous, should be allowed
pd.Index([0, 0, 1, 2]).get_index([1, 2])
```
#### Additional example with `pd.crosstab`
Current behaviour of `pd.crosstab`
```python
pd.crosstab(
pd.Series(np.arange(4), index=[0, 1, 1, 2]),
pd.Series(np.arange(2), index=[0, 2]),
)
# ValueError: cannot reindex from a duplicate axis
pd.crosstab(
pd.Series(np.arange(4), index=[0, 1, 1, 2]),
pd.Series(np.arange(2), index=[3, 4]),
)
# Empty DataFrame
# Columns: []
# Index: []
```
This proposal would also allow the first example to work, resulting in:
```
col_0 0 1
row_0
0 1 0
3 0 1
```
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38797/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38797/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38798
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38798/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38798/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38798/events
|
https://github.com/pandas-dev/pandas/issues/38798
| 776,288,819
|
MDU6SXNzdWU3NzYyODg4MTk=
| 38,798
|
BUG: Series constructor with nullable unsigned integer dtype fails with large number
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
},
{
"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 | 5
| 2020-12-30T06:22:36Z
| 2021-06-08T16:47:24Z
| null |
MEMBER
| null |
xref #38746
The following runs fine:
``` python
In [30]: s = pd.Series([np.iinfo(np.uint64).max-1, 1], dtype="uint64")
In [31]: s
Out[31]:
0 18446744073709551614
1 1
dtype: uint64
```
but with the equivalent extension dtype the constructor throws:
```python
In [29]: s = pd.Series([np.iinfo(np.uint64).max-1, 1], dtype="UInt64")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/repos/pandas/pandas/core/arrays/integer.py in safe_cast(values, dtype, copy)
100 try:
--> 101 return values.astype(dtype, casting="safe", copy=copy)
102 except TypeError as err:
TypeError: Cannot cast array data from dtype('float64') to dtype('uint64') according to the rule 'safe'
The above exception was the direct cause of the following exception:
TypeError Traceback (most recent call last)
<ipython-input-29-7fde9ec5cff9> in <module>
----> 1 s = pd.Series([np.iinfo(np.uint64).max-1, 1], dtype="UInt64")
~/repos/pandas/pandas/core/series.py in __init__(self, data, index, dtype, name, copy, fastpath)
339 data = data.copy()
340 else:
--> 341 data = sanitize_array(data, index, dtype, copy, raise_cast_failure=True)
342
343 data = SingleBlockManager.from_array(data, index)
~/repos/pandas/pandas/core/construction.py in sanitize_array(data, index, dtype, copy, raise_cast_failure)
485
486 if dtype is not None:
--> 487 subarr = _try_cast(data, dtype, copy, raise_cast_failure)
488 else:
489 subarr = maybe_convert_platform(data)
~/repos/pandas/pandas/core/construction.py in _try_cast(arr, dtype, copy, raise_cast_failure)
594 # SparseDtype does not
595 array_type = dtype.construct_array_type()._from_sequence
--> 596 subarr = array_type(arr, dtype=dtype, copy=copy)
597 return subarr
598
~/repos/pandas/pandas/core/arrays/integer.py in _from_sequence(cls, scalars, dtype, copy)
307 cls, scalars, *, dtype=None, copy: bool = False
308 ) -> "IntegerArray":
--> 309 values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy)
310 return IntegerArray(values, mask)
311
~/repos/pandas/pandas/core/arrays/integer.py in coerce_to_array(values, dtype, mask, copy)
204 values = safe_cast(values, dtype, copy=False)
205 else:
--> 206 values = safe_cast(values, dtype, copy=False)
207
208 return values, mask
~/repos/pandas/pandas/core/arrays/integer.py in safe_cast(values, dtype, copy)
106 return casted
107
--> 108 raise TypeError(
109 f"cannot safely cast non-equivalent {values.dtype} to {np.dtype(dtype)}"
110 ) from err
TypeError: cannot safely cast non-equivalent float64 to uint64
```
|
{
"+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/38798/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38798/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38799
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38799/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38799/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38799/events
|
https://github.com/pandas-dev/pandas/pull/38799
| 776,343,445
|
MDExOlB1bGxSZXF1ZXN0NTQ2ODU2ODk4
| 38,799
|
TST: Add hook for Disallow bare pytest.raises
|
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2020-12-30T08:51:07Z
| 2021-01-05T16:56:39Z
| 2021-01-03T21:05:46Z
|
MEMBER
| null |
xref #30999
Adding a hook with lots of excluded folders (for now), this can be made stricter as we go along, there's not that much left
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38799/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38799/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38799.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38799",
"merged_at": "2021-01-03T21:05:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38799.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38799"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38800
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38800/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38800/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38800/events
|
https://github.com/pandas-dev/pandas/pull/38800
| 776,381,657
|
MDExOlB1bGxSZXF1ZXN0NTQ2ODg3MjM3
| 38,800
|
TST: GH30999 Add match=msg to all pytest.raises in pandas/tests/reshape
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "eb6420",
"default": false,
"description": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2020-12-30T10:21:53Z
| 2020-12-30T13:33:42Z
| 2020-12-30T13:33:38Z
|
MEMBER
| null |
This pull request partially addresses xref #30999 to remove bare pytest.raises by adding match=msg. It doesn't close that issue as I have only addressed test modules in the pandas/tests/reshape/ directory.
This one was super simple. Fixed 5 bare pytest.raises and didn't do anything complicated or controversial.
- [ ] 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/38800/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38800/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38800.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38800",
"merged_at": "2020-12-30T13:33:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38800.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38800"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38801
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38801/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38801/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38801/events
|
https://github.com/pandas-dev/pandas/issues/38801
| 776,386,360
|
MDU6SXNzdWU3NzYzODYzNjA=
| 38,801
|
BUG: pandas 1.2.0 and Pyarrow [0.16.0, 1.0.0) are incompatible for some column types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31668251?v=4",
"events_url": "https://api.github.com/users/ADraginda/events{/privacy}",
"followers_url": "https://api.github.com/users/ADraginda/followers",
"following_url": "https://api.github.com/users/ADraginda/following{/other_user}",
"gists_url": "https://api.github.com/users/ADraginda/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ADraginda",
"id": 31668251,
"login": "ADraginda",
"node_id": "MDQ6VXNlcjMxNjY4MjUx",
"organizations_url": "https://api.github.com/users/ADraginda/orgs",
"received_events_url": "https://api.github.com/users/ADraginda/received_events",
"repos_url": "https://api.github.com/users/ADraginda/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ADraginda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ADraginda/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ADraginda"
}
|
[
{
"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": "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": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 2
| 2020-12-30T10:32:34Z
| 2021-01-05T12:23:29Z
| 2021-01-05T12:23:29Z
|
CONTRIBUTOR
| null |
#35259 added optional importing from pyarrow. The currently listed minimum version of pyarrow is 0.15.1, and the logic of said PR guards against importing attributes from `pyarrow.compute` because it is not available in 0.15.1
Problem: pyarrow added the compute module in [0.16.0](https://github.com/apache/arrow/commit/27dded680e84f1a628de1bddff1f4eb62fbc5887#diff-3d08757408024228c4443730cc3536ab39c9436cd2e4cb63e5da34c69c18962f) but attributes imported by pandas are not available in that module until [1.0.0](https://github.com/apache/arrow/commit/dcd17bf36e0f7b18e8b8f466ed2cb3eb396955d8#diff-3d08757408024228c4443730cc3536ab39c9436cd2e4cb63e5da34c69c18962f)
Therefore: with pandas 1.2.0 and merging a DataFrame (with an Array String column?) :
| Pyarrow Version | Behavior |
| -------------: | ----- |
| not installed | works |
| < 0.15.1 | not supported |
| [0.15.1, 0.16.0). | works (pyarrow.compute.equal not used?) |
| [0.16.0, 1.0.0) | ArgumentError |
| [1.0.0, 2.0.0 (latest)] | works (using pyarrow.compute.equal) |
Adding another try/except around the comparison functions in pandas [string_arrow.py](https://github.com/pandas-dev/pandas/blob/master/pandas/core/arrays/string_arrow.py#L39) will change the table of functionality to:
| Pyarrow Version | Behavior |
| -------------: | ----- |
| not installed | works |
| < 0.15.1 | not supported |
| [0.15.1, 1.0.0). | works (pyarrow.compute.equal not used?) |
| [1.0.0, 2.0.0 (latest)] | works (using pyarrow.compute.equal) |
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38801/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38801/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38802
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38802/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38802/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38802/events
|
https://github.com/pandas-dev/pandas/issues/38802
| 776,391,953
|
MDU6SXNzdWU3NzYzOTE5NTM=
| 38,802
|
CI/STYLE extend codespell beyond pandas/core
|
{
"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": "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"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 12
| 2020-12-30T10:45:50Z
| 2021-03-11T19:03:30Z
| 2021-03-11T19:03:30Z
|
MEMBER
| null |
There is task left here:
1. apply the following diff
```diff
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d78c2bacc..bcb9202d4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -173,4 +173,4 @@ repos:
hooks:
- id: codespell
types_or: [python, rst, markdown]
files: ^(pandas|doc)/
- exclude: ^pandas/tests/
```
, run `pre-commit run codespell --all-files`, and fixup the mistakes
You _may_ need you to add new words to ignore in `setup.cfg`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38802/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38802/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38803
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38803/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38803/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38803/events
|
https://github.com/pandas-dev/pandas/pull/38803
| 776,392,540
|
MDExOlB1bGxSZXF1ZXN0NTQ2ODk1NzAw
| 38,803
|
BUG: avoid attribute error with pyarrow >=0.16.0 and <1.0.0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31668251?v=4",
"events_url": "https://api.github.com/users/ADraginda/events{/privacy}",
"followers_url": "https://api.github.com/users/ADraginda/followers",
"following_url": "https://api.github.com/users/ADraginda/following{/other_user}",
"gists_url": "https://api.github.com/users/ADraginda/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ADraginda",
"id": 31668251,
"login": "ADraginda",
"node_id": "MDQ6VXNlcjMxNjY4MjUx",
"organizations_url": "https://api.github.com/users/ADraginda/orgs",
"received_events_url": "https://api.github.com/users/ADraginda/received_events",
"repos_url": "https://api.github.com/users/ADraginda/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ADraginda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ADraginda/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ADraginda"
}
|
[
{
"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": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 16
| 2020-12-30T10:47:20Z
| 2021-01-05T13:23:45Z
| 2021-01-05T12:23:29Z
|
CONTRIBUTOR
| null |
Problem: The minimum pyarrow [listed](https://pandas.pydata.org/docs/dev/whatsnew/v1.2.0.html#increased-minimum-versions-for-dependencies) as an optional dependency is 0.15.1. Pyarrow added the compute module that is imported in the change here with pyarrow [0.16.0](https://github.com/apache/arrow/commit/27dded680e84f1a628de1bddff1f4eb62fbc5887#diff-3d08757408024228c4443730cc3536ab39c9436cd2e4cb63e5da34c69c18962f) but attributes imported by pandas are not available in that module until [1.0.0](https://github.com/apache/arrow/commit/dcd17bf36e0f7b18e8b8f466ed2cb3eb396955d8#diff-3d08757408024228c4443730cc3536ab39c9436cd2e4cb63e5da34c69c18962f) thus anyone using pyarrow [0.16.0, 1.0.0) will get an Attribute error.
This PR adds as try/expect around accessing the attributes such that they are only accessed if available (i.e. pyarrow >=1.0.0)
- [X] closes #38801
- [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/38803/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38803/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38803.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38803",
"merged_at": "2021-01-05T12:23:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38803.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38803"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38804
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38804/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38804/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38804/events
|
https://github.com/pandas-dev/pandas/pull/38804
| 776,409,206
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTA4ODk3
| 38,804
|
TST: GH30999 add match=msg to all pytest.raises in pandas/tests/window
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "eb6420",
"default": false,
"description": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-30T11:27:00Z
| 2020-12-30T13:47:34Z
| 2020-12-30T13:47:31Z
|
MEMBER
| null |
This pull request partially addresses xref #30999 to remove bare `pytest.raises` by adding `match=msg`. It doesn't close that issue as I have only addressed test modules in the pandas/tests/window/ directory.
I have added `match=msg` to 3 instances of `pytest.raises` and converted another to a `tm.external_error_raised`. Nothing complicated or controversial, imo.
- [ ] 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/38804/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38804/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38804.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38804",
"merged_at": "2020-12-30T13:47:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38804.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38804"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38805
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38805/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38805/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38805/events
|
https://github.com/pandas-dev/pandas/pull/38805
| 776,417,094
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTE0ODAx
| 38,805
|
TST: GH30999 add match=msg to pytest.raises in modules with one simple instance each
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "eb6420",
"default": false,
"description": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-30T11:46:47Z
| 2020-12-30T13:30:18Z
| 2020-12-30T13:30:14Z
|
MEMBER
| null |
This pull request partially addresses xref #30999 to remove bare pytest.raises by adding match=msg. It doesn't close that issue as I have only addressed the following three modules:
pandas/tests/dtypes/test_inference.py
pandas/tests/libs/test_hashtable.py
pandas/tests/resample/test_resampler_grouper.py
They are scattered around the test directory but each of them only had one instance of a bare pytest.raises which could be fixed with a simple addition of match=msg or change to tm.external_error_raised
- [ ] 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/38805/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38805/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38805.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38805",
"merged_at": "2020-12-30T13:30:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38805.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38805"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38806
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38806/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38806/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38806/events
|
https://github.com/pandas-dev/pandas/pull/38806
| 776,426,647
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTIyMjky
| 38,806
|
DOC: fix sphinx directive error in 1.2.1 release notes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 2
| 2020-12-30T12:12:59Z
| 2020-12-31T10:37:20Z
| 2020-12-31T10:28:24Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38806/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38806/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38806.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38806",
"merged_at": "2020-12-31T10:28:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38806.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38806"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/38807
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38807/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38807/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38807/events
|
https://github.com/pandas-dev/pandas/pull/38807
| 776,454,306
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTQ0Mzg5
| 38,807
|
Backport PR #38723 on branch 1.2.x (BUG: inconsistency between frame.any/all with dt64 vs dt64tz)
|
{
"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": "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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 0
| 2020-12-30T13:24:07Z
| 2020-12-30T14:45:19Z
| 2020-12-30T14:45:19Z
|
NONE
| null |
Backport PR #38723: BUG: inconsistency between frame.any/all with dt64 vs dt64tz
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38807/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38807/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38807.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38807",
"merged_at": "2020-12-30T14:45:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38807.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38807"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38808
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38808/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38808/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38808/events
|
https://github.com/pandas-dev/pandas/issues/38808
| 776,456,184
|
MDU6SXNzdWU3NzY0NTYxODQ=
| 38,808
|
CLN: Add typing for dtype argument in codebase
|
{
"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": "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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 13
| 2020-12-30T13:28:45Z
| 2021-01-29T02:04:26Z
| 2021-01-29T02:04:26Z
|
CONTRIBUTOR
| null |
Follow up from #37546 and #38680
Add typing for the `dtype` argument throughout the pandas codebase. Part of the code might need an update after adding the type since the mypy type checks can fail.
In #38680 it is already done for `io/sql.py`, from a directory search I found that the list of files below still have untyped dtype arguments.
Would be great if people can work on a few files at a time in separate PRs and mention this issue. I will already start with the remaining files in the io directory
- [x] io/parsers.py
- [x] io/excel/_base.py
- [x] io/json/_json.py
- [x] io/pytables.py
- [x] core/arrays/datetimelike.py
- [x] core/arrays/base.py
- [x] core/arrays/boolean.py
- [x] core/arrays/categorical.py
- [x] core/arrays/integer.py
- [x] core/arrays/interval.py
- [x] core/arrays/masked.py
- [x] core/arrays/numpy_.py
- [x] core/arrays/period.py
- [x] core/arrays/sparse/array.py
- [x] core/arrays/string_.py
- [x] core/arrays/string_arrow.py
- [x] core/arrays/timedeltas.py
- [x] core/indexes/category.py
- [x] core/indexes/datetimes.py
- [x] core/indexes/interval.py
- [x] core/indexes/numeric.py
- [x] core/indexes/period.py
- [x] core/indexes/range.py
- [x] core/internals/block.py
- [x] core/internals/managers.py
- [x] core/reshape/reshape.py
- [x] core/strings/object_array.py
- [x] core/base.py
- [x] core/common.py
- [x] core/frame.py
- [x] core/generic.py
- [x] core/series.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/38808/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38808/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38809
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38809/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38809/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38809/events
|
https://github.com/pandas-dev/pandas/issues/38809
| 776,464,379
|
MDU6SXNzdWU3NzY0NjQzNzk=
| 38,809
|
ERR: better error message with .rolling().apply(func using non-numpy things, raw=True)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5
| 2020-12-30T13:47:03Z
| 2021-04-11T17:23:44Z
| null |
CONTRIBUTOR
| null |
we could use a better error message rather than `AttributeError` e.g. https://github.com/pandas-dev/pandas/pull/38804#discussion_r550196167
when using
`df.rolling(...).apply(f, raw=True)`
when `f` is using non-numpy functions e.g. `.iloc`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38809/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38809/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38810
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38810/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38810/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38810/events
|
https://github.com/pandas-dev/pandas/issues/38810
| 776,479,284
|
MDU6SXNzdWU3NzY0NzkyODQ=
| 38,810
|
Improve error message in Series.any and Series.all, when bool_only is passed and not level
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"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": "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": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 1
| 2020-12-30T14:21:32Z
| 2021-08-14T22:47:16Z
| null |
MEMBER
| null |
When working on xref #30999 I came across TestSeriesReductions.test_all_any_params in pandas/tests/reductions/test_reductions.py
It showed that calling the following code:
```
s = Series([False, False, True, True, False, True], index=[0, 0, 1, 1, 2, 2])
s.any(bool_only=True)
```
would raise a `NotImplementedError` with the error message "Series.any does not implement numeric_only", and equivalent for calling `s.all` the same way. This error message is confusing because the user didn't pass `numeric_only`, they passed `bool_only`.
So the messages need to change to "Series.any does not implement bool_only" and "Series.all does not implement bool_only".
> what actually needs to happen is we pass bool_only thru, but this increases the scope of this PR greatly.
-- @jreback #38720
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38810/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38810/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38811
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38811/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38811/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38811/events
|
https://github.com/pandas-dev/pandas/pull/38811
| 776,484,253
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTY3ODIx
| 38,811
|
CI,STYLE: narrow down list of ignored words
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24590067?v=4",
"events_url": "https://api.github.com/users/chinggg/events{/privacy}",
"followers_url": "https://api.github.com/users/chinggg/followers",
"following_url": "https://api.github.com/users/chinggg/following{/other_user}",
"gists_url": "https://api.github.com/users/chinggg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chinggg",
"id": 24590067,
"login": "chinggg",
"node_id": "MDQ6VXNlcjI0NTkwMDY3",
"organizations_url": "https://api.github.com/users/chinggg/orgs",
"received_events_url": "https://api.github.com/users/chinggg/received_events",
"repos_url": "https://api.github.com/users/chinggg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chinggg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chinggg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chinggg"
}
|
[
{
"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 |
[] | null | 4
| 2020-12-30T14:32:14Z
| 2020-12-30T16:12:03Z
| 2020-12-30T16:04:06Z
|
CONTRIBUTOR
| null |
I have used `grep` to check if the words in the list exist in the code.
Only `ba` can be deleted from the list.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38811/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38811/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38811.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38811",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38811.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38811"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38812
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38812/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38812/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38812/events
|
https://github.com/pandas-dev/pandas/issues/38812
| 776,484,667
|
MDU6SXNzdWU3NzY0ODQ2Njc=
| 38,812
|
BUG: test_contains checks wrong non-missing element
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2364173?v=4",
"events_url": "https://api.github.com/users/vnmabus/events{/privacy}",
"followers_url": "https://api.github.com/users/vnmabus/followers",
"following_url": "https://api.github.com/users/vnmabus/following{/other_user}",
"gists_url": "https://api.github.com/users/vnmabus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vnmabus",
"id": 2364173,
"login": "vnmabus",
"node_id": "MDQ6VXNlcjIzNjQxNzM=",
"organizations_url": "https://api.github.com/users/vnmabus/orgs",
"received_events_url": "https://api.github.com/users/vnmabus/received_events",
"repos_url": "https://api.github.com/users/vnmabus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vnmabus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vnmabus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vnmabus"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] | null | 0
| 2020-12-30T14:33:15Z
| 2021-08-14T22:48:41Z
| 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.
---
#### Problem description
The `test_contains` test for `ExtensionArray` objects has the following lines:
```python
# first elements are non-missing
assert data[0] in data
assert data_missing[0] in data_missing
```
However the first element in `data_missing` IS missing, and this test gives an error if `__getitem__` returns the physical representation of the NA object instead of `pd.NA`, as this needs not to return `True` for `__contains__` (unless I am missing something). Either way, the comment makes clear that this line intended to access a non NA object.
#### Expected Output
The lines should be changed to:
```python
# first and second elements are respectively non-missing
assert data[0] in data
assert data_missing[1] in data_missing
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38812/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38812/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38813
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38813/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38813/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38813/events
|
https://github.com/pandas-dev/pandas/issues/38813
| 776,487,530
|
MDU6SXNzdWU3NzY0ODc1MzA=
| 38,813
|
STYLE: use option_context almost always
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40703214?v=4",
"events_url": "https://api.github.com/users/n-mathis/events{/privacy}",
"followers_url": "https://api.github.com/users/n-mathis/followers",
"following_url": "https://api.github.com/users/n-mathis/following{/other_user}",
"gists_url": "https://api.github.com/users/n-mathis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/n-mathis",
"id": 40703214,
"login": "n-mathis",
"node_id": "MDQ6VXNlcjQwNzAzMjE0",
"organizations_url": "https://api.github.com/users/n-mathis/orgs",
"received_events_url": "https://api.github.com/users/n-mathis/received_events",
"repos_url": "https://api.github.com/users/n-mathis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/n-mathis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/n-mathis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/n-mathis"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4",
"events_url": "https://api.github.com/users/debnathshoham/events{/privacy}",
"followers_url": "https://api.github.com/users/debnathshoham/followers",
"following_url": "https://api.github.com/users/debnathshoham/following{/other_user}",
"gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debnathshoham",
"id": 6472290,
"login": "debnathshoham",
"node_id": "MDQ6VXNlcjY0NzIyOTA=",
"organizations_url": "https://api.github.com/users/debnathshoham/orgs",
"received_events_url": "https://api.github.com/users/debnathshoham/received_events",
"repos_url": "https://api.github.com/users/debnathshoham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debnathshoham"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/40703214?v=4",
"events_url": "https://api.github.com/users/n-mathis/events{/privacy}",
"followers_url": "https://api.github.com/users/n-mathis/followers",
"following_url": "https://api.github.com/users/n-mathis/following{/other_user}",
"gists_url": "https://api.github.com/users/n-mathis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/n-mathis",
"id": 40703214,
"login": "n-mathis",
"node_id": "MDQ6VXNlcjQwNzAzMjE0",
"organizations_url": "https://api.github.com/users/n-mathis/orgs",
"received_events_url": "https://api.github.com/users/n-mathis/received_events",
"repos_url": "https://api.github.com/users/n-mathis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/n-mathis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/n-mathis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/n-mathis"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/78579821?v=4",
"events_url": "https://api.github.com/users/Opher-Lubzens/events{/privacy}",
"followers_url": "https://api.github.com/users/Opher-Lubzens/followers",
"following_url": "https://api.github.com/users/Opher-Lubzens/following{/other_user}",
"gists_url": "https://api.github.com/users/Opher-Lubzens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Opher-Lubzens",
"id": 78579821,
"login": "Opher-Lubzens",
"node_id": "MDQ6VXNlcjc4NTc5ODIx",
"organizations_url": "https://api.github.com/users/Opher-Lubzens/orgs",
"received_events_url": "https://api.github.com/users/Opher-Lubzens/received_events",
"repos_url": "https://api.github.com/users/Opher-Lubzens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Opher-Lubzens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Opher-Lubzens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Opher-Lubzens"
}
] |
{
"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-12-30T14:40:03Z
| 2021-08-07T16:30:10Z
| null |
CONTRIBUTOR
| null |
we *should* very rarely be setting / getting options (except to test that functionaily explicity), and instead use `pd.option_context`, e.g. this should be changed:
https://github.com/pandas-dev/pandas/pull/31569/files#diff-5974844fa02c9b81f3477198023bd02503bf82da1e3d15df6dfd62cdca48666bR242
pandas/tests/io/formats/test_format.py is a hotbed for incorrect usages like this.
it *may* be possible to add a pre-commit hook to check for this in all but a small handful of files.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38813/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38813/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38814
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38814/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38814/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38814/events
|
https://github.com/pandas-dev/pandas/pull/38814
| 776,508,446
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTg2NDQ5
| 38,814
|
CLN: Add typing for dtype argument in io directory (GH38808)
|
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-30T15:25:05Z
| 2020-12-30T21:24:26Z
| 2020-12-30T21:24:22Z
|
CONTRIBUTOR
| null |
incremental PR for issue #38808
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38814/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38814/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38814.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38814",
"merged_at": "2020-12-30T21:24:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38814.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38814"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38815
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38815/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38815/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38815/events
|
https://github.com/pandas-dev/pandas/issues/38815
| 776,515,105
|
MDU6SXNzdWU3NzY1MTUxMDU=
| 38,815
|
TST: dropping of nuisance columns for groupby ops
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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"
},
{
"color": "120491",
"default": false,
"description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply",
"id": 2365523662,
"name": "Nuisance Columns",
"node_id": "MDU6TGFiZWwyMzY1NTIzNjYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44500643?v=4",
"events_url": "https://api.github.com/users/horaceklai/events{/privacy}",
"followers_url": "https://api.github.com/users/horaceklai/followers",
"following_url": "https://api.github.com/users/horaceklai/following{/other_user}",
"gists_url": "https://api.github.com/users/horaceklai/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/horaceklai",
"id": 44500643,
"login": "horaceklai",
"node_id": "MDQ6VXNlcjQ0NTAwNjQz",
"organizations_url": "https://api.github.com/users/horaceklai/orgs",
"received_events_url": "https://api.github.com/users/horaceklai/received_events",
"repos_url": "https://api.github.com/users/horaceklai/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/horaceklai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/horaceklai/subscriptions",
"type": "User",
"url": "https://api.github.com/users/horaceklai"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/44500643?v=4",
"events_url": "https://api.github.com/users/horaceklai/events{/privacy}",
"followers_url": "https://api.github.com/users/horaceklai/followers",
"following_url": "https://api.github.com/users/horaceklai/following{/other_user}",
"gists_url": "https://api.github.com/users/horaceklai/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/horaceklai",
"id": 44500643,
"login": "horaceklai",
"node_id": "MDQ6VXNlcjQ0NTAwNjQz",
"organizations_url": "https://api.github.com/users/horaceklai/orgs",
"received_events_url": "https://api.github.com/users/horaceklai/received_events",
"repos_url": "https://api.github.com/users/horaceklai/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/horaceklai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/horaceklai/subscriptions",
"type": "User",
"url": "https://api.github.com/users/horaceklai"
}
] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 2
| 2020-12-30T15:39:48Z
| 2021-10-05T00:30:11Z
| 2021-10-05T00:30:11Z
|
MEMBER
| null |
xref #38774
As far as I can tell, for groupby we only have two tests for dropping nuisance columns and these only involve sum/mean. A more robust and parameterized test over all the groupby ops that drop nuisance columns should be added.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38815/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38815/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38816
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38816/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38816/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38816/events
|
https://github.com/pandas-dev/pandas/pull/38816
| 776,515,407
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTkxNjU1
| 38,816
|
REGR: groupby.sem with nuisance columns
|
{
"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": "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": "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": "120491",
"default": false,
"description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply",
"id": 2365523662,
"name": "Nuisance Columns",
"node_id": "MDU6TGFiZWwyMzY1NTIzNjYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 3
| 2020-12-30T15:40:27Z
| 2020-12-31T13:33:07Z
| 2020-12-30T23:38:49Z
|
MEMBER
| null |
- [x] closes #38774
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
We were using the same integer locs in the result of `std` and `count` when computing the quotient for `sem`. However, `std` will drop nuisance columns and `count` will not.
I could only find two tests involving nuisance columns, and these only test sum/mean. Created #38815 for a followup.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38816/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38816/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38816.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38816",
"merged_at": "2020-12-30T23:38:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38816.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38816"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38817
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38817/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38817/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38817/events
|
https://github.com/pandas-dev/pandas/pull/38817
| 776,517,501
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTkzMTkz
| 38,817
|
MAINT: regex char class improve
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7903078?v=4",
"events_url": "https://api.github.com/users/tylerjereddy/events{/privacy}",
"followers_url": "https://api.github.com/users/tylerjereddy/followers",
"following_url": "https://api.github.com/users/tylerjereddy/following{/other_user}",
"gists_url": "https://api.github.com/users/tylerjereddy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tylerjereddy",
"id": 7903078,
"login": "tylerjereddy",
"node_id": "MDQ6VXNlcjc5MDMwNzg=",
"organizations_url": "https://api.github.com/users/tylerjereddy/orgs",
"received_events_url": "https://api.github.com/users/tylerjereddy/received_events",
"repos_url": "https://api.github.com/users/tylerjereddy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tylerjereddy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tylerjereddy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tylerjereddy"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-30T15:44:33Z
| 2020-12-30T18:42:07Z
| 2020-12-30T18:42:03Z
|
CONTRIBUTOR
| null |
* remove superfluous regex character classes
from the codebase (those that contain a single
character incur the overhead of a class with
none of the advantages of a class)
* for more details, see similar change in NumPy:
https://github.com/numpy/numpy/pull/18083
* check performed with some simple [scraping code](https://github.com/tylerjereddy/regex-improve)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38817/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38817/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38817.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38817",
"merged_at": "2020-12-30T18:42:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38817.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38817"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38818
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/38818/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38818/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/38818/events
|
https://github.com/pandas-dev/pandas/pull/38818
| 776,522,411
|
MDExOlB1bGxSZXF1ZXN0NTQ2OTk3MTIx
| 38,818
|
TST/CLN: Remove duplicate abc tests
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-12-30T15:55:30Z
| 2020-12-30T18:43:34Z
| 2020-12-30T18:43:16Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
From #38588, this test is a proper subset of the tests immediately below them.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38818/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/38818/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/38818.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38818",
"merged_at": "2020-12-30T18:43:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38818.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38818"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.