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/38619 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38619/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38619/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38619/events | https://github.com/pandas-dev/pandas/pull/38619 | 772,324,751 | MDExOlB1bGxSZXF1ZXN0NTQzNjEwNDIy | 38,619 | CI: move arm64 build to azure #38617 | {
"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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 7 | 2020-12-21T17:04:17Z | 2020-12-23T14:14:03Z | 2020-12-23T14:14:02Z | MEMBER | null | xref #38617
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38619/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38619/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38619.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38619",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38619.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38619"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38620 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38620/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38620/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38620/events | https://github.com/pandas-dev/pandas/issues/38620 | 772,377,433 | MDU6SXNzdWU3NzIzNzc0MzM= | 38,620 | BUG: tm.assert_produces_warning() doesn't work with expected_warning=None or False | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions... | closed | false | {
"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"
} | [
{
"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}",
... | {
"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-21T18:29:49Z | 2020-12-22T13:40:41Z | 2020-12-22T13:40:41Z | MEMBER | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import warnings
import pandas._testing as tm
with tm.assert_produces_warning(None):
warnings.warn(UserWarning)
with tm.assert_produces_warning(False):
warnings.warn(RuntimeWarning)
```
#### Problem description
Docs for this function say "To check that no warning is returned, specify ``False`` or ``None``". It also includes the second example as something that should raise an `AssertionError`. However, both these examples do not raise.
#### Expected Output
Raise `AssertionError` for both.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 9a46a4b700d1b794d9a944928ac95f4cb742b259
python : 3.8.6.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.3.0.dev0+125.g9a46a4b70
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.3.1
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.2.0
hypothesis : 5.43.3
sphinx : 3.3.1
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.4
fastparquet : 0.4.1
gcsfs : 0.7.1
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.3
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.2
xlrd : 1.2.0
xlwt : 1.3.0
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/38620/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38620/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38621 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38621/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38621/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38621/events | https://github.com/pandas-dev/pandas/pull/38621 | 772,410,761 | MDExOlB1bGxSZXF1ZXN0NTQzNjgxNTUx | 38,621 | BUG: join not working correctly with MultiIndex and one dimension categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"de... | 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-21T19:31:30Z | 2021-01-13T16:55:33Z | 2021-01-13T13:25:53Z | MEMBER | null | - [x] closes #38502
- [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/38621/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38621/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38621.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38621",
"merged_at": "2021-01-13T13:25:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38621.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38621"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38622 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38622/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38622/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38622/events | https://github.com/pandas-dev/pandas/issues/38622 | 772,419,770 | MDU6SXNzdWU3NzI0MTk3NzA= | 38,622 | BUG: dt64 <-> dt64tz roundup | {
"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": "5319e7",
"default": false,
"description": "Functiona... | 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"
} | 7 | 2020-12-21T19:47:42Z | 2021-01-21T15:15:19Z | 2021-01-21T15:15:19Z | MEMBER | null | xref #33401 which discusses astype, #24559 which discusses constructors. I think these need to be considered jointly.
Two big-picture questions.
1) when we pass `constructor(dt64values, tz=tz)`, do we interpret dt64values as UTC or wall-times?
2) when we pass constructor(dt64values).astype("M8[ns, tz]")`, do we interpret dt64values as UTC or wall-times?
Let's check the current behavior on master for Timestamp, DatetimeIndex, and Series (see code block below if you want to check my work)
cls | Timestamp | DatetimeIndex | Series |
------------------------ | ------------- | ------------- | ------- |
cls(dt64, dtype=dt64tz) | UTC | Wall | UTC |
cls(dt64).astype(dt64tz) | N/A | Wall | UTC |
cls(dt64tz).astype("M8[ns]") | N/A | UTC | UTC |
If we were starting fresh, I would probably lean towards making these all interpret dt64 as wall-times. But because these are already mostly-UTC, it would be an easier change to bring the DatetimeIndex behavior in line with the others.
Thoughts? cc @jorisvandenbossche @mroeschke @jreback
```
values = (3600 * 10**9 * np.arange(4)).astype("datetime64[ns]")
dt64 = values[-1]
tz = "US/Pacific"
dtype = pd.DatetimeTZDtype(tz=tz)
ts = pd.Timestamp(dt64, tz=tz)
dti = pd.DatetimeIndex(values, dtype=dtype)
ser = pd.Series(values, dtype=dtype)
if_wall = pd.DatetimeIndex(values).tz_localize(tz)
if_utc = pd.DatetimeIndex(values).tz_localize("UTC").tz_convert(tz)
assert ts == if_utc[-1]
assert (dti == if_wall).all()
assert (ser == if_utc).all()
dti_naive = pd.DatetimeIndex(values)
ser_naive = pd.Series(values)
res_dti = dti_naive.astype(dtype)
res_ser = ser.astype(dtype)
assert (res_dti == dti).all()
assert (res_ser == ser).all()
# astype from tzaware -> tznaive
assert (dti.astype(dti_naive.dtype) == dti.tz_convert("UTC").tz_localize(None)).all()
assert (ser_naive.astype(ser.dtype) == ser).all()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38622/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38622/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38623 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38623/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38623/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38623/events | https://github.com/pandas-dev/pandas/issues/38623 | 772,424,382 | MDU6SXNzdWU3NzI0MjQzODI= | 38,623 | BUG: Index and MultiIndex ops treating nan differently | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, d... | open | false | null | [] | null | 1 | 2020-12-21T19:56:31Z | 2021-06-17T03:04:45Z | null | MEMBER | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
``Index.union`` treats ``nan`` differently than ``MultiIndex.union``. Same goes for intersection.
```python
idx1 = Index([1, np.nan])
idx2 = Index([1, np.nan, 3])
idx1.union(idx2)
idx1.intersection(idx2)
mi1 = MultiIndex.from_arrays([[1, np.nan]])
mi2 = MultiIndex.from_arrays([[1, np.nan, 3]])
mi1.union(mi2)
mi1.intersection(mi2)
```
Output:
```
Float64Index([1.0, 3.0, nan], dtype='float64')
Float64Index([1.0, nan], dtype='float64')
MultiIndex([(1.0,),
(nan,),
(nan,),
(3.0,)],
)
MultiIndex([(1.0,)],
)
```
#### Problem description
Inconsistent behavior is a problem. Additionally if both MultiIndexes are *equal* nan is only returned once. When not matching nan is the desired output, we have to adjust for theses cases before checking for equality.
#### Expected Output
I am not quite sure what to expect, but taking the current behavior of merges into account, I think it would be more reasonable to return
```
MultiIndex([(1.0,),
(nan,),
(3.0,)],
)
MultiIndex([(1.0,),
(nan,)],
)
```
for the MultiIndex operations. Thoughts @jbrockmendel ?
related to #38439
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : c6b05c3ad771da775011647f66687a398e11c533
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-58-generic
Version : #64-Ubuntu SMP Wed Dec 9 08:16:25 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.3.0.dev0+129.gc6b05c3ad7
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.1
hypothesis : 5.37.1
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : 0.4.1
gcsfs : 0.7.1
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.2
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.51.2
None
Process finished with exit code 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/38623/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38623/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38624 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38624/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38624/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38624/events | https://github.com/pandas-dev/pandas/pull/38624 | 772,427,864 | MDExOlB1bGxSZXF1ZXN0NTQzNjk1NDY4 | 38,624 | Backport PR #38613 on branch 1.2.x (CI: move py38 slow to azure #38429) | {
"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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-21T20:02:56Z | 2020-12-21T22:00:48Z | 2020-12-21T22:00:47Z | NONE | null | Backport PR #38613: CI: move py38 slow to azure #38429 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38624/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38624/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38624.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38624",
"merged_at": "2020-12-21T22:00:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38624.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38624"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38625 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38625/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38625/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38625/events | https://github.com/pandas-dev/pandas/pull/38625 | 772,433,824 | MDExOlB1bGxSZXF1ZXN0NTQzNzAwMzk4 | 38,625 | TYP: pd.eval, DataFrame.(eval, query) | {
"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"
},
{
"color": "f3afff",
"defa... | closed | false | null | [] | null | 5 | 2020-12-21T20:13:52Z | 2021-05-22T15:43:12Z | 2021-05-22T15:43:12Z | 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#discussion_r546736072 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38625/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38625/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38625.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38625",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38625.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38625"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38626 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38626/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38626/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38626/events | https://github.com/pandas-dev/pandas/pull/38626 | 772,434,089 | MDExOlB1bGxSZXF1ZXN0NTQzNzAwNTg5 | 38,626 | Bug: assert_produces_warning(None) not raising AssertionError with warning | {
"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": "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"
} | 6 | 2020-12-21T20:14:12Z | 2020-12-22T14:31:26Z | 2020-12-22T13:40:42Z | MEMBER | null | - [x] closes #38620
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38626/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38626/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38626.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38626",
"merged_at": "2020-12-22T13:40:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38626.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38626"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38627 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38627/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38627/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38627/events | https://github.com/pandas-dev/pandas/issues/38627 | 772,439,187 | MDU6SXNzdWU3NzI0MzkxODc= | 38,627 | DOC: example for doing a reversed rolling window | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 7171206... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/52055110?v=4",
"events_url": "https://api.github.com/users/mdhsieh/events{/privacy}",
"followers_url": "https://api.github.com/users/mdhsieh/followers",
"following_url": "https://api.github.com/users/mdhsieh/following{/other_user}",
"gists_url": "https://api.github.com/users/mdhsieh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mdhsieh",
"id": 52055110,
"login": "mdhsieh",
"node_id": "MDQ6VXNlcjUyMDU1MTEw",
"organizations_url": "https://api.github.com/users/mdhsieh/orgs",
"received_events_url": "https://api.github.com/users/mdhsieh/received_events",
"repos_url": "https://api.github.com/users/mdhsieh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mdhsieh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mdhsieh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mdhsieh"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/52055110?v=4",
"events_url": "https://api.github.com/users/mdhsieh/events{/privacy}",
"followers_url": "https://api.github.com/users/mdhsieh/followers",
"following_url": "https://api.github.com/users/mdhsieh/following{/other_user}",
"gists... | null | 7 | 2020-12-21T20:23:18Z | 2021-06-11T03:02:35Z | 2021-06-11T03:02:35Z | CONTRIBUTOR | null | https://github.com/pandas-dev/pandas/issues/34226#issuecomment-690887774 is the example, should just add to window.rst
also would be good to show using https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.api.indexers.FixedForwardWindowIndexer.html?highlight=forward#pandas.api.indexers.FixedForwardWindowIndexer | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38627/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38627/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38628 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38628/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38628/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38628/events | https://github.com/pandas-dev/pandas/pull/38628 | 772,549,621 | MDExOlB1bGxSZXF1ZXN0NTQzNzk2NDc5 | 38,628 | TST/REF: Delete duplicate hist tests | {
"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": "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": "8AE234",
"d... | 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-22T00:24:13Z | 2020-12-22T01:21:35Z | 2020-12-22T01:16:01Z | MEMBER | null | - [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
The tests deleted in this pr are also found starting here: https://github.com/pandas-dev/pandas/blob/e4f425dddda6b299fe5f5e05f18f128302f8604c/pandas/tests/plotting/test_hist_method.py#L26-L27
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38628/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38628/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38628.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38628",
"merged_at": "2020-12-22T01:16:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38628.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38628"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38629 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38629/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38629/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38629/events | https://github.com/pandas-dev/pandas/pull/38629 | 772,580,830 | MDExOlB1bGxSZXF1ZXN0NTQzODIwNzgw | 38,629 | REF: collected dtypes.cast and construction simplifications | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e102d8",
"default": false,
"de... | 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-22T02:03:44Z | 2020-12-22T15:31:17Z | 2020-12-22T14:03:21Z | MEMBER | null | Also catch a warning in an io test that has been bugging me. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38629/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38629/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38629.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38629",
"merged_at": "2020-12-22T14:03:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38629.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38629"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38630 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38630/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38630/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38630/events | https://github.com/pandas-dev/pandas/issues/38630 | 772,587,091 | MDU6SXNzdWU3NzI1ODcwOTE= | 38,630 | TST/BUG: Unexpected warnings causing failures on master with fixed `assert_produces_warnings(None)` behavior | {
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, ... | open | false | null | [] | null | 4 | 2020-12-22T02:23:23Z | 2021-06-11T18:30:09Z | null | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/38626#issuecomment-749295555
Making sure `assert_produces_warning(None)` raises if a warning is emitted gives the following failures in master due to unexpected warnings:
```
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'UTC']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'US/Eastern']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'Asia/Tokyo']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'dateutil/US/Pacific']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'dateutil/Asia/Singapore']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'+01:15']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'-02:15']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'UTC+01:15']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-'UTC-02:15']
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-tzutc()]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-tzlocal()]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-pytz.FixedOffset(300)]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-<UTC>]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-pytz.FixedOffset(-300)]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-datetime.timezone.utc]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-datetime.timezone(datetime.timedelta(seconds=3600))]
FAILED pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array[DataFrame-datetime.timezone(datetime.timedelta(days=-1, seconds=82800), 'foo')]
FAILED pandas/tests/frame/test_arithmetic.py::TestFrameArithmetic::test_binop_other[add-True-bool]
FAILED pandas/tests/frame/test_arithmetic.py::TestFrameArithmetic::test_binop_other[mul-True-bool]
FAILED pandas/tests/indexes/test_common.py::TestCommon::test_asi8_deprecation[int]
FAILED pandas/tests/indexes/test_common.py::TestCommon::test_asi8_deprecation[uint]
FAILED pandas/tests/indexes/test_common.py::TestCommon::test_asi8_deprecation[range]
FAILED pandas/tests/indexes/test_common.py::TestCommon::test_asi8_deprecation[repeats]
```
Tests which have been xfailed in #38626 are:
- [x] pandas/tests/arithmetic/test_timedelta64.py::TestTimedelta64ArithmeticUnsorted::test_tda_add_dt64_object_array
- [ ] pandas/tests/frame/test_arithmetic.py::TestFrameArithmetic::test_binop_other
- [ ] pandas/tests/indexes/test_common.py::TestCommon::test_asi8_deprecation
- [ ] pandas/tests/io/parser/test_common.py::test_chunks_have_consistent_numerical_type | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38630/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38630/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38631 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38631/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38631/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38631/events | https://github.com/pandas-dev/pandas/pull/38631 | 772,596,879 | MDExOlB1bGxSZXF1ZXN0NTQzODMzMjMx | 38,631 | DOC: capitalize NumPy as proper noun | {
"avatar_url": "https://avatars.githubusercontent.com/u/2754821?v=4",
"events_url": "https://api.github.com/users/erictleung/events{/privacy}",
"followers_url": "https://api.github.com/users/erictleung/followers",
"following_url": "https://api.github.com/users/erictleung/following{/other_user}",
"gists_url": "https://api.github.com/users/erictleung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erictleung",
"id": 2754821,
"login": "erictleung",
"node_id": "MDQ6VXNlcjI3NTQ4MjE=",
"organizations_url": "https://api.github.com/users/erictleung/orgs",
"received_events_url": "https://api.github.com/users/erictleung/received_events",
"repos_url": "https://api.github.com/users/erictleung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erictleung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erictleung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erictleung"
} | [
{
"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-22T02:54:32Z | 2020-12-22T20:51:52Z | 2020-12-22T20:39:45Z | CONTRIBUTOR | null | In a similar vein to https://github.com/pandas-dev/pandas/pull/37808
- [ ] 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/38631/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38631/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38631.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38631",
"merged_at": "2020-12-22T20:39:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38631.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38631"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38632 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38632/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38632/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38632/events | https://github.com/pandas-dev/pandas/pull/38632 | 772,967,365 | MDExOlB1bGxSZXF1ZXN0NTQ0MTQxMDk3 | 38,632 | Backport PR #37534 on branch 1.2.x (BUG: error raise when column contains percentage) | {
"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": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-22T13:59:10Z | 2020-12-22T15:16:43Z | 2020-12-22T15:16:43Z | NONE | null | Backport PR #37534: BUG: error raise when column contains percentage | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38632/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38632/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38632.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38632",
"merged_at": "2020-12-22T15:16:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38632.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38632"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38633 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38633/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38633/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38633/events | https://github.com/pandas-dev/pandas/pull/38633 | 772,973,726 | MDExOlB1bGxSZXF1ZXN0NTQ0MTQ2NTc3 | 38,633 | Backport PR #37905 on branch 1.2.x (BUG: groupby resample different results with .agg() vs .mean() ) | {
"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": "207de5",
"default": false,
"description": "resample method... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-22T14:07:50Z | 2020-12-22T15:41:58Z | 2020-12-22T15:41:58Z | NONE | null | Backport PR #37905: BUG: groupby resample different results with .agg() vs .mean() | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38633/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38633/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38633.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38633",
"merged_at": "2020-12-22T15:41:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38633.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38633"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38634 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38634/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38634/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38634/events | https://github.com/pandas-dev/pandas/pull/38634 | 773,042,749 | MDExOlB1bGxSZXF1ZXN0NTQ0MjAyMzY1 | 38,634 | TYP: Extend typing to allow passing Index to_datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/61139724?v=4",
"events_url": "https://api.github.com/users/josh-friedlander-kando/events{/privacy}",
"followers_url": "https://api.github.com/users/josh-friedlander-kando/followers",
"following_url": "https://api.github.com/users/josh-friedlander-kando/following{/other_user}",
"gists_url": "https://api.github.com/users/josh-friedlander-kando/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/josh-friedlander-kando",
"id": 61139724,
"login": "josh-friedlander-kando",
"node_id": "MDQ6VXNlcjYxMTM5NzI0",
"organizations_url": "https://api.github.com/users/josh-friedlander-kando/orgs",
"received_events_url": "https://api.github.com/users/josh-friedlander-kando/received_events",
"repos_url": "https://api.github.com/users/josh-friedlander-kando/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/josh-friedlander-kando/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/josh-friedlander-kando/subscriptions",
"type": "User",
"url": "https://api.github.com/users/josh-friedlander-kando"
} | [
{
"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"
} | 3 | 2020-12-22T15:43:59Z | 2021-04-14T07:14:01Z | 2020-12-23T15:52:41Z | CONTRIBUTOR | null | ArrayConvertible should be able to accept Index or Series type as well
This extends it to use AnyArrayLike instead of ArrayLike.
- [ x] passes `black pandas`
- [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38634/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38634/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38634.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38634",
"merged_at": "2020-12-23T15:52:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38634.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38634"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38635 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38635/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38635/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38635/events | https://github.com/pandas-dev/pandas/issues/38635 | 773,076,610 | MDU6SXNzdWU3NzMwNzY2MTA= | 38,635 | ValueError: Only callable can be used as callback | {
"avatar_url": "https://avatars.githubusercontent.com/u/59283205?v=4",
"events_url": "https://api.github.com/users/SaraJ52/events{/privacy}",
"followers_url": "https://api.github.com/users/SaraJ52/followers",
"following_url": "https://api.github.com/users/SaraJ52/following{/other_user}",
"gists_url": "https://api.github.com/users/SaraJ52/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaraJ52",
"id": 59283205,
"login": "SaraJ52",
"node_id": "MDQ6VXNlcjU5MjgzMjA1",
"organizations_url": "https://api.github.com/users/SaraJ52/orgs",
"received_events_url": "https://api.github.com/users/SaraJ52/received_events",
"repos_url": "https://api.github.com/users/SaraJ52/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaraJ52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaraJ52/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaraJ52"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "207de5",
"default": false,
"descript... | closed | false | null | [] | null | 4 | 2020-12-22T16:27:13Z | 2021-05-26T15:54:53Z | 2021-01-27T12:08:11Z | NONE | null | - [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
---
#### Question about pandas
**Note**: If you'd still like to submit a question, 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 question.
```python
# Your code here, if applicable
#Importing Libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
#Importing Dataset
dataset = pd.read_csv("dataset.csv")
```
When I'm running the last line which imports m dataset it gives me error and I do not know how to resolve that.
ERROR:
dataset = pd.read_csv("C:/Users/saraj/OneDrive/Desktop/AI/dataset.csv")
Traceback (most recent call last):
File "<ipython-input-33-9a3340a25db3>", line 1, in <module>
dataset = pd.read_csv("C:/Users/saraj/OneDrive/Desktop/AI/dataset.csv")
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\io\parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\io\parsers.py", line 460, in _read
data = parser.read(nrows)
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\io\parsers.py", line 1213, in read
df = DataFrame(col_dict, columns=columns, index=index)
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\core\frame.py", line 468, in __init__
mgr = init_dict(data, index, columns, dtype=dtype)
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\core\internals\construction.py", line 259, in init_dict
if missing.any() and not is_integer_dtype(dtype):
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\core\generic.py", line 11580, in logical_func
return self._reduce(
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\pandas\core\series.py", line 4248, in _reduce
with np.errstate(all="ignore"):
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\numpy\core\_ufunc_config.py", line 436, in __enter__
self.oldcall = seterrcall(self.call)
File "C:\Users\saraj\anaconda3\envs\AI project\lib\site-packages\numpy\core\_ufunc_config.py", line 308, in seterrcall
raise ValueError("Only callable can be used as callback")
ValueError: Only callable can be used as callback | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38635/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38635/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38636 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38636/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38636/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38636/events | https://github.com/pandas-dev/pandas/pull/38636 | 773,123,130 | MDExOlB1bGxSZXF1ZXN0NTQ0MjY0Mzk3 | 38,636 | CI: clean azure pipeline | {
"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 | [] | null | 0 | 2020-12-22T17:33:56Z | 2021-07-17T02:18:38Z | 2021-07-17T02:18:38Z | MEMBER | null | We save about 2-3 min build time by using Azure's conda. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38636/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38636/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38636.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38636",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38636.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38636"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38637 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38637/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38637/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38637/events | https://github.com/pandas-dev/pandas/pull/38637 | 773,128,987 | MDExOlB1bGxSZXF1ZXN0NTQ0MjY4OTQ3 | 38,637 | REF: simplify logic in assert_produces_warning | {
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "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-22T17:43:02Z | 2020-12-22T21:04:09Z | 2020-12-22T21:04:05Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Simplified logic in ``assert_produces_warning`` by extracting functions ``_assert_caught_expected_warning``, ``_assert_caught_no_extra_warnings`` and ``_is_unexpected_warning``. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38637/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38637/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38637.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38637",
"merged_at": "2020-12-22T21:04:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38637.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38637"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38638 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38638/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38638/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38638/events | https://github.com/pandas-dev/pandas/pull/38638 | 773,133,346 | MDExOlB1bGxSZXF1ZXN0NTQ0MjcyMzgz | 38,638 | BUG: Fix regression in pandas merge | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-12-22T17:50:03Z | 2020-12-22T20:02:03Z | 2020-12-22T19:22:19Z | MEMBER | null | - [x] closes #38616
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Since this is a regression on master I think a whatsnew is not necessary?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38638/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38638/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38638.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38638",
"merged_at": "2020-12-22T19:22:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38638.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38638"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38639 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38639/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38639/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38639/events | https://github.com/pandas-dev/pandas/pull/38639 | 773,187,821 | MDExOlB1bGxSZXF1ZXN0NTQ0MzE3ODA4 | 38,639 | Backport PR #38638 on branch 1.2.x (BUG: Fix regression in pandas merge) | {
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-22T19:22:50Z | 2020-12-22T21:02:15Z | 2020-12-22T21:02:15Z | NONE | null | Backport PR #38638: BUG: Fix regression in pandas merge | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38639/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38639/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38639.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38639",
"merged_at": "2020-12-22T21:02:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38639.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38639"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38640 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38640/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38640/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38640/events | https://github.com/pandas-dev/pandas/pull/38640 | 773,232,321 | MDExOlB1bGxSZXF1ZXN0NTQ0MzU1OTA2 | 38,640 | Backport PR #38533 on branch 1.2.x (BUG&TST: HTML formatting error in Styler.render() in rowspan attribute) | {
"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": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-22T20:34:22Z | 2020-12-22T22:21:32Z | 2020-12-22T22:21:32Z | NONE | null | Backport PR #38533: BUG&TST: HTML formatting error in Styler.render() in rowspan attribute | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38640/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38640/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38640.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38640",
"merged_at": "2020-12-22T22:21:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38640.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38640"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38641 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38641/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38641/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38641/events | https://github.com/pandas-dev/pandas/pull/38641 | 773,262,580 | MDExOlB1bGxSZXF1ZXN0NTQ0MzgxNzI5 | 38,641 | ENH/ERR: More consistent error reporting with invalid win_type in rolling | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "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": "d4c5... | 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-22T21:24:52Z | 2021-01-04T17:50:11Z | 2020-12-23T14:27:49Z | MEMBER | null | - [x] closes #15969
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Also in-lining methods that were only used once and moving a BaseIndexer test that was using `win_type` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38641/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38641/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38641.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38641",
"merged_at": "2020-12-23T14:27:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38641.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38641"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38642 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38642/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38642/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38642/events | https://github.com/pandas-dev/pandas/issues/38642 | 773,266,142 | MDU6SXNzdWU3NzMyNjYxNDI= | 38,642 | REGR: GroupBy.indices no longer includes unobserved categories | {
"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": "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 t... | 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"
} | 12 | 2020-12-22T21:32:49Z | 2020-12-29T23:16:30Z | 2020-12-29T23:16:30Z | MEMBER | null | Does anybody know if this was an intentional change? (I don't directly find something about it in the whatsnew)
```
In [9]: pd.__version__
Out[9]: '1.0.5'
In [10]: df = pd.DataFrame({"key": pd.Categorical(["b"]*5, categories=["a", "b", "c", "d"]), "col": range(5)})
In [11]: gb = df.groupby("key")
In [12]: list(gb.indices)
Out[12]: ['a', 'b', 'c', 'd']
```
vs
```
In [1]: pd.__version__
Out[1]: '1.3.0.dev0+92.ga2d10ba88a'
In [2]: df = pd.DataFrame({"key": pd.Categorical(["b"]*5, categories=["a", "b", "c", "d"]), "col": range(5)})
In [3]: gb = df.groupby("key")
In [4]: list(gb.indices)
Out[4]: ['b']
```
This already changed in pandas 1.1, so not a recent change.
The consequence of this is that iterating over `gb` vs iterating over `gb.indices` is not consistent anymore.
cc @mroeschke @rhshadrach | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38642/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38642/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38643 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38643/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38643/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38643/events | https://github.com/pandas-dev/pandas/pull/38643 | 773,273,612 | MDExOlB1bGxSZXF1ZXN0NTQ0MzkwNjgz | 38,643 | REF: use _should_compare to short-circuit set operations | {
"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": "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"
} | 0 | 2020-12-22T21:49:32Z | 2020-12-23T15:21:49Z | 2020-12-23T14:36:41Z | 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/38643/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38643/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38643.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38643",
"merged_at": "2020-12-23T14:36:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38643.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38643"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38644 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38644/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38644/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38644/events | https://github.com/pandas-dev/pandas/issues/38644 | 773,285,519 | MDU6SXNzdWU3NzMyODU1MTk= | 38,644 | BUG: Roundtrip with openpyxl and datetime precision | {
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "be21f2",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | 2020-12-22T22:16:06Z | 2021-08-14T22:30:50Z | 2021-08-14T22:30:43Z | MEMBER | null | The test `tests.io.excel.test_writers.test_datetimes` fails with openpyxl (now the default, xref #35029):
```
path = "test.xlsx"
datetimes = [
datetime(2013, 1, 13, 1, 2, 3),
datetime(2013, 1, 13, 2, 45, 56),
datetime(2013, 1, 13, 4, 29, 49), # <---
datetime(2013, 1, 13, 6, 13, 42),
datetime(2013, 1, 13, 7, 57, 35), # <---
datetime(2013, 1, 13, 9, 41, 28),
datetime(2013, 1, 13, 11, 25, 21),
datetime(2013, 1, 13, 13, 9, 14),
datetime(2013, 1, 13, 14, 53, 7),
datetime(2013, 1, 13, 16, 37, 0),
datetime(2013, 1, 13, 18, 20, 52),
]
write_frame = DataFrame({"A": datetimes})
write_frame.to_excel(path, "Sheet1")
read_frame = pd.read_excel(path, sheet_name="Sheet1", header=0, engine="openpyxl")
tm.assert_series_equal(write_frame["A"], read_frame["A"])
```
The highlighted lines give
2013-01-13 04:29:48.999999
2013-01-13 07:57:35.000001
With these two lines removed, the results are of the form e.g. `2013-01-13 11:25:21` and the test passes. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38644/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38644/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38645 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38645/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38645/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38645/events | https://github.com/pandas-dev/pandas/issues/38645 | 773,295,734 | MDU6SXNzdWU3NzMyOTU3MzQ= | 38,645 | REGR: passing dask arrays to Series or DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/14808389?v=4",
"events_url": "https://api.github.com/users/keewis/events{/privacy}",
"followers_url": "https://api.github.com/users/keewis/followers",
"following_url": "https://api.github.com/users/keewis/following{/other_user}",
"gists_url": "https://api.github.com/users/keewis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/keewis",
"id": 14808389,
"login": "keewis",
"node_id": "MDQ6VXNlcjE0ODA4Mzg5",
"organizations_url": "https://api.github.com/users/keewis/orgs",
"received_events_url": "https://api.github.com/users/keewis/received_events",
"repos_url": "https://api.github.com/users/keewis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/keewis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keewis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/keewis"
} | [
{
"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": ... | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 23 | 2020-12-22T22:40:34Z | 2021-07-20T12:17:05Z | 2021-07-20T12:17:05Z | NONE | null | #### Code Sample, a copy-pastable example
```python
import pandas as pd
import dask.array as da
a = da.ones((12,), chunks=4)
s = pd.Series(a, index=range(12))
print(s.dtype)
```
#### Problem description
This has been detected by `xarray`'s upstream-dev CI ([environment](https://github.com/pydata/xarray/runs/1592176067?check_suite_focus=true#step:5:1177)): with `1.1.3`, the `dtype` is `float64` while on `master` (installed from `scipy-wheels-nightly`) this became `object` (and the series / dataframe contains `dask` scalars). Was that change intentional? Poking around on the merged PR list, this might have been #38563 (not sure, though).
To be clear, for us this only affects test code and since it would compute anyways we can easily work around this by computing the `dask` array before passing it to `pd.Series` or `pd.DataFrame`.
See also pydata/xarray#4717.
cc @TomAugspurger
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38645/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38645/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38646 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38646/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38646/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38646/events | https://github.com/pandas-dev/pandas/pull/38646 | 773,306,334 | MDExOlB1bGxSZXF1ZXN0NTQ0NDE1ODg3 | 38,646 | TST/BUG: _gen_two_subplots always adding subplot even with passed axis | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "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-22T23:07:24Z | 2020-12-23T14:49:02Z | 2020-12-23T14:34:06Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
`kwargs.get("ax", fig.add_subplot(211))` was always adding a subplot (since the argument to `.get()` will be evaluated even if it doesn't need to be used). Assuming the intended behavior was for `fig.add_subplot(211)` to be called only if `ax` is not passed. This change also gets rid of half of remaining `matplotlib` warnings from
`pandas/tests/plotting/test_hist_method.py::TestSeriesPlots::test_hist_legacy` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38646/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38646/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38646.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38646",
"merged_at": "2020-12-23T14:34:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38646.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38646"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38647 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38647/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38647/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38647/events | https://github.com/pandas-dev/pandas/issues/38647 | 773,308,576 | MDU6SXNzdWU3NzMzMDg1NzY= | 38,647 | BUG: `DataFrame.corrwith` seems to be broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/18314524?v=4",
"events_url": "https://api.github.com/users/acturner/events{/privacy}",
"followers_url": "https://api.github.com/users/acturner/followers",
"following_url": "https://api.github.com/users/acturner/following{/other_user}",
"gists_url": "https://api.github.com/users/acturner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/acturner",
"id": 18314524,
"login": "acturner",
"node_id": "MDQ6VXNlcjE4MzE0NTI0",
"organizations_url": "https://api.github.com/users/acturner/orgs",
"received_events_url": "https://api.github.com/users/acturner/received_events",
"repos_url": "https://api.github.com/users/acturner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/acturner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/acturner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/acturner"
} | [
{
"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": null,
"id": 34444536,... | 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-22T23:13:33Z | 2020-12-23T13:50:59Z | 2020-12-23T13:50:59Z | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
>>> import numpy as np; import pandas as pd
>>> x = pd.DataFrame(np.random.randn(100, 3), columns=['A', 'B', 'C'])
>>> y = pd.DataFrame(np.random.randn(100, 3), columns=['X', 'Y', 'Z'])
>>> x.corrwith(y)
A NaN
B NaN
C NaN
D NaN
E NaN
F NaN
dtype: float64
```
#### Problem description
I believe that this is a bug, and that if it is intended behavior, it should not be so.
#### Expected Output
Expected output is the cross-correlations between `self` and `other`:
```
>>> x.corrwith(y)
A B C
X -0.144123 -0.063604 0.008358
Y -0.097303 -0.032101 -0.127265
Z 0.032475 0.037129 0.082559
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : b5958ee1999e9aead1938c0bba2b674378807b3d
python : 3.8.6.final.0
python-bits : 64
OS : Darwin
OS-release : 20.2.0
Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~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.4
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.0.0
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.19.0
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 : 2.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
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/38647/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38647/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38648 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38648/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38648/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38648/events | https://github.com/pandas-dev/pandas/pull/38648 | 773,312,147 | MDExOlB1bGxSZXF1ZXN0NTQ0NDIwNDc4 | 38,648 | REF: standardize get_indexer/get_indexer_non_unique code | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "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-22T23:22:11Z | 2020-12-23T15:22:24Z | 2020-12-23T14:29:21Z | 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/38648/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38648/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38648.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38648",
"merged_at": "2020-12-23T14:29:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38648.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38648"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38649 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38649/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38649/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38649/events | https://github.com/pandas-dev/pandas/pull/38649 | 773,323,379 | MDExOlB1bGxSZXF1ZXN0NTQ0NDI5NDE3 | 38,649 | BUG: Fix regression for groupby.indices in case of unused categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "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 t... | 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"
} | 12 | 2020-12-22T23:58:34Z | 2020-12-30T09:10:38Z | 2020-12-29T23:16:30Z | MEMBER | null | - [x] closes #38642
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
To show the unused we categories, we can dispatch back as we did before #36842. Since Categorical does not support nan, the reason for the switch does not exist in this case. I think handling unused categories in ``get_indexer_dict`` is not desirable, because it would introduce a lot of convolution for one corner case we could handle here pretty easily.
Since we are only using ``indices`` in grouper only for categoricals, we do not have to worry about sorting as the test shows.
cc @jorisvandenbossche @mroeschke | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38649/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38649/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38649.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38649",
"merged_at": "2020-12-29T23:16:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38649.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38649"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38650 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38650/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38650/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38650/events | https://github.com/pandas-dev/pandas/issues/38650 | 773,344,845 | MDU6SXNzdWU3NzMzNDQ4NDU= | 38,650 | ENH: improve partial key indexing performance | {
"avatar_url": "https://avatars.githubusercontent.com/u/3867399?v=4",
"events_url": "https://api.github.com/users/DiegoAlbertoTorres/events{/privacy}",
"followers_url": "https://api.github.com/users/DiegoAlbertoTorres/followers",
"following_url": "https://api.github.com/users/DiegoAlbertoTorres/following{/other_user}",
"gists_url": "https://api.github.com/users/DiegoAlbertoTorres/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DiegoAlbertoTorres",
"id": 3867399,
"login": "DiegoAlbertoTorres",
"node_id": "MDQ6VXNlcjM4NjczOTk=",
"organizations_url": "https://api.github.com/users/DiegoAlbertoTorres/orgs",
"received_events_url": "https://api.github.com/users/DiegoAlbertoTorres/received_events",
"repos_url": "https://api.github.com/users/DiegoAlbertoTorres/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DiegoAlbertoTorres/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DiegoAlbertoTorres/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DiegoAlbertoTorres"
} | [
{
"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": "0b02e1",
"default": false,
"description": "Related ... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | 2020-12-23T01:03:41Z | 2021-03-07T19:52:17Z | null | CONTRIBUTOR | null | Indexing for entries in a series or dataframe with a multi-index has dramatically worse performance when using partial keys.
For example, for a series with a 3-level multi-index, `series[x]` is dramatically slower than `series[(x,y,z)]`. Please see the session below for a minimal reproduction:
```In [1]: %paste
from datetime import datetime
import pandas as pd
import numpy as np
import timeit
dates = pd.date_range('1997-01-01', '2020-12-31')
cats = list('abcdefghijklmnop')
multi = pd.MultiIndex.from_product([dates, cats, cats])
series = pd.Series(np.random.rand(len(multi)), index=multi)
date = datetime(year=2020, month=1, day=1)
# generate cache
series.loc[(date, 'a', 'a')]
repeats = 1000
len(series)
## -- End pasted text --
Out[1]: 2244096
In [2]: # Performance of indexing with full keys
In [3]: timeit.timeit(lambda: series.loc[(date, 'a', 'a')], number=repeats)
Out[3]: 0.08493588299825205
In [4]: # Performance of indexing with partial keys
In [5]: timeit.timeit(lambda: series.loc[date], number=repeats)
Out[5]: 4.771169905001443
```
From looking at the code, it seems that `BaseMultiIndexCodesEngine` (pandas/_libs/index.pyx) essentially creates a hash table (a `libindex.UInt64Engine`) with entries for each full key. This makes full-key lookups fast. Meanwhile, for partial key lookups on a sorted index, `MultiIndex._get_level_indexer` will do two binary searches for each provided level of the key.
Instead of a flattened-index approach (again, via `libindex.UInt64Engine`), it would be *excellent* if Pandas implemented nested indeces (nested hash tables, if you will) for this. This would have a small impact on the performance of full key lookups (current lookup complexity is O(1), new complexity would be O(number_of_levels)). However, partial key lookups would greatly benefit, going from O(log(size_of_series)) to O(number_of_levels_in_key). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38650/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38650/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38651 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38651/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38651/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38651/events | https://github.com/pandas-dev/pandas/pull/38651 | 773,389,801 | MDExOlB1bGxSZXF1ZXN0NTQ0NDg0MzQ5 | 38,651 | REF: use DatetimeArray._validate_setitem_value for DatetimeBlock._can_hold_element | {
"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,
"de... | 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-23T02:18:44Z | 2020-12-23T17:02:34Z | 2020-12-23T16:02:38Z | 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/38651/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38651/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38651.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38651",
"merged_at": "2020-12-23T16:02:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38651.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38651"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38652 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38652/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38652/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38652/events | https://github.com/pandas-dev/pandas/pull/38652 | 773,479,119 | MDExOlB1bGxSZXF1ZXN0NTQ0NTYzNjMy | 38,652 | DOC: example for doing a reversed rolling window | {
"avatar_url": "https://avatars.githubusercontent.com/u/50647513?v=4",
"events_url": "https://api.github.com/users/willb0246/events{/privacy}",
"followers_url": "https://api.github.com/users/willb0246/followers",
"following_url": "https://api.github.com/users/willb0246/following{/other_user}",
"gists_url": "https://api.github.com/users/willb0246/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willb0246",
"id": 50647513,
"login": "willb0246",
"node_id": "MDQ6VXNlcjUwNjQ3NTEz",
"organizations_url": "https://api.github.com/users/willb0246/orgs",
"received_events_url": "https://api.github.com/users/willb0246/received_events",
"repos_url": "https://api.github.com/users/willb0246/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willb0246/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willb0246/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willb0246"
} | [] | closed | false | null | [] | null | 0 | 2020-12-23T04:36:59Z | 2020-12-23T04:38:11Z | 2020-12-23T04:38:11Z | NONE | null | Trying to fix #38627
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38652/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38652/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38652.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38652",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38652.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38652"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38653 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38653/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38653/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38653/events | https://github.com/pandas-dev/pandas/pull/38653 | 773,500,815 | MDExOlB1bGxSZXF1ZXN0NTQ0NTgxMDU0 | 38,653 | BUG: MultiIndex, IntervalIndex intersection 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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "e11d21",
"default": false,
"description": "Cat... | 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-23T05:38:11Z | 2020-12-23T20:16:29Z | 2020-12-23T19:35: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/38653/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38653/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38653.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38653",
"merged_at": "2020-12-23T19:35:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38653.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38653"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38654 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38654/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38654/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38654/events | https://github.com/pandas-dev/pandas/pull/38654 | 773,526,474 | MDExOlB1bGxSZXF1ZXN0NTQ0NjAxODky | 38,654 | [BUG] Concat duplicates errors (or lack there of) | {
"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",
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 13 | 2020-12-23T06:38:13Z | 2021-01-12T23:04:12Z | 2020-12-24T15:08:03Z | CONTRIBUTOR | null | - [ ] closes #6963
- [ ] xref #36263, #36290
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
@jreback
So here is a basic proposal for making `concat` throw a more useful error when there are duplicate values on the index not being concatenated along. Below are some examples of how this error message is improved. I'm including a comparison to 1.2.0rc1, since it includes a pr which was supposed to change some of these errors to working cases, but those cases are extremely limited. That's why the first commit of this PR reverts that change.
I haven't gone too far with this since it a) reverts a merged PR and b) affects the release candidate, so should be conservative. I would like to get feedback on whether I should proceed with this approach.
My thinking right now is that a better error and revert should go into 1.2 – no behaviour change from 1.1, just better errors. A question of whether `pd.concat(..., join="inner")` means an intersection of indices (the current [and documented](https://pandas.pydata.org/docs/user_guide/merging.html#concatenating-objects) behaviour) or an actual inner join seems like something that could benefit from more discussion.
If they are set operations, it should probably error on duplicates. If they are relational algebra operations, they should work with duplicates. It would probably also be useful to then add more arguments to `concat`, like `merge`s `validate`.
# One dataframe has repeated column names (str)
```python
pd.concat([
pd.DataFrame(np.ones((4, 4)), columns=list("aabc")),
pd.DataFrame(np.ones((4, 3)), columns=list("abc")),
])
```
This PR
```pytb
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
Pandas v1.1.5
```pytb
ValueError: Plan shapes are not aligned
```
pandas 1.2.0rc1
```pytb
ValueError: Plan shapes are not aligned
```
-------------------------
# One dataframe has repeated column names (int)
```python
pd.concat([ # One dataframe has repeated column names
pd.DataFrame(np.ones((4, 4)), columns=[1, 1, 2, 3]),
pd.DataFrame(np.ones((4, 3)), columns=[1, 2, 3]),
)
```
This PR
```pytb
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
Pandas v1.1.5
```pytb
ValueError: Plan shapes are not aligned
```
pandas 1.2.0rc1
```pytb
ValueError: Plan shapes are not aligned
```
--------------------------
# Repeated columns (same amount) different column ordering
```python
pd.concat([
pd.DataFrame(np.ones((2, 4)), columns=list("aabc")),
pd.DataFrame(np.ones((2, 4)), columns=list("abca")),
])
```
This PR:
```pytb
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
In pandas v1.15
```pytb
AssertionError: Number of manager items must equal union of block items
# manager items: 3, # tot_items: 4
```
In pandas v1.2.0rc1
```pytb
AssertionError: Number of manager items must equal union of block items
# manager items: 3, # tot_items: 4
```
----------------------------
# Repeated columns of different values in each
This point is what the reverted PR was trying to fix. This demonstrates that it didn't seem to fix what it set out to, and that the intended fix introduced strange behaviour anyways. To do this, I'll use the reverted test case.
```python
# Test case from previous PR
a_int = pd.DataFrame([1, 2, 3, 4], index=[0, 1, 1, 4], columns=["a"])
b_int = pd.DataFrame([6, 7, 8, 9], index=[0, 0, 1, 3], columns=["b"])
# Same, but with string indexes
a_str = a_int.set_index(letters[a_int.index])
b_str = b_int.set_index(letters[b_int.index])
```
## Int index
```python
pd.concat([a_int, b_int], axis=1)
```
This PR
```pytb
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
Pandas v1.1.5
```pytb
ValueError: Shape of passed values is (8, 2), indices imply (6, 2)
```
pandas 1.2.0rc1
```pytb
a b
0 1.0 6.0
0 1.0 7.0
1 2.0 8.0
1 3.0 8.0
3 NaN 9.0
4 4.0 NaN
```
<details>
<summary> This behaviour is a bit strange </summary>
First, the `concat` documentation [defines the options here as set operations, like intersect and union](https://pandas.pydata.org/docs/user_guide/merging.html#concatenating-objects). Is this a union, or is this an outer join?
If these are joins, then inner joins only seem to work when they are equivalent to intersections:
```python
>>> pd.concat([a_int, b_int], axis=1, join="inner")
...
ValueError: Shape of passed values is (3, 2), indices imply (2, 2)
>>> pd.merge(a_int, b_int, how="inner", left_index=True, right_index=True)
a b
0 1 6
0 1 7
1 2 8
1 3 8
```
</details>
## str index
This is mostly just to show the behaviour in 1.2.0rc1 is different for string and int indices
```python
pd.concat([a_str, b_str], axis=1)
```
This PR
```pytb
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
Pandas v1.1.5
```pytb
ValueError: Shape of passed values is (5, 2), indices imply (4, 2)
```
pandas 1.2.0rc1
```pytb
ValueError: Shape of passed values is (5, 2), indices imply (4, 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/38654/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38654/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38654.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38654",
"merged_at": "2020-12-24T15:08:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38654.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38654"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38655 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38655/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38655/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38655/events | https://github.com/pandas-dev/pandas/issues/38655 | 773,557,976 | MDU6SXNzdWU3NzM1NTc5NzY= | 38,655 | BUG: multiple index dataframe with index names groupy rolling computing reture wrong index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1160499?v=4",
"events_url": "https://api.github.com/users/foolcage/events{/privacy}",
"followers_url": "https://api.github.com/users/foolcage/followers",
"following_url": "https://api.github.com/users/foolcage/following{/other_user}",
"gists_url": "https://api.github.com/users/foolcage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/foolcage",
"id": 1160499,
"login": "foolcage",
"node_id": "MDQ6VXNlcjExNjA0OTk=",
"organizations_url": "https://api.github.com/users/foolcage/orgs",
"received_events_url": "https://api.github.com/users/foolcage/received_events",
"repos_url": "https://api.github.com/users/foolcage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/foolcage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/foolcage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/foolcage"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull ... | closed | false | null | [] | null | 3 | 2020-12-23T07:43:07Z | 2020-12-23T14:06:46Z | 2020-12-23T14:06:46Z | 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
```python
import pandas as pd
arrays = [np.array(['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux']), np.array(['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two'])]
df = pd.DataFrame(np.random.randn(8, 4), index=arrays)
df.groupby(level=0).rolling(window=2).mean()
```
the result:
```
0 1 2 3
bar bar one NaN NaN NaN NaN
two -0.361421 -0.696686 -0.746137 -0.053621
baz baz one NaN NaN NaN NaN
two 1.014213 0.575803 0.199990 -0.596995
foo foo one NaN NaN NaN NaN
two -0.337821 0.921825 0.256034 -0.572588
qux qux one NaN NaN NaN NaN
two -0.404824 -1.209763 0.581025 -0.741480
```
```
#now set the name to the index
df.index.names=['a','b']
df.groupby(level=0).rolling(window=2).mean()
```
the result:
```
0 1 2 3
a
bar NaN NaN NaN NaN
bar -0.361421 -0.696686 -0.746137 -0.053621
baz NaN NaN NaN NaN
baz 1.014213 0.575803 0.199990 -0.596995
foo NaN NaN NaN NaN
foo -0.337821 0.921825 0.256034 -0.572588
qux NaN NaN NaN NaN
qux -0.404824 -1.209763 0.581025 -0.741480
```
#### Problem description
multiple index dataframe with index names groupy rolling computing reture wrong index
#### Expected Output
the return result should keep the original index
#### Output of ``pd.show_versions()``
<details>
In [36]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit : b5958ee1999e9aead1938c0bba2b674378807b3d
python : 3.8.2.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : zh_CN.UTF-8
LOCALE : zh_CN.UTF-8
pandas : 1.1.5
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.2
Cython : None
pytest : 6.2.0
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 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.2.14
tables : None
tabulate : None
xarray : None
xlrd : 1.1.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/38655/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38655/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38656 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38656/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38656/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38656/events | https://github.com/pandas-dev/pandas/issues/38656 | 773,584,184 | MDU6SXNzdWU3NzM1ODQxODQ= | 38,656 | why not check the column order and type consistent before use ‘appand’ mode in to_csv or equivalent ops such as to_sql? | {
"avatar_url": "https://avatars.githubusercontent.com/u/27874014?v=4",
"events_url": "https://api.github.com/users/svjack/events{/privacy}",
"followers_url": "https://api.github.com/users/svjack/followers",
"following_url": "https://api.github.com/users/svjack/following{/other_user}",
"gists_url": "https://api.github.com/users/svjack/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/svjack",
"id": 27874014,
"login": "svjack",
"node_id": "MDQ6VXNlcjI3ODc0MDE0",
"organizations_url": "https://api.github.com/users/svjack/orgs",
"received_events_url": "https://api.github.com/users/svjack/received_events",
"repos_url": "https://api.github.com/users/svjack/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/svjack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/svjack/subscriptions",
"type": "User",
"url": "https://api.github.com/users/svjack"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv... | closed | false | null | [] | null | 9 | 2020-12-23T08:35:40Z | 2021-03-27T01:38:56Z | 2021-03-27T01:38:56Z | NONE | null | as the title say, when i append a column permutation of a exists dataframe to a exists(saved)
csv file, the column permutation df not reordered by the exist header in csv file.
one reason i can understand is that not all csv file have header in the first row, so
this design seems reasonable, but for many cases, if the source code reordered for
our append op which have header or table column, this may be more convenient.
same problem to type. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38656/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38656/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38657 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38657/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38657/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38657/events | https://github.com/pandas-dev/pandas/pull/38657 | 773,697,944 | MDExOlB1bGxSZXF1ZXN0NTQ0NzM1NzMx | 38,657 | DOC/CI: fix class alias docstrings for sphinx 3.4 + unpin sphinx | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-12-23T11:49:38Z | 2020-12-24T09:07:29Z | 2020-12-23T22:37:05Z | MEMBER | null | Closes #38600
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38657/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38657/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38657.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38657",
"merged_at": "2020-12-23T22:37:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38657.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38657"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38658 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38658/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38658/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38658/events | https://github.com/pandas-dev/pandas/pull/38658 | 773,920,047 | MDExOlB1bGxSZXF1ZXN0NTQ0OTI4NTU2 | 38,658 | Backport PR #38293 on branch 1.2.x (BUG: read_json does not respect chunksize) | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "207de5",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-23T16:33:30Z | 2020-12-23T18:12:58Z | 2020-12-23T18:12:58Z | NONE | null | Backport PR #38293: BUG: read_json does not respect chunksize | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38658/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38658/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38658.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38658",
"merged_at": "2020-12-23T18:12:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38658.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38658"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38659 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38659/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38659/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38659/events | https://github.com/pandas-dev/pandas/pull/38659 | 773,924,993 | MDExOlB1bGxSZXF1ZXN0NTQ0OTMyNTM2 | 38,659 | TST: fix rest of mpl warnings | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "f2f074",
"default": false,
"description": "Wa... | 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-23T16:42:43Z | 2020-12-23T19:26:05Z | 2020-12-23T18:50:05Z | MEMBER | null | - [x] closes #18306
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38659/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38659/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38659.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38659",
"merged_at": "2020-12-23T18:50:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38659.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38659"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38660 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38660/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38660/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38660/events | https://github.com/pandas-dev/pandas/pull/38660 | 773,936,426 | MDExOlB1bGxSZXF1ZXN0NTQ0OTQxNjIy | 38,660 | Backport PR #38456 on branch 1.2.x (DOC: update wording about when xlrd engine can be used) | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-23T17:04:38Z | 2020-12-23T19:29:34Z | 2020-12-23T19:29:33Z | NONE | null | Backport PR #38456: DOC: update wording about when xlrd engine can be 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/38660/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38660/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38660.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38660",
"merged_at": "2020-12-23T19:29:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38660.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38660"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38661 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38661/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38661/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38661/events | https://github.com/pandas-dev/pandas/pull/38661 | 773,960,734 | MDExOlB1bGxSZXF1ZXN0NTQ0OTYxNTY0 | 38,661 | CLN: numba.prange usage | {
"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": "5319e7",
"default": false,
"description": "numba-accele... | 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-23T17:54:43Z | 2020-12-23T20:05:58Z | 2020-12-23T20:05:46Z | MEMBER | null | - [x] 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/38417#discussion_r547925255 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38661/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38661/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38661.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38661",
"merged_at": "2020-12-23T20:05:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38661.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38661"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38662 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38662/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38662/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38662/events | https://github.com/pandas-dev/pandas/pull/38662 | 773,992,705 | MDExOlB1bGxSZXF1ZXN0NTQ0OTg3NTUz | 38,662 | REF: collect dt64<->dt64tz astype in dtypes.cast | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e102d8",
"default": false,
"de... | 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-23T19:07:44Z | 2020-12-23T23:49:52Z | 2020-12-23T23:30:33Z | MEMBER | null | From here its straightforward to put the rest of Block._astype directly in astype_nansafe | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38662/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38662/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38662.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38662",
"merged_at": "2020-12-23T23:30:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38662.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38662"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38663 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38663/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38663/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38663/events | https://github.com/pandas-dev/pandas/pull/38663 | 773,998,009 | MDExOlB1bGxSZXF1ZXN0NTQ0OTkxOTI5 | 38,663 | Develop pre check | {
"avatar_url": "https://avatars.githubusercontent.com/u/11150412?v=4",
"events_url": "https://api.github.com/users/cjlynch278/events{/privacy}",
"followers_url": "https://api.github.com/users/cjlynch278/followers",
"following_url": "https://api.github.com/users/cjlynch278/following{/other_user}",
"gists_url": "https://api.github.com/users/cjlynch278/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cjlynch278",
"id": 11150412,
"login": "cjlynch278",
"node_id": "MDQ6VXNlcjExMTUwNDEy",
"organizations_url": "https://api.github.com/users/cjlynch278/orgs",
"received_events_url": "https://api.github.com/users/cjlynch278/received_events",
"repos_url": "https://api.github.com/users/cjlynch278/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cjlynch278/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cjlynch278/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cjlynch278"
} | [
{
"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-23T19:20:30Z | 2020-12-28T03:49:56Z | 2020-12-27T12:19:34Z | CONTRIBUTOR | null | - [ x] closes #37957
- [ ] 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/38663/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38663/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38663.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38663",
"merged_at": "2020-12-27T12:19:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38663.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38663"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38664 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38664/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38664/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38664/events | https://github.com/pandas-dev/pandas/pull/38664 | 774,004,603 | MDExOlB1bGxSZXF1ZXN0NTQ0OTk3Mzkw | 38,664 | CLN: Rolling helper attributes | {
"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, ewm... | 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-23T19:36:27Z | 2021-01-04T16:32:07Z | 2020-12-23T21:40:20Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
`is_datetimelike` was just an internal check and can be in-lined
`_on` can just be calculated once in the init | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38664/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38664/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38664.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38664",
"merged_at": "2020-12-23T21:40:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38664.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38664"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38665 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38665/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38665/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38665/events | https://github.com/pandas-dev/pandas/pull/38665 | 774,023,033 | MDExOlB1bGxSZXF1ZXN0NTQ1MDEyNTMx | 38,665 | REF: Index.__new__ | {
"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": "e99695",
"default": false,
"de... | 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-23T20:20:08Z | 2020-12-29T18:25:51Z | 2020-12-29T18:21:55Z | MEMBER | null | Aiming towards sharing more of this with Series and pd.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/38665/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38665/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38665.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38665",
"merged_at": "2020-12-29T18:21:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38665.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38665"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38666 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38666/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38666/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38666/events | https://github.com/pandas-dev/pandas/pull/38666 | 774,023,354 | MDExOlB1bGxSZXF1ZXN0NTQ1MDEyODE1 | 38,666 | CLN: Rolling _prep_values | {
"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, ewm... | 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-23T20:20:46Z | 2020-12-23T22:36:25Z | 2020-12-23T22:33:50Z | 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/38666/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38666/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38666.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38666",
"merged_at": "2020-12-23T22:33:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38666.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38666"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38667 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38667/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38667/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38667/events | https://github.com/pandas-dev/pandas/issues/38667 | 774,027,443 | MDU6SXNzdWU3NzQwMjc0NDM= | 38,667 | BUG: read_excel does not use pyxlsb for xlsb files when engine is None | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull ... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
... | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | 2020-12-23T20:29:49Z | 2020-12-27T23:54:54Z | 2020-12-27T23:50:37Z | MEMBER | null | From `pandas.tests.io.excel.test_excel_read_binary_via_read_excel` (currently only in #38571):
```
if read_ext == ".xlsb" and engine == "pyxlsb":
with pytest.raises(IOError, match="File contains no valid workbook part"):
with open("test1" + read_ext, "rb") as f:
pd.read_excel(f)
```
This should instead determine that pyxlsb should be used when installed and no error should be raised. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38667/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38667/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38668 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38668/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38668/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38668/events | https://github.com/pandas-dev/pandas/pull/38668 | 774,045,646 | MDExOlB1bGxSZXF1ZXN0NTQ1MDMxNDI0 | 38,668 | BUG: `scatter_matrix` raising with 2d axis passed | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "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-23T21:12:48Z | 2020-12-23T23:59:26Z | 2020-12-23T23:29:48Z | MEMBER | null | - [x] closes #16253
- [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/38668/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38668/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38668.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38668",
"merged_at": "2020-12-23T23:29:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38668.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38668"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38669 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38669/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38669/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38669/events | https://github.com/pandas-dev/pandas/pull/38669 | 774,076,146 | MDExOlB1bGxSZXF1ZXN0NTQ1MDU2ODAw | 38,669 | Backport PR #38657 on branch 1.2.x (DOC/CI: fix class alias docstrings for sphinx 3.4 + unpin sphinx) | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-23T22:37:19Z | 2020-12-24T01:11:25Z | 2020-12-24T01:11:24Z | NONE | null | Backport PR #38657: DOC/CI: fix class alias docstrings for sphinx 3.4 + unpin sphinx | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38669/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38669/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38669.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38669",
"merged_at": "2020-12-24T01:11:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38669.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38669"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38670 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38670/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38670/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38670/events | https://github.com/pandas-dev/pandas/pull/38670 | 774,084,551 | MDExOlB1bGxSZXF1ZXN0NTQ1MDYzODA5 | 38,670 | Backport PR #38571 on branch 1.2.x (DEPR: Adjust read excel behavior for xlrd >= 2.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-23T23:02:09Z | 2020-12-24T01:11:40Z | 2020-12-24T01:11:39Z | NONE | null | Backport PR #38571: DEPR: Adjust read excel behavior for xlrd >= 2.0 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38670/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38670/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38670.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38670",
"merged_at": "2020-12-24T01:11:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38670.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38670"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38671 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38671/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38671/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38671/events | https://github.com/pandas-dev/pandas/pull/38671 | 774,100,806 | MDExOlB1bGxSZXF1ZXN0NTQ1MDc3MDE1 | 38,671 | REF: share Index.union | {
"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": "e99695",
"default": false,
"de... | 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-24T00:01:43Z | 2020-12-24T22:27:58Z | 2020-12-24T21:57:14Z | 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/38671/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38671/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38671.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38671",
"merged_at": "2020-12-24T21:57:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38671.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38671"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38672 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38672/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38672/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38672/events | https://github.com/pandas-dev/pandas/issues/38672 | 774,138,308 | MDU6SXNzdWU3NzQxMzgzMDg= | 38,672 | BUG: SeriesGroupBy.value_counts is inconsistent with Series.value_counts when the Series is 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,
... | closed | false | {
"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"
} | [
{
"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}",
... | {
"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-24T02:27:43Z | 2020-12-31T16:41:17Z | 2020-12-31T16:41:17Z | 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
df = pd.DataFrame()
df["col1"] = ["A", "A", "B", "B"]
df["col2"] = pd.Categorical(["1", "2", "1", "1"], categories=["1", "2", "3"])
print(df.groupby("col1").col2.value_counts())
```
#### Problem description
A *value_counts* applied to the col2 Series:
```python
df.col2.value_counts()
```
yields:
```
1 3
2 1
3 0
Name: col2, dtype: int64
```
Because col2 is categorical we get the 0 count for value 3, as desired.
If we groupby col1 first
```python
df.groupby("col1").col2.value_counts()
```
we get the following output:
```
col1 col2
A 1 1
2 1
B 1 2
Name: col2, dtype: int64
```
#### Expected Output
The expected output can be achieved with a workaround:
```python
df.groupby("col1").col2.apply(pd.Series.value_counts)
```
which yields:
```
col1
A 2 1
1 1
3 0
B 1 2
3 0
2 0
Name: col2, dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.7.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 : None.None
pandas : 1.1.4
numpy : 1.19.1
pytz : 2019.3
dateutil : 2.8.0
pip : 20.2.3
setuptools : 41.2.0
Cython : 0.29.21
pytest : 5.3.5
hypothesis : None
sphinx : 2.4.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : 0.9.3
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : None
fsspec : 0.6.0
fastparquet : None
gcsfs : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.10
tables : None
tabulate : 0.8.6
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/38672/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38672/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38673 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38673/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38673/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38673/events | https://github.com/pandas-dev/pandas/pull/38673 | 774,149,078 | MDExOlB1bGxSZXF1ZXN0NTQ1MTEzNzM5 | 38,673 | TST: arithmetic test parametrization/cleanup | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "006b75",
"d... | 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-24T03:06:05Z | 2020-12-24T17:08:06Z | 2020-12-24T16:50:46Z | 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/38673/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38673/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38673.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38673",
"merged_at": "2020-12-24T16:50:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38673.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38673"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38674 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38674/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38674/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38674/events | https://github.com/pandas-dev/pandas/pull/38674 | 774,149,388 | MDExOlB1bGxSZXF1ZXN0NTQ1MTEzOTcx | 38,674 | REF: dispatch TDBlock._can_hold_element to TimedeltaArray._validate_setitem_value | {
"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": "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"
},
{
"color": "5319e7... | 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-24T03:07:09Z | 2020-12-24T17:59:07Z | 2020-12-24T17:47:18Z | 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/38674/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38674/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38674.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38674",
"merged_at": "2020-12-24T17:47:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38674.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38674"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38675 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38675/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38675/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38675/events | https://github.com/pandas-dev/pandas/issues/38675 | 774,150,057 | MDU6SXNzdWU3NzQxNTAwNTc= | 38,675 | BUG: dataframe.pivot() | {
"avatar_url": "https://avatars.githubusercontent.com/u/35186992?v=4",
"events_url": "https://api.github.com/users/jiahe224/events{/privacy}",
"followers_url": "https://api.github.com/users/jiahe224/followers",
"following_url": "https://api.github.com/users/jiahe224/following{/other_user}",
"gists_url": "https://api.github.com/users/jiahe224/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jiahe224",
"id": 35186992,
"login": "jiahe224",
"node_id": "MDQ6VXNlcjM1MTg2OTky",
"organizations_url": "https://api.github.com/users/jiahe224/orgs",
"received_events_url": "https://api.github.com/users/jiahe224/received_events",
"repos_url": "https://api.github.com/users/jiahe224/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jiahe224/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jiahe224/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jiahe224"
} | [
{
"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 ... | closed | false | null | [] | null | 2 | 2020-12-24T03:09:43Z | 2020-12-24T07:13:12Z | 2020-12-24T07:13:12Z | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
# official doc, https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.pivot.html
# first code with a bug
df = pd.DataFrame({
"lev1": [1, 1, 1, 2, 2, 2],
"lev2": [1, 1, 2, 1, 1, 2],
"lev3": [1, 2, 1, 2, 1, 2],
"lev4": [1, 2, 3, 4, 5, 6],
"values": [0, 1, 2, 3, 4, 5]})
df.pivot(index=["lev1", "lev2"], columns=["lev3"],values="values")
# ValueError: Length of passed values is 6, index implies 2.
# second code with a bug
>>> month_stats_melt.columns
[Out] Index(['stockcode', 'ym', 'variable', 'value'], dtype='object')
>>> month_stats_melt.head()
[Out]
stockcode ym variable value
0 70001 2020/01 月初占比 0.078306
1 70001 2020/02 月初占比 0.082309
2 70001 2020/03 月初占比 0.083712
3 70001 2020/04 月初占比 0.086247
4 70001 2020/05 月初占比 0.087852
>>> month_stats_melt.pivot(index='stockcode',columns=['ym', 'variable'],values='value')
# KeyError: 'Level ym not found'
```
#### Problem description
# first bug
ValueError Traceback (most recent call last)
<ipython-input-86-9830d2bb712c> in <module>
5 "lev4": [1, 2, 3, 4, 5, 6],
6 "values": [0, 1, 2, 3, 4, 5]})
----> 7 df.pivot(index=["lev1", "lev2"], columns=["lev3"],values="values")
~\anaconda3\lib\site-packages\pandas\core\frame.py in pivot(self, index, columns, values)
5921 from pandas.core.reshape.pivot import pivot
5922
-> 5923 return pivot(self, index=index, columns=columns, values=values)
5924
5925 _shared_docs[
~\anaconda3\lib\site-packages\pandas\core\reshape\pivot.py in pivot(data, index, columns, values)
447 )
448 else:
--> 449 indexed = data._constructor_sliced(data[values].values, index=index)
450 return indexed.unstack(columns)
451
~\anaconda3\lib\site-packages\pandas\core\series.py in __init__(self, data, index, dtype, name, copy, fastpath)
289 try:
290 if len(index) != len(data):
--> 291 raise ValueError(
292 f"Length of passed values is {len(data)}, "
293 f"index implies {len(index)}."
ValueError: Length of passed values is 6, index implies 2.
# second bug
ValueError Traceback (most recent call last)
~\anaconda3\lib\site-packages\pandas\core\indexes\multi.py in _get_level_number(self, level)
1294 try:
-> 1295 level = self.names.index(level)
1296 except ValueError:
ValueError: 'ym' is not in list
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
<ipython-input-21-42dbf3cc39b4> in <module>
----> 1 month_stats_pivot = month_stats_melt.pivot(index='stockcode',columns=['ym', 'variable'],values='value')
2 month_stats_pivot
~\anaconda3\lib\site-packages\pandas\core\frame.py in pivot(self, index, columns, values)
5921 from pandas.core.reshape.pivot import pivot
5922
-> 5923 return pivot(self, index=index, columns=columns, values=values)
5924
5925 _shared_docs[
~\anaconda3\lib\site-packages\pandas\core\reshape\pivot.py in pivot(data, index, columns, values)
448 else:
449 indexed = data._constructor_sliced(data[values].values, index=index)
--> 450 return indexed.unstack(columns)
451
452
~\anaconda3\lib\site-packages\pandas\core\series.py in unstack(self, level, fill_value)
3548 from pandas.core.reshape.reshape import unstack
3549
-> 3550 return unstack(self, level, fill_value)
3551
3552 # ----------------------------------------------------------------------
~\anaconda3\lib\site-packages\pandas\core\reshape\reshape.py in unstack(obj, level, fill_value)
396 # _unstack_multiple only handles MultiIndexes,
397 # and isn't needed for a single level
--> 398 return _unstack_multiple(obj, level, fill_value=fill_value)
399 else:
400 level = level[0]
~\anaconda3\lib\site-packages\pandas\core\reshape\reshape.py in _unstack_multiple(data, clocs, fill_value)
318 index = data.index
319
--> 320 clocs = [index._get_level_number(i) for i in clocs]
321
322 rlocs = [i for i in range(index.nlevels) if i not in clocs]
~\anaconda3\lib\site-packages\pandas\core\reshape\reshape.py in <listcomp>(.0)
318 index = data.index
319
--> 320 clocs = [index._get_level_number(i) for i in clocs]
321
322 rlocs = [i for i in range(index.nlevels) if i not in clocs]
~\anaconda3\lib\site-packages\pandas\core\indexes\multi.py in _get_level_number(self, level)
1296 except ValueError:
1297 if not is_integer(level):
-> 1298 raise KeyError(f"Level {level} not found")
1299 elif level < 0:
1300 level += self.nlevels
KeyError: 'Level ym not found'
#### Expected Output
# first
df.pivot(index=["lev1", "lev2"], columns=["lev3"],values="values")
lev3 1 2
lev1 lev2
1 1 0.0 1.0
2 2.0 NaN
2 1 4.0 3.0
2 NaN 5.0
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : Chinese (Simplified)_China.936
pandas : 1.0.5
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 49.2.0.post20200714
Cython : 0.29.21
pytest : 5.4.3
hypothesis : None
sphinx : 3.1.2
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
fastparquet : None
gcsfs : None
lxml.etree : 4.5.2
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : None
scipy : 1.5.0
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.9
numba : 0.50.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38675/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38675/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38676 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38676/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38676/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38676/events | https://github.com/pandas-dev/pandas/pull/38676 | 774,169,432 | MDExOlB1bGxSZXF1ZXN0NTQ1MTI4NTU5 | 38,676 | REF: share Index.difference | {
"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": "e99695",
"default": false,
"de... | 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-24T04:16:44Z | 2020-12-24T17:50:15Z | 2020-12-24T17:48:05Z | 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/38676/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38676/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38676.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38676",
"merged_at": "2020-12-24T17:48:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38676.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38676"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38677 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38677/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38677/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38677/events | https://github.com/pandas-dev/pandas/pull/38677 | 774,182,553 | MDExOlB1bGxSZXF1ZXN0NTQ1MTM4NjQy | 38,677 | CLN: simplify Block.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": "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"
},
{
"color": "207de5... | 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-24T05:01:01Z | 2020-12-24T17:50:39Z | 2020-12-24T17:49:04Z | 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/38677/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38677/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38677.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38677",
"merged_at": "2020-12-24T17:49:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38677.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38677"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38678 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38678/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38678/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38678/events | https://github.com/pandas-dev/pandas/pull/38678 | 774,343,725 | MDExOlB1bGxSZXF1ZXN0NTQ1Mjc0MzY3 | 38,678 | DOC: 1.2.0 release date | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-12-24T11:31:03Z | 2020-12-26T11:25:56Z | 2020-12-26T11:25:51Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38678/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38678/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38678.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38678",
"merged_at": "2020-12-26T11:25:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38678.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38678"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38679 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38679/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38679/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38679/events | https://github.com/pandas-dev/pandas/pull/38679 | 774,363,009 | MDExOlB1bGxSZXF1ZXN0NTQ1MjkxMDYw | 38,679 | Revert "Deprecated casting an object-dtype index of datetime objects to DatetimeIndex in the Series constructor (23598)" | {
"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": "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": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-12-24T12:16:19Z | 2020-12-26T10:03:57Z | 2020-12-25T23:16:52Z | MEMBER | null | This **partially** reverts commit 90a61350b1be7a200238212bd8d118a25a4d3d95.
- [ ] closes #38182
- [ ] 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/38679/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38679/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38679.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38679",
"merged_at": "2020-12-25T23:16:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38679.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38679"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38680 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38680/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38680/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38680/events | https://github.com/pandas-dev/pandas/pull/38680 | 774,477,813 | MDExOlB1bGxSZXF1ZXN0NTQ1Mzk3Nzg5 | 38,680 | CLN: Add typing for dtype argument in io/sql.py | {
"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": "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": "ea9... | 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-24T14:55:29Z | 2020-12-29T14:56:38Z | 2020-12-29T14:08:23Z | CONTRIBUTOR | null | Follow up PR for #37546:
- Added typing `Optional[DtypeArg]` for dtype arg in pandas/io, since those functions accept single values and dicts as `dtype` args
- Added typing `Optional[Dtype]` for dtype arg in pandas/core, since those functions only accept a single value as `dtype` args
- Added typing `Optional[NpDtype]` for dtype arg in pandas/core for functions that only accept numpy dtypes as `dtype` args
- [ ] 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/38680/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38680/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38680.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38680",
"merged_at": "2020-12-29T14:08:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38680.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38680"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38681 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38681/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38681/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38681/events | https://github.com/pandas-dev/pandas/pull/38681 | 774,480,686 | MDExOlB1bGxSZXF1ZXN0NTQ1NDAwMTc1 | 38,681 | BUG: DataFrame.rank with np.inf and np.nan | {
"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": "eb6420",
"default": false,
"description": "Non-arithmetic algos: va... | 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-24T15:03:41Z | 2020-12-30T21:57:24Z | 2020-12-30T21:11:28Z | MEMBER | null | - [x] closes #32593
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Seemed like two distinct issues here - first `np.inf` wasn't distinguished from `np.nan` (https://github.com/pandas-dev/pandas/issues/32593#issuecomment-597376199). The changes to `skip_condition` logic handles that, but doesn't fix issue from OP. Rest of diff is to handle when `np.inf` and `np.nan` are both included. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38681/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38681/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38681.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38681",
"merged_at": "2020-12-30T21:11:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38681.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38681"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38682 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38682/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38682/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38682/events | https://github.com/pandas-dev/pandas/pull/38682 | 774,482,379 | MDExOlB1bGxSZXF1ZXN0NTQ1NDAxNjA5 | 38,682 | Backport PR #38654 on branch 1.2.x ([BUG] Concat duplicates errors (or lack there of)) | {
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-24T15:08:49Z | 2020-12-24T16:24:26Z | 2020-12-24T16:24:26Z | NONE | null | Backport PR #38654: [BUG] Concat duplicates errors (or lack there of) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38682/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38682/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38682.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38682",
"merged_at": "2020-12-24T16:24:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38682.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38682"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38683 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38683/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38683/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38683/events | https://github.com/pandas-dev/pandas/pull/38683 | 774,487,284 | MDExOlB1bGxSZXF1ZXN0NTQ1NDA1NzU1 | 38,683 | REF: simplify coerce_to_target_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": "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": "207... | 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-24T15:24:26Z | 2020-12-24T20:35:28Z | 2020-12-24T20:32:09Z | 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/38683/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38683/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38683.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38683",
"merged_at": "2020-12-24T20:32:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38683.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38683"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38684 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38684/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38684/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38684/events | https://github.com/pandas-dev/pandas/pull/38684 | 774,500,037 | MDExOlB1bGxSZXF1ZXN0NTQ1NDE2MjU5 | 38,684 | Add match=msg to pytest.raises or convert to external_error_raised for modules in tests/plotting | {
"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"
}
] | 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-24T16:07:43Z | 2020-12-24T19:10:37Z | 2020-12-24T19:03:02Z | MEMBER | null | This pull request xref #30999 to remove bare `pytest.raises`. It doesn't close that issue as I have only addressed files within `pandas/tests/plotting/`.
Things I did that were not simple adding `match = msg` to `pytest.raises` or converting them to `tm.external_error_raised`:
- In `pandas/plotting/_matplotlib/_core.py` I found two error messages somewhat unclear. I changed the error message in the `ValueError` raised by `_get_stacked_values` to be, imo, a little bit clearer. In addition, in the constructor for `PiePlot`, the previous error message for the `ValueError` was "None doesn't allow negative values" which I changed to "pie plot doesn't allow negative values" because I believe that was the original intent.
- In `test_frame.py`, in the `test_errorbar_plot` method, the `pytest.raises` was allowing matplotlib to raise either a `TypeError` or a `ValueError`. I changed it to an `external_error_raised` but also specified it to be a `TypeError` because that is what it is, and I didn't see the reason it was allowed to be either error.
- Also in `test_frame.py`, the test `test_invalid_xy_args` was pytest-parameterized to test two different kinds of errors: x not being a label or position, or the label being bad. I split it into two tests, calling the new test `test_bad_label`
- Also in `test_frame.py`, the test `test_partially_invalid_plot_data` looped over a list with one element in it. I guessed that this was a remnant of an older test strategy that is no longer employed. I removed the list and made the kind of plot being tested more explicit.
- In a couple of test modules I moved a few lines out of the context of the `pytest.raises` because they were setup lines that didn't raise the error: I wanted to make it clear exactly which pandas method was raising the error.
I will note that another developer, [DylanBrdt](https://github.com/DylanBrdt) commented on the issue that they would address these files but they haven't been active on github since February.
- [ ] xref #30999
- [ ] 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/38684/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38684/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38684.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38684",
"merged_at": "2020-12-24T19:03:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38684.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38684"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38685 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38685/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38685/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38685/events | https://github.com/pandas-dev/pandas/pull/38685 | 774,526,512 | MDExOlB1bGxSZXF1ZXN0NTQ1NDM3NTUz | 38,685 | post-merge fixup | {
"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": "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"
} | 2 | 2020-12-24T17:57:07Z | 2020-12-24T19:05:46Z | 2020-12-24T18:59:22Z | MEMBER | null | #38674 combined with #38677 lead to a NameError this fixes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38685/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38685/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38685.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38685",
"merged_at": "2020-12-24T18:59:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38685.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38685"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38686 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38686/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38686/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38686/events | https://github.com/pandas-dev/pandas/pull/38686 | 774,537,889 | MDExOlB1bGxSZXF1ZXN0NTQ1NDQ2NTA0 | 38,686 | CLN: algos.searchsorted | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
... | closed | false | null | [] | {
"closed_at": "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-24T18:56:58Z | 2020-12-24T20:36:10Z | 2020-12-24T20:30:13Z | 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/38686/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38686/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38686.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38686",
"merged_at": "2020-12-24T20:30:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38686.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38686"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38687 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38687/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38687/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38687/events | https://github.com/pandas-dev/pandas/issues/38687 | 774,542,026 | MDU6SXNzdWU3NzQ1NDIwMjY= | 38,687 | Split up pandas/tests/io/pytables/test_store.py into smaller modules | {
"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": "207de5",
"d... | closed | false | null | [] | null | 2 | 2020-12-24T19:20:20Z | 2020-12-25T04:56:22Z | 2020-12-25T04:56:22Z | MEMBER | null | pandas/tests/io/pytables/test_store.py is more than 5000 lines long, which is pretty long for a test module. It would be good to break it up into smaller, logical pieces, each in its own test module.
Came out of PR 38609.
OT: @moink love to split this file up: pandas/tests/io/pytables/test_store.py in a separate PR :->
_Originally posted by @jreback in https://github.com/pandas-dev/pandas/issues/38609#issuecomment-749256512_ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38687/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38687/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38688 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38688/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38688/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38688/events | https://github.com/pandas-dev/pandas/pull/38688 | 774,566,949 | MDExOlB1bGxSZXF1ZXN0NTQ1NDY5NTI1 | 38,688 | TST: implement tm.check_setitem_equivalents | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"d... | 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-24T21:49:55Z | 2020-12-28T15:40:13Z | 2020-12-28T15:27:03Z | 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/38688/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38688/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38688.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38688",
"merged_at": "2020-12-28T15:27:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38688.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38688"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38689 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38689/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38689/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38689/events | https://github.com/pandas-dev/pandas/pull/38689 | 774,569,964 | MDExOlB1bGxSZXF1ZXN0NTQ1NDcyMTI1 | 38,689 | REF: make pd._testing a directory | {
"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"
} | 2 | 2020-12-24T22:02:10Z | 2020-12-28T01:19:04Z | 2020-12-28T00:42:01Z | MEMBER | null | We've accumulated some other helpers outside of pd._testing that id like to move there (xref #38688). This is a good time to split the large file. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38689/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38689/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38689.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38689",
"merged_at": "2020-12-28T00:42:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38689.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38689"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38690 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38690/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38690/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38690/events | https://github.com/pandas-dev/pandas/issues/38690 | 774,584,760 | MDU6SXNzdWU3NzQ1ODQ3NjA= | 38,690 | ASV: Add benchmark for indexing with .loc for sorted/unsorted DatetimeIndex | {
"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": "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": "a1... | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/35455325?v=4",
"events_url": "https://api.github.com/users/sonalprabhu/events{/privacy}",
"followers_url": "https://api.github.com/users/sonalprabhu/followers",
"following_url": "https://api.github.com/users/sonalprabhu/following{/other_user}",
"gists_url": "https://api.github.com/users/sonalprabhu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sonalprabhu",
"id": 35455325,
"login": "sonalprabhu",
"node_id": "MDQ6VXNlcjM1NDU1MzI1",
"organizations_url": "https://api.github.com/users/sonalprabhu/orgs",
"received_events_url": "https://api.github.com/users/sonalprabhu/received_events",
"repos_url": "https://api.github.com/users/sonalprabhu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sonalprabhu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sonalprabhu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sonalprabhu"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/35455325?v=4",
"events_url": "https://api.github.com/users/sonalprabhu/events{/privacy}",
"followers_url": "https://api.github.com/users/sonalprabhu/followers",
"following_url": "https://api.github.com/users/sonalprabhu/following{/other_user}"... | {
"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"
} | 4 | 2020-12-25T00:05:41Z | 2021-10-09T15:17:17Z | null | MEMBER | null | xref #17754, a benchmark should be added for indexing with .loc for sorted/unsorted `DatetimeIndex`. With a constructed `DatetimeIndex`, for example
```python
dates = pd.date_range('2011-1-1', periods=500000, freq='min')
index = np.random.choice(dates, 500000, replace=True)
df = pd.DataFrame(index=index, data={'a': 1})
df_sorted = df.sort_index()
```
the behavior of interest to benchmark is
```python
df.loc['2011-6-11']
```
and
```python
df_sorted.loc['2011-6-11']
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38690/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38690/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38691 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38691/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38691/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38691/events | https://github.com/pandas-dev/pandas/issues/38691 | 774,614,474 | MDU6SXNzdWU3NzQ2MTQ0NzQ= | 38,691 | BUG: Pandas pivot_table fails with columns and margin | {
"avatar_url": "https://avatars.githubusercontent.com/u/4367669?v=4",
"events_url": "https://api.github.com/users/davidmakovoz/events{/privacy}",
"followers_url": "https://api.github.com/users/davidmakovoz/followers",
"following_url": "https://api.github.com/users/davidmakovoz/following{/other_user}",
"gists_url": "https://api.github.com/users/davidmakovoz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidmakovoz",
"id": 4367669,
"login": "davidmakovoz",
"node_id": "MDQ6VXNlcjQzNjc2Njk=",
"organizations_url": "https://api.github.com/users/davidmakovoz/orgs",
"received_events_url": "https://api.github.com/users/davidmakovoz/received_events",
"repos_url": "https://api.github.com/users/davidmakovoz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidmakovoz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidmakovoz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidmakovoz"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 4 | 2020-12-25T03:30:32Z | 2020-12-28T20:40:09Z | 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
arrays = [['bar', 'bar', 'foo', 'foo'],
['one', 'two', 'one', 'two'], ['A','A','B','B']]
tuples = list(zip(*arrays))
index = pd.MultiIndex.from_tuples(tuples, names=['first', 'second', 'third'])
values = np.array([[1,2,3,4],[5,6,7,8]])
df = pd.DataFrame(values.T, index=index, columns = ['0', '1'])
# here comes the pivot_table, this one works, it has 'colums'
df.pivot_table(index = ['first', 'second'], columns = 'third', aggfunc = 'sum')
#this one works, it has 'margins'
df.pivot_table(index = ['first', 'second'], aggfunc = 'sum', margins=True)
#this one fails, it has both 'columns' and 'margins'
df.pivot_table(index = ['first', 'second'], columns = 'third', aggfunc = 'sum', margins=True)
```
#### Problem description
---------------------------------------------------------------------------
```python-traceback
KeyError Traceback (most recent call last)
<ipython-input-5-a9c12a5808db> in <module>
13
14 #this one fails, it has both 'columns' and 'margins'
---> 15 df.pivot_table(index = ['first', 'second'], columns = 'third', aggfunc = 'sum', margins=True)
~\Anaconda3\lib\site-packages\pandas\core\frame.py in pivot_table(self, values, index, columns, aggfunc, fill_value, margins, dropna, margins_name, observed)
6068 from pandas.core.reshape.pivot import pivot_table
6069
-> 6070 return pivot_table(
6071 self,
6072 values=values,
~\Anaconda3\lib\site-packages\pandas\core\reshape\pivot.py in pivot_table(data, values, index, columns, aggfunc, fill_value, margins, dropna, margins_name, observed)
156 if dropna:
157 data = data[data.notna().all(axis=1)]
--> 158 table = _add_margins(
159 table,
160 data,
~\Anaconda3\lib\site-packages\pandas\core\reshape\pivot.py in _add_margins(table, data, values, rows, cols, aggfunc, observed, margins_name, fill_value)
226
227 elif values:
--> 228 marginal_result_set = _generate_marginal_results(
229 table,
230 data,
~\Anaconda3\lib\site-packages\pandas\core\reshape\pivot.py in _generate_marginal_results(table, data, values, rows, cols, aggfunc, observed, grand_margin, margins_name)
323
324 if len(rows) > 0:
--> 325 margin = data[rows + values].groupby(rows, observed=observed).agg(aggfunc)
326 cat_axis = 1
327
~\Anaconda3\lib\site-packages\pandas\core\frame.py in __getitem__(self, key)
2804 if is_iterator(key):
2805 key = list(key)
-> 2806 indexer = self.loc._get_listlike_indexer(key, axis=1, raise_missing=True)[1]
2807
2808 # take() does not accept boolean indexers
~\Anaconda3\lib\site-packages\pandas\core\indexing.py in _get_listlike_indexer(self, key, axis, raise_missing)
1550 keyarr, indexer, new_indexer = ax._reindex_non_unique(keyarr)
1551
-> 1552 self._validate_read_indexer(
1553 keyarr, indexer, o._get_axis_number(axis), raise_missing=raise_missing
1554 )
~\Anaconda3\lib\site-packages\pandas\core\indexing.py in _validate_read_indexer(self, key, indexer, axis, raise_missing)
1644 if not (self.name == "loc" and not raise_missing):
1645 not_found = list(set(key) - set(ax))
-> 1646 raise KeyError(f"{not_found} not in index")
1647
1648 # we skip the warning on Categorical/Interval
KeyError: "['first', 'second'] not in index"
```
#### Expected Output
No error thrown.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.0.5
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 49.2.0.post20200714
Cython : 0.29.21
pytest : 5.4.3
hypothesis : None
sphinx : 3.1.2
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
fastparquet : None
gcsfs : None
lxml.etree : 4.5.2
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : None
scipy : 1.5.0
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.9
numba : 0.50.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38691/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38691/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38692 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38692/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38692/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38692/events | https://github.com/pandas-dev/pandas/issues/38692 | 774,620,221 | MDU6SXNzdWU3NzQ2MjAyMjE= | 38,692 | API: setting np.nan into Series[bool] | {
"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": "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": "b60... | 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"
} | 11 | 2020-12-25T04:06:58Z | 2021-01-28T03:29:55Z | 2021-01-28T03:29:55Z | MEMBER | null | ```
ser = pd.Series([True, False, True, False])
ser[0] = np.nan
>>> ser
0 NaN
1 0.0
2 1.0
3 0.0
dtype: float64
```
It would be more consistent (and would simplify the code) if this cast to object and did not convert True/False to 1.0/0.0. ATM we have 2 tests that such a change would break. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38692/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38692/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38693 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38693/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38693/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38693/events | https://github.com/pandas-dev/pandas/pull/38693 | 774,682,017 | MDExOlB1bGxSZXF1ZXN0NTQ1NTU0NDQw | 38,693 | TST: Inconsistent behavior of .replace() in Int64 series with NA | {
"avatar_url": "https://avatars.githubusercontent.com/u/24451137?v=4",
"events_url": "https://api.github.com/users/ftrihardjo/events{/privacy}",
"followers_url": "https://api.github.com/users/ftrihardjo/followers",
"following_url": "https://api.github.com/users/ftrihardjo/following{/other_user}",
"gists_url": "https://api.github.com/users/ftrihardjo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ftrihardjo",
"id": 24451137,
"login": "ftrihardjo",
"node_id": "MDQ6VXNlcjI0NDUxMTM3",
"organizations_url": "https://api.github.com/users/ftrihardjo/orgs",
"received_events_url": "https://api.github.com/users/ftrihardjo/received_events",
"repos_url": "https://api.github.com/users/ftrihardjo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ftrihardjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ftrihardjo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ftrihardjo"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "d7e102",
"d... | 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-25T08:47:35Z | 2020-12-28T14:55:49Z | 2020-12-28T14:55:46Z | CONTRIBUTOR | null | - [ ] closes #38267
- [ ] 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/38693/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38693/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38693.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38693",
"merged_at": "2020-12-28T14:55:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38693.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38693"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38694 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38694/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38694/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38694/events | https://github.com/pandas-dev/pandas/issues/38694 | 774,712,126 | MDU6SXNzdWU3NzQ3MTIxMjY= | 38,694 | DOC add command to run pre-commit checks to pull request template | {
"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": 7171206... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/32351527?v=4",
"events_url": "https://api.github.com/users/BobinMathew/events{/privacy}",
"followers_url": "https://api.github.com/users/BobinMathew/followers",
"following_url": "https://api.github.com/users/BobinMathew/following{/other_user}",
"gists_url": "https://api.github.com/users/BobinMathew/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BobinMathew",
"id": 32351527,
"login": "BobinMathew",
"node_id": "MDQ6VXNlcjMyMzUxNTI3",
"organizations_url": "https://api.github.com/users/BobinMathew/orgs",
"received_events_url": "https://api.github.com/users/BobinMathew/received_events",
"repos_url": "https://api.github.com/users/BobinMathew/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BobinMathew/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BobinMathew/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BobinMathew"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/32351527?v=4",
"events_url": "https://api.github.com/users/BobinMathew/events{/privacy}",
"followers_url": "https://api.github.com/users/BobinMathew/followers",
"following_url": "https://api.github.com/users/BobinMathew/following{/other_user}"... | null | 14 | 2020-12-25T11:13:22Z | 2021-01-10T18:30:49Z | 2021-01-10T18:30:49Z | MEMBER | null | I think we could add
```bash
passes `pre-commit run --from-ref=upstream/master --to-ref=HEAD --all-files`
```
to the pull request template (maybe it could even replace the current `black` and `flake8` ones).
The file to change would be
```
.github/PULL_REQUEST_TEMPLATE.md
```
Some of the contributing guide may also need updating if it mentions the `flake8 --diff` command. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38694/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38694/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38695 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38695/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38695/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38695/events | https://github.com/pandas-dev/pandas/pull/38695 | 774,718,835 | MDExOlB1bGxSZXF1ZXN0NTQ1NTgyMzMz | 38,695 | TST: GH30999 Add match=msg to all pytest.raises in tests/generic/methods/test_sample.py | {
"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",
"d... | 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-25T11:56:33Z | 2020-12-27T22:11:51Z | 2020-12-27T22:11:48Z | 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 one test module: pandas/tests/generic/methods/test_sample.py
The only other thing I did was move a few lines out of the `pytest.raises` context as they were setup lines that did not raise the error, in order to make it clear which pandas method was raising the error.
- [ ] 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/38695/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38695/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38695.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38695",
"merged_at": "2020-12-27T22:11:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38695.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38695"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38696 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38696/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38696/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38696/events | https://github.com/pandas-dev/pandas/pull/38696 | 774,736,717 | MDExOlB1bGxSZXF1ZXN0NTQ1NTk2MDIw | 38,696 | Updated PULL_REQUEST_TEMPLATE.md | {
"avatar_url": "https://avatars.githubusercontent.com/u/32351527?v=4",
"events_url": "https://api.github.com/users/BobinMathew/events{/privacy}",
"followers_url": "https://api.github.com/users/BobinMathew/followers",
"following_url": "https://api.github.com/users/BobinMathew/following{/other_user}",
"gists_url": "https://api.github.com/users/BobinMathew/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BobinMathew",
"id": 32351527,
"login": "BobinMathew",
"node_id": "MDQ6VXNlcjMyMzUxNTI3",
"organizations_url": "https://api.github.com/users/BobinMathew/orgs",
"received_events_url": "https://api.github.com/users/BobinMathew/received_events",
"repos_url": "https://api.github.com/users/BobinMathew/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BobinMathew/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BobinMathew/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BobinMathew"
} | [
{
"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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/32351527?v=4",
"events_url": "https://api.github.com/users/BobinMathew/events{/privacy}",
"followers_url": "https://api.github.com/users/BobinMathew/followers",
"following_url": "https://api.github.com/users/BobinMathew/following{/other_user}",
"gists_url": "https://api.github.com/users/BobinMathew/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BobinMathew",
"id": 32351527,
"login": "BobinMathew",
"node_id": "MDQ6VXNlcjMyMzUxNTI3",
"organizations_url": "https://api.github.com/users/BobinMathew/orgs",
"received_events_url": "https://api.github.com/users/BobinMathew/received_events",
"repos_url": "https://api.github.com/users/BobinMathew/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BobinMathew/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BobinMathew/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BobinMathew"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/32351527?v=4",
"events_url": "https://api.github.com/users/BobinMathew/events{/privacy}",
"followers_url": "https://api.github.com/users/BobinMathew/followers",
"following_url": "https://api.github.com/users/BobinMathew/following{/other_user}"... | {
"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"
} | 9 | 2020-12-25T13:59:23Z | 2021-01-04T04:45:57Z | 2021-01-04T01:35:29Z | CONTRIBUTOR | null | - [ ] closes #38696
- [ ] tests added / passed
- [ ] passes `pre-commit run --from-ref=upstream/master --to-ref=HEAD --all-files`
- [ ] 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/38696/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38696/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38696.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38696",
"merged_at": "2021-01-04T01:35:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38696.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38696"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38697 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38697/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38697/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38697/events | https://github.com/pandas-dev/pandas/pull/38697 | 774,744,086 | MDExOlB1bGxSZXF1ZXN0NTQ1NjAxNTY5 | 38,697 | TST: GH30999 Add match=msg to all pytest.raises in tests/indexes | {
"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",
"d... | 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-25T14:51:32Z | 2020-12-31T16:25:27Z | 2020-12-31T16: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 modules in pandas/tests/indexes
I made a few of the raised errors more specific types. There are two other changes that are a bit more complex but I will put specific comments on the code lines to explain those.
- [ ] 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/38697/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38697/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38697.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38697",
"merged_at": "2020-12-31T16:25:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38697.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38697"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38698 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38698/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38698/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38698/events | https://github.com/pandas-dev/pandas/pull/38698 | 774,744,904 | MDExOlB1bGxSZXF1ZXN0NTQ1NjAyMjI0 | 38,698 | BUG: Fix pd.json_normalize to not skip the first element of a generator input | {
"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": "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... | 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-25T14:57:06Z | 2020-12-30T14:08:38Z | 2020-12-30T14:08:34Z | CONTRIBUTOR | null |
- [x] closes #35923
- [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/38698/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38698/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38698.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38698",
"merged_at": "2020-12-30T14:08:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38698.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38698"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38699 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38699/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38699/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38699/events | https://github.com/pandas-dev/pandas/pull/38699 | 774,795,812 | MDExOlB1bGxSZXF1ZXN0NTQ1NjM4ODQ2 | 38,699 | Backport PR #38679 on branch 1.2.x (Revert "Deprecated casting an object-dtype index of datetime objects to DatetimeIndex in the Series constructor (23598)") | {
"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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-12-25T23:18:02Z | 2020-12-26T10:53:42Z | 2020-12-26T10:53:42Z | NONE | null | Backport PR #38679: Revert "Deprecated casting an object-dtype index of datetime objects to DatetimeIndex in the Series constructor (23598)" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38699/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38699/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38699.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38699",
"merged_at": "2020-12-26T10:53:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38699.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38699"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38700 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38700/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38700/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38700/events | https://github.com/pandas-dev/pandas/pull/38700 | 774,800,773 | MDExOlB1bGxSZXF1ZXN0NTQ1NjQyMjY1 | 38,700 | CLN: remove unnecessary casting from Block methods | {
"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": "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"
},
{
"color": "207de5... | 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-26T00:16:36Z | 2020-12-26T03:13:29Z | 2020-12-26T02:37:32Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38700/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38700/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38700.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38700",
"merged_at": "2020-12-26T02:37:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38700.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38700"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38701 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38701/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38701/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38701/events | https://github.com/pandas-dev/pandas/pull/38701 | 774,850,329 | MDExOlB1bGxSZXF1ZXN0NTQ1Njc2ODEy | 38,701 | DEPR MultiIndex.is_lexsorted and MultiIndex.lexsort_depth | {
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "5319e7",
"default": false,
"description": "Fun... | 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-26T09:49:04Z | 2021-01-05T08:49:42Z | 2021-01-04T00:15:57Z | MEMBER | null | - [x] closes #32259
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The issue is that `is_lexsorted` only looks at whether the _codes_ are sorted - the order of the codes doesn't necessarily reflect the sorting of the index values, e.g. if the index is created from a `.groupby(sort=False)` operation (see the linked issue for an example).
So, instead of `is_lexsorted`, users should use `is_monotonic_increasing`. There isn't an equivalent function to point them to for `lexsort_depth`, right? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38701/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38701/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38701.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38701",
"merged_at": "2021-01-04T00:15:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38701.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38701"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38702 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38702/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38702/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38702/events | https://github.com/pandas-dev/pandas/pull/38702 | 774,860,766 | MDExOlB1bGxSZXF1ZXN0NTQ1NjgzOTY0 | 38,702 | Backport PR #38678 on branch 1.2.x (DOC: 1.2.0 release date) | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-12-26T11:26:21Z | 2020-12-26T12:27:25Z | 2020-12-26T12:27:25Z | NONE | null | Backport PR #38678: DOC: 1.2.0 release date | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38702/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38702/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38702.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38702",
"merged_at": "2020-12-26T12:27:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38702.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38702"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38703 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38703/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38703/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38703/events | https://github.com/pandas-dev/pandas/issues/38703 | 774,875,339 | MDU6SXNzdWU3NzQ4NzUzMzk= | 38,703 | CI: jedi v0.18.0 breaks a number of ipython test_tab_complete_warning tests | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": ... | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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.3.x",
"due_on": "2021-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 5 | 2020-12-26T13:32:15Z | 2021-08-02T10:55:41Z | 2021-08-02T10:54:40Z | MEMBER | null | It looks like jedi version 0.18.0 was released yesterday and broke the following tests:
FAILED pandas/tests/arrays/categorical/test_warnings.py::TestCategoricalWarnings::test_tab_complete_warning
FAILED pandas/tests/frame/test_api.py::TestDataFrameMisc::test_tab_complete_warning[DataFrame]
FAILED pandas/tests/frame/test_api.py::TestDataFrameMisc::test_tab_complete_warning[Series]
FAILED pandas/tests/indexes/test_base.py::TestIndex::test_tab_complete_warning
FAILED pandas/tests/resample/test_resampler_grouper.py::test_tab_complete_ipython6_warning
in the Linux py38_Locale pipeline only.
I have looked into it and it seems that it is caused by this commit which is part of version 0.18.0 of Jedi
https://github.com/davidhalter/jedi/commit/abb2250bf5b11cd0b0733949311df54ca0adbbf1
Ipython has a commit that I believe will fix the error:
https://github.com/ipython/ipython/commit/dcd9dc90aee7e4c5c52ce44c18e7518934790612
but it's slated for inclusion in version 8.0 of ipython:
https://github.com/ipython/ipython/issues/11816
(version 7.19.0 is the most recent release, on 2020-10-30)
It's causing failures in all PRs that were submitted today (2020-12-26) starting with #38696
- [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.
---
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38703/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38703/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38704 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38704/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38704/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38704/events | https://github.com/pandas-dev/pandas/pull/38704 | 774,892,260 | MDExOlB1bGxSZXF1ZXN0NTQ1NzA2NTAw | 38,704 | DOC: Start v1.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"
} | 1 | 2020-12-26T15:27:24Z | 2020-12-26T17:23:10Z | 2020-12-26T17:23:05Z | 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/38704/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38704/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38704.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38704",
"merged_at": "2020-12-26T17:23:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38704.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38704"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38705 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38705/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38705/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38705/events | https://github.com/pandas-dev/pandas/pull/38705 | 774,895,624 | MDExOlB1bGxSZXF1ZXN0NTQ1NzA4ODIw | 38,705 | TST: Add match=msg to all pytest.raises in pandas/tests/io/json | {
"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",
"d... | 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-26T15:53:44Z | 2020-12-27T22:57:19Z | 2020-12-27T22:57:01Z | 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 tje pandas/tests/io/json directory.
I also moved a couple of lines out of the `pytest.raises` context to make clear which pandas method was raising the error. And I deleted a couple of unreachable asserts in tests.
- [ ] 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/38705/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38705/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38705.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38705",
"merged_at": "2020-12-27T22:57:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38705.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38705"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38706 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38706/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38706/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38706/events | https://github.com/pandas-dev/pandas/pull/38706 | 774,906,864 | MDExOlB1bGxSZXF1ZXN0NTQ1NzE2NjI1 | 38,706 | Backport PR #38704 on branch 1.2.x (DOC: Start v1.2.1 release notes) | {
"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": "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"
} | 0 | 2020-12-26T17:23:22Z | 2020-12-26T18:24:25Z | 2020-12-26T18:24:25Z | NONE | null | Backport PR #38704: DOC: Start v1.2.1 release notes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38706/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38706/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38706.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38706",
"merged_at": "2020-12-26T18:24:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38706.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38706"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38707 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38707/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38707/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38707/events | https://github.com/pandas-dev/pandas/pull/38707 | 774,927,267 | MDExOlB1bGxSZXF1ZXN0NTQ1NzMwMzg2 | 38,707 | TST: Remove broken test for deprecated functionality | {
"avatar_url": "https://avatars.githubusercontent.com/u/23384863?v=4",
"events_url": "https://api.github.com/users/theOehrly/events{/privacy}",
"followers_url": "https://api.github.com/users/theOehrly/followers",
"following_url": "https://api.github.com/users/theOehrly/following{/other_user}",
"gists_url": "https://api.github.com/users/theOehrly/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/theOehrly",
"id": 23384863,
"login": "theOehrly",
"node_id": "MDQ6VXNlcjIzMzg0ODYz",
"organizations_url": "https://api.github.com/users/theOehrly/orgs",
"received_events_url": "https://api.github.com/users/theOehrly/received_events",
"repos_url": "https://api.github.com/users/theOehrly/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/theOehrly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/theOehrly/subscriptions",
"type": "User",
"url": "https://api.github.com/users/theOehrly"
} | [
{
"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": "5319e7",
"default": false,
"description": "Fu... | 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-26T20:10:28Z | 2020-12-28T14:26:14Z | 2020-12-28T14:26:10Z | CONTRIBUTOR | null | Registering converters by default on import is deprecated since #28722.
The test did not fail as the subprocess call contains errors in the python code. Specifically, the code is in double and single quotes. This means that the python code passed to the subprocess call is never actually excecuted. Python in the subprocess is called to "excecute" a string. This is will simply finish with exit code 0 as there is nothing to do basically.
Additonally, the test code contains a stray closing bracket at the end which would make the code fail if it was excecuted.
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] 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/38707/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38707/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38707.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38707",
"merged_at": "2020-12-28T14:26:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38707.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38707"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38708 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38708/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38708/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38708/events | https://github.com/pandas-dev/pandas/issues/38708 | 774,935,269 | MDU6SXNzdWU3NzQ5MzUyNjk= | 38,708 | REGR: repr of stringified floats (e.g. "3.50") drop ending "0" | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objec... | 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"
} | 1 | 2020-12-26T21:24:11Z | 2020-12-29T03:18:49Z | 2020-12-29T03:18:49Z | CONTRIBUTOR | null | Example:
```python
>>> ser = pd.Series(["3.50"])
>>> ser
0 3.5 # wrong repr, should show 3.50
dtype: object
>>> ser[0]
'3.50' # this is ok
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38708/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38708/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38709 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38709/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38709/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38709/events | https://github.com/pandas-dev/pandas/pull/38709 | 774,952,502 | MDExOlB1bGxSZXF1ZXN0NTQ1NzQ3Mzg2 | 38,709 | API: Series[bool][key] = np.nan -> cast to object | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "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-27T00:16:16Z | 2021-06-30T14:39:48Z | 2021-01-28T03:29:55Z | MEMBER | null | - [x] closes #38692
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
sits on top of #38688 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38709/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38709/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38709.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38709",
"merged_at": "2021-01-28T03:29:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38709.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38709"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38710 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38710/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38710/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38710/events | https://github.com/pandas-dev/pandas/pull/38710 | 774,954,489 | MDExOlB1bGxSZXF1ZXN0NTQ1NzQ4Nzgy | 38,710 | ENH: Add xlsb auto detection to read_excel and respect default options | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"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-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-27T00:39:30Z | 2021-01-03T17:19:47Z | 2021-01-03T16:48:19Z | MEMBER | null | - [x] closes #35416 , closes #34252
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Note: Even though most of the reader options for read_excel only have 1 option, I think it is still useful to respect pandas.set_option.
Also, if some people have older xlrd(e.g. 1.2.0) and don't have openpyxl, they can use options to force pandas to read xlsx files with xlrd. (this is possible now, but xlrd's maintainer has made it clear he doesn't support for things like this) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38710/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38710/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38710.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38710",
"merged_at": "2021-01-03T16:48:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38710.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38710"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38711 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38711/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38711/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38711/events | https://github.com/pandas-dev/pandas/pull/38711 | 774,959,552 | MDExOlB1bGxSZXF1ZXN0NTQ1NzUyMzQ2 | 38,711 | BUG: loc with empty multiindex raises exception | {
"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": "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",
"d... | 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-27T01:36:38Z | 2020-12-29T02:16:54Z | 2020-12-28T16:41:47Z | CONTRIBUTOR | null | - [x] closes #36936
- [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/38711/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38711/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38711.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38711",
"merged_at": "2020-12-28T16:41:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38711.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38711"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38712 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38712/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38712/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38712/events | https://github.com/pandas-dev/pandas/issues/38712 | 774,967,832 | MDU6SXNzdWU3NzQ5Njc4MzI= | 38,712 | BUG: Pandas 1.2.0 not importing numpy | {
"avatar_url": "https://avatars.githubusercontent.com/u/10844941?v=4",
"events_url": "https://api.github.com/users/brendanahart/events{/privacy}",
"followers_url": "https://api.github.com/users/brendanahart/followers",
"following_url": "https://api.github.com/users/brendanahart/following{/other_user}",
"gists_url": "https://api.github.com/users/brendanahart/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brendanahart",
"id": 10844941,
"login": "brendanahart",
"node_id": "MDQ6VXNlcjEwODQ0OTQx",
"organizations_url": "https://api.github.com/users/brendanahart/orgs",
"received_events_url": "https://api.github.com/users/brendanahart/received_events",
"repos_url": "https://api.github.com/users/brendanahart/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brendanahart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brendanahart/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brendanahart"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | 2020-12-27T03:17:13Z | 2020-12-27T03:30:16Z | 2020-12-27T03:23:29Z | NONE | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
Collecting pandas
222
Downloading http://*private-pypi-repo*/root/pypi/%2Bf/e03/386615b970b8b/pandas-1.2.0.tar.gz (5.4 MB)
223
Installing build dependencies: started
224
Installing build dependencies: finished with status 'done'
225
Getting requirements to build wheel: started
226
Getting requirements to build wheel: finished with status 'error'
227
ERROR: Command errored out with exit status 1:
228
command: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpyzo8hnvu
229
cwd: /tmp/pip-install-wsvw3tn6/pandas_0107e3e2e0984808803b03b19130c9e4
230
Complete output (18 lines):
231
Traceback (most recent call last):
232
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
233
main()
234
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
235
json_out['return_val'] = hook(**hook_input['kwargs'])
236
File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
237
return hook(config_settings)
238
File "/tmp/pip-build-env-isjnq9ut/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 150, in get_requires_for_build_wheel
239
config_settings, requirements=['wheel'])
240
File "/tmp/pip-build-env-isjnq9ut/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 130, in _get_build_requires
241
self.run_setup()
242
File "/tmp/pip-build-env-isjnq9ut/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 254, in run_setup
243
self).run_setup(setup_script=setup_script)
244
File "/tmp/pip-build-env-isjnq9ut/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 145, in run_setup
245
exec(compile(code, __file__, 'exec'), locals())
246
File "setup.py", line 20, in <module>
247
import numpy
248
ModuleNotFoundError: No module named 'numpy'
#### Problem description
When I am downloading pandas 1.2.0 to build my docker image for my python project, I am getting the following error above. Numpy seems to be not importing for some reason. The excepted output would be what was when I building the image yesterday (before the release)
I am using the following command to download my requirements:
RUN pip install --no-cache-dir -r requirements.txt --extra-index-url $INDEX_URL --trusted-host $TRUSTED_HOST_URL
And the requirements.txt is as follows:
connexion
python_dateutil
setuptools
Flask-Testing
libmctwist >= 1.0.0
swagger-ui-bundle
libmctwist requirements.txt contains:
libinfinityd >= 1.1.0
azure-cosmos
libinfinityd requirements.txt contains:
pandas
requests
pyyaml
six
mysql-connector-python
I've tried altering libinfinityd's requirements.txt to contain NumPy, at this point though, I think I'm going to revert to pandas 1.1.5 in the libinfinityd's requirements.txt
#### Expected Output
Collecting pandas
214
Downloading http://*private-pypi-repo*/root/pypi/%2Bf/f10/fc41ee3c75a47/pandas-1.1.5.tar.gz (5.2 MB)
215
Installing build dependencies: started
216
Installing build dependencies: still running...
217
Installing build dependencies: still running...
218
Installing build dependencies: still running...
219
Installing build dependencies: finished with status 'done'
220
Getting requirements to build wheel: started
221
Getting requirements to build wheel: still running...
222
Getting requirements to build wheel: finished with status 'done'
223
Preparing wheel metadata: started
224
Preparing wheel metadata: finished with status 'done'
225
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)': /simple/pytz/
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38712/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38712/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38713 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38713/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38713/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38713/events | https://github.com/pandas-dev/pandas/pull/38713 | 774,974,910 | MDExOlB1bGxSZXF1ZXN0NTQ1NzYzMDAx | 38,713 | DOC: fix link redirect to NumFOCUS | {
"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"
} | 0 | 2020-12-27T04:37:16Z | 2020-12-27T15:37:08Z | 2020-12-27T12:53:51Z | 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/38713/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38713/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38713.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38713",
"merged_at": "2020-12-27T12:53:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38713.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38713"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38714 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38714/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38714/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38714/events | https://github.com/pandas-dev/pandas/issues/38714 | 774,988,378 | MDU6SXNzdWU3NzQ5ODgzNzg= | 38,714 | REGR: to_csv problems with zip compression and large dataframes | {
"avatar_url": "https://avatars.githubusercontent.com/u/45938987?v=4",
"events_url": "https://api.github.com/users/chmielcode/events{/privacy}",
"followers_url": "https://api.github.com/users/chmielcode/followers",
"following_url": "https://api.github.com/users/chmielcode/following{/other_user}",
"gists_url": "https://api.github.com/users/chmielcode/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chmielcode",
"id": 45938987,
"login": "chmielcode",
"node_id": "MDQ6VXNlcjQ1OTM4OTg3",
"organizations_url": "https://api.github.com/users/chmielcode/orgs",
"received_events_url": "https://api.github.com/users/chmielcode/received_events",
"repos_url": "https://api.github.com/users/chmielcode/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chmielcode/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chmielcode/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chmielcode"
} | [
{
"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 ... | 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"
} | 8 | 2020-12-27T06:53:59Z | 2020-12-29T00:05:07Z | 2020-12-29T00:05:07Z | NONE | null | #### Code Sample, a copy-pastable example
```python
import pandas as pd
import io
f = io.BytesIO()
d = pd.DataFrame({'a':[1]*5000})
d.to_csv(f, compression='zip')
f.seek(0)
pd.read_csv(f, compression='zip')
```
#### Problem description
Writing large (over 1163 rows) dataframes to csv with zip compression (inferred or explicit; to file or io.BytesIO) creates a corrupted zip file.
ValueError: Multiple files found in ZIP file. Only one file per ZIP: ['zip', 'zip', 'zip', 'zip', 'zip']
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : Polish_Poland.1250
pandas : 1.2.0
numpy : 1.19.3
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.0.post20201221
Cython : None
pytest : 6.2.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 : None
bottleneck : 1.3.2
fsspec : 0.8.5
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : None
tables : None
tabulate : None
xarray : 0.16.2
xlrd : None
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/38714/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38714/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38715 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38715/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38715/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38715/events | https://github.com/pandas-dev/pandas/pull/38715 | 774,995,947 | MDExOlB1bGxSZXF1ZXN0NTQ1Nzc3Nzgw | 38,715 | CI: pin jedi version<0.18.0 | {
"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": "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-27T08:05:17Z | 2020-12-27T17:55:01Z | 2020-12-27T10:51:12Z | MEMBER | null | ... so CI jobs pass.
xref #38703. OP should be kept open until upstream fix comes through. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38715/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38715/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38715.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38715",
"merged_at": "2020-12-27T10:51:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38715.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38715"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38716 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38716/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38716/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38716/events | https://github.com/pandas-dev/pandas/pull/38716 | 775,016,381 | MDExOlB1bGxSZXF1ZXN0NTQ1NzkyMzU0 | 38,716 | Backport PR #38715 on branch 1.2.x (CI: pin jedi version<0.18.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "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-27T10:53:32Z | 2020-12-27T12:55:06Z | 2020-12-27T12:55:05Z | NONE | null | Backport PR #38715: CI: pin jedi version<0.18.0 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38716/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38716/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38716.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38716",
"merged_at": "2020-12-27T12:55:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38716.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38716"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38717 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38717/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38717/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38717/events | https://github.com/pandas-dev/pandas/pull/38717 | 775,018,980 | MDExOlB1bGxSZXF1ZXN0NTQ1Nzk0MTg3 | 38,717 | Slicing columns with mixed types <str>,<int> fails with ValueError #20975 | {
"avatar_url": "https://avatars.githubusercontent.com/u/16283808?v=4",
"events_url": "https://api.github.com/users/hungyiwu/events{/privacy}",
"followers_url": "https://api.github.com/users/hungyiwu/followers",
"following_url": "https://api.github.com/users/hungyiwu/following{/other_user}",
"gists_url": "https://api.github.com/users/hungyiwu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hungyiwu",
"id": 16283808,
"login": "hungyiwu",
"node_id": "MDQ6VXNlcjE2MjgzODA4",
"organizations_url": "https://api.github.com/users/hungyiwu/orgs",
"received_events_url": "https://api.github.com/users/hungyiwu/received_events",
"repos_url": "https://api.github.com/users/hungyiwu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hungyiwu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hungyiwu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hungyiwu"
} | [
{
"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",
"d... | 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-27T11:12:59Z | 2020-12-27T22:55:04Z | 2020-12-27T22:55:00Z | CONTRIBUTOR | null | - [ ] closes #20975
- [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/38717/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38717/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38717.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38717",
"merged_at": "2020-12-27T22:55:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38717.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38717"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38718 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38718/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38718/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38718/events | https://github.com/pandas-dev/pandas/issues/38718 | 775,037,706 | MDU6SXNzdWU3NzUwMzc3MDY= | 38,718 | Change tests of casting an interval range index from float to int to reflect current behaviour | {
"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",
"d... | closed | false | {
"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"
} | [
{
"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": ... | {
"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-27T13:23:52Z | 2020-12-30T03:27:23Z | 2020-12-30T03:27:23Z | MEMBER | null | This is to address an issue I came across in PR #38697 where there is a test, `test_subtype_integer_errors`, in pandas/tests/indexes/interval/test_astype.py marked as failing because it is not raising `ValueErrors` when casting an interval range index from float to int. My reading of #15832 is that it is unnecessary to raise a `ValueError` in this case.
As I wrote in the comments to #38697:
The question is, as a user of pandas, if you had an interval range such as [(0.0, 0.25], (0.25, 0.5], (0.5, 0.75], (0.75, 1.0], (1.0, 1.25], (1.25, 1.5], (1.5, 1.75], (1.75, 2.0], (2.0, 2.25], (2.25, 2.5]], and you cast it to int, what would you want or expect? The old (failing) version of the test said you expect a ValueError. I am saying you expect [(0, 0], (0, 0], (0, 0], (0, 1], (1, 1], (1, 1], (1, 1], (1, 2], (2, 2], (2, 2]] which, as I said, looks not that useful as an IntervalIndex, but is not wrong either.
So what I plan to do is delete two `pytest.raises` calls in `test_subtype_integer_errors` but also add a test to ensure that casting an interval range from float to int works as expected.
>
> Your logic makes sense to me, but I'd defer to someone with more experience on how we handle `IntervalIndex`.
>
> If being removed from this test, we definitely want to make sure this specific casting behavior is being tested somewhere. To keep this pr simple and easier to merge, I'd suggest reverting modification of this test, then making a followup pr to clean up this test and add tests for any untested casting behavior.
>
> _Originally posted by @mzeitlin11 in https://github.com/pandas-dev/pandas/pull/38697#discussion_r549023944_
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38718/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38718/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.