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
unknown
updated_at
unknown
closed_at
unknown
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/44023
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44023/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44023/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44023/events
https://github.com/pandas-dev/pandas/pull/44023
1,025,823,599
PR_kwDOAA0YD84tLEfV
44,023
Bug multiple css selectors GH44011
{ "avatar_url": "https://avatars.githubusercontent.com/u/29665452?v=4", "events_url": "https://api.github.com/users/mabittar/events{/privacy}", "followers_url": "https://api.github.com/users/mabittar/followers", "following_url": "https://api.github.com/users/mabittar/following{/other_user}", "gists_url": "https://api.github.com/users/mabittar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mabittar", "id": 29665452, "login": "mabittar", "node_id": "MDQ6VXNlcjI5NjY1NDUy", "organizations_url": "https://api.github.com/users/mabittar/orgs", "received_events_url": "https://api.github.com/users/mabittar/received_events", "repos_url": "https://api.github.com/users/mabittar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mabittar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mabittar/subscriptions", "type": "User", "url": "https://api.github.com/users/mabittar" }
[ { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "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": 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" }
3
"2021-10-14T00:59:05Z"
"2021-10-16T13:58:15Z"
"2021-10-16T13:58:11Z"
CONTRIBUTOR
null
- [x ] closes #44011 - [x ] tests added / passed - [x ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44023/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44023/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44023.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44023", "merged_at": "2021-10-16T13:58:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44023.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44023" }
https://api.github.com/repos/pandas-dev/pandas/issues/44024
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44024/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44024/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44024/events
https://github.com/pandas-dev/pandas/issues/44024
1,025,895,800
I_kwDOAA0YD849Je14
44,024
ENH: Why neg rolling is too much hard?!
{ "avatar_url": "https://avatars.githubusercontent.com/u/5004900?v=4", "events_url": "https://api.github.com/users/mablue/events{/privacy}", "followers_url": "https://api.github.com/users/mablue/followers", "following_url": "https://api.github.com/users/mablue/following{/other_user}", "gists_url": "https://api.github.com/users/mablue/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mablue", "id": 5004900, "login": "mablue", "node_id": "MDQ6VXNlcjUwMDQ5MDA=", "organizations_url": "https://api.github.com/users/mablue/orgs", "received_events_url": "https://api.github.com/users/mablue/received_events", "repos_url": "https://api.github.com/users/mablue/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mablue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mablue/subscriptions", "type": "User", "url": "https://api.github.com/users/mablue" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
1
"2021-10-14T03:09:39Z"
"2021-10-14T16:45:19Z"
"2021-10-14T16:45:08Z"
NONE
null
#### Is your feature request related to a problem? No #### Describe the solution you'd like When we have negative shift why we cant implement negative rolling same as that? #### API breaking implications Running `df.rolling(-2)` whithout error #### Describe alternatives you've considered There is no any alternative before #### Additional context [Stackoverflow question ❓](https://stackoverflow.com/questions/52681679/checking-condition-in-negative-rolling-window-within-groupby-in-pandas) ```python def roller(x): return x.rolling(window=5, min_periods=1)['Value'].max().shift().gt(10).astype(int) df['Result'] = df.iloc[::-1].apply(roller).iloc[::-1].values print(df) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44024/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44024/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44025
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44025/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44025/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44025/events
https://github.com/pandas-dev/pandas/issues/44025
1,025,907,702
I_kwDOAA0YD849Jhv2
44,025
BUG: DatetimeIndex.intersection with non-anchored freq
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" }, { "color": "006b75", "default": false, "description": "union, intersection, difference, symmetric_difference", "id": 3073524400, "name": "setops", "node_id": "MDU6TGFiZWwzMDczNTI0NDAw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops" } ]
open
false
null
[]
null
1
"2021-10-14T03:33:55Z"
"2021-10-16T04:29:43Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd off = pd.offsets.CDay(1, False) ts = pd.Timestamp("2021-10-13 09") ts2 = ts + pd.Timedelta("1 hour") dti = pd.date_range(start=ts, periods=10, freq=off) dti2 = pd.date_range(start=ts2, periods=10, freq=off) assert set(dti).intersection(set(dti2)) == set() # yep! res = dti.intersection(dti2) assert len(res) == 0 # nope! ``` ### Issue Description _can_fast_intersect is wrong for the non-anchored case, returning `self.freq.n == 1` which is not sufficient in this case. It may be that we just need to return False for non-anchored. ### Expected Behavior The intersection should be empty ### Installed Versions master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44025/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44025/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44026
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44026/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44026/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44026/events
https://github.com/pandas-dev/pandas/issues/44026
1,025,957,618
I_kwDOAA0YD849Jt7y
44,026
BUG: Using pd.to_datetime function in groupby.apply function causes key value error
{ "avatar_url": "https://avatars.githubusercontent.com/u/62872848?v=4", "events_url": "https://api.github.com/users/apache-chnsys/events{/privacy}", "followers_url": "https://api.github.com/users/apache-chnsys/followers", "following_url": "https://api.github.com/users/apache-chnsys/following{/other_user}", "gists_url": "https://api.github.com/users/apache-chnsys/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apache-chnsys", "id": 62872848, "login": "apache-chnsys", "node_id": "MDQ6VXNlcjYyODcyODQ4", "organizations_url": "https://api.github.com/users/apache-chnsys/orgs", "received_events_url": "https://api.github.com/users/apache-chnsys/received_events", "repos_url": "https://api.github.com/users/apache-chnsys/repos", "site_admin": false, "starred_url": "https://api.github.com/users/apache-chnsys/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/apache-chnsys/subscriptions", "type": "User", "url": "https://api.github.com/users/apache-chnsys" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
null
10
"2021-10-14T05:14:50Z"
"2021-11-19T22:47:19Z"
"2021-11-19T22:47:19Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd def test_apply(data): print(data) data['date'] = pd.to_datetime(data['date']) dt1 = pd.DataFrame({ 'key': ['aa', 'bb', 'cc', 'dd'], 'date': ['2020-01-01', '2020-01-01', '2020-02-01', '2020-02-01'], 'qty': [1.0, 1.0, 3.0, 3.0]}) dt1.groupby("key").apply(lambda x: test_apply(x)) ``` ### Issue Description 在“test_apply”中对输入参数data中类型为object的字段'date'使用pd.to_datetime()函数之后,在test_apply函数中循环打印lambda函数中的x,期望结果为每次打印key值不同,分别为“aa”,"bb","cc","dd",但实际结果为"aa","aa","aa","aa"。 After using the pd.to_datetime() function in the "test_apply" field "date" with the type of object in the input parameter data, print the x in the lambda function in the test_apply function in a loop. The expected result is that the key value is different each time it is printed, respectively "aa","bb","cc","dd", but the actual result is "aa","aa","aa","aa". key date qty 0 aa 2020-01-01 1.0 key date qty 1 aa 2020-01-01 1.0 key date qty 2 aa 2020-01-01 3.0 key date qty 3 aa 2020-01-01 3.0 ### Expected Behavior key date qty 0 aa 2020-01-01 1.0 key date qty 1 bb 2020-01-01 1.0 key date qty 2 cc 2020-01-01 3.0 key date qty 3 dd 2020-01-01 3.0 ### Installed Versions <details> python : 3.6.5.final.0 pandas : 1.1.5 </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/44026/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44026/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44027
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44027/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44027/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44027/events
https://github.com/pandas-dev/pandas/issues/44027
1,026,132,592
I_kwDOAA0YD849KYpw
44,027
Consider cibuildwheel for building wheels?
{ "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": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
open
false
null
[]
null
3
"2021-10-14T08:49:15Z"
"2021-11-16T17:17:43Z"
null
MEMBER
null
Disclaimer: I haven't been involved recently in maintaining our wheel building infrastructure, so I don't know how well it is working or not. But, I recently had a [good experience](https://github.com/pygeos/pygeos/blob/64af221b02a8fba2dbe28de5702b01afcb045306/.github/workflows/release.yml#L39) with cibuildwheel with a relatively complex package, so therefore thought to bring it up. Cibuildwheel (https://cibuildwheel.readthedocs.io/en/stable/) is a package helping to build wheels for all different platforms and architectures / python versions on your CI of choice (they support most of the common CI services). And if using GitHub Actions, you can build all wheels with a single CI service. Scikit-learn started to use it last year (https://github.com/scikit-learn/scikit-learn/pull/17921). You can see their github workflow as an example: https://github.com/scikit-learn/scikit-learn/blob/main/.github/workflows/wheels.yml (this single workflow config includes building all the wheels, building the sdist, and uploading them to the anaconda wheelhouse for nightly builds). (cc @ogrisel @thomasjpfan in case you have feedback on how the switch worked out) And it seems numpy also started considering this: https://github.com/numpy/numpy/pull/20102 Another example mentioned in the dev meeting: https://github.com/googleapis/python-crc32c/blob/b1a8d14bf0a1b4f1faa0f9fdd4307e15699daeff/.github/workflows/python-publish.yml#L245 Some potential advantages: - Easier to maintain (no issues with Travis credits, be able to do everything with a single CI, easier to support all architectures and new python versions, no need to synchronize with a different repo, ..) - Having it in the repo here also allows triggering the builds on a PR on demand, if a PR would influence wheel building (I wouldn't enable the workflow by default for every PR). cc @simonjayhawkins @lithomas1 since you are the ones mostly working on https://github.com/MacPython/pandas-wheels, it's of course mostly up to you to decide (and even if the end result might be better, every migration also has a cost).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44027/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44027/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44028
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44028/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44028/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44028/events
https://github.com/pandas-dev/pandas/pull/44028
1,026,191,921
PR_kwDOAA0YD84tMNnc
44,028
Temporarily add back Index._get_attributes_dict for dask compat
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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" }
5
"2021-10-14T09:48:22Z"
"2021-10-14T22:48:00Z"
"2021-10-14T22:47:57Z"
MEMBER
null
See https://github.com/pandas-dev/pandas/pull/43895#issuecomment-938472299. There was of course no need to revert the full PR, just to add this method again.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44028/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44028/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44028.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44028", "merged_at": "2021-10-14T22:47:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44028.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44028" }
https://api.github.com/repos/pandas-dev/pandas/issues/44029
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44029/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44029/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44029/events
https://github.com/pandas-dev/pandas/pull/44029
1,026,256,021
PR_kwDOAA0YD84tMbFh
44,029
ENH/CI: Add Cache for Azure pipelines - posix
{ "avatar_url": "https://avatars.githubusercontent.com/u/23552331?v=4", "events_url": "https://api.github.com/users/trallard/events{/privacy}", "followers_url": "https://api.github.com/users/trallard/followers", "following_url": "https://api.github.com/users/trallard/following{/other_user}", "gists_url": "https://api.github.com/users/trallard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trallard", "id": 23552331, "login": "trallard", "node_id": "MDQ6VXNlcjIzNTUyMzMx", "organizations_url": "https://api.github.com/users/trallard/orgs", "received_events_url": "https://api.github.com/users/trallard/received_events", "repos_url": "https://api.github.com/users/trallard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trallard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trallard/subscriptions", "type": "User", "url": "https://api.github.com/users/trallard" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
open
false
null
[]
null
6
"2021-10-14T10:59:00Z"
"2021-11-15T21:36:24Z"
null
CONTRIBUTOR
null
- [x] closes ##42580 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Trying to leverage the use of cache on Azure pipelines - currently WIP will make some investigations
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44029/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44029/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44029.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44029", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44029.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44029" }
https://api.github.com/repos/pandas-dev/pandas/issues/44030
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44030/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44030/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44030/events
https://github.com/pandas-dev/pandas/issues/44030
1,026,357,602
I_kwDOAA0YD849LPli
44,030
BUG: .fillna({}) doesn't work
{ "avatar_url": "https://avatars.githubusercontent.com/u/1872019?v=4", "events_url": "https://api.github.com/users/q121212/events{/privacy}", "followers_url": "https://api.github.com/users/q121212/followers", "following_url": "https://api.github.com/users/q121212/following{/other_user}", "gists_url": "https://api.github.com/users/q121212/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/q121212", "id": 1872019, "login": "q121212", "node_id": "MDQ6VXNlcjE4NzIwMTk=", "organizations_url": "https://api.github.com/users/q121212/orgs", "received_events_url": "https://api.github.com/users/q121212/received_events", "repos_url": "https://api.github.com/users/q121212/repos", "site_admin": false, "starred_url": "https://api.github.com/users/q121212/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/q121212/subscriptions", "type": "User", "url": "https://api.github.com/users/q121212" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
open
false
null
[]
null
2
"2021-10-14T12:48:42Z"
"2021-10-17T16:05:26Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame([1,2,np.nan, pd.NA], columns=['a']) # case 1 df.fillna({}) # case 2 df.fillna({np.nan: {}, pd.NA: {}}) ``` ### Issue Description .fillna() doesn't work as expected for case then `value = {}` as written in ```pandas.DataFrame.fillna```: > DataFrame.fillna(value=None, method=None, axis=None, inplace=False, limit=None, downcast=None) > > Fill NA/NaN values using the specified method. > > Parameters > > value scalar, dict, Series, or DataFrame > > Value to use to fill holes (e.g. 0), alternately a dict/Series/DataFrame of values specifying which value to use for each index (for a Series) or column (for a DataFrame). Values not in the dict/Series/DataFrame will not be filled. This value cannot be a list. > ### Expected Behavior all values (`np.nan` and `pd.NA`) should be changed to `{}` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.6.final.0 python-bits : 64 OS : Linux OS-release : 5.10.47-linuxkit Version : #1 SMP Sat Jul 3 21:51:47 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : 0.29.24 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : 4.10.0 bottleneck : 1.3.2 fsspec : 2021.08.1 fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.9 pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.23 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : 0.54.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/44030/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44030/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44031
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44031/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44031/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44031/events
https://github.com/pandas-dev/pandas/issues/44031
1,026,664,551
I_kwDOAA0YD849Mahn
44,031
BUG: apply swallows exceptions, shows inconsistent behaviour
{ "avatar_url": "https://avatars.githubusercontent.com/u/28565097?v=4", "events_url": "https://api.github.com/users/gshaikov/events{/privacy}", "followers_url": "https://api.github.com/users/gshaikov/followers", "following_url": "https://api.github.com/users/gshaikov/following{/other_user}", "gists_url": "https://api.github.com/users/gshaikov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gshaikov", "id": 28565097, "login": "gshaikov", "node_id": "MDQ6VXNlcjI4NTY1MDk3", "organizations_url": "https://api.github.com/users/gshaikov/orgs", "received_events_url": "https://api.github.com/users/gshaikov/received_events", "repos_url": "https://api.github.com/users/gshaikov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gshaikov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gshaikov/subscriptions", "type": "User", "url": "https://api.github.com/users/gshaikov" }
[ { "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
{ "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
"2021-10-14T17:51:07Z"
"2021-10-18T11:48:43Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd # The problem case is 2.3 # --- Dataframe with 1 row --- # 1.1 instantiate dataframe with 1 row. df_full = pd.DataFrame([{"a": 1, "b": 2, "c": 3}], columns=["a", "b", "c"]) print(f"df_full =\n{df_full}\n") # 1.2 returns Series with 1 element ("Series([6], dtype: float64)""). df_full_apply_succeeded = df_full.apply(lambda row: row.sum(), axis=1) print( f"df_full_apply_succeeded =\n{df_full_apply_succeeded}\n" f"type = {type(df_full_apply_succeeded)}\n" ) # 1.3 raises exception correctly. try: df_full_apply_raises = df_full.apply(lambda row: row["not_in_df"], axis=1) except Exception as e: print(f"df_full_apply_raises raises with msg: {e}\n") # --- Dataframe with no rows --- # 2.1 instantiate "Empty DataFrame". df_empty = pd.DataFrame([], columns=["a", "b", "c"]) print(f"df_empty =\n{df_empty}\n") # 2.2 returns Series with 0 elements ("Series([], dtype: float64)"). # behaviour mirrors example 1.2, consistent for both dataframes. df_empty_apply_succeeded = df_empty.apply(lambda row: row.sum(), axis=1) print( f"df_empty_apply_succeeded =\n{df_empty_apply_succeeded}\n" f"type = {type(df_empty_apply_succeeded)}\n" ) # 2.3 swallows exception and returns "Empty DataFrame". # ----> behaviour DIFFERENT from example 1.3, not consistent! df_empty_apply_does_not_raise = df_empty.apply(lambda row: row["not_in_df"], axis=1) print( f"df_empty_apply_does_not_raise =\n{df_empty_apply_does_not_raise}\n" f"type = {type(df_empty_apply_does_not_raise)}\n" ) ``` ### Issue Description __Inconsistency in semantics__ When calling `apply` on a `DataFrame` with >1 elements and the `func` provided to `apply` raises, the exception is propagated to the caller, which is what one would expect. When calling `apply` on a `DataFrame` with 0 elements and the `func` provided to `apply` raises, the exception is swallowed and `apply` returns an original empty dataframe. __Inconsistency in return types__ As the code snippet demonstrates, `apply` returns `Series` in all the cases except when it fails on an empty dataframe and swallows the exception - then it returns an empty `DataFrame`. The downstream code eventually breaks but with an error which is hard to track. This is where exceptions are swallowed: https://github.com/pandas-dev/pandas/blob/22de58e63f9271d4ddb2bf49d008c5a9550c5cc4/pandas/core/apply.py#L779-L782 Because the code doesn't fail right away but returns an unexpected empty `DataFrame` identical to the original, debugging this issue has been hard and time consuming. ### Expected Behavior It is reasonable to expect that both empty and non-empty dataframes should behave in the same way when it comes to errors raised inside `func` functions provided to `apply` - namely to let them propagate to the user, as it's done in case of non-empty dataframes. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.0.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Tue Aug 24 20:28:00 PDT 2021; root:xnu-6153.141.40~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.0.1 setuptools : 49.2.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.20.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 pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44031/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44031/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44032
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44032/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44032/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44032/events
https://github.com/pandas-dev/pandas/pull/44032
1,026,775,219
PR_kwDOAA0YD84tOENn
44,032
[PERF] fixing memory leak in aggregation.pyx
{ "avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4", "events_url": "https://api.github.com/users/realead/events{/privacy}", "followers_url": "https://api.github.com/users/realead/followers", "following_url": "https://api.github.com/users/realead/following{/other_user}", "gists_url": "https://api.github.com/users/realead/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/realead", "id": 17513912, "login": "realead", "node_id": "MDQ6VXNlcjE3NTEzOTEy", "organizations_url": "https://api.github.com/users/realead/orgs", "received_events_url": "https://api.github.com/users/realead/received_events", "repos_url": "https://api.github.com/users/realead/repos", "site_admin": false, "starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/realead/subscriptions", "type": "User", "url": "https://api.github.com/users/realead" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
6
"2021-10-14T20:06:26Z"
"2021-10-16T17:47:33Z"
"2021-10-16T17:46:50Z"
CONTRIBUTOR
null
- [x] closes #43339 - [x] tests passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry The old memory needs to be released, before the pointer switches to the new list.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44032/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44032/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44032.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44032", "merged_at": "2021-10-16T17:46:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44032.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44032" }
https://api.github.com/repos/pandas-dev/pandas/issues/44033
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44033/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44033/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44033/events
https://github.com/pandas-dev/pandas/pull/44033
1,026,786,005
PR_kwDOAA0YD84tOGZ_
44,033
REGR: Barplot broken on Index(dtype='object')
{ "avatar_url": "https://avatars.githubusercontent.com/u/26471522?v=4", "events_url": "https://api.github.com/users/SabrinaMB/events{/privacy}", "followers_url": "https://api.github.com/users/SabrinaMB/followers", "following_url": "https://api.github.com/users/SabrinaMB/following{/other_user}", "gists_url": "https://api.github.com/users/SabrinaMB/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SabrinaMB", "id": 26471522, "login": "SabrinaMB", "node_id": "MDQ6VXNlcjI2NDcxNTIy", "organizations_url": "https://api.github.com/users/SabrinaMB/orgs", "received_events_url": "https://api.github.com/users/SabrinaMB/received_events", "repos_url": "https://api.github.com/users/SabrinaMB/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SabrinaMB/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SabrinaMB/subscriptions", "type": "User", "url": "https://api.github.com/users/SabrinaMB" }
[ { "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", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
3
"2021-10-14T20:19:30Z"
"2021-11-14T03:05:58Z"
null
NONE
null
- [ ] closes #38947 - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44033/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44033/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44033.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44033", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44033.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44033" }
https://api.github.com/repos/pandas-dev/pandas/issues/44034
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44034/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44034/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44034/events
https://github.com/pandas-dev/pandas/pull/44034
1,026,793,624
PR_kwDOAA0YD84tOH9s
44,034
CLN: no need for suffices anymore in test_hashtable.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4", "events_url": "https://api.github.com/users/realead/events{/privacy}", "followers_url": "https://api.github.com/users/realead/followers", "following_url": "https://api.github.com/users/realead/following{/other_user}", "gists_url": "https://api.github.com/users/realead/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/realead", "id": 17513912, "login": "realead", "node_id": "MDQ6VXNlcjE3NTEzOTEy", "organizations_url": "https://api.github.com/users/realead/orgs", "received_events_url": "https://api.github.com/users/realead/received_events", "repos_url": "https://api.github.com/users/realead/repos", "site_admin": false, "starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/realead/subscriptions", "type": "User", "url": "https://api.github.com/users/realead" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-14T20:29:13Z"
"2021-10-15T18:16:47Z"
"2021-10-15T18:16:32Z"
CONTRIBUTOR
null
- [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Since we have version with fused types, there is no need to call precise version (i.e. with suffices like int64, int32 and so on) any longer.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44034/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44034/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44034.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44034", "merged_at": "2021-10-15T18:16:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44034.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44034" }
https://api.github.com/repos/pandas-dev/pandas/issues/44035
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44035/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44035/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44035/events
https://github.com/pandas-dev/pandas/pull/44035
1,026,816,868
PR_kwDOAA0YD84tOMlK
44,035
TST: adds test for .loc on multiindex for series GH43908
{ "avatar_url": "https://avatars.githubusercontent.com/u/47657222?v=4", "events_url": "https://api.github.com/users/KoenSR/events{/privacy}", "followers_url": "https://api.github.com/users/KoenSR/followers", "following_url": "https://api.github.com/users/KoenSR/following{/other_user}", "gists_url": "https://api.github.com/users/KoenSR/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KoenSR", "id": 47657222, "login": "KoenSR", "node_id": "MDQ6VXNlcjQ3NjU3MjIy", "organizations_url": "https://api.github.com/users/KoenSR/orgs", "received_events_url": "https://api.github.com/users/KoenSR/received_events", "repos_url": "https://api.github.com/users/KoenSR/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KoenSR/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KoenSR/subscriptions", "type": "User", "url": "https://api.github.com/users/KoenSR" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-14T21:01:33Z"
"2021-10-15T18:15:35Z"
"2021-10-15T18:15:20Z"
CONTRIBUTOR
null
- [x] closes #43908 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44035/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44035/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44035.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44035", "merged_at": "2021-10-15T18:15:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44035.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44035" }
https://api.github.com/repos/pandas-dev/pandas/issues/44036
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44036/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44036/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44036/events
https://github.com/pandas-dev/pandas/pull/44036
1,026,847,018
PR_kwDOAA0YD84tOSl0
44,036
Backport PR #43729: DEPS: Upgrade Deps for Python 3.10
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "fef2c0", "default": false, "description": "", "id": 2955636717, "name": "Python 3.10", "node_id": "MDU6TGFiZWwyOTU1NjM2NzE3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.10" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
1
"2021-10-14T21:40:29Z"
"2021-10-15T02:24:37Z"
"2021-10-15T01:33:26Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry **THIS IS A MANUAL BACKPORT OF LARGE BUILD CHANGES. PLEASE REVIEW CAREFULLY BEFORE MERGING**
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44036/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44036/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44036.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44036", "merged_at": "2021-10-15T01:33:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44036.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44036" }
https://api.github.com/repos/pandas-dev/pandas/issues/44037
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44037/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44037/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44037/events
https://github.com/pandas-dev/pandas/pull/44037
1,026,865,175
PR_kwDOAA0YD84tOWLj
44,037
DOC: Document and annotate Index.reindex (#40328).
{ "avatar_url": "https://avatars.githubusercontent.com/u/71850263?v=4", "events_url": "https://api.github.com/users/ShivnarenSrinivasan/events{/privacy}", "followers_url": "https://api.github.com/users/ShivnarenSrinivasan/followers", "following_url": "https://api.github.com/users/ShivnarenSrinivasan/following{/other_user}", "gists_url": "https://api.github.com/users/ShivnarenSrinivasan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShivnarenSrinivasan", "id": 71850263, "login": "ShivnarenSrinivasan", "node_id": "MDQ6VXNlcjcxODUwMjYz", "organizations_url": "https://api.github.com/users/ShivnarenSrinivasan/orgs", "received_events_url": "https://api.github.com/users/ShivnarenSrinivasan/received_events", "repos_url": "https://api.github.com/users/ShivnarenSrinivasan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShivnarenSrinivasan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShivnarenSrinivasan/subscriptions", "type": "User", "url": "https://api.github.com/users/ShivnarenSrinivasan" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-14T22:10:42Z"
"2021-10-16T15:47:43Z"
"2021-10-16T15:35:07Z"
CONTRIBUTOR
null
- [x] closes #40328 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44037/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44037/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44037.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44037", "merged_at": "2021-10-16T15:35:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44037.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44037" }
https://api.github.com/repos/pandas-dev/pandas/issues/44038
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44038/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44038/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44038/events
https://github.com/pandas-dev/pandas/pull/44038
1,026,964,224
PR_kwDOAA0YD84tOqGI
44,038
TST: added groupby apply test for nan coerce
{ "avatar_url": "https://avatars.githubusercontent.com/u/31109639?v=4", "events_url": "https://api.github.com/users/tyvich/events{/privacy}", "followers_url": "https://api.github.com/users/tyvich/followers", "following_url": "https://api.github.com/users/tyvich/following{/other_user}", "gists_url": "https://api.github.com/users/tyvich/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tyvich", "id": 31109639, "login": "tyvich", "node_id": "MDQ6VXNlcjMxMTA5NjM5", "organizations_url": "https://api.github.com/users/tyvich/orgs", "received_events_url": "https://api.github.com/users/tyvich/received_events", "repos_url": "https://api.github.com/users/tyvich/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tyvich/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tyvich/subscriptions", "type": "User", "url": "https://api.github.com/users/tyvich" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-15T01:04:31Z"
"2021-10-16T15:36:17Z"
"2021-10-16T15:36:13Z"
CONTRIBUTOR
null
- [x] closes #24903 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] Bug was reported in #24903 that showed empty strings being coerced into Nan when certain apply was used with groupby. Although bug has been fixed, this test identifies the issue if it were to happen again.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44038/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44038/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44038.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44038", "merged_at": "2021-10-16T15:36:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44038.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44038" }
https://api.github.com/repos/pandas-dev/pandas/issues/44039
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44039/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44039/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44039/events
https://github.com/pandas-dev/pandas/pull/44039
1,026,998,395
PR_kwDOAA0YD84tOxG4
44,039
REF: dispatch DTI/TDI setops to RangeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-15T01:55:22Z"
"2021-10-16T17:48:07Z"
"2021-10-16T17:28:17Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Includes #44019 (but not that whatsnew) I'm optimistic we can eventually dispatch all the relevant cases and then can get rid of the special-cased _fast_union/_fast_intersect.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44039/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44039/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44039.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44039", "merged_at": "2021-10-16T17:28:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44039.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44039" }
https://api.github.com/repos/pandas-dev/pandas/issues/44040
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44040/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44040/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44040/events
https://github.com/pandas-dev/pandas/pull/44040
1,027,001,186
PR_kwDOAA0YD84tOxoV
44,040
DOC: Fix Docstring for DataFrame nlargest `keep` option (#44040)
{ "avatar_url": "https://avatars.githubusercontent.com/u/25895405?v=4", "events_url": "https://api.github.com/users/Zeroto521/events{/privacy}", "followers_url": "https://api.github.com/users/Zeroto521/followers", "following_url": "https://api.github.com/users/Zeroto521/following{/other_user}", "gists_url": "https://api.github.com/users/Zeroto521/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Zeroto521", "id": 25895405, "login": "Zeroto521", "node_id": "MDQ6VXNlcjI1ODk1NDA1", "organizations_url": "https://api.github.com/users/Zeroto521/orgs", "received_events_url": "https://api.github.com/users/Zeroto521/received_events", "repos_url": "https://api.github.com/users/Zeroto521/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Zeroto521/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Zeroto521/subscriptions", "type": "User", "url": "https://api.github.com/users/Zeroto521" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-15T02:02:09Z"
"2021-10-15T08:35:30Z"
"2021-10-15T07:32:06Z"
CONTRIBUTOR
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] Add double backticks for DataFrame nlargest `keep` option to keep the style consistent From https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.nlargest.html ![image](https://user-images.githubusercontent.com/25895405/137416950-97b0db11-382f-410f-ac90-50ef2b25c32b.png) To ![image](https://user-images.githubusercontent.com/25895405/137420535-275670da-094c-4533-9eac-82a36f52d5f4.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44040/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44040/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44040.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44040", "merged_at": "2021-10-15T07:32:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44040.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44040" }
https://api.github.com/repos/pandas-dev/pandas/issues/44041
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44041/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44041/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44041/events
https://github.com/pandas-dev/pandas/pull/44041
1,027,024,981
PR_kwDOAA0YD84tO2Ht
44,041
Fixed metadata propagation in Dataframe.apply (issue #28283)
{ "avatar_url": "https://avatars.githubusercontent.com/u/56267277?v=4", "events_url": "https://api.github.com/users/moha-rk/events{/privacy}", "followers_url": "https://api.github.com/users/moha-rk/followers", "following_url": "https://api.github.com/users/moha-rk/following{/other_user}", "gists_url": "https://api.github.com/users/moha-rk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moha-rk", "id": 56267277, "login": "moha-rk", "node_id": "MDQ6VXNlcjU2MjY3Mjc3", "organizations_url": "https://api.github.com/users/moha-rk/orgs", "received_events_url": "https://api.github.com/users/moha-rk/received_events", "repos_url": "https://api.github.com/users/moha-rk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moha-rk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moha-rk/subscriptions", "type": "User", "url": "https://api.github.com/users/moha-rk" }
[ { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-10-15T02:53:36Z"
"2021-10-29T21:57:49Z"
"2021-10-29T21:57:49Z"
CONTRIBUTOR
null
Co-authored-by: Mohamad Rkein <mohamad_rkein@usp.br> Co-authored-by: Rafael Rodrigues <rrvsrafael@gmail.com> In reference to #28283 - [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44041/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44041/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44041.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44041", "merged_at": "2021-10-29T21:57:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44041.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44041" }
https://api.github.com/repos/pandas-dev/pandas/issues/44042
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44042/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44042/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44042/events
https://github.com/pandas-dev/pandas/issues/44042
1,027,394,485
I_kwDOAA0YD849PMu1
44,042
ENH: Aggregate pass args and kwargs to function list
{ "avatar_url": "https://avatars.githubusercontent.com/u/25247745?v=4", "events_url": "https://api.github.com/users/weber-s/events{/privacy}", "followers_url": "https://api.github.com/users/weber-s/followers", "following_url": "https://api.github.com/users/weber-s/following{/other_user}", "gists_url": "https://api.github.com/users/weber-s/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/weber-s", "id": 25247745, "login": "weber-s", "node_id": "MDQ6VXNlcjI1MjQ3NzQ1", "organizations_url": "https://api.github.com/users/weber-s/orgs", "received_events_url": "https://api.github.com/users/weber-s/received_events", "repos_url": "https://api.github.com/users/weber-s/repos", "site_admin": false, "starred_url": "https://api.github.com/users/weber-s/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/weber-s/subscriptions", "type": "User", "url": "https://api.github.com/users/weber-s" }
[ { "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
null
1
"2021-10-15T12:29:32Z"
"2021-10-16T05:03:56Z"
null
NONE
null
#### Describe the solution you'd like When aggregating dataframe with different functions, it is currently not possible to pass kwargs to the functions. My use case is a dataframe I want to aggregate by values, and apply either "count" or "sum" on it: Ex than **works** (1 function): ```py df.agg( less_than_1j, aggregation_func="count" ) ``` Ex than **does not work** (2+ functions): ```py df.agg( [ less_than_1j, between_1j_2j, ], aggregation_func="count" ) ``` with `less_than_1j` and `between_1j_2j` signature being something like: `def less_than_1j(x, aggregation_func="sum")` #### Describe alternatives you've considered The issue is in [core/apply.py#124](https://github.com/pandas-dev/pandas/blob/73c68257545b5f8530b7044f56647bd2db92e2ba/pandas/core/apply.py#L124) ```py # curry if needed if ( (kwargs or args) and not isinstance(func, (np.ufunc, str)) and not is_list_like(func) ): def f(x): return func(x, *args, **kwargs) else: f = func ``` Fix proposed: add this check: ```py elif (kwargs or args) and is_list_like(func): def f(x): return [fun(x, *args, **kwargs) for fun in func] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44042/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44042/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44043
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44043/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44043/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44043/events
https://github.com/pandas-dev/pandas/pull/44043
1,027,589,076
PR_kwDOAA0YD84tQmdv
44,043
Fix several typos under pandas/_libs
{ "avatar_url": "https://avatars.githubusercontent.com/u/50751110?v=4", "events_url": "https://api.github.com/users/PApostol/events{/privacy}", "followers_url": "https://api.github.com/users/PApostol/followers", "following_url": "https://api.github.com/users/PApostol/following{/other_user}", "gists_url": "https://api.github.com/users/PApostol/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PApostol", "id": 50751110, "login": "PApostol", "node_id": "MDQ6VXNlcjUwNzUxMTEw", "organizations_url": "https://api.github.com/users/PApostol/orgs", "received_events_url": "https://api.github.com/users/PApostol/received_events", "repos_url": "https://api.github.com/users/PApostol/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PApostol/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PApostol/subscriptions", "type": "User", "url": "https://api.github.com/users/PApostol" }
[ { "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": 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" }
3
"2021-10-15T16:07:46Z"
"2021-10-15T21:26:48Z"
"2021-10-15T18:14:13Z"
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44043/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44043/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44043.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44043", "merged_at": "2021-10-15T18:14:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44043.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44043" }
https://api.github.com/repos/pandas-dev/pandas/issues/44044
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44044/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44044/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44044/events
https://github.com/pandas-dev/pandas/issues/44044
1,027,790,283
I_kwDOAA0YD849QtXL
44,044
BUG: Error with the upgrade. pd.DataFrame(dict) not working. Exception: Data must be 1-dimensional
{ "avatar_url": "https://avatars.githubusercontent.com/u/22636443?v=4", "events_url": "https://api.github.com/users/Rajmehta123/events{/privacy}", "followers_url": "https://api.github.com/users/Rajmehta123/followers", "following_url": "https://api.github.com/users/Rajmehta123/following{/other_user}", "gists_url": "https://api.github.com/users/Rajmehta123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rajmehta123", "id": 22636443, "login": "Rajmehta123", "node_id": "MDQ6VXNlcjIyNjM2NDQz", "organizations_url": "https://api.github.com/users/Rajmehta123/orgs", "received_events_url": "https://api.github.com/users/Rajmehta123/received_events", "repos_url": "https://api.github.com/users/Rajmehta123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rajmehta123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rajmehta123/subscriptions", "type": "User", "url": "https://api.github.com/users/Rajmehta123" }
[ { "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": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
null
2
"2021-10-15T20:37:38Z"
"2021-10-21T16:17:41Z"
"2021-10-21T16:17:41Z"
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd dicto = {'Hello':['1','2'],'Hey':['4','5']} df = pd.DataFrame(dicto) ``` ### Issue Description Exception: Data must be 1-dimensional. Downgrading to 0.25.3 works ### Expected Behavior Return Dataframe of the dic ### Installed Versions <details> pandas : 1.3.3 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44044/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44044/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44045
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44045/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44045/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44045/events
https://github.com/pandas-dev/pandas/issues/44045
1,027,823,390
I_kwDOAA0YD849Q1ce
44,045
ENH:Possible expansion of codespell to more file types
{ "avatar_url": "https://avatars.githubusercontent.com/u/50751110?v=4", "events_url": "https://api.github.com/users/PApostol/events{/privacy}", "followers_url": "https://api.github.com/users/PApostol/followers", "following_url": "https://api.github.com/users/PApostol/following{/other_user}", "gists_url": "https://api.github.com/users/PApostol/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PApostol", "id": 50751110, "login": "PApostol", "node_id": "MDQ6VXNlcjUwNzUxMTEw", "organizations_url": "https://api.github.com/users/PApostol/orgs", "received_events_url": "https://api.github.com/users/PApostol/received_events", "repos_url": "https://api.github.com/users/PApostol/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PApostol/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PApostol/subscriptions", "type": "User", "url": "https://api.github.com/users/PApostol" }
[ { "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
1
"2021-10-15T21:26:18Z"
"2021-10-21T21:26:57Z"
null
CONTRIBUTOR
null
At the moment, [codespell](https://github.com/pandas-dev/pandas/blob/c30afb23dfa948e3b34b4d71abb16ce455012428/.pre-commit-config.yaml#L15-L20) is enabled only for the following file types: `python, rst, markdown` As a consequence, typos in various other file types can easily slip through (see #44043 as an example). Could the expansion of codespell to more file types be beneficial?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44045/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44045/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44046
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44046/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44046/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44046/events
https://github.com/pandas-dev/pandas/pull/44046
1,027,934,477
PR_kwDOAA0YD84tRk8E
44,046
added test to indexing on groupby, #32464
{ "avatar_url": "https://avatars.githubusercontent.com/u/29053090?v=4", "events_url": "https://api.github.com/users/gabrieldi95/events{/privacy}", "followers_url": "https://api.github.com/users/gabrieldi95/followers", "following_url": "https://api.github.com/users/gabrieldi95/following{/other_user}", "gists_url": "https://api.github.com/users/gabrieldi95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabrieldi95", "id": 29053090, "login": "gabrieldi95", "node_id": "MDQ6VXNlcjI5MDUzMDkw", "organizations_url": "https://api.github.com/users/gabrieldi95/orgs", "received_events_url": "https://api.github.com/users/gabrieldi95/received_events", "repos_url": "https://api.github.com/users/gabrieldi95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabrieldi95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabrieldi95/subscriptions", "type": "User", "url": "https://api.github.com/users/gabrieldi95" }
[ { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
"2021-10-16T03:06:30Z"
"2021-11-19T00:09:29Z"
null
CONTRIBUTOR
null
- [x] closes #32464 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them This makes sure an index of a groupby with more then one column is always a MultiIndex.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44046/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44046/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44046.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44046", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44046.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44046" }
https://api.github.com/repos/pandas-dev/pandas/issues/44047
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44047/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44047/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44047/events
https://github.com/pandas-dev/pandas/pull/44047
1,027,941,778
PR_kwDOAA0YD84tRmHQ
44,047
Removed a manual file handler pitfall
{ "avatar_url": "https://avatars.githubusercontent.com/u/8750259?v=4", "events_url": "https://api.github.com/users/NaelsonDouglas/events{/privacy}", "followers_url": "https://api.github.com/users/NaelsonDouglas/followers", "following_url": "https://api.github.com/users/NaelsonDouglas/following{/other_user}", "gists_url": "https://api.github.com/users/NaelsonDouglas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NaelsonDouglas", "id": 8750259, "login": "NaelsonDouglas", "node_id": "MDQ6VXNlcjg3NTAyNTk=", "organizations_url": "https://api.github.com/users/NaelsonDouglas/orgs", "received_events_url": "https://api.github.com/users/NaelsonDouglas/received_events", "repos_url": "https://api.github.com/users/NaelsonDouglas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NaelsonDouglas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NaelsonDouglas/subscriptions", "type": "User", "url": "https://api.github.com/users/NaelsonDouglas" }
[]
closed
false
null
[]
null
2
"2021-10-16T03:49:43Z"
"2021-10-16T19:10:31Z"
"2021-10-16T18:14:21Z"
NONE
null
It is a simple PR. It only removes a manual file handler pitfall from versioneer.py As stated by [Pylint documentation](https://pylint.pycqa.org/en/latest/technical_reference/features.html) " consider-using-with (R1732) Consider using 'with' for resource-allocating operations Emitted if a resource-allocating assignment or call may be replaced by a 'with' block. By using 'with' the release of the allocated resources is ensured even in the case of an exception. "
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44047/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44047/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44047.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44047", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44047.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44047" }
https://api.github.com/repos/pandas-dev/pandas/issues/44048
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44048/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44048/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44048/events
https://github.com/pandas-dev/pandas/issues/44048
1,027,955,064
I_kwDOAA0YD849RVl4
44,048
BUG: Index.fillna ignores 'downcast'
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
open
false
null
[]
null
1
"2021-10-16T05:04:50Z"
"2021-10-30T18:54:08Z"
null
MEMBER
null
### Issue Description ``` def fillna(self, value=None, downcast=None): value = self._require_scalar(value) if self.hasnans: result = self.putmask(self._isnan, value) if downcast is None: return Index._with_infer(result, name=self.name) return self._view() ``` In the case with `downcast` not None and `self.hasnans`, we fall through to return `self._view()` and ignore `result`. We don't have any such cases in the test suite. ### Expected Behavior Not ignoring `result` or `downcast`. I'd be OK with deprecating the keyword; i expect it is just there to match NDFrame.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44048/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44048/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44049
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44049/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44049/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44049/events
https://github.com/pandas-dev/pandas/issues/44049
1,027,992,422
I_kwDOAA0YD849Retm
44,049
ENH:
{ "avatar_url": "https://avatars.githubusercontent.com/u/11477153?v=4", "events_url": "https://api.github.com/users/franzhaas/events{/privacy}", "followers_url": "https://api.github.com/users/franzhaas/followers", "following_url": "https://api.github.com/users/franzhaas/following{/other_user}", "gists_url": "https://api.github.com/users/franzhaas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/franzhaas", "id": 11477153, "login": "franzhaas", "node_id": "MDQ6VXNlcjExNDc3MTUz", "organizations_url": "https://api.github.com/users/franzhaas/orgs", "received_events_url": "https://api.github.com/users/franzhaas/received_events", "repos_url": "https://api.github.com/users/franzhaas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/franzhaas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/franzhaas/subscriptions", "type": "User", "url": "https://api.github.com/users/franzhaas" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
5
"2021-10-16T08:32:34Z"
"2021-10-30T22:50:35Z"
"2021-10-30T22:50:34Z"
NONE
null
#### Is your feature request related to a problem? When using jupyter-book with the pdflatex i can create beautiful tables from data frames, but when using a styler object this does not work at all. I suspect this is due to differences in how to use the _repr_latex_ methods for styler and for dataframe objects. #### Describe the solution you'd like I would like to be able to use styler object like dataframe objects to show up in the pdflatex generated pdf. I was able to achieve that by using this function.: ````python styler = fancy_styled_pandas_dataframe def latex_save_styler(styler): def a(*args, **kwargs): return styler.data._repr_latex_(*args, **kwargs) styler._repr_latex_ = a return styler latex_save_styler(styler) ```` see also this discussion.: https://github.com/executablebooks/jupyter-book/issues/1512 #### API breaking implications I do believe the offending property are the mandatory keyword arguments for the _repr_latex methof of the styler object. parse_index, sparse_columns #### Describe alternatives you've considered I am unsure if this is a problem of pandas, or expected behaviour. (and the way pandas is called from jupyter-book should be changed) however, the given code solved my problem at hand, it may or may not be usefull for other people or in understanding/fixing the issue. #### Additional context I am using pandas ==1.3.3 and jupyter-book==0.11.3
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44049/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44049/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44050
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44050/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44050/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44050/events
https://github.com/pandas-dev/pandas/issues/44050
1,028,055,904
I_kwDOAA0YD849RuNg
44,050
BUG: Hexbin plots does not display x label and xtick labels in pandas 1.3.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/25457921?v=4", "events_url": "https://api.github.com/users/stelios-c/events{/privacy}", "followers_url": "https://api.github.com/users/stelios-c/followers", "following_url": "https://api.github.com/users/stelios-c/following{/other_user}", "gists_url": "https://api.github.com/users/stelios-c/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stelios-c", "id": 25457921, "login": "stelios-c", "node_id": "MDQ6VXNlcjI1NDU3OTIx", "organizations_url": "https://api.github.com/users/stelios-c/orgs", "received_events_url": "https://api.github.com/users/stelios-c/received_events", "repos_url": "https://api.github.com/users/stelios-c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stelios-c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stelios-c/subscriptions", "type": "User", "url": "https://api.github.com/users/stelios-c" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
0
"2021-10-16T14:01:09Z"
"2021-10-30T22:51:00Z"
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(1000, 2), columns=['a', 'b']) df.plot.hexbin(x='a', y='b'); #thanks @rabernat ``` ### Issue Description Hexbin plots does not display x label and xtick labels. This has been a bug in the past, see closed issue #10678 , it must have been fixed with #20446 and must have been introduced again later. ### Expected Behavior Expect to see 'a' as the x label and numbers under the x axis ticks. This is only achievable with workaround: ```python import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(1000, 2), columns=['a', 'b']) df.plot.hexbin(x='a', y='b',sharex=False); ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.7.10.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-18-cloud-amd64 Version : #1 SMP Debian 4.19.208-1 (2021-09-29) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.19.5 pytz : 2021.3 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fsspec : 2021.10.0 fastparquet : None gcsfs : 2021.10.0 matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.25 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.54.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/44050/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44050/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44051
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44051/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44051/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44051/events
https://github.com/pandas-dev/pandas/issues/44051
1,028,084,409
I_kwDOAA0YD849R1K5
44,051
API: Index.__getitem__(True) returns 2D ndarray
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
open
false
null
[]
null
1
"2021-10-16T16:06:11Z"
"2021-10-20T16:41:57Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python Not clear if this is intentional: import numpy as np import pandas as pd arr = np.random.randn(4) idx = pd.Index(arr) idx[True] >>> idx[True] array([[ 1.39365849, -0.03655461, 0.17112114, -1.4612337 ]]) ``` ### Issue Description For other cases where indexing on index._data returns 2D (e.g. `idx[:, None]`) we issue a FutureWarning, but this goes through a different code path. ### Expected Behavior I don't have an opinion here, just think whatever we do should be intentional ### Installed Versions <details> Replace this line with the output of pd.show_versions() </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/44051/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44051/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44052
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44052/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44052/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44052/events
https://github.com/pandas-dev/pandas/issues/44052
1,028,084,522
I_kwDOAA0YD849R1Mq
44,052
BUG: Creating a MultiIndex using pd.Index and the name argument is now broken (worked in 1.2.5 with names)
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
open
false
null
[]
null
3
"2021-10-16T16:06:46Z"
"2021-10-30T22:51:57Z"
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '1.4.0.dev0+905.gdace93d694' In [3]: pd.Index([(1,0), (1,1)], names=["foo", "bar"]) <ipython-input-3-99fe0b033485>:1: FutureWarning: Passing keywords other than 'data', 'dtype', 'copy', 'name', 'tupleize_cols' is deprecated and will raise TypeError in a future version. Use the specific Index subclass directly instead. pd.Index([(1,0), (1,1)], names=["foo", "bar"]) Out[3]: MultiIndex([(1, 0), (1, 1)], names=['foo', 'bar']) In [4]: pd.Index([(1,0), (1,1)], name=["foo", "bar"]) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-4-138c3fe61553> in <module> ----> 1 pd.Index([(1,0), (1,1)], name=["foo", "bar"]) c:\Code\pandas_dev\pandas\pandas\core\indexes\base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs) 403 from pandas.core.indexes.range import RangeIndex 404 --> 405 name = maybe_extract_name(name, data, cls) 406 407 if dtype is not None: c:\Code\pandas_dev\pandas\pandas\core\indexes\base.py in maybe_extract_name(name, obj, cls) 6876 # GH#29069 6877 if not is_hashable(name): -> 6878 raise TypeError(f"{cls.__name__}.name must be a hashable type") 6879 6880 return name TypeError: Index.name must be a hashable type ``` ### Issue Description In pandas 1.2.5, you could create a `MultiIndex` using `pd.Index` with the `names` argument: ```python In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '1.2.5' In [3]: pd.Index([(1,0), (1,1)], names=["foo", "bar"]) Out[3]: MultiIndex([(1, 0), (1, 1)], names=['foo', 'bar']) ``` With `names` being removed as an argument in the future, the user then has to be explicit about using the `pd.MultiIndex()` constructor. See discussion with @jreback starting here: https://github.com/pandas-dev/pandas/pull/35292#discussion_r730277198 ### Expected Behavior Unclear. Should we accept `names` in `pd.Index()` ? Because you can create a `MultiIndex` without names via ```python In [5]: pd.Index([(1,0), (1,1)]) Out[5]: MultiIndex([(1, 0), (1, 1)], ) ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : dace93d694757069c69983d5ce5a2df3f4e1df3a 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 158 Stepping 13, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.4.0.dev0+905.gdace93d694 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 49.6.0.post20210108 Cython : 0.29.24 pytest : 6.2.5 hypothesis : 6.19.0 sphinx : 4.1.2 blosc : None feather : None xlsxwriter : 3.0.1 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : 4.10.0 bottleneck : 1.3.2 fsspec : 2021.05.0 fastparquet : 0.7.1 gcsfs : 2021.05.0 matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 4.0.0 pyxlsb : 1.0.6 s3fs : 2021.05.0 scipy : 1.7.1 sqlalchemy : 1.4.23 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.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/44052/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44052/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44053
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44053/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44053/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44053/events
https://github.com/pandas-dev/pandas/issues/44053
1,028,084,737
I_kwDOAA0YD849R1QB
44,053
BUG: to_datetime with xarray DataArray and specifie unit errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": 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" }
5
"2021-10-16T16:07:45Z"
"2021-10-19T01:43:31Z"
"2021-10-19T01:43:31Z"
MEMBER
null
When passing the values as a `xarray.DataArray` and specifying a unit, we get an error: ```python In [1]: import xarray as xr In [2]: arr = xr.DataArray([1, 2, 3]) In [3]: pd.to_datetime(arr, unit='ns') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-547fdd08888f> in <module> ----> 1 pd.to_datetime(arr, unit='ns') ~/miniconda3/envs/DS-geospatial/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in to_datetime(arg, errors, dayfirst, yearfirst, utc, format, exact, unit, infer_datetime_format, origin, cache) 910 result = _convert_and_box_cache(arg, cache_array) 911 else: --> 912 result = convert_listlike(arg, format) 913 else: 914 result = convert_listlike(np.array([arg]), format)[0] ~/miniconda3/envs/DS-geospatial/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _convert_listlike_datetimes(arg, format, name, tz, unit, errors, infer_datetime_format, dayfirst, yearfirst, exact) 354 if format is not None: 355 raise ValueError("cannot specify both format and unit") --> 356 return _to_datetime_with_unit(arg, unit, name, tz, errors) 357 elif getattr(arg, "ndim", 1) > 1: 358 raise TypeError( ~/miniconda3/envs/DS-geospatial/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _to_datetime_with_unit(arg, unit, name, tz, errors) 526 tz_parsed = None 527 else: --> 528 arr, tz_parsed = tslib.array_with_unit_to_datetime(arg, unit, errors=errors) 529 530 if errors == "ignore": TypeError: Argument 'values' has incorrect type (expected numpy.ndarray, got DataArray) ``` Since this is an array-like, I expect that we coerce that to a numpy array before passing to our cython routines (eg passing a list or Series does work this way). And actually when not specifying the unit, it does work: ``` In [4]: pd.to_datetime(arr) Out[4]: DatetimeIndex(['1970-01-01 00:00:00.000000001', '1970-01-01 00:00:00.000000002', '1970-01-01 00:00:00.000000003'], dtype='datetime64[ns]', freq=None) ``` ### Installed Versions <details> ``` In [5]: pd.show_versions() INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.12.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-88-generic Version : #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.28.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.09.0 fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : 2021.09.0 scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : 0.19.0 xlrd : None xlwt : None numba : 0.53.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/44053/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44053/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44054
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44054/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44054/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44054/events
https://github.com/pandas-dev/pandas/issues/44054
1,028,089,192
I_kwDOAA0YD849R2Vo
44,054
ENH: also check type of right DataFrame to determine (sub)class of result DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "abf98b", "default": false, "description": "Subclassing pandas objects", "id": 2559562239, "name": "Subclassing", "node_id": "MDU6TGFiZWwyNTU5NTYyMjM5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Subclassing" } ]
open
false
null
[]
null
2
"2021-10-16T16:27:07Z"
"2021-10-17T08:15:23Z"
null
MEMBER
null
Currently, we use the type of the left object to construct the result of `pd.merge`: https://github.com/pandas-dev/pandas/blob/445bb9f57c3d59141a059a5afd2762aef2e96cad/pandas/core/reshape/merge.py#L731-L732 For GeoPandas users, this means that the order of the arguments passed matters: `pd.merge(df, gdf, ..)` (or `df.merge(gdf, ..)`) returns a DataFrame while `pd.merge(gdf, df, ...)` (or `gdf.merge(df, ..)`) returns a GeoDataFrame. This can be surprising for users. I think it should be rather easy / safe to also check the type of the right object and use that class (if `left` is a non-subclassed pandas.DataFrame, otherwise `left` still has "precedence") #### API breaking implications This can result in a different class type as return value. But for subclasses that are mostly compatible with pandas.DataFrame (and only add functionality), this should not have a big impact.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44054/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44054/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44055
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44055/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44055/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44055/events
https://github.com/pandas-dev/pandas/pull/44055
1,028,107,717
PR_kwDOAA0YD84tSA8_
44,055
Backport PR #44032 on branch 1.3.x ([PERF] fixing memory leak in aggregation.pyx)
{ "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-10-16T17:47:26Z"
"2021-10-16T19:14:17Z"
"2021-10-16T19:14:17Z"
NONE
null
Backport PR #44032: [PERF] fixing memory leak in aggregation.pyx
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44055/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44055/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44055.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44055", "merged_at": "2021-10-16T19:14:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44055.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44055" }
https://api.github.com/repos/pandas-dev/pandas/issues/44056
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44056/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44056/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44056/events
https://github.com/pandas-dev/pandas/issues/44056
1,028,109,781
I_kwDOAA0YD849R7XV
44,056
BUG: com.maybe_make_list does not resolve correctly for np.array
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
open
false
null
[]
null
2
"2021-10-16T17:56:55Z"
"2021-10-30T22:52:49Z"
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python from pandas.core.common import maybe_make_list import numpy as np arr = np.array(["A", "C"]) result = maybe_make_list(arr) print(result) [array(['A', 'C'], dtype='<U1')] ``` ### Issue Description This discussion started in [this](https://github.com/pandas-dev/pandas/pull/41022/files#r730277602) thread. Should `com.maybe_make_list` take `np.array` into account and maybe some other list like objects as well. For example Index objects. ### Expected Behavior ```python from pandas.core.common import maybe_make_list import numpy as np arr = np.array(["A", "C"]) result = maybe_make_list(arr) print(result) array(['A', 'C'], dtype='<U1') ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 445bb9f57c3d59141a059a5afd2762aef2e96cad python : 3.8.12.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.4.0.dev0+904.g445bb9f57c.dirty numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : 0.29.24 pytest : 6.2.5 hypothesis : 6.23.2 sphinx : 4.2.0 blosc : 1.10.6 feather : None xlsxwriter : 3.0.1 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : 4.10.0 bottleneck : 1.3.2 fsspec : 2021.10.0 fastparquet : 0.7.1 gcsfs : 2021.10.0 matplotlib : 3.4.3 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.9 pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : 2021.10.0 scipy : 1.7.1 sqlalchemy : 1.4.25 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 2.0.1 xlwt : 1.3.0 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/44056/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44056/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44057
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44057/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44057/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44057/events
https://github.com/pandas-dev/pandas/pull/44057
1,028,112,210
PR_kwDOAA0YD84tSBqw
44,057
DOC: 1.3.4 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": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
2
"2021-10-16T18:07:25Z"
"2021-10-16T20:06:02Z"
"2021-10-16T19:56:49Z"
MEMBER
null
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/44057/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44057/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44057.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44057", "merged_at": "2021-10-16T19:56:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44057.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44057" }
https://api.github.com/repos/pandas-dev/pandas/issues/44058
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44058/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44058/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44058/events
https://github.com/pandas-dev/pandas/pull/44058
1,028,114,055
PR_kwDOAA0YD84tSB9j
44,058
DOC: Start v1.3.5 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": null, "closed_issues": 47, "created_at": "2021-10-16T17:29:59Z", "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-11-28T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/91", "id": 7259169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels", "node_id": "MI_kwDOAA0YD84AbsQh", "number": 91, "open_issues": 23, "state": "open", "title": "1.3.5", "updated_at": "2021-11-21T13:42:45Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91" }
0
"2021-10-16T18:15:08Z"
"2021-10-17T17:57:10Z"
"2021-10-17T17:57:06Z"
MEMBER
null
this fails until 1.3.4 tag exists.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44058/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44058/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44058.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44058", "merged_at": "2021-10-17T17:57:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44058.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44058" }
https://api.github.com/repos/pandas-dev/pandas/issues/44059
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44059/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44059/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44059/events
https://github.com/pandas-dev/pandas/pull/44059
1,028,115,715
PR_kwDOAA0YD84tSCOQ
44,059
REF: share ExtensionIndex astype, __getitem__ with Index
{ "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-16T18:22:30Z"
"2021-10-17T23:55:38Z"
"2021-10-17T22:42:15Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44059/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44059/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44059.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44059", "merged_at": "2021-10-17T22:42:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44059.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44059" }
https://api.github.com/repos/pandas-dev/pandas/issues/44060
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44060/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44060/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44060/events
https://github.com/pandas-dev/pandas/pull/44060
1,028,135,312
PR_kwDOAA0YD84tSFRc
44,060
Backport PR #44057 on branch 1.3.x (DOC: 1.3.4 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": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-10-16T19:56:58Z"
"2021-10-16T21:02:59Z"
"2021-10-16T21:02:59Z"
NONE
null
Backport PR #44057: DOC: 1.3.4 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/44060/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44060/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44060.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44060", "merged_at": "2021-10-16T21:02:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44060.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44060" }
https://api.github.com/repos/pandas-dev/pandas/issues/44061
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44061/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44061/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44061/events
https://github.com/pandas-dev/pandas/pull/44061
1,028,142,925
PR_kwDOAA0YD84tSGek
44,061
Backport PR #43291: BUG: Fixes to FixedForwardWindowIndexer and GroupbyIndexer (#43267)
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" }, { "color": "36ede0", "default": false, "description": "Non-Recoverable Error", "id": 1121248195, "name": "Segfault", "node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-10-16T20:36:14Z"
"2021-10-16T21:37:16Z"
"2021-10-16T21:37:12Z"
MEMBER
null
Backport PR #43291
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44061/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44061/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44061.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44061", "merged_at": "2021-10-16T21:37:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44061.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44061" }
https://api.github.com/repos/pandas-dev/pandas/issues/44062
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44062/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44062/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44062/events
https://github.com/pandas-dev/pandas/pull/44062
1,028,161,858
PR_kwDOAA0YD84tSJiq
44,062
BUG: 43909 - check monoticity of rolling groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/78622696?v=4", "events_url": "https://api.github.com/users/jamesholcombe/events{/privacy}", "followers_url": "https://api.github.com/users/jamesholcombe/followers", "following_url": "https://api.github.com/users/jamesholcombe/following{/other_user}", "gists_url": "https://api.github.com/users/jamesholcombe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jamesholcombe", "id": 78622696, "login": "jamesholcombe", "node_id": "MDQ6VXNlcjc4NjIyNjk2", "organizations_url": "https://api.github.com/users/jamesholcombe/orgs", "received_events_url": "https://api.github.com/users/jamesholcombe/received_events", "repos_url": "https://api.github.com/users/jamesholcombe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jamesholcombe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamesholcombe/subscriptions", "type": "User", "url": "https://api.github.com/users/jamesholcombe" }
[]
closed
false
null
[]
null
2
"2021-10-16T22:30:35Z"
"2021-10-17T16:15:58Z"
"2021-10-17T16:15:58Z"
NONE
null
- [y ] closes #43909 - [y ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ test and bugfix ] 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/44062/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44062/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44062.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44062", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44062.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44062" }
https://api.github.com/repos/pandas-dev/pandas/issues/44063
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44063/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44063/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44063/events
https://github.com/pandas-dev/pandas/pull/44063
1,028,164,518
PR_kwDOAA0YD84tSJ9N
44,063
CLN: collected cleanups
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-16T22:48:35Z"
"2021-10-18T01:36:22Z"
"2021-10-18T01:32:58Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44063/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44063/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44063.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44063", "merged_at": "2021-10-18T01:32:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44063.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44063" }
https://api.github.com/repos/pandas-dev/pandas/issues/44064
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44064/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44064/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44064/events
https://github.com/pandas-dev/pandas/pull/44064
1,028,190,166
PR_kwDOAA0YD84tSOFK
44,064
DEPS: bump pyarrow min to 1.0 #41329
{ "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": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": 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" }
3
"2021-10-17T01:41:04Z"
"2021-10-18T13:29:07Z"
"2021-10-18T13:29:03Z"
MEMBER
null
- [x] closes #41329 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44064/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44064/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44064.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44064", "merged_at": "2021-10-18T13:29:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44064.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44064" }
https://api.github.com/repos/pandas-dev/pandas/issues/44065
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44065/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44065/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44065/events
https://github.com/pandas-dev/pandas/pull/44065
1,028,200,524
PR_kwDOAA0YD84tSPrS
44,065
BUG: sort_index did not respect ignore_index when not sorting
{ "avatar_url": "https://avatars.githubusercontent.com/u/57047354?v=4", "events_url": "https://api.github.com/users/saehuihwang/events{/privacy}", "followers_url": "https://api.github.com/users/saehuihwang/followers", "following_url": "https://api.github.com/users/saehuihwang/following{/other_user}", "gists_url": "https://api.github.com/users/saehuihwang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/saehuihwang", "id": 57047354, "login": "saehuihwang", "node_id": "MDQ6VXNlcjU3MDQ3MzU0", "organizations_url": "https://api.github.com/users/saehuihwang/orgs", "received_events_url": "https://api.github.com/users/saehuihwang/received_events", "repos_url": "https://api.github.com/users/saehuihwang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/saehuihwang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/saehuihwang/subscriptions", "type": "User", "url": "https://api.github.com/users/saehuihwang" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-17T02:58:03Z"
"2021-10-19T15:00:25Z"
"2021-10-19T15:00:17Z"
CONTRIBUTOR
null
- [X] closes #43591 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44065/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44065/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44065.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44065", "merged_at": "2021-10-19T15:00:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44065.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44065" }
https://api.github.com/repos/pandas-dev/pandas/issues/44066
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44066/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44066/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44066/events
https://github.com/pandas-dev/pandas/pull/44066
1,028,288,075
PR_kwDOAA0YD84tSdh5
44,066
Backport PR #43199 on branch 1.3.x (BUG: convert_dtypes incorrectly converts byte strings to strings in 1.3+)
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-10-17T11:04:34Z"
"2021-10-17T11:53:23Z"
"2021-10-17T11:53:23Z"
NONE
null
Backport PR #43199: BUG: convert_dtypes incorrectly converts byte strings to strings in 1.3+
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44066/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44066/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44066.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44066", "merged_at": "2021-10-17T11:53:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44066.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44066" }
https://api.github.com/repos/pandas-dev/pandas/issues/44067
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44067/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44067/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44067/events
https://github.com/pandas-dev/pandas/issues/44067
1,028,351,279
I_kwDOAA0YD849S2Uv
44,067
BUG: CI cannot create benchmark environments with Cython < 0.29.24
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-17T15:04:21Z"
"2021-11-09T21:24:46Z"
"2021-11-09T21:24:46Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python asv continuous -f 1.1 -E virtualenv upstream/master HEAD -b style.Render RuntimeError: Cannot cythonize with old Cython version (0.29.21 installed, needs 0.29.24) ``` ### Issue Description Needed to update `asv.conf.json` to get this to work. ### Expected Behavior probably need to update dependency verisons. ### Installed Versions master at 17 Oct.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44067/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44067/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44068
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44068/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44068/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44068/events
https://github.com/pandas-dev/pandas/pull/44068
1,028,369,868
PR_kwDOAA0YD84tSqPS
44,068
BUG: 43909 - check monoticity of rolling groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/78622696?v=4", "events_url": "https://api.github.com/users/jamesholcombe/events{/privacy}", "followers_url": "https://api.github.com/users/jamesholcombe/followers", "following_url": "https://api.github.com/users/jamesholcombe/following{/other_user}", "gists_url": "https://api.github.com/users/jamesholcombe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jamesholcombe", "id": 78622696, "login": "jamesholcombe", "node_id": "MDQ6VXNlcjc4NjIyNjk2", "organizations_url": "https://api.github.com/users/jamesholcombe/orgs", "received_events_url": "https://api.github.com/users/jamesholcombe/received_events", "repos_url": "https://api.github.com/users/jamesholcombe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jamesholcombe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamesholcombe/subscriptions", "type": "User", "url": "https://api.github.com/users/jamesholcombe" }
[ { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 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" }
13
"2021-10-17T16:13:55Z"
"2021-11-14T03:05:09Z"
null
NONE
null
- [x ] closes #43909 - [ x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44068/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44068/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44068.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44068", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44068.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44068" }
https://api.github.com/repos/pandas-dev/pandas/issues/44069
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44069/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44069/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44069/events
https://github.com/pandas-dev/pandas/issues/44069
1,028,373,504
I_kwDOAA0YD849S7wA
44,069
BUILD: upgrade asv to cython 0.29.24
{ "avatar_url": "https://avatars.githubusercontent.com/u/24970830?v=4", "events_url": "https://api.github.com/users/alexhlim/events{/privacy}", "followers_url": "https://api.github.com/users/alexhlim/followers", "following_url": "https://api.github.com/users/alexhlim/following{/other_user}", "gists_url": "https://api.github.com/users/alexhlim/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexhlim", "id": 24970830, "login": "alexhlim", "node_id": "MDQ6VXNlcjI0OTcwODMw", "organizations_url": "https://api.github.com/users/alexhlim/orgs", "received_events_url": "https://api.github.com/users/alexhlim/received_events", "repos_url": "https://api.github.com/users/alexhlim/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexhlim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexhlim/subscriptions", "type": "User", "url": "https://api.github.com/users/alexhlim" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
"2021-10-17T16:28:41Z"
"2021-10-17T16:36:27Z"
"2021-10-17T16:35:16Z"
MEMBER
null
### - [X] I have read the [installation guide](https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#installing-pandas). ### Platform macOS-10.16-x86_64-i386-64bit ### Installation Method conda install ### pandas Version 1.3.3 (upstream/master) ### Python Version 3.8.12 ### Installation Logs <details> asv continuous -f 1.1 upstream/master HEAD · Creating environments....... · Discovering benchmarks. ·· Uninstalling from conda-py3.8-Cython0.29.21-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pyarrow-pytables-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt.. ·· Building 3eeef2ab <asv-upgrade-cython> for conda-py3.8-Cython0.29.21-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pyarrow-pytables-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt. ·· Error running /Users/xanderhlim/Documents/dev/pandas-alexhlim/asv_bench/env/46dec818773cf9720d7354158b888d0d/bin/python setup.py build -j4 (exit status 1) STDOUT --------> STDERR --------> Traceback (most recent call last): File "setup.py", line 650, in <module> ext_modules=maybe_cythonize(extensions, compiler_directives=directives), File "setup.py", line 410, in maybe_cythonize raise RuntimeError( RuntimeError: Cannot cythonize with old Cython version (0.29.21 installed, needs 0.29.24) ·· Failed to build the project and import the benchmark suite. </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/44069/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44069/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44070
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44070/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44070/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44070/events
https://github.com/pandas-dev/pandas/pull/44070
1,028,378,087
PR_kwDOAA0YD84tSrfP
44,070
REF: share Index subclass formatting 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": "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-17T16:45:31Z"
"2021-10-17T23:56:10Z"
"2021-10-17T22:00:51Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44070/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44070/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44070.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44070", "merged_at": "2021-10-17T22:00:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44070.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44070" }
https://api.github.com/repos/pandas-dev/pandas/issues/44071
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44071/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44071/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44071/events
https://github.com/pandas-dev/pandas/issues/44071
1,028,379,029
I_kwDOAA0YD849S9GV
44,071
CLN: Change implementation of maybe_make_list
{ "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": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "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": "fbca04", "default": false, "description": "High level tracker for similar issues", "id": 183784729, "name": "Master Tracker", "node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
null
2
"2021-10-17T16:49:09Z"
"2021-10-18T04:03:43Z"
"2021-10-18T04:03:36Z"
MEMBER
null
Ref: https://github.com/pandas-dev/pandas/pull/41022#discussion_r616658973 Currently, the implementation is https://github.com/pandas-dev/pandas/blob/40274ac92b62105ad86d61a8d1d7aa499d40ab41/pandas/core/common.py#L278-L281 This means that any list-like that is not a tuple nor list will be packed as a single element list, which is likely undesirable. For example, `pd.crosstab` works with ndarrays/Series but not lists/tuples for this reason (issue to come). I propose to change this method to: ``` def maybe_make_list_like(obj): if obj is None or is_list_like(obj): return obj else: return [obj] ``` I plan update this issue, listing out each part of the code that calls this function and what actions to take.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44071/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44071/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44072
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44072/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44072/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44072/events
https://github.com/pandas-dev/pandas/pull/44072
1,028,394,868
PR_kwDOAA0YD84tSuVY
44,072
Backport PR #44058 on branch 1.3.x (DOC: Start v1.3.5 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": null, "closed_issues": 47, "created_at": "2021-10-16T17:29:59Z", "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-11-28T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/91", "id": 7259169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels", "node_id": "MI_kwDOAA0YD84AbsQh", "number": 91, "open_issues": 23, "state": "open", "title": "1.3.5", "updated_at": "2021-11-21T13:42:45Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91" }
0
"2021-10-17T17:57:15Z"
"2021-10-17T19:31:50Z"
"2021-10-17T19:31:49Z"
NONE
null
Backport PR #44058: DOC: Start v1.3.5 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/44072/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44072/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44072.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44072", "merged_at": "2021-10-17T19:31:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44072.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44072" }
https://api.github.com/repos/pandas-dev/pandas/issues/44073
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44073/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44073/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44073/events
https://github.com/pandas-dev/pandas/pull/44073
1,028,418,673
PR_kwDOAA0YD84tSyWT
44,073
BUG: to_datetime with xarray DataArray and specifie unit errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/63910248?v=4", "events_url": "https://api.github.com/users/shubham11941140/events{/privacy}", "followers_url": "https://api.github.com/users/shubham11941140/followers", "following_url": "https://api.github.com/users/shubham11941140/following{/other_user}", "gists_url": "https://api.github.com/users/shubham11941140/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shubham11941140", "id": 63910248, "login": "shubham11941140", "node_id": "MDQ6VXNlcjYzOTEwMjQ4", "organizations_url": "https://api.github.com/users/shubham11941140/orgs", "received_events_url": "https://api.github.com/users/shubham11941140/received_events", "repos_url": "https://api.github.com/users/shubham11941140/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shubham11941140/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shubham11941140/subscriptions", "type": "User", "url": "https://api.github.com/users/shubham11941140" }
[]
closed
false
null
[]
null
2
"2021-10-17T19:40:14Z"
"2021-10-18T02:19:41Z"
"2021-10-18T00:38:06Z"
CONTRIBUTOR
null
- [x] closes #44053 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Converted values of xarray.DataArray to numpy.ndarray to solve the problem.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44073/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44073/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44073.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44073", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44073.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44073" }
https://api.github.com/repos/pandas-dev/pandas/issues/44074
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44074/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44074/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44074/events
https://github.com/pandas-dev/pandas/pull/44074
1,028,482,010
PR_kwDOAA0YD84tS9Kh
44,074
BUG: to_datetime with xarray DataArray and specifie unit errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/54088827?v=4", "events_url": "https://api.github.com/users/rocabrera/events{/privacy}", "followers_url": "https://api.github.com/users/rocabrera/followers", "following_url": "https://api.github.com/users/rocabrera/following{/other_user}", "gists_url": "https://api.github.com/users/rocabrera/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rocabrera", "id": 54088827, "login": "rocabrera", "node_id": "MDQ6VXNlcjU0MDg4ODI3", "organizations_url": "https://api.github.com/users/rocabrera/orgs", "received_events_url": "https://api.github.com/users/rocabrera/received_events", "repos_url": "https://api.github.com/users/rocabrera/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rocabrera/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rocabrera/subscriptions", "type": "User", "url": "https://api.github.com/users/rocabrera" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": 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" }
3
"2021-10-18T00:20:51Z"
"2021-10-19T01:43:36Z"
"2021-10-19T01:43:32Z"
CONTRIBUTOR
null
- [x] closes #44053 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] coerce to numpy array before calling ```tslib.array_with_unit_to_datetime```function Let me know if any change need to be done. Let me know if you need to make any changes. I love the package hope I can start helping more :)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44074/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44074/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44074.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44074", "merged_at": "2021-10-19T01:43:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44074.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44074" }
https://api.github.com/repos/pandas-dev/pandas/issues/44075
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44075/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44075/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44075/events
https://github.com/pandas-dev/pandas/issues/44075
1,028,576,734
I_kwDOAA0YD849TtXe
44,075
BUG: pd.cut() sometimes puts `NaNs` into bins.
{ "avatar_url": "https://avatars.githubusercontent.com/u/6732831?v=4", "events_url": "https://api.github.com/users/akdor1154/events{/privacy}", "followers_url": "https://api.github.com/users/akdor1154/followers", "following_url": "https://api.github.com/users/akdor1154/following{/other_user}", "gists_url": "https://api.github.com/users/akdor1154/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/akdor1154", "id": 6732831, "login": "akdor1154", "node_id": "MDQ6VXNlcjY3MzI4MzE=", "organizations_url": "https://api.github.com/users/akdor1154/orgs", "received_events_url": "https://api.github.com/users/akdor1154/received_events", "repos_url": "https://api.github.com/users/akdor1154/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akdor1154/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akdor1154/subscriptions", "type": "User", "url": "https://api.github.com/users/akdor1154" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "9aace2", "default": false, "description": "cut, qcut", "id": 1639305834, "name": "cut", "node_id": "MDU6TGFiZWwxNjM5MzA1ODM0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut" } ]
open
false
null
[]
null
1
"2021-10-18T03:18:33Z"
"2021-10-30T22:58:15Z"
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np bins = pd.IntervalIndex.from_breaks( range(0, 102, 1), closed='left', dtype='interval[int64]' ) print( pd.DataFrame(dict(x=[1.2, np.nan, 10.2])) .pipe(lambda _: _.assign( bin=pd.cut(_.x, bins) )) ) # x bin # 0 1.2 [1, 2) # 1 NaN [50, 51) # 2 10.2 [10, 11) ``` ### Issue Description With certain bin setups, pd.cut puts `NaN`s into the central bin instead of setting as NaN. It seems to only be certain bin setups which is weird: ```py bins = pd.IntervalIndex.from_breaks( range(0, 102, 1), # as per repro - breaks # range(0, 100, 1), # works # range(0, 101, 1), # works # range(0, 202, 1), # breaks closed='left', dtype='interval[int64]' ) ``` It also seems to go away if I use `pd.NA` instead of `np.nan` or `math.nan`. Seems different to https://github.com/pandas-dev/pandas/issues/31586 as searchsorted seems to work correctly (tested with ```py def mybin(val: pd.Series, bins: pd.IntervalIndex): bins_np = bins.values.left return bins_np.searchsorted(val.to_numpy()) ... .assign(mybin=mybin(_.x, bins) ``` ) ### Expected Behavior Would expect the output of repro to be something like ```py # x bin # 0 1.2 [1, 2) # 1 NaN pd.NA # 2 10.2 [10, 11) ``` ### Installed Versions <details> ``` INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.9.5.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-37-generic Version : #41-Ubuntu SMP Mon Sep 20 16:39:20 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.3.4 numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.0.1 setuptools : 56.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44075/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44075/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44076
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44076/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44076/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44076/events
https://github.com/pandas-dev/pandas/issues/44076
1,028,601,918
I_kwDOAA0YD849Tzg-
44,076
BUG: crosstab fails with lists/tuples
{ "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-18T04:10:35Z"
"2021-10-18T19:28:50Z"
"2021-10-18T19:28:50Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python df = pd.DataFrame({'a': [1, 1, 2], 'b': [3, 4, 5]}) print(pd.crosstab(df["a"].to_list(), df["b"].to_list())) ``` ### Issue Description The example raises a ValueError, whereas using `to_numpy` instead of `to_list` successfully produces the correct output. This is due to the use of `maybe_make_list` treating lists/tuples differently than other list-likes, and is related to #44056. ### Expected Behavior ``` col_0 3 4 5 row_0 1 1 1 0 2 0 0 1 ``` ### Installed Versions <details> Replace this line with the output of pd.show_versions() </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/44076/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44076/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44077
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44077/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44077/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44077/events
https://github.com/pandas-dev/pandas/issues/44077
1,028,633,500
I_kwDOAA0YD849T7Oc
44,077
DOC: Merge/join treats lists/tuples differently than other list-likes
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
open
false
null
[]
null
0
"2021-10-18T05:06:16Z"
"2021-10-18T05:44:07Z"
null
MEMBER
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.merge.html?highlight=merge#pandas.DataFrame.merge ### Documentation problem The code for merge, and hence join (and other methods?) uses maybe_make_list which treats lists/tuples differently than other list-likes. https://github.com/pandas-dev/pandas/blob/c4cce9b75b34179edf000314edf708768486fcbb/pandas/core/reshape/merge.py#L638-L640 The current documentation only mentions a list of strings (join) or a list (merge). The special treatment of lists/tuples should be made more explicit. ### Suggested fix for documentation merge, left_on argument (right_on is similar): > label, list/tuple of labels, or array-like, optional > > A single label or a list or tuple of labels will be treated as column or index level name(s) to join on in the left DataFrame. Any other array-like or list of array-likes of the length of the left DataFrame are treated as if they are columns. join, on argument: > label, list/tuple of labels, or array-like, optional > > A single label or a list or tuple of labels will be treated as column or index level name(s) in the caller to join on the index in other. If multiple values given, the other DataFrame must have a MultiIndex. Passing array-likes other than lists and tuples will be used as the join key if it is not already contained in the calling DataFrame. When not specified, joins index-on-index. Like an Excel VLOOKUP operation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44077/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44077/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44078
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44078/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44078/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44078/events
https://github.com/pandas-dev/pandas/issues/44078
1,028,674,222
I_kwDOAA0YD849UFKu
44,078
BUG: groupby.rolling.corr incorrect/fails when grouping columns contain tuples
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
0
"2021-10-18T06:15:18Z"
"2021-10-18T06:15:58Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python df = pd.DataFrame({'a': [(1,), (1,), (1,)], 'b': [4, 5, 6]}) gb = df.groupby(['a']) print(gb.rolling(2).corr(other=df)) df = pd.DataFrame({'a': [(1,2,), (1,2,), (1,2,)], 'b': [4, 5, 6]}) gb = df.groupby(['a']) print(gb.rolling(2).corr(other=df)) ``` ### Issue Description The first block produces ``` a b a 1 0 NaN NaN 1 NaN 1.0 2 NaN 1.0 ``` where the first index level should be `(1, )` instead. The second block raises a ValueError. It is due to usage of maybe_make_list in _apply_pairwise (related: #44056). Instead of using this function, we can pack the index keys in lists when `self._grouper.nkeys` is 1 and otherwise leave them as-is. I.e. ``` if self._grouper.nkeys == 1: gb_pairs = ( [pair] for pair in self._grouper.indices.keys() ) else: gb_pairs = ( pair for pair in self._grouper.indices.keys() ) ``` ### Expected Behavior ``` a b a (1, ) 0 NaN NaN 1 NaN 1.0 2 NaN 1.0 a b a (1, 2) 0 NaN NaN 1 NaN 1.0 2 NaN 1.0 ``` ### Installed Versions <details> Replace this line with the output of pd.show_versions() </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/44078/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44078/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44079
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44079/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44079/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44079/events
https://github.com/pandas-dev/pandas/issues/44079
1,028,696,287
I_kwDOAA0YD849UKjf
44,079
BUG: AttributeError: 'BooleanArray' object has no attribute 'sum' while infer types
{ "avatar_url": "https://avatars.githubusercontent.com/u/58493968?v=4", "events_url": "https://api.github.com/users/zhangxiaoxing/events{/privacy}", "followers_url": "https://api.github.com/users/zhangxiaoxing/followers", "following_url": "https://api.github.com/users/zhangxiaoxing/following{/other_user}", "gists_url": "https://api.github.com/users/zhangxiaoxing/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhangxiaoxing", "id": 58493968, "login": "zhangxiaoxing", "node_id": "MDQ6VXNlcjU4NDkzOTY4", "organizations_url": "https://api.github.com/users/zhangxiaoxing/orgs", "received_events_url": "https://api.github.com/users/zhangxiaoxing/received_events", "repos_url": "https://api.github.com/users/zhangxiaoxing/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhangxiaoxing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhangxiaoxing/subscriptions", "type": "User", "url": "https://api.github.com/users/zhangxiaoxing" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/58493968?v=4", "events_url": "https://api.github.com/users/zhangxiaoxing/events{/privacy}", "followers_url": "https://api.github.com/users/zhangxiaoxing/followers", "following_url": "https://api.github.com/users/zhangxiaoxing/following{/other_user}", "gists_url": "https://api.github.com/users/zhangxiaoxing/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhangxiaoxing", "id": 58493968, "login": "zhangxiaoxing", "node_id": "MDQ6VXNlcjU4NDkzOTY4", "organizations_url": "https://api.github.com/users/zhangxiaoxing/orgs", "received_events_url": "https://api.github.com/users/zhangxiaoxing/received_events", "repos_url": "https://api.github.com/users/zhangxiaoxing/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhangxiaoxing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhangxiaoxing/subscriptions", "type": "User", "url": "https://api.github.com/users/zhangxiaoxing" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/58493968?v=4", "events_url": "https://api.github.com/users/zhangxiaoxing/events{/privacy}", "followers_url": "https://api.github.com/users/zhangxiaoxing/followers", "following_url": "https://api.github.com/users/zhangxiaoxing/following{/other_user}", "gists_url": "https://api.github.com/users/zhangxiaoxing/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhangxiaoxing", "id": 58493968, "login": "zhangxiaoxing", "node_id": "MDQ6VXNlcjU4NDkzOTY4", "organizations_url": "https://api.github.com/users/zhangxiaoxing/orgs", "received_events_url": "https://api.github.com/users/zhangxiaoxing/received_events", "repos_url": "https://api.github.com/users/zhangxiaoxing/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhangxiaoxing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhangxiaoxing/subscriptions", "type": "User", "url": "https://api.github.com/users/zhangxiaoxing" } ]
{ "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
"2021-10-18T06:49:10Z"
"2021-11-20T15:58:54Z"
"2021-11-20T15:58:54Z"
CONTRIBUTOR
null
Line 694 in the pandas/io/parsers/base_parser.py file, ``` if issubclass(values.dtype.type, (np.number, np.bool_)): # error: Argument 2 to "isin" has incompatible type "List[Any]"; expected # "Union[Union[ExtensionArray, ndarray], Index, Series]" mask = algorithms.isin(values, list(na_values)) # type: ignore[arg-type] na_count =mask.sum() ^^^^^^^^^^^^^THIS if na_count > 0: if is_integer_dtype(values): values = values.astype(np.float64) np.putmask(values, mask, np.nan) return values, na_count ``` Caused an "AttributeError: 'BooleanArray' object has no attribute 'sum'" following some global ananconda update. Changed the line to ` na_count =mask.astype('uint8').sum()` fixed the error in my case. Edit by rhshadrach: Minimal example ``` from io import StringIO import pandas as pd df = pd.read_csv( StringIO("0,1"), names=['a', 'b'], index_col=['a'], dtype={'a': 'UInt8'}, ) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44079/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44079/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44080
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44080/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44080/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44080/events
https://github.com/pandas-dev/pandas/issues/44080
1,028,970,424
I_kwDOAA0YD849VNe4
44,080
RLS: 1.3.5
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "006b75", "default": false, "description": null, "id": 131473665, "name": "Release", "node_id": "MDU6TGFiZWwxMzE0NzM2NjU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 47, "created_at": "2021-10-16T17:29:59Z", "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-11-28T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/91", "id": 7259169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels", "node_id": "MI_kwDOAA0YD84AbsQh", "number": 91, "open_issues": 23, "state": "open", "title": "1.3.5", "updated_at": "2021-11-21T13:42:45Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91" }
3
"2021-10-18T11:08:12Z"
"2021-11-18T11:56:46Z"
null
MEMBER
null
Tracking issue for the 1.3.5 release. Currently scheduled for November 28, 2021. (This is a couple of weeks before 1.4.0rc0) The patch releases are on a calendar schedule of 3-3-4-5-6 weeks, however if 1.3.5 is the last in the 1.3.x series, we would delay to resolve any outstanding issues if necessary. But ideally get it done before the 1.4 release candidate) https://github.com/pandas-dev/pandas/milestone/91 List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression cc @pandas-dev/pandas-core @pandas-dev/pandas-triage
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44080/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44080/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44081
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44081/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44081/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44081/events
https://github.com/pandas-dev/pandas/pull/44081
1,029,081,240
PR_kwDOAA0YD84tU1Ze
44,081
BUG: Change of behavior in casting of datetime-like types in MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/63910248?v=4", "events_url": "https://api.github.com/users/shubham11941140/events{/privacy}", "followers_url": "https://api.github.com/users/shubham11941140/followers", "following_url": "https://api.github.com/users/shubham11941140/following{/other_user}", "gists_url": "https://api.github.com/users/shubham11941140/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shubham11941140", "id": 63910248, "login": "shubham11941140", "node_id": "MDQ6VXNlcjYzOTEwMjQ4", "organizations_url": "https://api.github.com/users/shubham11941140/orgs", "received_events_url": "https://api.github.com/users/shubham11941140/received_events", "repos_url": "https://api.github.com/users/shubham11941140/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shubham11941140/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shubham11941140/subscriptions", "type": "User", "url": "https://api.github.com/users/shubham11941140" }
[]
closed
false
null
[]
null
4
"2021-10-18T12:58:09Z"
"2021-11-04T11:24:18Z"
"2021-11-04T11:24:18Z"
CONTRIBUTOR
null
- [x] closes #43091 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Added try-except block in multi.py to reset the behaviour back to 1.2.5
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44081/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44081/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44081.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44081", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44081.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44081" }
https://api.github.com/repos/pandas-dev/pandas/issues/44082
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44082/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44082/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44082/events
https://github.com/pandas-dev/pandas/issues/44082
1,029,232,037
I_kwDOAA0YD849WNWl
44,082
ENH: cast unrecognised value as na in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/6242032?v=4", "events_url": "https://api.github.com/users/xiki-tempula/events{/privacy}", "followers_url": "https://api.github.com/users/xiki-tempula/followers", "following_url": "https://api.github.com/users/xiki-tempula/following{/other_user}", "gists_url": "https://api.github.com/users/xiki-tempula/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xiki-tempula", "id": 6242032, "login": "xiki-tempula", "node_id": "MDQ6VXNlcjYyNDIwMzI=", "organizations_url": "https://api.github.com/users/xiki-tempula/orgs", "received_events_url": "https://api.github.com/users/xiki-tempula/received_events", "repos_url": "https://api.github.com/users/xiki-tempula/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xiki-tempula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xiki-tempula/subscriptions", "type": "User", "url": "https://api.github.com/users/xiki-tempula" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
5
"2021-10-18T14:59:10Z"
"2021-10-18T17:26:27Z"
"2021-10-18T16:22:24Z"
NONE
null
#### Is your feature request related to a problem? I have a csv file which can contain some mission part due to IO problem. Say if I have a csv file ``` 0 -1 -10 1 -2 -20 2 -3 -30 ``` However, due to the buffer problem, it can become ``` 0 -1 -10 1 -2 -20 2 -3 - ``` If I use pandas.read_csv to read it, I will get: ``` File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 610, in read_csv return _read(filepath_or_buffer, kwds) File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 468, in _read return parser.read(nrows) File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 1057, in read index, columns, col_dict = self._engine.read(nrows) File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 2061, in read data = self._reader.read(nrows) File "pandas/_libs/parsers.pyx", line 756, in pandas._libs.parsers.TextReader.read File "pandas/_libs/parsers.pyx", line 771, in pandas._libs.parsers.TextReader._read_low_memory File "pandas/_libs/parsers.pyx", line 850, in pandas._libs.parsers.TextReader._read_rows File "pandas/_libs/parsers.pyx", line 982, in pandas._libs.parsers.TextReader._convert_column_data File "pandas/_libs/parsers.pyx", line 1056, in pandas._libs.parsers.TextReader._convert_tokens ValueError: could not convert string to float: '-' ``` #### Describe the solution you'd like I wonder if it is possible to cast any unrecognised value as NA rather than raise a Value error #### API breaking implications N/A #### Describe alternatives you've considered perhaps just skip this line?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44082/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44082/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44083
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44083/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44083/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44083/events
https://github.com/pandas-dev/pandas/pull/44083
1,029,281,029
PR_kwDOAA0YD84tVehT
44,083
DOC: Fix cheatsheet automatic uploading
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "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": "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
5
"2021-10-18T15:32:24Z"
"2021-10-18T17:53:54Z"
"2021-10-18T15:34:17Z"
MEMBER
null
Follow up of #44018. I didn't realize before merging that we were first uploading the web directory, and then copying the cheatsheets to it, so they won't be uploaded. The cheatsheets will be removed from the website in the CI of hte previous PR, so would be good to merge this asap, so the cheatsheets are restored.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 1, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44083/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44083/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44083.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44083", "merged_at": "2021-10-18T15:34:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44083.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44083" }
https://api.github.com/repos/pandas-dev/pandas/issues/44084
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44084/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44084/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44084/events
https://github.com/pandas-dev/pandas/issues/44084
1,029,316,846
I_kwDOAA0YD849WiDu
44,084
BUG: get_indexer_for() does not always return list of indeces
{ "avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4", "events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}", "followers_url": "https://api.github.com/users/johannes-mueller/followers", "following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}", "gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johannes-mueller", "id": 5902745, "login": "johannes-mueller", "node_id": "MDQ6VXNlcjU5MDI3NDU=", "organizations_url": "https://api.github.com/users/johannes-mueller/orgs", "received_events_url": "https://api.github.com/users/johannes-mueller/received_events", "repos_url": "https://api.github.com/users/johannes-mueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions", "type": "User", "url": "https://api.github.com/users/johannes-mueller" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-18T16:06:01Z"
"2021-11-14T02:26:44Z"
"2021-11-14T02:26:44Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np interval_index = pd.IntervalIndex.from_tuples([(1.0, np.inf), (-np.inf, 0.0), (0.0, 1.)], name='interval') foo_index = pd.Index([1, 2, 3], name='foo') multi_index = pd.MultiIndex.from_product([foo_index, interval_index]) print(multi_index.get_level_values('foo').get_indexer_for([2])) print(multi_index.get_level_values('interval').get_indexer_for([pd.Interval(-np.inf, 0.0)])) multi_index = pd.MultiIndex.from_product([interval_index, foo_index]) print(multi_index.get_level_values('foo').get_indexer_for([2])) print(multi_index.get_level_values('interval').get_indexer_for([pd.Interval(-np.inf, 0.0)])) ``` ### Issue Description `get_indexer_for()` does not return a list of indeces as described in the docs but a mask like list under some circumstances. As far as I have investigated, the behavior occurs if all of the following conditions are met: * the index is a `MultiIndex` * the level in question is a `IntervalIndex` * the level in question is not the first level of the `MultiIndex` The script above outputs ``` [3 4 5] [0 1 0 0 1 0 0 1 0] [1 4 7] [3 4 5] ``` ### Expected Behavior Expected output ``` [3 4 5] [1 4 7] [1 4 7] [3 4 5] ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 3a6d4cd01d076762ad60c5fd6551012cb72a808d python : 3.9.7.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-88-lowlatency Version : #99-Ubuntu SMP PREEMPT Thu Sep 23 18:30:52 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.4.0.dev0+933.g3a6d4cd01d numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : 6.2.5 hypothesis : 6.23.3 sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44084/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44084/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44085
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44085/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44085/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44085/events
https://github.com/pandas-dev/pandas/pull/44085
1,029,319,155
PR_kwDOAA0YD84tVmCH
44,085
BUG: RangeIndex.difference with sort=None and step<0
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-18T16:08:00Z"
"2021-11-20T23:20:36Z"
"2021-10-18T22:45:22Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44085/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44085/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44085.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44085", "merged_at": "2021-10-18T22:45:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44085.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44085" }
https://api.github.com/repos/pandas-dev/pandas/issues/44086
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44086/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44086/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44086/events
https://github.com/pandas-dev/pandas/pull/44086
1,029,348,661
PR_kwDOAA0YD84tVr3A
44,086
ENH: preserve RangeIndex in insert, delete
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-18T16:36:25Z"
"2021-10-18T23:15:52Z"
"2021-10-18T23:05:28Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44086/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44086/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44086.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44086", "merged_at": "2021-10-18T23:05:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44086.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44086" }
https://api.github.com/repos/pandas-dev/pandas/issues/44087
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44087/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44087/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44087/events
https://github.com/pandas-dev/pandas/issues/44087
1,029,413,906
I_kwDOAA0YD849W5wS
44,087
Cheatsheets not being served via nginx
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "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": "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
1
"2021-10-18T17:44:26Z"
"2021-10-18T17:54:46Z"
"2021-10-18T17:54:46Z"
MEMBER
null
We started synchronizing the cheat sheets from this repo, to the pandas.pydata.org server. The cheatsheets have been correctly placed into our website directory, but https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf is still serving the old version. I restarted nginx, to make sure it's not a caching problem, but still the same. I deleted the file, and still being served. I checked the nginx logs, and all requests are being logged, except to the cheat sheet files. I checked the nginx configuration, to make sure there is nothing specific to that file, and it's not. I uploaded a different pdf to the same directory, and worked correctly. I stopped nginx for couple of seconds, and the website was down, but the cheat sheet was still being served. The only thing I guess it may be causing this, is a cache in a service like cloudflare or similar. Do you know if we're using that @TomAugspurger @aterrel ? And do you know if the cache will be purged anytime soon? Happy to wait until the cache is automatically purged if it'll happen, but would be good to understand if that's the case.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44087/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44087/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44088
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44088/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44088/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44088/events
https://github.com/pandas-dev/pandas/pull/44088
1,029,419,858
PR_kwDOAA0YD84tV5w1
44,088
BUG: crosstab fails with lists/tuples
{ "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": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-18T17:51:45Z"
"2021-10-19T03:45:30Z"
"2021-10-18T19:28:50Z"
MEMBER
null
- [x] closes #44076 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44088/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44088/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44088.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44088", "merged_at": "2021-10-18T19:28:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44088.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44088" }
https://api.github.com/repos/pandas-dev/pandas/issues/44089
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44089/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44089/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44089/events
https://github.com/pandas-dev/pandas/issues/44089
1,029,452,877
I_kwDOAA0YD849XDRN
44,089
BUILD: Building wheels failing with one `requirements.txt` but passes with another
{ "avatar_url": "https://avatars.githubusercontent.com/u/42289817?v=4", "events_url": "https://api.github.com/users/ivanov-slk/events{/privacy}", "followers_url": "https://api.github.com/users/ivanov-slk/followers", "following_url": "https://api.github.com/users/ivanov-slk/following{/other_user}", "gists_url": "https://api.github.com/users/ivanov-slk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanov-slk", "id": 42289817, "login": "ivanov-slk", "node_id": "MDQ6VXNlcjQyMjg5ODE3", "organizations_url": "https://api.github.com/users/ivanov-slk/orgs", "received_events_url": "https://api.github.com/users/ivanov-slk/received_events", "repos_url": "https://api.github.com/users/ivanov-slk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanov-slk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanov-slk/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanov-slk" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
"2021-10-18T18:23:35Z"
"2021-10-20T11:25:58Z"
"2021-10-20T11:25:58Z"
NONE
null
### - [X] I have read the [installation guide](https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#installing-pandas). ### Platform Linux-3.10.0-1160.45.1.el7.x86_64-x86_64-with-glibc2.28; Linux-4.18.0-305.7.1.el8_4.x86_64-x86_64-with-redhat-8.4-Ootpa ### Installation Method pip install ### pandas Version 1.3.5 ### Python Version 3.9.2 ### Installation Logs I am trying to `pip install` (`-U -r requirements.txt`) `pandas` in the following set of requirements: ``` pandas numpy scipy python-dateutil wheel scikit-learn scikit-optimize tqdm networkx joblib twine mlflow requests Cython tables luigi boto3 schedule hyperopt statsmodels ``` It fails on `Building wheel for pandas (setup.py): started` with the following error (more details in the attached log): ``` ERROR: Command errored out with exit status 1: /home/venvs/model_env_py39/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t9tmjsl2/scikit-learn_ec85c74cdc314b5dae36b86ff0618a56/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t9tmjsl2/scikit-learn_ec85c74cdc314b5dae36b86ff0618a56/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mjw2a43x/install-record.txt --single-version-externally-managed --compile --install-headers /home/venvs/model_env_py39/include/site/python3.9/scikit-learn Check the logs for full command output. ``` [log.txt](https://github.com/pandas-dev/pandas/files/7367688/log.txt) The interesting part is that installing the following set of requirements: ``` pandas numpy scipy python-dateutil wheel scikit-learn scikit-optimize tqdm networkx joblib twine mlflow requests ``` runs without issue. I tested this in two different Linux environments (see above) with the same result.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44089/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44089/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44090
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44090/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44090/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44090/events
https://github.com/pandas-dev/pandas/issues/44090
1,029,461,435
I_kwDOAA0YD849XFW7
44,090
BUG: Calling apply on empty DataFrame on axis="columns" loops on an empty default Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/31741972?v=4", "events_url": "https://api.github.com/users/philippefutureboy/events{/privacy}", "followers_url": "https://api.github.com/users/philippefutureboy/followers", "following_url": "https://api.github.com/users/philippefutureboy/following{/other_user}", "gists_url": "https://api.github.com/users/philippefutureboy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/philippefutureboy", "id": 31741972, "login": "philippefutureboy", "node_id": "MDQ6VXNlcjMxNzQxOTcy", "organizations_url": "https://api.github.com/users/philippefutureboy/orgs", "received_events_url": "https://api.github.com/users/philippefutureboy/received_events", "repos_url": "https://api.github.com/users/philippefutureboy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/philippefutureboy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/philippefutureboy/subscriptions", "type": "User", "url": "https://api.github.com/users/philippefutureboy" }
[ { "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": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
0
"2021-10-18T18:34:01Z"
"2021-10-30T23:02:58Z"
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python >>> import pandas as pd >>> pd.DataFrame([], columns=["a", "b", "c"]).apply(lambda row: print(row), axis=1) Series([], dtype: float64) ``` ### Issue Description Is it normal that DataFrame.apply(axis=1) loops once when the DataFrame is empty? Sounds like a weird, unexpected behaviour to me (and introduced breakage in our codebase). I guess this is to return an empty Series for assignment? ### Expected Behavior `DataFrame.apply(axis=1)` on an empty DataFrame should not loop (and still return an empty Series) ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.7.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.0.1 setuptools : 54.1.2 Cython : None pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 3.0.1 lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.27.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.08.1 fastparquet : None gcsfs : 2021.08.1 matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : 0.14.1 pyarrow : 1.0.1 pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.24 tables : None tabulate : 0.8.9 xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44090/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44090/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44091
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44091/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44091/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44091/events
https://github.com/pandas-dev/pandas/issues/44091
1,029,519,927
I_kwDOAA0YD849XTo3
44,091
BUG: DataFrame(dict_of_series) raises depending on order of dict
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
open
false
null
[]
null
0
"2021-10-18T19:39:55Z"
"2021-10-30T23:03:46Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python dti = pd.date_range("2016-01-01", periods=3) ser1 = pd.Series(range(3), index=dti) ser2 = pd.Series(range(3), index=dti.tz_localize("UTC")) ser3 = pd.Series(range(3)) >>> pd.DataFrame({"A": ser3, "B": ser2, "C": ser1}) # works fine >>> pd.DataFrame({"A": ser1, "B": ser2, "C": ser3}) TypeError: Cannot join tz-naive with tz-aware DatetimeIndex ``` ### Issue Description When we pass a dict of Series, we end up going through indexes.api.union_indexes, which checks if our _first_ index is a DatetimeIndex and if so dispatches to DatetimeIndex.union_many, which in this case raises. If the DatetimeIndex is not first, then it goes through Index.union and casts to object. Then there's the issue that we don't pass `sort` to union_many so it gets ignored. ### Expected Behavior Cast to object. ### Installed Versions <details> Replace this line with the output of pd.show_versions() </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/44091/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44091/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44092
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44092/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44092/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44092/events
https://github.com/pandas-dev/pandas/pull/44092
1,029,595,185
PR_kwDOAA0YD84tWcOD
44,092
TST: fix groupby-empty xfails
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-18T21:04:33Z"
"2021-10-20T21:51:21Z"
"2021-10-20T21:09:05Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44092/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44092/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44092.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44092", "merged_at": "2021-10-20T21:09:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44092.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44092" }
https://api.github.com/repos/pandas-dev/pandas/issues/44093
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44093/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44093/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44093/events
https://github.com/pandas-dev/pandas/pull/44093
1,029,767,219
PR_kwDOAA0YD84tW9As
44,093
ENH: retain RangeIndex in RangeIndex.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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-19T01:50:12Z"
"2021-10-19T14:42:53Z"
"2021-10-19T12:55:47Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry This should handle _all_ cases where it is possible to retain RangeIndex, a claim which the hypothesis-baed tests should check.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44093/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44093/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44093.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44093", "merged_at": "2021-10-19T12:55:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44093.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44093" }
https://api.github.com/repos/pandas-dev/pandas/issues/44094
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44094/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44094/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44094/events
https://github.com/pandas-dev/pandas/pull/44094
1,029,782,706
PR_kwDOAA0YD84tW_5y
44,094
testing broadcast on multiindex
{ "avatar_url": "https://avatars.githubusercontent.com/u/29053090?v=4", "events_url": "https://api.github.com/users/gabrieldi95/events{/privacy}", "followers_url": "https://api.github.com/users/gabrieldi95/followers", "following_url": "https://api.github.com/users/gabrieldi95/following{/other_user}", "gists_url": "https://api.github.com/users/gabrieldi95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabrieldi95", "id": 29053090, "login": "gabrieldi95", "node_id": "MDQ6VXNlcjI5MDUzMDkw", "organizations_url": "https://api.github.com/users/gabrieldi95/orgs", "received_events_url": "https://api.github.com/users/gabrieldi95/received_events", "repos_url": "https://api.github.com/users/gabrieldi95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabrieldi95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabrieldi95/subscriptions", "type": "User", "url": "https://api.github.com/users/gabrieldi95" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-10-19T02:20:52Z"
"2021-11-19T00:22:58Z"
null
CONTRIBUTOR
null
- [x] closes #34388 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44094/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44094/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44094.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44094", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44094.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44094" }
https://api.github.com/repos/pandas-dev/pandas/issues/44095
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44095/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44095/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44095/events
https://github.com/pandas-dev/pandas/issues/44095
1,030,145,758
I_kwDOAA0YD849Zsbe
44,095
BUG: Accessing pd.Series Multiindex with get() does not find element
{ "avatar_url": "https://avatars.githubusercontent.com/u/9060786?v=4", "events_url": "https://api.github.com/users/HansBambel/events{/privacy}", "followers_url": "https://api.github.com/users/HansBambel/followers", "following_url": "https://api.github.com/users/HansBambel/following{/other_user}", "gists_url": "https://api.github.com/users/HansBambel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HansBambel", "id": 9060786, "login": "HansBambel", "node_id": "MDQ6VXNlcjkwNjA3ODY=", "organizations_url": "https://api.github.com/users/HansBambel/orgs", "received_events_url": "https://api.github.com/users/HansBambel/received_events", "repos_url": "https://api.github.com/users/HansBambel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HansBambel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HansBambel/subscriptions", "type": "User", "url": "https://api.github.com/users/HansBambel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
"2021-10-19T10:41:17Z"
"2021-10-20T08:42:36Z"
"2021-10-20T08:42:36Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd a = pd.DataFrame({"breed": ["stallion", "stallion", "stallion", "stallion", "pony", "pony", "pony"], "stable": ["hogwarts", "hogwarts", "london", None, "hogwarts", "london", "london"], "weight": [800, 900, 982, 400, 230, 300, 500]}) grouped = a.groupby(["breed", "stable"], dropna=False)["weight"].mean() grouped = grouped.append(a.groupby("breed", dropna=False)["weight"].mean()) grouped = grouped.append(pd.Series(a["weight"].mean(), index=["all_breeds"])) print(grouped) print() print(grouped["stallion", "london"]) print(grouped.get(["stallion", "london"])) print(grouped.get(["stallion", "london"], -1)) print(f'The same? {grouped["stallion", "london"] == grouped.get(["stallion", "london"]) == grouped.get(["stallion", "london"], -1)}') ``` ### Issue Description I have a grouped pd.Series with Multiindices and can access single elements using `grouped["stallion", "london"]`, but when using `grouped.get(["stallion", "london"])` the result is `None` (or -1 when a default value is given). ### Expected Behavior I am expecting that all three lines give me the same result: `grouped["stallion", "london"] == grouped.get(["stallion", "london"]) == grouped.get(["stallion", "london"], -1)` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.8.10.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.3.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 3.0.0 IPython : 7.24.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.07.0 fastparquet : 0.7.0 gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.25 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.53.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/44095/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44095/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44096
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44096/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44096/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44096/events
https://github.com/pandas-dev/pandas/issues/44096
1,030,173,634
I_kwDOAA0YD849ZzPC
44,096
BUG: Joining MultiIndex with IntervalIndex level fails when IntervalIndex level is overlapping
{ "avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4", "events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}", "followers_url": "https://api.github.com/users/johannes-mueller/followers", "following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}", "gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johannes-mueller", "id": 5902745, "login": "johannes-mueller", "node_id": "MDQ6VXNlcjU5MDI3NDU=", "organizations_url": "https://api.github.com/users/johannes-mueller/orgs", "received_events_url": "https://api.github.com/users/johannes-mueller/received_events", "repos_url": "https://api.github.com/users/johannes-mueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions", "type": "User", "url": "https://api.github.com/users/johannes-mueller" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
open
false
null
[]
null
0
"2021-10-19T11:11:55Z"
"2021-10-30T23:04:36Z"
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. (might be related to #27456) - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd idx_1_working = pd.MultiIndex.from_tuples([ (1, pd.Interval(0.0, 1.0)), (1, pd.Interval(1.0, 2.0)), (1, pd.Interval(2.0, 5.0)), (2, pd.Interval(0.0, 1.0)), (2, pd.Interval(1.0, 2.0)), (2, pd.Interval(2.0, 5.0)), ], names=['num', 'interval']) # Same index but sequence slightly changed idx_2_working = pd.MultiIndex.from_tuples([ (1, pd.Interval(2.0, 5.0)), # in idx_1_working this is in 3rd row (1, pd.Interval(0.0, 1.0)), (1, pd.Interval(1.0, 2.0)), (2, pd.Interval(2.0, 5.0)), # in idx_1_working this is in 6th row (2, pd.Interval(0.0, 1.0)), (2, pd.Interval(1.0, 2.0)), ], names=['num', 'interval']) print(idx_1_working.join(idx_2_working, how='outer')) idx_1_broken = pd.MultiIndex.from_tuples([ (1, pd.Interval(0.0, 1.0)), (1, pd.Interval(1.0, 2.0)), (1, pd.Interval(2.0, 5.0)), (2, pd.Interval(0.0, 1.0)), (2, pd.Interval(1.0, 3.0)), # interval limit is here at 3.0, not at 2.0 (2, pd.Interval(3.0, 5.0)), ], names=['num', 'interval']) idx_2_broken = pd.MultiIndex.from_tuples([ (1, pd.Interval(2.0, 5.0)), (1, pd.Interval(0.0, 1.0)), (1, pd.Interval(1.0, 2.0)), (2, pd.Interval(3.0, 5.0)), (2, pd.Interval(0.0, 1.0)), (2, pd.Interval(1.0, 3.0)), ], names=['num', 'interval']) print(idx_1_broken.join(idx_2_broken, how='outer')) ``` ### Issue Description Joining `idx_1_broken` with `idx_2_broken` for no obvious reason. The difference between the `_working` and the `_broken` indeces is, that in `_working` the `interval` level is the same for the two `num` level entries, whereas in `_broken` they one limit differs (see comment in the code) Output of the example script: ``` MultiIndex([(1, (0.0, 1.0]), (1, (1.0, 2.0]), (1, (2.0, 5.0]), (2, (0.0, 1.0]), (2, (1.0, 2.0]), (2, (2.0, 5.0])], names=['num', 'interval']) Traceback (most recent call last): File "/home/jmu3si/tmp/intervalindex_test.py", line 47, in <module> print(idx_1_broken.join(idx_2_broken, how='outer')) File "/home/jmu3si/Devel/pandas/pandas/core/indexes/base.py", line 214, in join join_index, lidx, ridx = meth(self, other, how=how, level=level, sort=sort) File "/home/jmu3si/Devel/pandas/pandas/core/indexes/base.py", line 4302, in join return self._join_via_get_indexer(other, how, sort) File "/home/jmu3si/Devel/pandas/pandas/core/indexes/base.py", line 4336, in _join_via_get_indexer rindexer = other.get_indexer(join_index) File "/home/jmu3si/Devel/pandas/pandas/core/indexes/base.py", line 3665, in get_indexer return self._get_indexer(target, method, limit, tolerance) File "/home/jmu3si/Devel/pandas/pandas/core/indexes/base.py", line 3684, in _get_indexer tgt_values = self._engine._extract_level_codes(target) File "pandas/_libs/index.pyx", line 652, in pandas._libs.index.BaseMultiIndexCodesEngine._extract_level_codes level_codes = [lev.get_indexer(codes) + 1 for lev, codes File "/home/jmu3si/Devel/pandas/pandas/core/indexes/base.py", line 3602, in get_indexer raise InvalidIndexError(self._requires_unique_msg) pandas.errors.InvalidIndexError: cannot handle overlapping indices; use IntervalIndex.get_indexer_non_unique ``` ### Expected Behavior I would expect that the join operation works the same way as for `idx_1_working` and `idx_2_working`. Expected output of the scipt: ``` MultiIndex([(1, (0.0, 1.0]), (1, (1.0, 2.0]), (1, (2.0, 5.0]), (2, (0.0, 1.0]), (2, (1.0, 2.0]), (2, (2.0, 5.0])], names=['num', 'interval']) MultiIndex([(1, (0.0, 1.0]), (1, (1.0, 2.0]), (1, (2.0, 5.0]), (2, (0.0, 1.0]), (2, (1.0, 3.0]), (2, (3.0, 5.0])], names=['num', 'interval']) ``` ### Installed versions <details> INSTALLED VERSIONS ------------------ commit : 3a6d4cd01d076762ad60c5fd6551012cb72a808d python : 3.9.7.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-88-lowlatency Version : #99-Ubuntu SMP PREEMPT Thu Sep 23 18:30:52 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.4.0.dev0+933.g3a6d4cd01d numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : 6.2.5 hypothesis : 6.23.3 sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44096/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44096/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44097
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44097/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44097/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44097/events
https://github.com/pandas-dev/pandas/issues/44097
1,030,253,283
I_kwDOAA0YD849aGrj
44,097
Decrypting file in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/33896139?v=4", "events_url": "https://api.github.com/users/linogaliana/events{/privacy}", "followers_url": "https://api.github.com/users/linogaliana/followers", "following_url": "https://api.github.com/users/linogaliana/following{/other_user}", "gists_url": "https://api.github.com/users/linogaliana/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/linogaliana", "id": 33896139, "login": "linogaliana", "node_id": "MDQ6VXNlcjMzODk2MTM5", "organizations_url": "https://api.github.com/users/linogaliana/orgs", "received_events_url": "https://api.github.com/users/linogaliana/received_events", "repos_url": "https://api.github.com/users/linogaliana/repos", "site_admin": false, "starred_url": "https://api.github.com/users/linogaliana/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/linogaliana/subscriptions", "type": "User", "url": "https://api.github.com/users/linogaliana" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
null
4
"2021-10-19T12:35:32Z"
"2021-10-30T23:05:13Z"
null
NONE
null
## Basic idea of the feature request I was trying to read an encrypted file in `pandas`. As far as I know, there is no way to provide something to `read_csv` (or any other `read_*` function) to decrypt a file when reading (and not with *ex-post* `applymap` functions as in this [stack overflow thread](https://stackoverflow.com/questions/57194710/decrypting-a-fernet-csv-encoding-issue-pandas)) The solution proposed in the [aforementioned post](https://stackoverflow.com/questions/57194710/decrypting-a-fernet-csv-encoding-issue-pandas) seems quite slow with data > several Mb. My solution has been to decrypt the file using `cryptography` package and write that in a temporary location (there's room for improvement in the functions I will propose below, I am aware of that). This works but I was hoping this would be better to have an option in `pandas` to decrypt when reading the stream input. This would probably lead to: * speed improvements since you reduce the I/O * improved security since you don't write decrypted (and thus potentially sensible) data in the disk, even for a temporary purpose Here an example that makes possible to reproduce the feature: 1. The `encrypt_data` is just here to reproduce the setting of having a crypted file 2. It would be great to avoid the `decrypt_data` step to directly use `read_csv` with an extra argument. ```python import pandas as pd from cryptography.fernet import Fernet df = pd.DataFrame({'user': ['Bob', 'Jane', 'Alice'], 'income': [40000, 50000, 42000]}) df.to_csv("toto.csv") def encrypt_data(path, key, outpath = None): if outpath is None: outpath = '{}_encrypted'.format(path) f = Fernet(key) # opening the original file to encrypt with open(path, 'rb') as file: original = file.read() # encrypting the file encrypted = f.encrypt(original) # opening the file in write mode and # writing the encrypted data with open(outpath, 'wb') as encrypted_file: encrypted_file.write(encrypted) print("file {} encrypted ; written at {} location".format(path, outpath)) def decrypt_data(path, key, outpath = None): if outpath is None: outpath = '{}_encrypted'.format(path) f = Fernet(key) # opening the original file to encrypt with open(path, 'rb') as file: original = file.read() decrypted = f.decrypt(original) # opening the file in write mode and # writing the encrypted data with open(outpath, 'wb') as dfile: dfile.write(decrypted) print("file {} decrypted ; written at {} location".format(path, outpath)) dummykey = Fernet.generate_key() encrypt_data("toto.csv", dummykey, outpath = "toto_crypt.csv") decrypt_data("toto_crypt.csv", dummykey, outpath = "toto_decrypt.csv") pd.read_csv("toto_crypt.csv") pd.read_csv("toto_decrypt.csv") ``` ## A possible approach Let's say we call this argument `encryption`. We could provide an object from `cryptography` to decode datastream directly in `pd.read_csv` call. For instance: ```python pd.read_csv("toto_decrypt.csv", encryption = Fernet(dummykey)) ``` The same approach could be used to `to_csv` (or other writing functions) to directly write encrypted data in the disk. However, maybe this solution would imply to use the `python` engine. Directly providing the key and the encryption method (e.g. Fernet) is maybe better to work with the C engine (I am not familiar with C but there's probably equivalent method than the one I applied in python) ## API breaking implications As far as I understand how I/O works, I think this extra argument would not break any existing code with a default value to `None`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44097/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44097/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44098
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44098/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44098/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44098/events
https://github.com/pandas-dev/pandas/issues/44098
1,030,305,359
I_kwDOAA0YD849aTZP
44,098
BUG: Nullable integer dtype leads to a fragmentation PerformanceWarning
{ "avatar_url": "https://avatars.githubusercontent.com/u/1694892?v=4", "events_url": "https://api.github.com/users/epizut/events{/privacy}", "followers_url": "https://api.github.com/users/epizut/followers", "following_url": "https://api.github.com/users/epizut/following{/other_user}", "gists_url": "https://api.github.com/users/epizut/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/epizut", "id": 1694892, "login": "epizut", "node_id": "MDQ6VXNlcjE2OTQ4OTI=", "organizations_url": "https://api.github.com/users/epizut/orgs", "received_events_url": "https://api.github.com/users/epizut/received_events", "repos_url": "https://api.github.com/users/epizut/repos", "site_admin": false, "starred_url": "https://api.github.com/users/epizut/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/epizut/subscriptions", "type": "User", "url": "https://api.github.com/users/epizut" }
[ { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": 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" }
5
"2021-10-19T13:23:31Z"
"2021-10-21T14:38:42Z"
"2021-10-21T00:51:10Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import numpy as np import pandas as pd df = pd.DataFrame(np.random.randint(0,100,size=(100, 100)), dtype='Int32') df.reset_index() ``` ### Issue Description When using the new [nullable Integer](https://pandas.pydata.org/pandas-docs/stable/user_guide/integer_na.html) dtype, pandas seams to generate one [IntegerArray](https://pandas.pydata.org/docs/reference/api/pandas.arrays.IntegerArray.html) per columns. This will inevitably leads to a fragmentation performance warning while using more than 100 columns. ```python df = pd.DataFrame(np.random.randint(0,100,size=(100, 100)), dtype='Int32') df.reset_index() # Warn ``` ``` >>> PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling `frame.insert` many times, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()` df.reset_index() ``` Of course this is due to an high number of fragments: ```python df._data.nblocks >>> 100 ``` ### Expected Behavior Maybe we could have a proper nullable integer matrix representation ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.9.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18363 machine : AMD64 processor : Intel64 Family 6 Model 85 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.3.4 numpy : 1.21.1 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 56.0.0 Cython : None pytest : 6.2.4 hypothesis : None sphinx : 4.1.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.26.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.07.0 fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.22 tables : None tabulate : None xarray : 0.19.0 xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44098/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44098/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44099
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44099/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44099/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44099/events
https://github.com/pandas-dev/pandas/issues/44099
1,030,494,713
I_kwDOAA0YD849bBn5
44,099
BUG: `pd.concat` produces frames with inconsistent order when concating the ones with categorical indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/62142979?v=4", "events_url": "https://api.github.com/users/dchigarev/events{/privacy}", "followers_url": "https://api.github.com/users/dchigarev/followers", "following_url": "https://api.github.com/users/dchigarev/following{/other_user}", "gists_url": "https://api.github.com/users/dchigarev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dchigarev", "id": 62142979, "login": "dchigarev", "node_id": "MDQ6VXNlcjYyMTQyOTc5", "organizations_url": "https://api.github.com/users/dchigarev/orgs", "received_events_url": "https://api.github.com/users/dchigarev/received_events", "repos_url": "https://api.github.com/users/dchigarev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dchigarev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dchigarev/subscriptions", "type": "User", "url": "https://api.github.com/users/dchigarev" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
open
false
null
[]
null
0
"2021-10-19T16:06:40Z"
"2021-10-30T23:06:26Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas df1 = pandas.DataFrame( {"col1": ["a_val", "b_val", "c_val"]}, index=pandas.CategoricalIndex(["a", "b", "c"], categories=["a", "b", "c"]), ) df2 = pandas.DataFrame( {"col1": ["b_val", "a_val", "c_val"]}, # The same categories as in the first frame, but the values are in a different order index=pandas.CategoricalIndex(["b", "a", "c"], categories=["b", "a", "c"]), ) print(pandas.concat([df1, df2])) # Output: # col1 # a a_val # b b_val # c c_val # a b_val <-- index doesn't math the original value # b a_val <-- index doesn't math the original value # c c_val ``` ### Issue Description When concatenating frames with categorical indices that have the same values but they are in a different order, the order of indices does not match the order of values from the original frame. In the reproducer above each "x" index value corresponds to the "x_val" value in the frame ("a" -> "a_val", "b" -> "b_val", ...), but in the concated frame this order is broken, the index values appears to be sorted, when the actual frame's values don't. ### Expected Behavior An expected result would be either properly sorted result: ```python col1 a a_val b b_val c c_val a a_val b b_val c c_val ``` or the one that is unsorted at all: ```python col1 a a_val b b_val c c_val b b_val a a_val c c_val ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-65-generic Version : #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.4 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : 6.2.5 hypothesis : None sphinx : 4.2.0 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : None pandas_datareader: None bs4 : 4.10.0 bottleneck : None fsspec : 2021.08.1 fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : 3.0.8 pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : 2021.08.1 scipy : None sqlalchemy : 1.4.23 tables : None tabulate : None xarray : 0.19.0 xlrd : 2.0.1 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/44099/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44099/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44100
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44100/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44100/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44100/events
https://github.com/pandas-dev/pandas/issues/44100
1,030,510,549
I_kwDOAA0YD849bFfV
44,100
BUG: PeriodIndex[B].to_timestamp drops missing days
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
open
false
null
[]
null
0
"2021-10-19T16:22:27Z"
"2021-10-30T23:07:08Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python dti = pd.date_range("2021-10-18", periods=9, freq="B") pi = dti.to_period() roundtrip = pi[::2].to_timestamp() # should match dti[::2] (except for roundtrip.freq) >>> roundtrip DatetimeIndex(['2021-10-18', '2021-10-19', '2021-10-20', '2021-10-21', '2021-10-22'], dtype='datetime64[ns]', freq='D') >>> roundtrip - dti[::2] # should be timedelta-zeros TimedeltaIndex(['0 days', '-1 days', '-2 days', '-5 days', '-6 days'], dtype='timedelta64[ns]', freq=None) ``` ### Issue Description PeriodArray.to_timestamp is returning incorrect results. Haven't checked if Period is affected, or other freqs. ### Expected Behavior `assert (roundtrip == dti[::2]).all()` ### Installed Versions <details> Replace this line with the output of pd.show_versions() </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/44100/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44100/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44101
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44101/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44101/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44101/events
https://github.com/pandas-dev/pandas/pull/44101
1,030,559,090
PR_kwDOAA0YD84tZasH
44,101
DOC: Perf notes
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-10-19T17:17:07Z"
"2021-10-19T22:02:49Z"
"2021-10-19T21:59:52Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44101/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44101/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44101.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44101", "merged_at": "2021-10-19T21:59:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44101.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44101" }
https://api.github.com/repos/pandas-dev/pandas/issues/44102
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44102/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44102/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44102/events
https://github.com/pandas-dev/pandas/pull/44102
1,030,658,429
PR_kwDOAA0YD84tZuXS
44,102
ENH: Negative Reference Percent Changes
{ "avatar_url": "https://avatars.githubusercontent.com/u/5969778?v=4", "events_url": "https://api.github.com/users/HomelessSandwich/events{/privacy}", "followers_url": "https://api.github.com/users/HomelessSandwich/followers", "following_url": "https://api.github.com/users/HomelessSandwich/following{/other_user}", "gists_url": "https://api.github.com/users/HomelessSandwich/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HomelessSandwich", "id": 5969778, "login": "HomelessSandwich", "node_id": "MDQ6VXNlcjU5Njk3Nzg=", "organizations_url": "https://api.github.com/users/HomelessSandwich/orgs", "received_events_url": "https://api.github.com/users/HomelessSandwich/received_events", "repos_url": "https://api.github.com/users/HomelessSandwich/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HomelessSandwich/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HomelessSandwich/subscriptions", "type": "User", "url": "https://api.github.com/users/HomelessSandwich" }
[]
closed
false
null
[]
null
5
"2021-10-19T19:14:56Z"
"2021-10-20T10:37:05Z"
"2021-10-20T10:37:00Z"
NONE
null
- [x] closes #xxxx - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry I recently came across a problem at work that looks like it should be solved in `pct_change`. To make the problem apperent, here is a quote from the [relative change and difference Wikipedia page](https://en.wikipedia.org/wiki/Relative_change_and_difference#Definitions): > If we are calibrating a thermometer which reads −6 °C when it should read −10 °C, this formula for relative change (which would be called relative error in this application) gives ((−6) − (−10)) / (−10) = 4 / −10 = −0.4, yet the reading is too high To fix this problem we alter the definition of relative change so that it works correctly for all nonzero values of x<sub>reference</sub>: ![alt text](https://wikimedia.org/api/rest_v1/media/math/render/svg/5c819461a566c88ed96dc839638581a875c7fe31) The example I list in the updated docstrings is also a good example: > -10 -> 10 Clearly it seems weird to say that the pct change is -200% for this. Dividing by the abs of the reference value fixes this to +200%.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44102/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44102/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44102.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44102", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44102.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44102" }
https://api.github.com/repos/pandas-dev/pandas/issues/44103
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44103/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44103/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44103/events
https://github.com/pandas-dev/pandas/issues/44103
1,030,671,371
I_kwDOAA0YD849bswL
44,103
BUG: Unable to set StringArray for DataFrame with single column and dtype string
{ "avatar_url": "https://avatars.githubusercontent.com/u/18338679?v=4", "events_url": "https://api.github.com/users/ace-e4s/events{/privacy}", "followers_url": "https://api.github.com/users/ace-e4s/followers", "following_url": "https://api.github.com/users/ace-e4s/following{/other_user}", "gists_url": "https://api.github.com/users/ace-e4s/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ace-e4s", "id": 18338679, "login": "ace-e4s", "node_id": "MDQ6VXNlcjE4MzM4Njc5", "organizations_url": "https://api.github.com/users/ace-e4s/orgs", "received_events_url": "https://api.github.com/users/ace-e4s/received_events", "repos_url": "https://api.github.com/users/ace-e4s/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ace-e4s/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ace-e4s/subscriptions", "type": "User", "url": "https://api.github.com/users/ace-e4s" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
3
"2021-10-19T19:32:00Z"
"2021-10-20T02:08:28Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df_single = pd.DataFrame(data={"a": [None, "two"]}, index=[0, 1], dtype="string") df_multi = pd.DataFrame(data={"a": [None, "two"], "b":["1", "2"]}, index=[0, 1], dtype="string") # ok df_single.loc[0, ["a"]] = "one" # ok df_multi.loc[0, ["a"]] = "one" # not ok df_single.loc[0, ["a"]] = ["one"] # ok df_multi.loc[0, ["a"]] = ["one"] # not ok df_single.loc[0, ["a"]] = pd.array(["one"], dtype="string") # ok df_multi.loc[0, ["a"]] = pd.array(["one"], dtype="string") ``` ### Issue Description When attempting to set a single value (string array) into an DataFrame with single column and dtype string, exception is raised: `ValueError: setting an array element with a sequence.` The code example shows same operation performed different ways with a DataFrame with single and multiple columns. No issue when DataFrame has more than one column. ### Expected Behavior Set the value as in DataFrame with multiple columns. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.8.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19043 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Norwegian Bokmål_Norway.1252 pandas : 1.3.4 numpy : 1.20.3 pytz : 2021.3 dateutil : 2.8.2 pip : 21.1.3 setuptools : 58.2.0 Cython : None pytest : 6.2.5 hypothesis : None sphinx : 4.0.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.54.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/44103/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44103/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44104
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44104/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44104/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44104/events
https://github.com/pandas-dev/pandas/issues/44104
1,030,674,227
I_kwDOAA0YD849btcz
44,104
BUG: DataFrame.update do not preserve string dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/18338679?v=4", "events_url": "https://api.github.com/users/ace-e4s/events{/privacy}", "followers_url": "https://api.github.com/users/ace-e4s/followers", "following_url": "https://api.github.com/users/ace-e4s/following{/other_user}", "gists_url": "https://api.github.com/users/ace-e4s/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ace-e4s", "id": 18338679, "login": "ace-e4s", "node_id": "MDQ6VXNlcjE4MzM4Njc5", "organizations_url": "https://api.github.com/users/ace-e4s/orgs", "received_events_url": "https://api.github.com/users/ace-e4s/received_events", "repos_url": "https://api.github.com/users/ace-e4s/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ace-e4s/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ace-e4s/subscriptions", "type": "User", "url": "https://api.github.com/users/ace-e4s" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
open
false
null
[]
null
2
"2021-10-19T19:35:34Z"
"2021-10-30T23:08:25Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python df_org = pd.DataFrame({"a": [None, "two"], "b": [1, 2]}, index=[0, 1]).astype({"a": "string", "b": "Int64"}) df_update = pd.DataFrame({"a": ["one"]}, index=[0], dtype="string") print(df_org, "\n") print(df_org.dtypes, "\n") print(df_update, "\n") print(df_update.dtypes, "\n") # update with consistent dtype df_org.update(df_update) print(df_org, "\n") print(df_org.dtypes, "\n") # dtype not conserved - string -> object ``` ### Issue Description String dtype column is casted to object when .update is performed even when the "other" dataframe has consistent dtypes. See code example ### Expected Behavior The dtype should be preserved after the update operation, i.e., string should remain string and not casted to object. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.8.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19043 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Norwegian Bokmål_Norway.1252 pandas : 1.3.4 numpy : 1.20.3 pytz : 2021.3 dateutil : 2.8.2 pip : 21.1.3 setuptools : 58.2.0 Cython : None pytest : 6.2.5 hypothesis : None sphinx : 4.0.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.54.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/44104/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44104/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44105
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44105/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44105/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44105/events
https://github.com/pandas-dev/pandas/pull/44105
1,030,704,226
PR_kwDOAA0YD84tZ37f
44,105
BUG: PeriodIndex[B].to_timestamp inferring "D" instead of "B".
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": 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" }
8
"2021-10-19T20:15:59Z"
"2021-11-11T13:41:52Z"
"2021-11-11T13:41:52Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/44105/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44105/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44105.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44105", "merged_at": "2021-11-11T13:41:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44105.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44105" }
https://api.github.com/repos/pandas-dev/pandas/issues/44106
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44106/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44106/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44106/events
https://github.com/pandas-dev/pandas/issues/44106
1,030,724,363
I_kwDOAA0YD849b5sL
44,106
PERF: read_csv() very slow after updating to version 1.3.4 for CSV file with large number of columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/6323151?v=4", "events_url": "https://api.github.com/users/haghshenas/events{/privacy}", "followers_url": "https://api.github.com/users/haghshenas/followers", "following_url": "https://api.github.com/users/haghshenas/following{/other_user}", "gists_url": "https://api.github.com/users/haghshenas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/haghshenas", "id": 6323151, "login": "haghshenas", "node_id": "MDQ6VXNlcjYzMjMxNTE=", "organizations_url": "https://api.github.com/users/haghshenas/orgs", "received_events_url": "https://api.github.com/users/haghshenas/received_events", "repos_url": "https://api.github.com/users/haghshenas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/haghshenas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/haghshenas/subscriptions", "type": "User", "url": "https://api.github.com/users/haghshenas" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 47, "created_at": "2021-10-16T17:29:59Z", "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-11-28T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/91", "id": 7259169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels", "node_id": "MI_kwDOAA0YD84AbsQh", "number": 91, "open_issues": 23, "state": "open", "title": "1.3.5", "updated_at": "2021-11-21T13:42:45Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91" }
3
"2021-10-19T20:42:11Z"
"2021-10-26T20:26:51Z"
"2021-10-26T20:26:51Z"
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this issue exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this issue exists on the master branch of pandas. ### Reproducible Example For the sake of this bug report, I created a relatively small CSV file of random numbers. My real CSV is of shape `(200, 662688)` and for that, updating to pandas 1.3.4 increased the time for loading from 1 minute to over 2 hours! My investigation showed all 1.3.* versions have the same issue. ```python3 import os import pandas import numpy import timeit def generate_sample(): if os.path.exists("test_small.csv.gz") == False: nb_col = 100000 nb_row = 5 feature_list = {'sample': ['s_' + str(i+1) for i in range(nb_row)]} for i in range(nb_col): feature_list.update({'feature_' + str(i+1): list(numpy.random.uniform(low=0, high=10, size=nb_row))}) df = pandas.DataFrame(feature_list) df.to_csv("test_small.csv.gz", index=False, float_format="%.6f") def load_csv_file(): col_names = pandas.read_csv("test_small.csv.gz", low_memory=False, nrows=1).columns types_dict = {col: numpy.float32 for col in col_names} types_dict.update({'sample': str}) feature_df = pandas.read_csv("test_small.csv.gz", index_col="sample", na_filter=False, dtype=types_dict, low_memory=False) print("loaded dataframe shape:", feature_df.shape) >>> generate_sample() >>> pandas.__version__ '1.3.4' >>> timeit.timeit(load_csv_file, number=1) loaded dataframe shape: (5, 100000) 216.38200060278177 ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-67-generic Version : #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.4 numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.3 setuptools : 44.0.0 Cython : 0.29.24 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details> ### Prior Performance ```python3 import os import pandas import numpy import timeit def generate_sample(): if os.path.exists("test_small.csv.gz") == False: nb_col = 100000 nb_row = 5 feature_list = {'sample': ['s_' + str(i+1) for i in range(nb_row)]} for i in range(nb_col): feature_list.update({'feature_' + str(i+1): list(numpy.random.uniform(low=0, high=10, size=nb_row))}) df = pandas.DataFrame(feature_list) df.to_csv("test_small.csv.gz", index=False, float_format="%.6f") def load_csv_file(): col_names = pandas.read_csv("test_small.csv.gz", low_memory=False, nrows=1).columns types_dict = {col: numpy.float32 for col in col_names} types_dict.update({'sample': str}) feature_df = pandas.read_csv("test_small.csv.gz", index_col="sample", na_filter=False, dtype=types_dict, low_memory=False) print("loaded dataframe shape:", feature_df.shape) >>> generate_sample() >>> pandas.__version__ '1.2.5' >>> timeit.timeit(load_csv_file, number=1) loaded dataframe shape: (5, 100000) 6.001252222806215 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44106/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44106/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44107
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44107/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44107/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44107/events
https://github.com/pandas-dev/pandas/pull/44107
1,030,792,886
PR_kwDOAA0YD84taJ39
44,107
BUG: RangeIndex.difference missed case
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-19T22:24:16Z"
"2021-10-20T21:51:49Z"
"2021-10-20T21:06:43Z"
MEMBER
null
Need to figure out why running hypothesis locally (repeatedly) isn't catching the ones caught on the CI.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44107/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44107/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44107.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44107", "merged_at": "2021-10-20T21:06:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44107.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44107" }
https://api.github.com/repos/pandas-dev/pandas/issues/44108
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44108/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44108/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44108/events
https://github.com/pandas-dev/pandas/pull/44108
1,030,876,445
PR_kwDOAA0YD84taa64
44,108
DOC: rolling constructor
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-20T01:22:12Z"
"2021-10-21T01:48:39Z"
"2021-10-21T00:56:13Z"
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them * Made language more consistent in the `Parameters` * Organized and added more `Examples`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44108/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44108/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44108.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44108", "merged_at": "2021-10-21T00:56:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44108.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44108" }
https://api.github.com/repos/pandas-dev/pandas/issues/44109
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44109/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44109/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44109/events
https://github.com/pandas-dev/pandas/issues/44109
1,030,905,573
I_kwDOAA0YD849cl7l
44,109
DataFrame index name reset after appending a list of Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/57646?v=4", "events_url": "https://api.github.com/users/jabowery/events{/privacy}", "followers_url": "https://api.github.com/users/jabowery/followers", "following_url": "https://api.github.com/users/jabowery/following{/other_user}", "gists_url": "https://api.github.com/users/jabowery/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jabowery", "id": 57646, "login": "jabowery", "node_id": "MDQ6VXNlcjU3NjQ2", "organizations_url": "https://api.github.com/users/jabowery/orgs", "received_events_url": "https://api.github.com/users/jabowery/received_events", "repos_url": "https://api.github.com/users/jabowery/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jabowery/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jabowery/subscriptions", "type": "User", "url": "https://api.github.com/users/jabowery" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/9055281?v=4", "events_url": "https://api.github.com/users/robbertjan94/events{/privacy}", "followers_url": "https://api.github.com/users/robbertjan94/followers", "following_url": "https://api.github.com/users/robbertjan94/following{/other_user}", "gists_url": "https://api.github.com/users/robbertjan94/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/robbertjan94", "id": 9055281, "login": "robbertjan94", "node_id": "MDQ6VXNlcjkwNTUyODE=", "organizations_url": "https://api.github.com/users/robbertjan94/orgs", "received_events_url": "https://api.github.com/users/robbertjan94/received_events", "repos_url": "https://api.github.com/users/robbertjan94/repos", "site_admin": false, "starred_url": "https://api.github.com/users/robbertjan94/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robbertjan94/subscriptions", "type": "User", "url": "https://api.github.com/users/robbertjan94" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/9055281?v=4", "events_url": "https://api.github.com/users/robbertjan94/events{/privacy}", "followers_url": "https://api.github.com/users/robbertjan94/followers", "following_url": "https://api.github.com/users/robbertjan94/following{/other_user}", "gists_url": "https://api.github.com/users/robbertjan94/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/robbertjan94", "id": 9055281, "login": "robbertjan94", "node_id": "MDQ6VXNlcjkwNTUyODE=", "organizations_url": "https://api.github.com/users/robbertjan94/orgs", "received_events_url": "https://api.github.com/users/robbertjan94/received_events", "repos_url": "https://api.github.com/users/robbertjan94/repos", "site_admin": false, "starred_url": "https://api.github.com/users/robbertjan94/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/robbertjan94/subscriptions", "type": "User", "url": "https://api.github.com/users/robbertjan94" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-10-20T02:19:07Z"
"2021-11-05T00:52:46Z"
"2021-11-05T00:52: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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python pd.__version__ '1.4.0.dev0+938.g1bcb84175c' df = pd.DataFrame([[1,2],[3,4]],index = pd.Index(['a','b'],name='keepthisname')) 0 1 keepthisname a 1 2 b 3 4 serc = pd.Series([5,6],name='c') 0 5 1 6 Name: c, dtype: int64 dfc = df.append(serc) # one at a time works 0 1 keepthisname a 1 2 b 3 4 c 5 6 serd = pd.Series([7,8],name='d') # as further evidenced with this... dfc.append(serd) 0 1 keepthisname a 1 2 b 3 4 c 5 6 d 7 8 df.append([serc,serd]) # but this resets the name of the index 0 1 a 1 2 b 3 4 c 5 6 d 7 8 ``` ### Issue Description DataFrame append of a list of Series conforming to the index resets the name of the index. ### Expected Behavior The same as adding each element of the Series in a loop. ### Installed Versions Built from source: pd.__version__ '1.4.0.dev0+938.g1bcb84175c'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44109/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44109/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44110
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44110/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44110/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44110/events
https://github.com/pandas-dev/pandas/pull/44110
1,030,954,308
PR_kwDOAA0YD84taqps
44,110
DOC: expanding constructor
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-20T04:12:41Z"
"2021-10-21T01:48:30Z"
"2021-10-21T00:54:52Z"
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them * Made language more consistent in the Parameters * Organized and added more Examples * Added missing deprecation tag for `center`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44110/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44110/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44110.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44110", "merged_at": "2021-10-21T00:54:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44110.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44110" }
https://api.github.com/repos/pandas-dev/pandas/issues/44111
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44111/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44111/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44111/events
https://github.com/pandas-dev/pandas/pull/44111
1,030,971,488
PR_kwDOAA0YD84tauNX
44,111
DOC: ewm constructor
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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
"2021-10-20T04:51:02Z"
"2021-10-21T09:17:19Z"
"2021-10-21T00:58:05Z"
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them * Made language more consistent in the Parameters * Organized and added more Examples
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44111/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44111/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44111.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44111", "merged_at": "2021-10-21T00:58:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44111.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44111" }
https://api.github.com/repos/pandas-dev/pandas/issues/44112
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44112/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44112/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44112/events
https://github.com/pandas-dev/pandas/issues/44112
1,031,345,022
I_kwDOAA0YD849eRN-
44,112
BUG: test_constructor_does_not_cast_to_float fails on aarch64, armv7 and armv6
{ "avatar_url": "https://avatars.githubusercontent.com/u/1826137?v=4", "events_url": "https://api.github.com/users/ggardet/events{/privacy}", "followers_url": "https://api.github.com/users/ggardet/followers", "following_url": "https://api.github.com/users/ggardet/following{/other_user}", "gists_url": "https://api.github.com/users/ggardet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ggardet", "id": 1826137, "login": "ggardet", "node_id": "MDQ6VXNlcjE4MjYxMzc=", "organizations_url": "https://api.github.com/users/ggardet/orgs", "received_events_url": "https://api.github.com/users/ggardet/received_events", "repos_url": "https://api.github.com/users/ggardet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ggardet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ggardet/subscriptions", "type": "User", "url": "https://api.github.com/users/ggardet" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "c2e0c6", "default": false, "description": "aarch64 architecture", "id": 2628846204, "name": "ARM", "node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM" } ]
open
false
null
[]
null
0
"2021-10-20T12:22:02Z"
"2021-10-30T23:09:40Z"
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example Run test_constructor_does_not_cast_to_float on aarch64, armv7 and armv6 ### Issue Description On openSUSE Tumbleweed `test_constructor_does_not_cast_to_float` fails for aarch64, armv7 and armv6. Log: ``` [ 8767s] =================================== FAILURES =================================== [ 8767s] ___________ TestUInt64Index.test_constructor_does_not_cast_to_float ____________ [ 8767s] [gw1] linux -- Python 3.9.7 /usr/bin/python3.9 [ 8767s] [XPASS(strict)] https://github.com/numpy/numpy/issues/19146 ``` ### Expected Behavior Test should pass on aarch64, armv7 and armv6. ### Installed Versions Numpy 1.21.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/44112/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44112/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44113
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44113/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44113/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44113/events
https://github.com/pandas-dev/pandas/pull/44113
1,031,363,867
PR_kwDOAA0YD84tb_fh
44,113
CLN: clean TODOs in csv test
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-20T12:41:09Z"
"2021-10-20T17:25:31Z"
"2021-10-20T17:25:26Z"
MEMBER
null
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/44113/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44113/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44113.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44113", "merged_at": "2021-10-20T17:25:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44113.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44113" }
https://api.github.com/repos/pandas-dev/pandas/issues/44114
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44114/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44114/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44114/events
https://github.com/pandas-dev/pandas/pull/44114
1,031,368,711
PR_kwDOAA0YD84tcAhs
44,114
TST: Adding test for checking that plotting grid param by default is mpl.rcParams['axes.grid']
{ "avatar_url": "https://avatars.githubusercontent.com/u/16210997?v=4", "events_url": "https://api.github.com/users/bdrum/events{/privacy}", "followers_url": "https://api.github.com/users/bdrum/followers", "following_url": "https://api.github.com/users/bdrum/following{/other_user}", "gists_url": "https://api.github.com/users/bdrum/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bdrum", "id": 16210997, "login": "bdrum", "node_id": "MDQ6VXNlcjE2MjEwOTk3", "organizations_url": "https://api.github.com/users/bdrum/orgs", "received_events_url": "https://api.github.com/users/bdrum/received_events", "repos_url": "https://api.github.com/users/bdrum/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bdrum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bdrum/subscriptions", "type": "User", "url": "https://api.github.com/users/bdrum" }
[]
closed
false
null
[]
null
1
"2021-10-20T12:46:18Z"
"2021-10-24T14:50:05Z"
"2021-10-24T14:41:08Z"
CONTRIBUTOR
null
- [ ] Related to #3188 - [ ] tests added to pandas/tests/plotting/test_style.py and passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] Seems the issue is obsolete. As I can see now the tested behavior is by design with matplotlib backend for visualization, but more tests is better ;)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44114/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44114/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44114.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44114", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44114.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44114" }
https://api.github.com/repos/pandas-dev/pandas/issues/44115
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44115/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44115/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44115/events
https://github.com/pandas-dev/pandas/pull/44115
1,031,613,248
PR_kwDOAA0YD84tczsg
44,115
BUG: ignore EAs when counting blocks to raise fragmentation PerformanceWarning
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": 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" }
3
"2021-10-20T16:36:05Z"
"2021-10-21T06:04:48Z"
"2021-10-21T00:51:10Z"
MEMBER
null
Closes #44098
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44115/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44115/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44115.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44115", "merged_at": "2021-10-21T00:51:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44115.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44115" }
https://api.github.com/repos/pandas-dev/pandas/issues/44116
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44116/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44116/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44116/events
https://github.com/pandas-dev/pandas/issues/44116
1,031,654,473
I_kwDOAA0YD849fcxJ
44,116
CI: flake-rst updated?
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-20T17:25:01Z"
"2021-10-21T17:45:26Z"
"2021-10-21T17:45:26Z"
CONTRIBUTOR
null
https://github.com/pandas-dev/pandas/pull/44113/checks?check_run_id=3951570101 did flake-rst update and break the pre-commit? cc @pandas-dev/pandas-core
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44116/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44116/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44117
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44117/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44117/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44117/events
https://github.com/pandas-dev/pandas/issues/44117
1,031,665,248
I_kwDOAA0YD849ffZg
44,117
ENH: Update Series/DataFrame Constructor args to Enable `dtype` Forced Conversion on Creation
{ "avatar_url": "https://avatars.githubusercontent.com/u/77850046?v=4", "events_url": "https://api.github.com/users/adamgranthendry/events{/privacy}", "followers_url": "https://api.github.com/users/adamgranthendry/followers", "following_url": "https://api.github.com/users/adamgranthendry/following{/other_user}", "gists_url": "https://api.github.com/users/adamgranthendry/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adamgranthendry", "id": 77850046, "login": "adamgranthendry", "node_id": "MDQ6VXNlcjc3ODUwMDQ2", "organizations_url": "https://api.github.com/users/adamgranthendry/orgs", "received_events_url": "https://api.github.com/users/adamgranthendry/received_events", "repos_url": "https://api.github.com/users/adamgranthendry/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adamgranthendry/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adamgranthendry/subscriptions", "type": "User", "url": "https://api.github.com/users/adamgranthendry" }
[]
closed
false
null
[]
null
2
"2021-10-20T17:38:33Z"
"2021-10-30T23:12:42Z"
"2021-10-30T23:12:42Z"
NONE
null
Users often know the data types they want to convert their columns to at creation. 1. Can the `pd.Series` constructor be given an additional argument `errors` (default `raise`) to optionally convert all values to a specified type (`pd.NA` or `np.nan` if cannot cast) at creation? e.g. Currently, the following raises a `ValueError`: ```python >>> a = pd.Series(['a', 1, 3, ''], dtype=np.int) ValueError: invalid literal for int() with base 10: 'a' ``` However, it would be nice to have the following capability: ```python >>> a = pd.Series(['a', 1, 3, ''], dtype=np.int, errors="coerce") >>> a 0 NaN 1 1 2 3 3 NaN dtype: int32 ``` 2. Extending to the `pd.DataFrame` constructor, can the `dtype` argument be altered to something like `Union[pd._typing.Dtype, Dict[str, pd._typing.Dtype] | None` such that the user could pass in a dictionaries of columns as strings with `dtype` values they want to convert them to? (Again, the an argument `errors` (default `raise`) should be added so `ValueError`s are still raised unless the user explicitly sets `errors=coerce`) Currently, it is common that users must get each `DataFrame` column to convert manually after it is created, convert its `dtype` with a `to_..()` method using `errors=coerce`, and reassign back to the `DataFrame` column (since the `to_...()` methods have no `inplace` argument). This feature would combine the functionality common to the other `to_...()` methods in one place. The method `read_excel`, for example, has an argument `converters`, which has the desired behavior sought after in this feature request when creating `pd.DataFrame` objects. (ASIDE: It should be noted `DataFrame.convert_dtypes` doesn't have `coerce` functionality, so the `Series` `a` in the above example would simply be converted to type `object`)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44117/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44117/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44118
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44118/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44118/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44118/events
https://github.com/pandas-dev/pandas/pull/44118
1,031,720,687
PR_kwDOAA0YD84tdJ8B
44,118
BUG: Compare type int64 with Int64 fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/17083597?v=4", "events_url": "https://api.github.com/users/paulvdbles/events{/privacy}", "followers_url": "https://api.github.com/users/paulvdbles/followers", "following_url": "https://api.github.com/users/paulvdbles/following{/other_user}", "gists_url": "https://api.github.com/users/paulvdbles/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/paulvdbles", "id": 17083597, "login": "paulvdbles", "node_id": "MDQ6VXNlcjE3MDgzNTk3", "organizations_url": "https://api.github.com/users/paulvdbles/orgs", "received_events_url": "https://api.github.com/users/paulvdbles/received_events", "repos_url": "https://api.github.com/users/paulvdbles/repos", "site_admin": false, "starred_url": "https://api.github.com/users/paulvdbles/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/paulvdbles/subscriptions", "type": "User", "url": "https://api.github.com/users/paulvdbles" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
null
2
"2021-10-20T18:41:35Z"
"2021-11-20T13:12:33Z"
"2021-11-20T13:12:33Z"
NONE
null
Closes #43038
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44118/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44118/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44118.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44118", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/44118.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44118" }
https://api.github.com/repos/pandas-dev/pandas/issues/44119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44119/events
https://github.com/pandas-dev/pandas/issues/44119
1,031,754,527
I_kwDOAA0YD849f1Mf
44,119
BUG: failed to aggregate
{ "avatar_url": "https://avatars.githubusercontent.com/u/48371182?v=4", "events_url": "https://api.github.com/users/wxinl/events{/privacy}", "followers_url": "https://api.github.com/users/wxinl/followers", "following_url": "https://api.github.com/users/wxinl/following{/other_user}", "gists_url": "https://api.github.com/users/wxinl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wxinl", "id": 48371182, "login": "wxinl", "node_id": "MDQ6VXNlcjQ4MzcxMTgy", "organizations_url": "https://api.github.com/users/wxinl/orgs", "received_events_url": "https://api.github.com/users/wxinl/received_events", "repos_url": "https://api.github.com/users/wxinl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wxinl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wxinl/subscriptions", "type": "User", "url": "https://api.github.com/users/wxinl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
closed
false
null
[]
null
3
"2021-10-20T19:24:56Z"
"2021-10-21T19:52:44Z"
"2021-10-21T16:16: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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df1 = pd.DataFrame(dict2 = {'index': {0: 7158892,1: 7158893,2: 7158894,3: 7158895,4: 7158896,5: 7158897,6: 7158898}, 'uid': {0: 1081156,1: 1081156,2: 1081156,3: 1081156,4: 1081156,5: 1081156,6: 1081156}, 'lat': {0: 37.524228,1: 37.546708,2: 37.433964,3: 38.245017,4: 37.546708,5: 37.500817,6: 37.433964}, 'lng': {0: -121.94779,1: -122.069067,2: -121.886765,3: -121.455548,4: -122.069067,5: -121.981362,6: -121.886765}}) agg1 = df1.groupby(['uid']).agg(pd.Series.mode) ``` ### Issue Description ValueError: could not broadcast input array from shape (7,4) into shape (7,) ### Expected Behavior expect something like this: 1081156,[37.433964 37.546708],[-121.886765 -122.069067] ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.9.7.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-81-generic Version : #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.4 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : None hypothesis : None show more (open the raw output data in a text editor) ... tabulate : None xarray : 0.19.0 xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44119/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44120/events
https://github.com/pandas-dev/pandas/issues/44120
1,031,785,102
I_kwDOAA0YD849f8qO
44,120
BUG: to_clipboard() incorrectly claims I have specified a non-single character separator in excel mode.
{ "avatar_url": "https://avatars.githubusercontent.com/u/90099748?v=4", "events_url": "https://api.github.com/users/simonbance/events{/privacy}", "followers_url": "https://api.github.com/users/simonbance/followers", "following_url": "https://api.github.com/users/simonbance/following{/other_user}", "gists_url": "https://api.github.com/users/simonbance/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonbance", "id": 90099748, "login": "simonbance", "node_id": "MDQ6VXNlcjkwMDk5NzQ4", "organizations_url": "https://api.github.com/users/simonbance/orgs", "received_events_url": "https://api.github.com/users/simonbance/received_events", "repos_url": "https://api.github.com/users/simonbance/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonbance/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonbance/subscriptions", "type": "User", "url": "https://api.github.com/users/simonbance" }
[ { "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
open
false
null
[]
null
5
"2021-10-20T20:05:32Z"
"2021-10-30T23:13:46Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [x] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame({'numbers': [1, 2, 3], 'colors': ['red', 'white', 'blue']}) df.to_clipboard(index_names=False, header=False) ``` Gives the following trace. ```python-trace C:\ProgramData\Miniforge3\lib\site-packages\pandas\io\clipboards.py:133: UserWarning: to_clipboard in excel mode requires a single character separator. warnings.warn( ``` ### Issue Description The same error occurs regardless of whether I do not specify a separator, or if I include sep="," as an argument. In both cases, I am not specifying a separator of more than 1 character and there should be no problem passing this to to_csv(). Inspecting the source code at https://github.com/pandas-dev/pandas/blob/master/pandas/io/clipboards.py it appears we are correctly being caught by the `if excel` statement on line 120 (since we are in excel mode by default) but the try/except wrapper around the call to to_csv() is catching a TypeError. Further inspection is needed to identify what is causing the exception. Tested in both pandas v1.2.3 and latest version v1.3.4. I'm using miniconda on Windows 10. ### Expected Behavior The dataframe should be copied to the clipboard as string text without an exception being caught. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5 python : 3.8.12.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18363 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : en pandas : 1.3.4 numpy : 1.21.2 pytz : 2021.3 dateutil : 2.8.2 pip : 21.3 setuptools : 58.2.0 Cython : None pytest : None hypothesis : None sphinx : 4.2.0 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.2 IPython : 7.28.0 pandas_datareader: None bs4 : 4.10.0 bottleneck : None fsspec : 2021.10.1 fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44120/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/44121
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44121/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44121/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44121/events
https://github.com/pandas-dev/pandas/pull/44121
1,031,868,386
PR_kwDOAA0YD84tdo3H
44,121
PERF: new_block_2d
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-10-20T22:05:09Z"
"2021-10-21T01:56:58Z"
"2021-10-21T01:06:18Z"
MEMBER
null
Avoids some redundant checks
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/44121/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44121/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44121.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44121", "merged_at": "2021-10-21T01:06:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44121.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44121" }
https://api.github.com/repos/pandas-dev/pandas/issues/44122
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/44122/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/44122/comments
https://api.github.com/repos/pandas-dev/pandas/issues/44122/events
https://github.com/pandas-dev/pandas/pull/44122
1,031,891,963
PR_kwDOAA0YD84tdtzf
44,122
REF: reuse self.grouper.result_index
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-10-20T22:48:53Z"
"2021-10-21T01:49:06Z"
"2021-10-21T00:49:40Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/44122/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/44122/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/44122.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/44122", "merged_at": "2021-10-21T00:49:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/44122.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44122" }