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/41520
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41520/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41520/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41520/events
https://github.com/pandas-dev/pandas/pull/41520
893,395,716
MDExOlB1bGxSZXF1ZXN0NjQ1OTE2OTgy
41,520
TST: split pd.merge test with indicator=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-17T14:32:07Z"
"2021-05-17T21:54:17Z"
"2021-05-17T20:49:44Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41520/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41520/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41520.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41520", "merged_at": "2021-05-17T20:49:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41520.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41520" }
https://api.github.com/repos/pandas-dev/pandas/issues/41521
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41521/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41521/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41521/events
https://github.com/pandas-dev/pandas/issues/41521
893,454,616
MDU6SXNzdWU4OTM0NTQ2MTY=
41,521
ENH: Add support to `read_json` to encode character escape hex codes to utf-8 characters
{ "avatar_url": "https://avatars.githubusercontent.com/u/13602663?v=4", "events_url": "https://api.github.com/users/ParfaitG/events{/privacy}", "followers_url": "https://api.github.com/users/ParfaitG/followers", "following_url": "https://api.github.com/users/ParfaitG/following{/other_user}", "gists_url": "https://api.github.com/users/ParfaitG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ParfaitG", "id": 13602663, "login": "ParfaitG", "node_id": "MDQ6VXNlcjEzNjAyNjYz", "organizations_url": "https://api.github.com/users/ParfaitG/orgs", "received_events_url": "https://api.github.com/users/ParfaitG/received_events", "repos_url": "https://api.github.com/users/ParfaitG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ParfaitG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ParfaitG/subscriptions", "type": "User", "url": "https://api.github.com/users/ParfaitG" }
[ { "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": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
3
"2021-05-17T15:31:34Z"
"2021-08-20T05:31: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 of pandas. - [X] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd # S3 (REQUIRES s3fs) json_df = pd.read_json("s3://public-r-data/ghcran.json") # URL (NO REQUIREMENT) json_df = pd.read_json("http://public-r-data.s3-website-us-east-1.amazonaws.com/ghcran.json") json_df.loc[884, "Title"] # Misc Functions of Eduard Sz<c3><b6>cs json_df.loc[213, "Author"] # Kirill M<c3><bc>ller [aut, cre] json_df.loc[336, "Maintainer"] # H<c3><a9>l<c3><a8>ne Morlon <[email protected]> ``` #### Problem description All UTF-8 encoding should render to their true character form and not hex code representation. Users need reliability in text value consistency from json format to pandas containers. Looking at some source code, IO JSON appears to use the `ujson` C extension which may be causing above behavior. I posted [same question](https://stackoverflow.com/q/67561276/1422451) on StackOverflow with an interesting workaround answer. For reference see https://www.utf8-chartable.de/ for table of hex codes and corresponding characters. For c2-c9 codes, use drop down values: `U+0000 ... U+007F: Basic Latin`, `U+0080 ... U+00FF: Latin-1 Supplement`, `U+0100 ... U+017F: Latin Extended-A`, `U+0180 ... U+024F: Latin Extended-B`. #### Expected Output All angle bracketed hex codes rendered to true accent or diatric characters. ```python json_df.loc[884, "Title"] # Misc Functions of Eduard Szöcs json_df.loc[213, "Author"] # Kirill Müller [aut, cre] json_df.loc[336, "Maintainer"] # Hélène Morlon <[email protected]> ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : fa3dbc117f58fdcb615144529d17c5dbfcdcb082 python : 3.9.2.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-50-generic Version : #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 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.0.dev0+1672.gfa3dbc117f numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 49.6.0.post20210108 Cython : 0.29.23 pytest : 6.2.3 hypothesis : 6.10.1 sphinx : 3.5.4 blosc : None feather : None xlsxwriter : 1.4.0 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.23.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 2021.04.0 fastparquet : 0.5.0 gcsfs : 2021.04.0 matplotlib : 3.4.1 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 4.0.0 pyxlsb : None s3fs : 2021.04.0 scipy : 1.6.3 sqlalchemy : 1.4.12 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.17.0 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/41521/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41521/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41522
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41522/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41522/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41522/events
https://github.com/pandas-dev/pandas/issues/41522
893,484,510
MDU6SXNzdWU4OTM0ODQ1MTA=
41,522
ENH: When chaining multiple .merge() functions, only the second "suffixes" param produces results
{ "avatar_url": "https://avatars.githubusercontent.com/u/56871778?v=4", "events_url": "https://api.github.com/users/meyerhj/events{/privacy}", "followers_url": "https://api.github.com/users/meyerhj/followers", "following_url": "https://api.github.com/users/meyerhj/following{/other_user}", "gists_url": "https://api.github.com/users/meyerhj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meyerhj", "id": 56871778, "login": "meyerhj", "node_id": "MDQ6VXNlcjU2ODcxNzc4", "organizations_url": "https://api.github.com/users/meyerhj/orgs", "received_events_url": "https://api.github.com/users/meyerhj/received_events", "repos_url": "https://api.github.com/users/meyerhj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meyerhj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meyerhj/subscriptions", "type": "User", "url": "https://api.github.com/users/meyerhj" }
[ { "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
[]
null
7
"2021-05-17T16:04:35Z"
"2021-05-18T07:23:15Z"
"2021-05-18T07:23:15Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python df =pd.DataFrame({'year':[2005, 2006], 'cusip':['111', '222']}) df_comp = pd.DataFrame({'year':[2005, 2006], 'cusip':['111', '222'], 'test': [5, 10]}) df_comp['year'] = df_comp['year'].astype(int) df = df.merge(df_comp, how='left', on=['cusip', 'year'], indicator=True, suffixes=[None, '_wyear']) print(df['_merge'].value_counts()) df = df.drop(columns='_merge') df_comp2 = df_comp.drop(columns='year').drop_duplicates() df = df.merge(df_comp2, how='left', on=['cusip'], indicator=True, suffixes=[None, '_woyear']) print(df['_merge'].value_counts()) df = df.drop(columns='_merge') print(df.columns) ``` Index(['year', 'cusip', 'test', 'test_woyear'], dtype='object') #### Problem description The suffixes parameter of _merge only produces a suffix for the second merge not the first. This behavior persists if I switch the two merges. #### Expected Output Index(['year', 'cusip', 'test_wyear', 'test_woyear'], dtype='object') #### Output of ``pd.show_versions()`` <details> C:\Users\Hiwi_Tower\AppData\Local\Programs\Python\Python38\python.exe "W:/Lehrstuhlverzeichnis/300_Forschung/310_Aktuelle_Projekte/Paper Hauke/Python/Digital/getdigitalanalysts.py" INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.0.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : de_DE.UTF-8 pandas : 1.2.4 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.2.4 setuptools : 41.2.0 Cython : 0.29.14 pytest : 6.2.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : 4.8.2 bottleneck : None fsspec : 2021.04.0 fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.3 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41522/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41522/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41523
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41523/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41523/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41523/events
https://github.com/pandas-dev/pandas/pull/41523
893,560,753
MDExOlB1bGxSZXF1ZXN0NjQ2MDU0ODg3
41,523
added deprecate_nonkeyword_arguments to function where
{ "avatar_url": "https://avatars.githubusercontent.com/u/84240863?v=4", "events_url": "https://api.github.com/users/Jiezheng2018/events{/privacy}", "followers_url": "https://api.github.com/users/Jiezheng2018/followers", "following_url": "https://api.github.com/users/Jiezheng2018/following{/other_user}", "gists_url": "https://api.github.com/users/Jiezheng2018/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Jiezheng2018", "id": 84240863, "login": "Jiezheng2018", "node_id": "MDQ6VXNlcjg0MjQwODYz", "organizations_url": "https://api.github.com/users/Jiezheng2018/orgs", "received_events_url": "https://api.github.com/users/Jiezheng2018/received_events", "repos_url": "https://api.github.com/users/Jiezheng2018/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Jiezheng2018/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jiezheng2018/subscriptions", "type": "User", "url": "https://api.github.com/users/Jiezheng2018" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
"2021-05-17T17:47:23Z"
"2021-05-26T06:04:51Z"
"2021-05-26T01:47:34Z"
CONTRIBUTOR
null
- xref #41486 - generic.where. tests added / passed - Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them. - whatsnew entry. -- added.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41523/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41523/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41523.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41523", "merged_at": "2021-05-26T01:47:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41523.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41523" }
https://api.github.com/repos/pandas-dev/pandas/issues/41524
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41524/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41524/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41524/events
https://github.com/pandas-dev/pandas/pull/41524
893,633,424
MDExOlB1bGxSZXF1ZXN0NjQ2MTE2OTcy
41,524
Allow deprecate_nonkeyword_arguments to not specify version, show class name
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-17T19:15:42Z"
"2021-05-19T08:43:22Z"
"2021-05-18T12:50:37Z"
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/41511#discussion_r633386611 as request, ping @jreback @simonjayhawkins I've removed the ability to pass an integer to `allowed_arguments` as it added complexity, was only used once in the codebase anyway, and wasn't even covered by tests Now, if `version` is None, then it'll just print "In a future version of pandas", it'll show the class name (e.g. `Series.drop_duplicates` instead of just `drop_duplicates`) and won't print `'self'` in the warning message
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41524/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41524/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41524.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41524", "merged_at": "2021-05-18T12:50:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41524.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41524" }
https://api.github.com/repos/pandas-dev/pandas/issues/41525
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41525/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41525/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41525/events
https://github.com/pandas-dev/pandas/pull/41525
893,675,407
MDExOlB1bGxSZXF1ZXN0NjQ2MTUxNTY4
41,525
REF: make array_to_datetime single-pass
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "b60205", "default": false, "description": "Temporarily-closed PR the author plans to return to", "id": 1991290519, "name": "Mothballed", "node_id": "MDU6TGFiZWwxOTkxMjkwNTE5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Mothballed" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
5
"2021-05-17T20:09:20Z"
"2021-07-11T17:54:15Z"
"2021-07-11T17:54:10Z"
MEMBER
null
Or more specifically, remove the need for falling back to datetime_to_datetime64 which does a second pass.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41525/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41525/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41525.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41525", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41525.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41525" }
https://api.github.com/repos/pandas-dev/pandas/issues/41526
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41526/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41526/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41526/events
https://github.com/pandas-dev/pandas/pull/41526
893,685,178
MDExOlB1bGxSZXF1ZXN0NjQ2MTU5NjU0
41,526
BUG: lib.infer_dtype with mixed-freq Periods
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-17T20:22:52Z"
"2021-05-18T22:27:21Z"
"2021-05-18T22:23:22Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Also adds a convert_period option to lib.maybe_infer_objects
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41526/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41526/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41526.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41526", "merged_at": "2021-05-18T22:23:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41526.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41526" }
https://api.github.com/repos/pandas-dev/pandas/issues/41527
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41527/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41527/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41527/events
https://github.com/pandas-dev/pandas/pull/41527
893,773,549
MDExOlB1bGxSZXF1ZXN0NjQ2MjM1MDgx
41,527
REF: tighten types on maybe_infer_to_datetimelike
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-17T22:49:46Z"
"2021-05-19T04:56:57Z"
"2021-05-19T02:53:12Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41527/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41527/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41527.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41527", "merged_at": "2021-05-19T02:53:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41527.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41527" }
https://api.github.com/repos/pandas-dev/pandas/issues/41528
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41528/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41528/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41528/events
https://github.com/pandas-dev/pandas/pull/41528
893,774,990
MDExOlB1bGxSZXF1ZXN0NjQ2MjM2MzIy
41,528
REF: simplify Grouping.__init__
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-17T22:53:23Z"
"2021-05-18T17:25:53Z"
"2021-05-18T16:46:08Z"
MEMBER
null
just de-nesting conditions in `__init__`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41528/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41528/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41528.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41528", "merged_at": "2021-05-18T16:46:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41528.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41528" }
https://api.github.com/repos/pandas-dev/pandas/issues/41529
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41529/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41529/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41529/events
https://github.com/pandas-dev/pandas/pull/41529
893,775,425
MDExOlB1bGxSZXF1ZXN0NjQ2MjM2Njk5
41,529
REF: make Grouping less stateful
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-17T22:54:29Z"
"2021-05-18T22:43:40Z"
"2021-05-18T22:35:50Z"
MEMBER
null
This gets rid of _make_codes, which sets two state variables, in favor of a cache_readonly _codes_and_uniques
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41529/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41529/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41529.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41529", "merged_at": "2021-05-18T22:35:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41529.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41529" }
https://api.github.com/repos/pandas-dev/pandas/issues/41530
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41530/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41530/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41530/events
https://github.com/pandas-dev/pandas/pull/41530
893,776,358
MDExOlB1bGxSZXF1ZXN0NjQ2MjM3NDgz
41,530
Fix compilation under cython 3.
{ "avatar_url": "https://avatars.githubusercontent.com/u/138060?v=4", "events_url": "https://api.github.com/users/rainwoodman/events{/privacy}", "followers_url": "https://api.github.com/users/rainwoodman/followers", "following_url": "https://api.github.com/users/rainwoodman/following{/other_user}", "gists_url": "https://api.github.com/users/rainwoodman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rainwoodman", "id": 138060, "login": "rainwoodman", "node_id": "MDQ6VXNlcjEzODA2MA==", "organizations_url": "https://api.github.com/users/rainwoodman/orgs", "received_events_url": "https://api.github.com/users/rainwoodman/received_events", "repos_url": "https://api.github.com/users/rainwoodman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rainwoodman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rainwoodman/subscriptions", "type": "User", "url": "https://api.github.com/users/rainwoodman" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
18
"2021-05-17T22:56:43Z"
"2021-08-17T03:10:17Z"
"2021-08-17T01:51:34Z"
NONE
null
Internal clean up to improve Cython 3 compatibility. See #34213.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41530/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41530/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41530.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41530", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41530.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41530" }
https://api.github.com/repos/pandas-dev/pandas/issues/41531
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41531/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41531/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41531/events
https://github.com/pandas-dev/pandas/pull/41531
893,802,058
MDExOlB1bGxSZXF1ZXN0NjQ2MjU5ODU3
41,531
REF: DataFrame._values return DTA/TDA where appropriate
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-17T23:46:35Z"
"2021-05-19T04:56:39Z"
"2021-05-19T02:55:06Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41531/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41531/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41531.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41531", "merged_at": "2021-05-19T02:55:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41531.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41531" }
https://api.github.com/repos/pandas-dev/pandas/issues/41532
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41532/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41532/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41532/events
https://github.com/pandas-dev/pandas/pull/41532
893,836,765
MDExOlB1bGxSZXF1ZXN0NjQ2Mjg4NzI1
41,532
REF: Grouping.grouper -> Grouping.grouping_vector
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-18T01:11:05Z"
"2021-05-19T04:58:20Z"
"2021-05-19T02:48:38Z"
MEMBER
null
Too many things have a .grouper attribute which makes it really difficult to follow what type of object we're dealing with at different places in the stack. This changes the most-ambiguous attribute to grouping_vector. I'm open to other names.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41532/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41532/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41532.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41532", "merged_at": "2021-05-19T02:48:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41532.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41532" }
https://api.github.com/repos/pandas-dev/pandas/issues/41533
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41533/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41533/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41533/events
https://github.com/pandas-dev/pandas/pull/41533
893,865,963
MDExOlB1bGxSZXF1ZXN0NjQ2MzE0MzMw
41,533
CLN/TYP: assorted cleanup and annotations
{ "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" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-18T02:01:53Z"
"2021-05-18T17:26:19Z"
"2021-05-18T16:47:03Z"
MEMBER
null
Things I find myself doing on multiple other in-progress branches
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41533/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41533/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41533.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41533", "merged_at": "2021-05-18T16:47:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41533.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41533" }
https://api.github.com/repos/pandas-dev/pandas/issues/41534
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41534/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41534/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41534/events
https://github.com/pandas-dev/pandas/pull/41534
893,872,012
MDExOlB1bGxSZXF1ZXN0NjQ2MzE5NzI4
41,534
REF: privatize Grouping attrs
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-18T02:11:23Z"
"2021-05-21T17:16:18Z"
"2021-05-21T16:44:47Z"
MEMBER
null
Trying to move towards being less stateful.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41534/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41534/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41534.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41534", "merged_at": "2021-05-21T16:44:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41534.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41534" }
https://api.github.com/repos/pandas-dev/pandas/issues/41535
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41535/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41535/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41535/events
https://github.com/pandas-dev/pandas/pull/41535
894,253,055
MDExOlB1bGxSZXF1ZXN0NjQ2NjQ0NDYx
41,535
[ArrowStringArray] REF: str.extract accessor method
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "5319e7", "default": false, "description": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-18T10:58:59Z"
"2021-05-18T14:12:08Z"
"2021-05-18T12:48:41Z"
MEMBER
null
perf neutral refactor, another step towards #41372 next steps move code in `str_extract` into `extract` into StringMethods combine code in `_str_extract_noexpand` and `_str_extract_expand` into a `_str_extract` method on the array (not done here to keep diff simpler to review)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41535/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41535/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41535.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41535", "merged_at": "2021-05-18T12:48:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41535.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41535" }
https://api.github.com/repos/pandas-dev/pandas/issues/41536
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41536/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41536/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41536/events
https://github.com/pandas-dev/pandas/issues/41536
894,272,748
MDU6SXNzdWU4OTQyNzI3NDg=
41,536
Pandas plot giving wrong graph with date time index
{ "avatar_url": "https://avatars.githubusercontent.com/u/47497915?v=4", "events_url": "https://api.github.com/users/soorejmg/events{/privacy}", "followers_url": "https://api.github.com/users/soorejmg/followers", "following_url": "https://api.github.com/users/soorejmg/following{/other_user}", "gists_url": "https://api.github.com/users/soorejmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/soorejmg", "id": 47497915, "login": "soorejmg", "node_id": "MDQ6VXNlcjQ3NDk3OTE1", "organizations_url": "https://api.github.com/users/soorejmg/orgs", "received_events_url": "https://api.github.com/users/soorejmg/received_events", "repos_url": "https://api.github.com/users/soorejmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/soorejmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soorejmg/subscriptions", "type": "User", "url": "https://api.github.com/users/soorejmg" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
3
"2021-05-18T11:23:47Z"
"2021-05-19T00:03:29Z"
"2021-05-19T00:03:29Z"
NONE
null
With Pandas 1.2.* and previous version as well, when the index is a date time format, dataframe is plotting wrongly. Date time as read from csv file using csv read function has both date and time in it. The graph plotted is appearing wrongly, unless converted to String format. Wrong graph below ![IMG-20210518-WA0019](https://user-images.githubusercontent.com/47497915/118642790-59c3f700-b80e-11eb-8f81-b85f21725f20.jpeg) Correct graph ![IMG-20210518-WA0023](https://user-images.githubusercontent.com/47497915/118642943-80822d80-b80e-11eb-81c3-b0581aa60067.jpeg)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41536/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41536/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41537
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41537/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41537/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41537/events
https://github.com/pandas-dev/pandas/issues/41537
894,333,240
MDU6SXNzdWU4OTQzMzMyNDA=
41,537
BUG: Joining dataframe with single-level MultiIndex fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/16045385?v=4", "events_url": "https://api.github.com/users/soerenwolfers/events{/privacy}", "followers_url": "https://api.github.com/users/soerenwolfers/followers", "following_url": "https://api.github.com/users/soerenwolfers/following{/other_user}", "gists_url": "https://api.github.com/users/soerenwolfers/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/soerenwolfers", "id": 16045385, "login": "soerenwolfers", "node_id": "MDQ6VXNlcjE2MDQ1Mzg1", "organizations_url": "https://api.github.com/users/soerenwolfers/orgs", "received_events_url": "https://api.github.com/users/soerenwolfers/received_events", "repos_url": "https://api.github.com/users/soerenwolfers/repos", "site_admin": false, "starred_url": "https://api.github.com/users/soerenwolfers/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soerenwolfers/subscriptions", "type": "User", "url": "https://api.github.com/users/soerenwolfers" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "009800", "default": false, "description": "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" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
"2021-05-18T12:37:18Z"
"2021-05-18T13:34:54Z"
"2021-05-18T13:34:42Z"
NONE
null
- [x] I have checked that this issue has not already been reported. There is https://github.com/pandas-dev/pandas/issues/37277 which is about the same error message but which isn't about the fact that this shows up in a common operation like joining. Maybe there is a way to make the join work without fixing the underlying issue? - [ ] I have confirmed this bug exists on the latest version of pandas. Unfortunately my work doesn't allow me to test this on latest pandas versions, but given the related issue above and given that I haven't found this issue reported anywhere, I would be surprised if this was fixed in the meantime. I apologize if it was. --- #### Code Sample, a copy-pastable example ```python df = pd.DataFrame( np.random.normal(size=[4,1]), index=pd.MultiIndex.from_product([['a', 'b'], [0.1, 0.2]]), columns=['col0'] ).rename_axis(index=['level0', 'level1']) df df2 = pd.DataFrame( np.random.normal(size=[2,1]), #index=pd.Index(['a', 'b']), index=pd.MultiIndex.from_product([['a', 'b']]), columns=['col1'] ).rename_axis(index=['level0']) display(df) display(df2) df.join(df2, on=['level0']) ``` #### Problem description Throws an error #### Expected Output Throws no error. Uncomment the commented line above and comment the line below. This should be functionally equivalent. PS: This probably doesn't belong here, but if I replace the `join` by a `merge` it works, but the `level1` of the MultiIndex disappears, making it useless for me. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.6.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.17134 machine : AMD64 processor : Intel64 Family 6 Model 85 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : None.None pandas : 1.1.5 numpy : 1.17.4 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41537/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41537/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41538
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41538/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41538/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41538/events
https://github.com/pandas-dev/pandas/pull/41538
894,418,528
MDExOlB1bGxSZXF1ZXN0NjQ2Nzg2MDAz
41,538
[ArrowStringArray] TST: parametrize /tests/strings/test_strings.py
{ "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": "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-18T14:01:17Z"
"2021-05-18T18:16:28Z"
"2021-05-18T16:52:48Z"
MEMBER
null
first followup to #41484
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41538/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41538/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41538.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41538", "merged_at": "2021-05-18T16:52:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41538.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41538" }
https://api.github.com/repos/pandas-dev/pandas/issues/41539
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41539/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41539/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41539/events
https://github.com/pandas-dev/pandas/pull/41539
894,471,724
MDExOlB1bGxSZXF1ZXN0NjQ2ODMxMTMw
41,539
[ArrowStringArray] REF: str.extract - precusor to move from accessor to array
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "5319e7", "default": false, "description": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-18T14:52:52Z"
"2021-05-18T18:22:26Z"
"2021-05-18T16:51:50Z"
MEMBER
null
perf neutral refactor combine `_str_extract_expand`, `_str_extract_noexpand` and `_groups_or_na_fun` into a single function `_str_extract` ready to move to array method.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41539/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41539/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41539.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41539", "merged_at": "2021-05-18T16:51:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41539.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41539" }
https://api.github.com/repos/pandas-dev/pandas/issues/41540
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41540/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41540/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41540/events
https://github.com/pandas-dev/pandas/pull/41540
894,496,844
MDExOlB1bGxSZXF1ZXN0NjQ2ODUyNTUy
41,540
REF: Grouper.grouper -> Grouper._gpr_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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-18T15:17:41Z"
"2021-05-21T17:19:49Z"
"2021-05-21T16:45:09Z"
MEMBER
null
ATM we set `self.grouper` in both _get_grouper and in _set_grouper, but to different types. This changes _set_grouper to set _gpr_index instead, which we can type as `Index | 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/41540/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41540/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41540.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41540", "merged_at": "2021-05-21T16:45:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41540.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41540" }
https://api.github.com/repos/pandas-dev/pandas/issues/41541
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41541/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41541/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41541/events
https://github.com/pandas-dev/pandas/pull/41541
894,497,265
MDExOlB1bGxSZXF1ZXN0NjQ2ODUyOTE5
41,541
[ArrowStringArray] REF: str.extract - move code from function to accessor method
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "5319e7", "default": false, "description": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-18T15:18:09Z"
"2021-05-25T14:37:22Z"
"2021-05-25T13:42:18Z"
MEMBER
null
perf neutral refactor ~~draft as conflict with #41539~~
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41541/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41541/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41541.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41541", "merged_at": "2021-05-25T13:42:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41541.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41541" }
https://api.github.com/repos/pandas-dev/pandas/issues/41542
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41542/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41542/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41542/events
https://github.com/pandas-dev/pandas/pull/41542
894,505,899
MDExOlB1bGxSZXF1ZXN0NjQ2ODYwMTkx
41,542
CLN: simplify libreduction
{ "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": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-05-18T15:27:03Z"
"2021-05-21T19:17:09Z"
"2021-05-21T19:13:25Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41542/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41542/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41542.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41542", "merged_at": "2021-05-21T19:13:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41542.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41542" }
https://api.github.com/repos/pandas-dev/pandas/issues/41543
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41543/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41543/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41543/events
https://github.com/pandas-dev/pandas/issues/41543
894,510,369
MDU6SXNzdWU4OTQ1MTAzNjk=
41,543
BUG: The frequency of a DatetimeIndex is lost when using to_parquet with pyarrow
{ "avatar_url": "https://avatars.githubusercontent.com/u/16059111?v=4", "events_url": "https://api.github.com/users/TanguyLe/events{/privacy}", "followers_url": "https://api.github.com/users/TanguyLe/followers", "following_url": "https://api.github.com/users/TanguyLe/following{/other_user}", "gists_url": "https://api.github.com/users/TanguyLe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TanguyLe", "id": 16059111, "login": "TanguyLe", "node_id": "MDQ6VXNlcjE2MDU5MTEx", "organizations_url": "https://api.github.com/users/TanguyLe/orgs", "received_events_url": "https://api.github.com/users/TanguyLe/received_events", "repos_url": "https://api.github.com/users/TanguyLe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TanguyLe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TanguyLe/subscriptions", "type": "User", "url": "https://api.github.com/users/TanguyLe" }
[ { "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": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
open
false
null
[]
null
0
"2021-05-18T15:31:56Z"
"2021-08-20T05:32:08Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd df = pd.DataFrame( [1, 2, 3], columns=['a'], index=pd.date_range( freq="1T", start="2021-01-01 00:00:00", end="2021-01-01 00:02:00" ) ) df.to_parquet("test.parquet", engine="pyarrow") pd.testing.assert_frame_equal(pd.read_parquet("test.parquet", engine="pyarrow"), df) ``` ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".../lib/python3.8/site-packages/pandas/_testing.py", line 1704, in assert_frame_equal assert_series_equal( File ".../python3.8/site-packages/pandas/_testing.py", line 1389, in assert_series_equal assert lidx.freq == ridx.freq, (lidx.freq, ridx.freq) AssertionError: (None, <Minute>) ``` #### Problem description With the following versions: - pandas: 1.2.4 - pyarrow: 4.0.0 The bug is different with fastparquet, but there seem to be also a consistency issue (the index name). Which I didn't see in earlier versions of pandas/fastparquet (0.25.3/0.4.1), I didn't try other combinations. EDIT: _It wasn't happening before most likely because assert_frame_equal wasn't checking the index frequency, not because it was there._ It seems that the index frequency is not passed in the pandas metadata within the table. Maybe I'm missing a pyarrow option to make this happen, but I still feel like the index should be either discarded completely or kept in a compatible manner. #### Expected Output No exception raised and an index with the same attributes as the original one. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.8.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-72-generic Version : #80~18.04.1-Ubuntu SMP Mon Apr 12 23:26:25 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.2.4 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.05.0 fastparquet : 0.6.3 gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.0 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/41543/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41543/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41544
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41544/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41544/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41544/events
https://github.com/pandas-dev/pandas/issues/41544
894,540,904
MDU6SXNzdWU4OTQ1NDA5MDQ=
41,544
BUG: Empty DataFrame(..., dtype='datetime64[ns]').quantile(..., axis=1) returns float64 dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "207de5", "default": false, "description": "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": "006b75", "default": false, "description": "quantile method", "id": 1631984902, "name": "quantile", "node_id": "MDU6TGFiZWwxNjMxOTg0OTAy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/quantile" } ]
open
false
null
[]
null
2
"2021-05-18T15:59:34Z"
"2021-08-17T02:01:59Z"
null
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- This ideally should still return `datetime64[ns]` dtype ``` In [1]: df = DataFrame(columns=["a", "b"], dtype="datetime64[ns]") In [2]: df Out[2]: Empty DataFrame Columns: [a, b] Index: [] In [3]: df.quantile(0.5, axis=1, numeric_only=False) Out[3]: Series([], Name: 0.5, dtype: float64) In [4]: df.quantile(0.5, axis=1, numeric_only=False).dtype Out[4]: dtype('float64') In [5]: df Out[5]: Empty DataFrame Columns: [a, b] Index: [] In [6]: df.T Out[6]: Empty DataFrame Columns: [] Index: [a, b] # Probably the reason why we might get float64 dtype afterwards In [7]: df.T.dtypes Out[7]: Series([], dtype: 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/41544/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41544/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41545
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41545/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41545/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41545/events
https://github.com/pandas-dev/pandas/pull/41545
894,625,800
MDExOlB1bGxSZXF1ZXN0NjQ2OTYxMzMz
41,545
ENH: Read and write pandas attrs to parquet with pyarrow engine
{ "avatar_url": "https://avatars.githubusercontent.com/u/8699967?v=4", "events_url": "https://api.github.com/users/snowman2/events{/privacy}", "followers_url": "https://api.github.com/users/snowman2/followers", "following_url": "https://api.github.com/users/snowman2/following{/other_user}", "gists_url": "https://api.github.com/users/snowman2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/snowman2", "id": 8699967, "login": "snowman2", "node_id": "MDQ6VXNlcjg2OTk5Njc=", "organizations_url": "https://api.github.com/users/snowman2/orgs", "received_events_url": "https://api.github.com/users/snowman2/received_events", "repos_url": "https://api.github.com/users/snowman2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/snowman2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snowman2/subscriptions", "type": "User", "url": "https://api.github.com/users/snowman2" }
[ { "color": "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": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
14
"2021-05-18T17:44:06Z"
"2021-08-23T14:25:26Z"
"2021-07-08T00:31:44Z"
NONE
null
- [x] closes #20521 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41545/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41545/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41545.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41545", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41545.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41545" }
https://api.github.com/repos/pandas-dev/pandas/issues/41546
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41546/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41546/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41546/events
https://github.com/pandas-dev/pandas/pull/41546
894,626,126
MDExOlB1bGxSZXF1ZXN0NjQ2OTYxNjA3
41,546
CLN: Replace FrameOrSeriesUnion annotation by DataFrame | Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/75439077?v=4", "events_url": "https://api.github.com/users/Swanand01/events{/privacy}", "followers_url": "https://api.github.com/users/Swanand01/followers", "following_url": "https://api.github.com/users/Swanand01/following{/other_user}", "gists_url": "https://api.github.com/users/Swanand01/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Swanand01", "id": 75439077, "login": "Swanand01", "node_id": "MDQ6VXNlcjc1NDM5MDc3", "organizations_url": "https://api.github.com/users/Swanand01/orgs", "received_events_url": "https://api.github.com/users/Swanand01/received_events", "repos_url": "https://api.github.com/users/Swanand01/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Swanand01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Swanand01/subscriptions", "type": "User", "url": "https://api.github.com/users/Swanand01" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
6
"2021-05-18T17:44:33Z"
"2021-06-11T17:51:27Z"
"2021-06-11T17:51:26Z"
CONTRIBUTOR
null
- [ ] closes #40876 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry The FrameOrSeriesUnion check was already removed. I have removed the FrameOrSeriesUnion alias, and replaced all instances of FrameOrSeriesUnion with DataFrame | Series
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41546/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41546/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41546.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41546", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41546.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41546" }
https://api.github.com/repos/pandas-dev/pandas/issues/41547
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41547/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41547/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41547/events
https://github.com/pandas-dev/pandas/issues/41547
894,630,120
MDU6SXNzdWU4OTQ2MzAxMjA=
41,547
BUG: openpyxl not mentioned in Dependencies
{ "avatar_url": "https://avatars.githubusercontent.com/u/55401175?v=4", "events_url": "https://api.github.com/users/garvit-joshi/events{/privacy}", "followers_url": "https://api.github.com/users/garvit-joshi/followers", "following_url": "https://api.github.com/users/garvit-joshi/following{/other_user}", "gists_url": "https://api.github.com/users/garvit-joshi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/garvit-joshi", "id": 55401175, "login": "garvit-joshi", "node_id": "MDQ6VXNlcjU1NDAxMTc1", "organizations_url": "https://api.github.com/users/garvit-joshi/orgs", "received_events_url": "https://api.github.com/users/garvit-joshi/received_events", "repos_url": "https://api.github.com/users/garvit-joshi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/garvit-joshi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/garvit-joshi/subscriptions", "type": "User", "url": "https://api.github.com/users/garvit-joshi" }
[ { "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": 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-05-18T17:49:55Z"
"2021-05-18T22:23:50Z"
"2021-05-18T18:23:44Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python df.to_excel("output.xlsx") ``` #### Problem description While using the above code snippet in Python 3.9.5 ``` Traceback (most recent call last): File "/mnt/windowsD/Repos/Aster_TelegramBot/env/lib/python3.9/site-packages/telegram/ext/utils/promise.py", line 80, in run self._result = self.pooled_function(*self.args, **self.kwargs) File "/mnt/windowsD/Repos/Aster_TelegramBot/rate.py", line 98, in plot_rate df.to_excel("output.xlsx") File "/mnt/windowsD/Repos/Aster_TelegramBot/env/lib/python3.9/site-packages/pandas/core/generic.py", line 2189, in to_excel formatter.write( File "/mnt/windowsD/Repos/Aster_TelegramBot/env/lib/python3.9/site-packages/pandas/io/formats/excel.py", line 815, in write writer = ExcelWriter( # type: ignore[abstract] File "/mnt/windowsD/Repos/Aster_TelegramBot/env/lib/python3.9/site-packages/pandas/io/excel/_openpyxl.py", line 30, in __init__ from openpyxl.workbook import Workbook ModuleNotFoundError: No module named 'openpyxl' ``` #### Note: Installing openpyxl fixes the error: ```pip install -U openpyxl``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.5.final.0 python-bits : 64 OS : Linux OS-release : 5.12.1-2-MANJARO Version : #1 SMP PREEMPT Sun May 2 13:56:40 UTC 2021 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_IN LOCALE : en_IN.ISO8859-1 pandas : 1.2.4 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.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 : 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/41547/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41547/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41548
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41548/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41548/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41548/events
https://github.com/pandas-dev/pandas/pull/41548
894,633,668
MDExOlB1bGxSZXF1ZXN0NjQ2OTY3OTk0
41,548
Possible Bug Fix for dependency
{ "avatar_url": "https://avatars.githubusercontent.com/u/55401175?v=4", "events_url": "https://api.github.com/users/garvit-joshi/events{/privacy}", "followers_url": "https://api.github.com/users/garvit-joshi/followers", "following_url": "https://api.github.com/users/garvit-joshi/following{/other_user}", "gists_url": "https://api.github.com/users/garvit-joshi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/garvit-joshi", "id": 55401175, "login": "garvit-joshi", "node_id": "MDQ6VXNlcjU1NDAxMTc1", "organizations_url": "https://api.github.com/users/garvit-joshi/orgs", "received_events_url": "https://api.github.com/users/garvit-joshi/received_events", "repos_url": "https://api.github.com/users/garvit-joshi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/garvit-joshi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/garvit-joshi/subscriptions", "type": "User", "url": "https://api.github.com/users/garvit-joshi" }
[]
closed
false
null
[]
null
0
"2021-05-18T17:54:34Z"
"2021-05-18T18:25:06Z"
"2021-05-18T18:25:06Z"
NONE
null
- [x] closes #41547
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41548/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41548/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41548.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41548", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41548.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41548" }
https://api.github.com/repos/pandas-dev/pandas/issues/41549
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41549/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41549/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41549/events
https://github.com/pandas-dev/pandas/pull/41549
894,674,592
MDExOlB1bGxSZXF1ZXN0NjQ3MDAzMDAw
41,549
[ArrowStringArray] PERF: use pyarrow native functions for str.get_dummies
{ "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": "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": "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
[]
null
3
"2021-05-18T18:46:29Z"
"2021-05-24T19:42:38Z"
"2021-05-24T19:42:37Z"
MEMBER
null
draft as performance is not yet better than object fallback ``` before after ratio [09f3bf80] [ec8f4b2d] <master> <get_dummies> + 647±4ms 761±6ms 1.18 strings.Dummies.time_get_dummies('arrow_string') SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. PERFORMANCE DECREASED. ``` ``` Timer unit: 1e-06 s Total time: 0.778161 s File: /home/simon/pandas/pandas/core/arrays/string_arrow.py Function: _str_get_dummies at line 937 Line # Hits Time Per Hit % Time Line Contents ============================================================== 937 def _str_get_dummies(self, sep="|"): 938 1 2.0 2.0 0.0 if pa_version_under4p0: 939 return super()._str_get_dummies(sep) 940 941 1 12415.0 12415.0 1.6 result = pc.split_pattern(self._data, pattern=sep) 942 1 8084.0 8084.0 1.0 uniques = pc.list_flatten(result).unique() 943 1 143.0 143.0 0.0 tags = uniques.take(pc.array_sort_indices(uniques)).to_pylist() 944 1 53.0 53.0 0.0 dummies = np.empty((len(result), len(tags)), dtype=np.int64) 945 63 160.0 2.5 0.0 for i, tag in enumerate(tags): 946 62 20660.0 333.2 2.7 match_equal = pc.equal(self._data, tag) 947 62 186099.0 3001.6 23.9 match_mid = pc.match_substring(self._data, sep + tag + sep) 948 124 112610.0 908.1 14.5 match_start = pc.match_substring_regex( 949 62 346.0 5.6 0.0 self._data, "^" + tag + re.escape(sep) 950 ) 951 62 383985.0 6193.3 49.3 match_end = pc.match_substring_regex(self._data, re.escape(sep) + tag + "$") 952 124 435.0 3.5 0.1 match = pc.or_( 953 62 1111.0 17.9 0.1 pc.or_(pc.or_(match_start, match_end), match_mid), match_equal 954 ) 955 62 5989.0 96.6 0.8 casted = match.cast(pa.int64()) 956 62 2072.0 33.4 0.3 filled = pc.fill_null(casted, 0) 957 62 43997.0 709.6 5.7 dummies[:, i] = filled 958 1 0.0 0.0 0.0 return dummies, tags ``` plenty more ideas to try. so parking here for now. I think we should assume that in most cases the number of rows will be much greater then the number of dummies, but taking advantage of the split rows may be beneficial. for now outer loop is dummies (tags). match_substring is faster than match_substring_regex so if I can append a separator to the start and end efficiently in pyarrow land that should help. match_equal is faster still, so maybe can operate on the pyarrow list array.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41549/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41549/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41549.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41549", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41549.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41549" }
https://api.github.com/repos/pandas-dev/pandas/issues/41550
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41550/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41550/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41550/events
https://github.com/pandas-dev/pandas/issues/41550
894,739,484
MDU6SXNzdWU4OTQ3Mzk0ODQ=
41,550
BUG: Automatic data alignment fails in the `transform` method of `GroupBy` objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/32177983?v=4", "events_url": "https://api.github.com/users/gdudziuk/events{/privacy}", "followers_url": "https://api.github.com/users/gdudziuk/followers", "following_url": "https://api.github.com/users/gdudziuk/following{/other_user}", "gists_url": "https://api.github.com/users/gdudziuk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gdudziuk", "id": 32177983, "login": "gdudziuk", "node_id": "MDQ6VXNlcjMyMTc3OTgz", "organizations_url": "https://api.github.com/users/gdudziuk/orgs", "received_events_url": "https://api.github.com/users/gdudziuk/received_events", "repos_url": "https://api.github.com/users/gdudziuk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gdudziuk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gdudziuk/subscriptions", "type": "User", "url": "https://api.github.com/users/gdudziuk" }
[ { "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": "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
4
"2021-05-18T20:12:37Z"
"2021-08-20T05:34:09Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. _(... or at least I couldn't find an issue like this)_ - [x] I have confirmed this bug exists on the latest version of pandas. _(which is 1.2.4 at the moment)_ - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Example data and intended output Let's create some synthetic data to illustrate the issue: ```python df = pd.DataFrame({ 'household_id' : ['b80', 'b90', 'a70', 'c60', 'a50', 'X13', 'X12', 'X11', 'XYZ'], 'district' : 5*['Neverland'] + 4*['Narnia'], 'income' : [1200, 2000, 1000, 900, 1200, 1500, 800, 900, 850], }) df = df.set_index('household_id') ``` ``` district income household_id b80 Neverland 1200 b90 Neverland 2000 a70 Neverland 1000 c60 Neverland 900 a50 Neverland 1200 X13 Narnia 1500 X12 Narnia 800 X11 Narnia 900 XYZ Narnia 850 ``` Suppose we want to add some money to the poorest households. We have 600$ per district to distribute to households and we decide that this money will be divided equally among all households in a district that have income 1000$ or below. So, our expected result is: ``` district income household_id b80 Neverland 1200 b90 Neverland 2000 a70 Neverland 1300 c60 Neverland 1200 a50 Neverland 1200 X13 Narnia 1500 X12 Narnia 1000 X11 Narnia 1100 XYZ Narnia 1050 ``` #### Code sample and actual output We will try to achieve the described goal by using `groupby` followed by `transform`: ```python def add_income_to_poor_households(households): money_to_share = 600 poor_households_ids = households.index[households<=1000] paylist = pd.Series(money_to_share/len(poor_households_ids), index=poor_households_ids) return households.add(paylist, fill_value=0) grouped = df.groupby('district')['income'] df['income'] = grouped.transform(add_income_to_poor_households) ``` After executing the above code `df` looks like this: ``` district income household_id b80 Neverland 1200 b90 Neverland 1300 a70 Neverland 1200 c60 Neverland 2000 a50 Neverland 1200 X13 Narnia 1100 X12 Narnia 1000 X11 Narnia 1500 XYZ Narnia 1050 ``` which doesn't match the expected output given above. #### Problem description The output obtained with the sample code doesn't match the expected output. It's unclear to me which of the assumptions specified in the documentation of `SeriesGrupBy.transform` are violated by the above code. I think that none, so I figure it's a bug. To gain some insight into the roots of the problem, note that the series returned by `add_income_to_poor_households` are ordered differently than the original ones. Please execute this on the original `df` (before changing it via using `transform`): ```python households = df[df['district']=='Neverland']['income'] ``` Now `households` looks like this: ``` household_id b80 1200 b90 2000 a70 1000 c60 900 a50 1200 Name: income, dtype: int64 ``` But after calling `add_income_to_poor_households` the order of the index changes: ```python add_income_to_poor_households(households) ``` ``` household_id a50 1200.0 a70 1300.0 b80 1200.0 b90 2000.0 c60 1200.0 dtype: float64 ``` So possibly the `transform` method fails to align the output of the inner function `add_income_to_poor_households` to the original indices of the data frame subject to grouping. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-73-generic Version : #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : pl_PL.UTF-8 LOCALE : pl_PL.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 54.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 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41550/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41550/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41551
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41551/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41551/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41551/events
https://github.com/pandas-dev/pandas/pull/41551
894,756,771
MDExOlB1bGxSZXF1ZXN0NjQ3MDczMTk4
41,551
ENH: Deprecate non-keyword arguments for Index.set_names.
{ "avatar_url": "https://avatars.githubusercontent.com/u/37243923?v=4", "events_url": "https://api.github.com/users/jmholzer/events{/privacy}", "followers_url": "https://api.github.com/users/jmholzer/followers", "following_url": "https://api.github.com/users/jmholzer/following{/other_user}", "gists_url": "https://api.github.com/users/jmholzer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmholzer", "id": 37243923, "login": "jmholzer", "node_id": "MDQ6VXNlcjM3MjQzOTIz", "organizations_url": "https://api.github.com/users/jmholzer/orgs", "received_events_url": "https://api.github.com/users/jmholzer/received_events", "repos_url": "https://api.github.com/users/jmholzer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmholzer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmholzer/subscriptions", "type": "User", "url": "https://api.github.com/users/jmholzer" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-18T20:31:18Z"
"2021-05-27T13:18:21Z"
"2021-05-27T13:18:21Z"
CONTRIBUTOR
null
- [ ] xref #41485 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41551/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41551/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41551.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41551", "merged_at": "2021-05-27T13:18:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41551.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41551" }
https://api.github.com/repos/pandas-dev/pandas/issues/41552
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41552/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41552/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41552/events
https://github.com/pandas-dev/pandas/issues/41552
894,772,702
MDU6SXNzdWU4OTQ3NzI3MDI=
41,552
BUG: self.fill_value ignored in SparseArray.min/max
{ "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "color": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-18T20:50:00Z"
"2021-06-02T13:23:19Z"
"2021-06-02T13:23:19Z"
MEMBER
null
https://github.com/pandas-dev/pandas/pull/41159#discussion_r621602882 the PR got merged before the problem was addressed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41552/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41552/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41553
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41553/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41553/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41553/events
https://github.com/pandas-dev/pandas/issues/41553
894,788,700
MDU6SXNzdWU4OTQ3ODg3MDA=
41,553
DOC: fixup docstring of deprecate_nonkeyword_arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/54113035?v=4", "events_url": "https://api.github.com/users/marty-rudolf/events{/privacy}", "followers_url": "https://api.github.com/users/marty-rudolf/followers", "following_url": "https://api.github.com/users/marty-rudolf/following{/other_user}", "gists_url": "https://api.github.com/users/marty-rudolf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marty-rudolf", "id": 54113035, "login": "marty-rudolf", "node_id": "MDQ6VXNlcjU0MTEzMDM1", "organizations_url": "https://api.github.com/users/marty-rudolf/orgs", "received_events_url": "https://api.github.com/users/marty-rudolf/received_events", "repos_url": "https://api.github.com/users/marty-rudolf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marty-rudolf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marty-rudolf/subscriptions", "type": "User", "url": "https://api.github.com/users/marty-rudolf" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/54113035?v=4", "events_url": "https://api.github.com/users/marty-rudolf/events{/privacy}", "followers_url": "https://api.github.com/users/marty-rudolf/followers", "following_url": "https://api.github.com/users/marty-rudolf/following{/other_user}", "gists_url": "https://api.github.com/users/marty-rudolf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marty-rudolf", "id": 54113035, "login": "marty-rudolf", "node_id": "MDQ6VXNlcjU0MTEzMDM1", "organizations_url": "https://api.github.com/users/marty-rudolf/orgs", "received_events_url": "https://api.github.com/users/marty-rudolf/received_events", "repos_url": "https://api.github.com/users/marty-rudolf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marty-rudolf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marty-rudolf/subscriptions", "type": "User", "url": "https://api.github.com/users/marty-rudolf" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-18T21:12:29Z"
"2021-05-24T17:19:50Z"
"2021-05-24T17:19:50Z"
MEMBER
null
See this comment from a previous pull request I submitted: https://github.com/pandas-dev/pandas/pull/41524#discussion_r634344743 Just need to add `, optional`, so opening as good first issue
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41553/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41553/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41554
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41554/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41554/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41554/events
https://github.com/pandas-dev/pandas/pull/41554
894,811,342
MDExOlB1bGxSZXF1ZXN0NjQ3MTIwNDY4
41,554
CLN: construction helper methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-18T21:48:35Z"
"2021-05-19T04:56:21Z"
"2021-05-19T02:58:45Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41554/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41554/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41554.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41554", "merged_at": "2021-05-19T02:58:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41554.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41554" }
https://api.github.com/repos/pandas-dev/pandas/issues/41555
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41555/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41555/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41555/events
https://github.com/pandas-dev/pandas/pull/41555
894,852,008
MDExOlB1bGxSZXF1ZXN0NjQ3MTU1MTk1
41,555
DEPR: Series/DataFrame with tzaware data and tznaive dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-18T23:13:06Z"
"2021-05-21T19:13:05Z"
"2021-05-21T19:13:04Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41555/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41555/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41555.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41555", "merged_at": "2021-05-21T19:13:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41555.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41555" }
https://api.github.com/repos/pandas-dev/pandas/issues/41556
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41556/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41556/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41556/events
https://github.com/pandas-dev/pandas/issues/41556
894,895,526
MDU6SXNzdWU4OTQ4OTU1MjY=
41,556
BUG: groupby.shift return keys filled with `fill_value` when `fill_value` is specified
{ "avatar_url": "https://avatars.githubusercontent.com/u/13521008?v=4", "events_url": "https://api.github.com/users/isVoid/events{/privacy}", "followers_url": "https://api.github.com/users/isVoid/followers", "following_url": "https://api.github.com/users/isVoid/following{/other_user}", "gists_url": "https://api.github.com/users/isVoid/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/isVoid", "id": 13521008, "login": "isVoid", "node_id": "MDQ6VXNlcjEzNTIxMDA4", "organizations_url": "https://api.github.com/users/isVoid/orgs", "received_events_url": "https://api.github.com/users/isVoid/received_events", "repos_url": "https://api.github.com/users/isVoid/repos", "site_admin": false, "starred_url": "https://api.github.com/users/isVoid/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/isVoid/subscriptions", "type": "User", "url": "https://api.github.com/users/isVoid" }
[ { "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": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4", "events_url": "https://api.github.com/users/smithto1/events{/privacy}", "followers_url": "https://api.github.com/users/smithto1/followers", "following_url": "https://api.github.com/users/smithto1/following{/other_user}", "gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smithto1", "id": 3813175, "login": "smithto1", "node_id": "MDQ6VXNlcjM4MTMxNzU=", "organizations_url": "https://api.github.com/users/smithto1/orgs", "received_events_url": "https://api.github.com/users/smithto1/received_events", "repos_url": "https://api.github.com/users/smithto1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smithto1/subscriptions", "type": "User", "url": "https://api.github.com/users/smithto1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4", "events_url": "https://api.github.com/users/smithto1/events{/privacy}", "followers_url": "https://api.github.com/users/smithto1/followers", "following_url": "https://api.github.com/users/smithto1/following{/other_user}", "gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smithto1", "id": 3813175, "login": "smithto1", "node_id": "MDQ6VXNlcjM4MTMxNzU=", "organizations_url": "https://api.github.com/users/smithto1/orgs", "received_events_url": "https://api.github.com/users/smithto1/received_events", "repos_url": "https://api.github.com/users/smithto1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smithto1/subscriptions", "type": "User", "url": "https://api.github.com/users/smithto1" } ]
{ "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-05-19T00:59:21Z"
"2021-07-28T22:55:13Z"
"2021-07-28T22:55:13Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python In [2]: df = pd.DataFrame({'a': [2, 1, 2, 1], 'b': ['x', 'x', 'y', 'y']}) In [3]: df.groupby('a').shift(1) Out[3]: b 0 NaN 1 NaN 2 x 3 x In [4]: df.groupby('a').shift(1, fill_value='fill') Out[4]: a b 0 fill fill 1 fill fill 2 2 x 3 1 x ``` #### Problem description When specifying `fill_value` in `groupby.shift`, the returned result includes the key column with keys filled with `fill_value`. When `fill_value` is unspecified (None), the key column is not included. #### Expected Output It seems pretty strange that keys are to be filled with `fill_value`. This makes more sense to me: ```python In [4]: df.groupby('a').shift(1, fill_value='fill') Out[4]: b 0 fill 1 fill 2 x 3 x ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.7.10.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-76-generic Version : #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 52.0.0.post20210125 Cython : 0.29.23 pytest : 6.2.4 hypothesis : 6.12.0 sphinx : 3.5.4 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.23.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.04.0 fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pyxlsb : None s3fs : None scipy : None sqlalchemy : None 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/41556/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41556/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41557
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41557/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41557/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41557/events
https://github.com/pandas-dev/pandas/pull/41557
894,932,499
MDExOlB1bGxSZXF1ZXN0NjQ3MjIyNjgx
41,557
DEPR: DataFrame([categorical, ...]) special casing
{ "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-19T02:38:17Z"
"2021-05-21T17:20:15Z"
"2021-05-21T16:46:34Z"
MEMBER
null
- [x] closes #38845 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41557/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41557/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41557.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41557", "merged_at": "2021-05-21T16:46:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41557.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41557" }
https://api.github.com/repos/pandas-dev/pandas/issues/41558
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41558/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41558/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41558/events
https://github.com/pandas-dev/pandas/pull/41558
894,977,536
MDExOlB1bGxSZXF1ZXN0NjQ3MjYwMTQx
41,558
DEPS: bump min numexpr version to 2.7.0
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-19T04:30:39Z"
"2021-06-18T02:25:13Z"
"2021-05-21T15:57:52Z"
MEMBER
null
Using 2.7.0 as the min support version removes all numexpr compat. And numexpr 2.7.0 was released on Aug 14, 2019.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41558/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41558/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41558.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41558", "merged_at": "2021-05-21T15:57:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41558.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41558" }
https://api.github.com/repos/pandas-dev/pandas/issues/41559
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41559/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41559/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41559/events
https://github.com/pandas-dev/pandas/pull/41559
895,014,946
MDExOlB1bGxSZXF1ZXN0NjQ3MjkxMTk0
41,559
ENH: Deprecate positional arguments for DataFrame.fillna and Series.fillna (GH41485)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5811028?v=4", "events_url": "https://api.github.com/users/jackzyliu/events{/privacy}", "followers_url": "https://api.github.com/users/jackzyliu/followers", "following_url": "https://api.github.com/users/jackzyliu/following{/other_user}", "gists_url": "https://api.github.com/users/jackzyliu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jackzyliu", "id": 5811028, "login": "jackzyliu", "node_id": "MDQ6VXNlcjU4MTEwMjg=", "organizations_url": "https://api.github.com/users/jackzyliu/orgs", "received_events_url": "https://api.github.com/users/jackzyliu/received_events", "repos_url": "https://api.github.com/users/jackzyliu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jackzyliu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jackzyliu/subscriptions", "type": "User", "url": "https://api.github.com/users/jackzyliu" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-19T05:45:32Z"
"2021-05-21T15:06:39Z"
"2021-05-21T15:06:35Z"
CONTRIBUTOR
null
- [x] xref #41485 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41559/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41559/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41559.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41559", "merged_at": "2021-05-21T15:06:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41559.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41559" }
https://api.github.com/repos/pandas-dev/pandas/issues/41560
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41560/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41560/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41560/events
https://github.com/pandas-dev/pandas/pull/41560
895,023,077
MDExOlB1bGxSZXF1ZXN0NjQ3Mjk4MTE0
41,560
TST: tighten stacklevel checks
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-19T06:00:32Z"
"2021-05-19T14:43:35Z"
"2021-05-19T12:53:24Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41560/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41560/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41560.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41560", "merged_at": "2021-05-19T12:53:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41560.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41560" }
https://api.github.com/repos/pandas-dev/pandas/issues/41561
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41561/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41561/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41561/events
https://github.com/pandas-dev/pandas/issues/41561
895,108,595
MDU6SXNzdWU4OTUxMDg1OTU=
41,561
ENH: keep the common columns from either the left/right/both dfs in pd.merge.
{ "avatar_url": "https://avatars.githubusercontent.com/u/39940054?v=4", "events_url": "https://api.github.com/users/jaindamini1111/events{/privacy}", "followers_url": "https://api.github.com/users/jaindamini1111/followers", "following_url": "https://api.github.com/users/jaindamini1111/following{/other_user}", "gists_url": "https://api.github.com/users/jaindamini1111/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jaindamini1111", "id": 39940054, "login": "jaindamini1111", "node_id": "MDQ6VXNlcjM5OTQwMDU0", "organizations_url": "https://api.github.com/users/jaindamini1111/orgs", "received_events_url": "https://api.github.com/users/jaindamini1111/received_events", "repos_url": "https://api.github.com/users/jaindamini1111/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jaindamini1111/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaindamini1111/subscriptions", "type": "User", "url": "https://api.github.com/users/jaindamini1111" }
[ { "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
[]
null
5
"2021-05-19T07:46:17Z"
"2021-08-20T05:37:59Z"
"2021-08-20T05:37:59Z"
NONE
null
#### Is your feature request related to a problem? I wish I could use pd.merge and keep the common columns just from either the left/right df instead of getting col_x/col_y. #### Describe the solution you'd like pd.merge should get a new parameter like - keep_common_columns_from - which can take three arguments - 1. only_left 2. only_right 3. both
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41561/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41561/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41562
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41562/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41562/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41562/events
https://github.com/pandas-dev/pandas/issues/41562
895,116,948
MDU6SXNzdWU4OTUxMTY5NDg=
41,562
QST: Pandas Dataframe Rolling based on timeframe throwing exception “window must be an integer”
{ "avatar_url": "https://avatars.githubusercontent.com/u/17592843?v=4", "events_url": "https://api.github.com/users/TGayathri/events{/privacy}", "followers_url": "https://api.github.com/users/TGayathri/followers", "following_url": "https://api.github.com/users/TGayathri/following{/other_user}", "gists_url": "https://api.github.com/users/TGayathri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TGayathri", "id": 17592843, "login": "TGayathri", "node_id": "MDQ6VXNlcjE3NTkyODQz", "organizations_url": "https://api.github.com/users/TGayathri/orgs", "received_events_url": "https://api.github.com/users/TGayathri/received_events", "repos_url": "https://api.github.com/users/TGayathri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TGayathri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TGayathri/subscriptions", "type": "User", "url": "https://api.github.com/users/TGayathri" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" }, { "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
2
"2021-05-19T07:55:47Z"
"2021-08-20T05:39:02Z"
"2021-08-20T05:39:02Z"
NONE
null
This is the schema of the dataframe i'm using to evaluate aggregate based on rolling timeframe. ``` AssetId int64 TimeStampCol datetime64[ns] paramName1 object paramName2 object paramName3 object ``` My requirement is that I want to find the min of paramName1 over the period of past 1 hour data. I'm forming the eval expression dynamically which will be like `streamingDf.rolling('1H').paramName1.min()` ```eval(f'streamingDf.rolling('1H').paramName1.min()') ``` then I'm evaluating the expression to get the result dataframe. Pandas Dataframe ***rolling based on timeframe*** throwing exception `window must be an integer` I'm also explicitly setting a datetime column as the index of this dataframe, before evaluating this expression. ``` streamingDf['TimeStampCol'] = pd.to_datetime(streamingDf['TimeStampCol']) streamingDf.set_index('TimeStampCol') ``` Can someone help to resolve this issue. - [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas **Note**: If you'd still like to submit a question, please read [this guide]( https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. ```python # Your code here, if applicable ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41562/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41562/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41563
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41563/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41563/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41563/events
https://github.com/pandas-dev/pandas/issues/41563
895,127,627
MDU6SXNzdWU4OTUxMjc2Mjc=
41,563
BUG: pd.date_range gives a error when freq = LastWeekOfMonth(1)
{ "avatar_url": "https://avatars.githubusercontent.com/u/52389124?v=4", "events_url": "https://api.github.com/users/zgao12/events{/privacy}", "followers_url": "https://api.github.com/users/zgao12/followers", "following_url": "https://api.github.com/users/zgao12/following{/other_user}", "gists_url": "https://api.github.com/users/zgao12/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zgao12", "id": 52389124, "login": "zgao12", "node_id": "MDQ6VXNlcjUyMzg5MTI0", "organizations_url": "https://api.github.com/users/zgao12/orgs", "received_events_url": "https://api.github.com/users/zgao12/received_events", "repos_url": "https://api.github.com/users/zgao12/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zgao12/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zgao12/subscriptions", "type": "User", "url": "https://api.github.com/users/zgao12" }
[ { "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" } ]
open
false
null
[]
null
0
"2021-05-19T08:07:03Z"
"2021-08-20T05:43:02Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python >>> from pandas.tseries.offsets import * >>> fq = LastWeekOfMonth(1) >>> pd.date_range('2018-04-01', periods=1, freq=fq) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/miniconda3/envs/test37/lib/python3.7/site-packages/pandas/core/indexes/datetimes.py", line 1077, in date_range **kwargs, File "/home/miniconda3/envs/test37/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py", line 416, in _generate_range values = np.array([x.value for x in xdr], dtype=np.int64) File "/home/miniconda3/envs/test37/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py", line 416, in <listcomp> values = np.array([x.value for x in xdr], dtype=np.int64) File "/home/miniconda3/envs/test37/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py", line 2438, in generate_range end = start + (periods - 1) * offset File "pandas/_libs/tslibs/offsets.pyx", line 459, in pandas._libs.tslibs.offsets.BaseOffset.__mul__ File "pandas/_libs/tslibs/offsets.pyx", line 455, in pandas._libs.tslibs.offsets.BaseOffset.__mul__ File "pandas/_libs/tslibs/offsets.pyx", line 2647, in pandas._libs.tslibs.offsets.LastWeekOfMonth.__init__ ValueError: N cannot be 0 ``` #### Problem description The output of date_range with period = 1, freq = LastWeekOfMonth should not raise a error, since other freq like WeekOfMonth gives a normal output with period = 1. #### Expected Output ```DatetimeIndex(['2018-04-30'], dtype='datetime64[ns]', freq='LWOM-MON')``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.7.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-72-generic Version : #80~18.04.1-Ubuntu SMP Mon Apr 12 23:26:25 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : zh_CN.UTF-8 LOCALE : zh_CN.UTF-8 pandas : 1.2.4 numpy : 1.19.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : 3.5.4 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41563/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41563/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41564
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41564/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41564/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41564/events
https://github.com/pandas-dev/pandas/issues/41564
895,275,385
MDU6SXNzdWU4OTUyNzUzODU=
41,564
BUG: groupby().ffill() strips level names from MultiIndex on columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/10784275?v=4", "events_url": "https://api.github.com/users/DomKennedy/events{/privacy}", "followers_url": "https://api.github.com/users/DomKennedy/followers", "following_url": "https://api.github.com/users/DomKennedy/following{/other_user}", "gists_url": "https://api.github.com/users/DomKennedy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DomKennedy", "id": 10784275, "login": "DomKennedy", "node_id": "MDQ6VXNlcjEwNzg0Mjc1", "organizations_url": "https://api.github.com/users/DomKennedy/orgs", "received_events_url": "https://api.github.com/users/DomKennedy/received_events", "repos_url": "https://api.github.com/users/DomKennedy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DomKennedy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DomKennedy/subscriptions", "type": "User", "url": "https://api.github.com/users/DomKennedy" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-19T10:33:58Z"
"2021-06-17T17:53:44Z"
"2021-06-17T17:53:44Z"
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame( [[1,2,3,4],[5,6,7,8]], columns=pd.MultiIndex.from_product( [[0,1], ['foo','bar']], names=['x', 'y'] ) ) after_groupby = df.groupby(df.index).ffill() print(f"original dataframe:\n{df}\n") print(f"result of groupby().ffill():\n{after_groupby}\n") print(f"original dataframe columns.names:\n{df.columns.names}\n") print(f"columns.names after groupby().ffill():\n{after_groupby.columns.names}\n") ``` #### Actual output ``` original dataframe: x 0 1 y foo bar foo bar 0 1 2 3 4 1 5 6 7 8 result of groupby().ffill(): 0 1 foo bar foo bar 0 1 2 3 4 1 5 6 7 8 original dataframe columns.names: ['x', 'y'] columns.names after groupby().ffill(): [None, None] ``` #### Expected output ``` original dataframe: x 0 1 y foo bar foo bar 0 1 2 3 4 1 5 6 7 8 result of groupby().ffill(): x 0 1 y foo bar foo bar 0 1 2 3 4 1 5 6 7 8 original dataframe columns.names: ['x', 'y'] columns.names after groupby().ffill(): ['x', 'y'] ``` #### Problem description Calling `groupby().ffill()` on a DataFrame with a `MultiIndex` column index strips the `names` attribute of the column index. The above shows the trivial case of `groupby(df.index)`, but I have also found it to occur with nontrivial `by` arguments (e.g. grouping a `DatetimeIndex` by dates). This is obviously unexpected and undesirable. #### Output of ``pd.show_versions()`` I have observed this bug on WSL with Python 3.6 and pandas 1.1.5, as well as an M1 MacBook Air with the latest available M1-native pandas version from `conda`. The details of the latter are below. <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.2.final.0 python-bits : 64 OS : Darwin OS-release : 20.3.0 Version : Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 machine : arm64 processor : arm byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 49.6.0.post20210108 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.0 IPython : 7.23.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None 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/41564/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41564/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41565
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41565/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41565/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41565/events
https://github.com/pandas-dev/pandas/issues/41565
895,315,940
MDU6SXNzdWU4OTUzMTU5NDA=
41,565
ENH: Better error message when interpolating dtype integer with method="linear"
{ "avatar_url": "https://avatars.githubusercontent.com/u/4079295?v=4", "events_url": "https://api.github.com/users/AartGoossens/events{/privacy}", "followers_url": "https://api.github.com/users/AartGoossens/followers", "following_url": "https://api.github.com/users/AartGoossens/following{/other_user}", "gists_url": "https://api.github.com/users/AartGoossens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AartGoossens", "id": 4079295, "login": "AartGoossens", "node_id": "MDQ6VXNlcjQwNzkyOTU=", "organizations_url": "https://api.github.com/users/AartGoossens/orgs", "received_events_url": "https://api.github.com/users/AartGoossens/received_events", "repos_url": "https://api.github.com/users/AartGoossens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AartGoossens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AartGoossens/subscriptions", "type": "User", "url": "https://api.github.com/users/AartGoossens" }
[ { "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": "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
"2021-05-19T11:17:37Z"
"2021-05-20T15:22:55Z"
null
NONE
null
#### Is your feature request related to a problem? When trying to interpolate a column with dtype integer with `method="linear"` the error message is not very descriptive (example to reproduce at the bottom of this issue): ``` ValueError: Invalid fill method. Expecting pad (ffill) or backfill (bfill). Got linear ``` As "linear" is the default interpolation method I think the error message should be more descriptive, even though IntegerArray is still experimental according to the [docs](https://pandas.pydata.org/pandas-docs/stable/user_guide/integer_na.html). #### Describe the solution you'd like I think the error message should include a hint to the potential cause that the array you're trying to interpolate is of dtype integer. Something like this could work: ``` ValueError: Invalid fill method. Expecting pad (ffill) or backfill (bfill). Got linear. Are you trying to interpolate an integer column? ``` I would be happy to create a PR with the improvement myself. #### API breaking implications As this only requires a change to the error message it does not break any API. #### Describe alternatives you've considered An alternative solution would be to implement linear interpolation for integer arrays but I suspect that that is not compatible/unexpected with some use-cases of integer arrays. #### Additional context Reproducable example: ```python import pandas as pd s = pd.Series([1, None, 3], dtype=pd.Int64Dtype()) s.interpolate(method="linear") ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41565/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41565/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41566
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41566/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41566/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41566/events
https://github.com/pandas-dev/pandas/pull/41566
895,331,371
MDExOlB1bGxSZXF1ZXN0NjQ3NTY1OTU0
41,566
DOC: redocument the `subset` arg in styler for clarity of use
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-19T11:34:39Z"
"2021-05-22T06:28:39Z"
"2021-05-21T15:18:29Z"
CONTRIBUTOR
null
came up in a comment to another PR, so here it is changed for all appropriate methods.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41566/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41566/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41566.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41566", "merged_at": "2021-05-21T15:18:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41566.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41566" }
https://api.github.com/repos/pandas-dev/pandas/issues/41567
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41567/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41567/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41567/events
https://github.com/pandas-dev/pandas/pull/41567
895,361,466
MDExOlB1bGxSZXF1ZXN0NjQ3NTkyNDIz
41,567
[ArrowStringArray] PERF: bypass some padding code in _wrap_result
{ "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": "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-19T12:07:18Z"
"2021-05-21T16:55:02Z"
"2021-05-21T16:47:43Z"
MEMBER
null
The padding of np.nan across all columns is not needed for StringArray/ArrowStringArray ``` before after ratio [896256ee] [1c883e0d] <master> <bypass> - 99.3±0.6ms 87.4±1ms 0.88 strings.Split.time_split('string', True) - 89.6±0.3ms 78.7±1ms 0.88 strings.Split.time_rsplit('arrow_string', True) - 71.3±0.5ms 58.7±0.8ms 0.82 strings.Split.time_rsplit('string', True) - 60.0±0.4ms 49.1±1ms 0.82 strings.Methods.time_partition('arrow_string') - 59.0±0.7ms 47.5±1ms 0.80 strings.Methods.time_rpartition('arrow_string') - 50.5±0.08ms 38.3±0.4ms 0.76 strings.Methods.time_partition('string') - 49.5±0.3ms 37.2±0.2ms 0.75 strings.Methods.time_rpartition('string') SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. PERFORMANCE INCREASED. ``` this is a small change for perf. The padding code logic does not work for st.extract since the first value of a list maybe np.nan followed by other values. I made that change here and then reverted as is moreless perf neutral. so will do in another PR that uses _wrap_result more for str_extract. (str.extract returns list of lists where any value in the list could be np.nan, str.split returns array of lists with different lengths without np.nans and the np.nans returned as scalars) some further gains can also be achieved by bypassing the converting of `np.nan` to `[np.nan]` for partition (for StringArray/ArrowStringArray) since the DataFrame constructor does not need this for a list of tuples. (str.partition returns array of tuples, str.split returns array of lists) #41507
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41567/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41567/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41567.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41567", "merged_at": "2021-05-21T16:47:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41567.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41567" }
https://api.github.com/repos/pandas-dev/pandas/issues/41568
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41568/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41568/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41568/events
https://github.com/pandas-dev/pandas/issues/41568
895,427,209
MDU6SXNzdWU4OTU0MjcyMDk=
41,568
BUG:np.nan not recognized by isna() or isnull() to be NA
{ "avatar_url": "https://avatars.githubusercontent.com/u/29853829?v=4", "events_url": "https://api.github.com/users/gitgithan/events{/privacy}", "followers_url": "https://api.github.com/users/gitgithan/followers", "following_url": "https://api.github.com/users/gitgithan/following{/other_user}", "gists_url": "https://api.github.com/users/gitgithan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gitgithan", "id": 29853829, "login": "gitgithan", "node_id": "MDQ6VXNlcjI5ODUzODI5", "organizations_url": "https://api.github.com/users/gitgithan/orgs", "received_events_url": "https://api.github.com/users/gitgithan/received_events", "repos_url": "https://api.github.com/users/gitgithan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gitgithan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gitgithan/subscriptions", "type": "User", "url": "https://api.github.com/users/gitgithan" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
null
3
"2021-05-19T13:09:40Z"
"2021-06-24T02:16:37Z"
"2021-06-24T02:16:37Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = "all" pd.options.mode.use_inf_as_na = False pd.Series([np.nan]).isnull() pd.Series([np.nan]).isna() pd.options.mode.use_inf_as_na = True pd.Series([np.nan]).isnull() pd.Series([np.nan]).isna() ``` Current Output: ``` 0 False dtype: bool Out[205]: 0 False dtype: bool Out[205]: 0 True dtype: bool Out[205]: 0 True dtype: bool ``` #### Problem description I'm not able to identify NA values created by np.nan or generated by pandas through it's data manipulation methods using df.isna or df.isnull. I had to change `pd.options.mode.use_inf_as_na` from default False to True to recognize np.nan. On my previous experiences with earlier versions of pandas the 2 methods can identify np.nan as NA. Now they mismatch what the docs are saying (https://pandas.pydata.org/pandas-docs/stable/user_guide/options.html), which is by default with `pd.options.mode.use_inf_as_na = False`, np.nan should be recognized as NA, and setting this option to True only adds -INF and INF as NA. What does the "old way" and "new way" in the statement from docs below mean anyway? **True means treat None, NaN, -INF, INF as NA (old way), False means None and NaN are null, but INF, -INF are not NA (new way).** #### Expected Output ``` 0 True dtype: bool Out[205]: 0 True dtype: bool Out[205]: 0 True dtype: bool Out[205]: 0 True dtype: bool ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.6.final.0 python-bits : 64 OS : Darwin OS-release : 20.4.0 Version : Darwin Kernel Version 20.4.0: Fri Mar 5 01:14:02 PST 2021; root:xnu-7195.101.1~3/RELEASE_ARM64_T8101 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.18.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 56.0.0 Cython : None pytest : 6.2.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.23.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : None tables : None tabulate : None xarray : 0.17.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/41568/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41568/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41569
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41569/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41569/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41569/events
https://github.com/pandas-dev/pandas/issues/41569
895,545,848
MDU6SXNzdWU4OTU1NDU4NDg=
41,569
QST: How to disable s3fs
{ "avatar_url": "https://avatars.githubusercontent.com/u/53576362?v=4", "events_url": "https://api.github.com/users/excalamus/events{/privacy}", "followers_url": "https://api.github.com/users/excalamus/followers", "following_url": "https://api.github.com/users/excalamus/following{/other_user}", "gists_url": "https://api.github.com/users/excalamus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/excalamus", "id": 53576362, "login": "excalamus", "node_id": "MDQ6VXNlcjUzNTc2MzYy", "organizations_url": "https://api.github.com/users/excalamus/orgs", "received_events_url": "https://api.github.com/users/excalamus/received_events", "repos_url": "https://api.github.com/users/excalamus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/excalamus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/excalamus/subscriptions", "type": "User", "url": "https://api.github.com/users/excalamus" }
[ { "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": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "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": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
3
"2021-05-19T14:51:28Z"
"2021-05-19T15:51:55Z"
"2021-05-19T15:48:05Z"
NONE
null
I installed s3fs to try it out. I have removed it from my environment after deciding against it. However, someone upstream uses Pandas. Despite s3fs having been removed and no s3fs imports existing anywhere in the entire code base, Pandas wants to use s3fs. This causes my application to fail. Is there a way to correct this without having to recreate my entire development environment? ``` File "pandas\io\parsers.py", line 610, in read_csv File "pandas\io\parsers.py", line 462, in _read File "pandas\io\parsers.py", line 819, in __init__ File "pandas\io\parsers.py", line 1050, in _make_engine File "pandas\io\parsers.py", line 1867, in __init__ File "pandas\io\parsers.py", line 1362, in _open_handles File "pandas\io\common.py", line 558, in get_handle File "pandas\io\common.py", line 333, in _get_filepath_or_buffer File "fsspec\core.py", line 428, in open File "fsspec\core.py", line 280, in open_files File "fsspec\core.py", line 598, in get_fs_token_paths File "fsspec\registry.py", line 213, in get_filesystem_class ImportError: Install s3fs to access S3 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41569/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41569/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41570
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41570/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41570/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41570/events
https://github.com/pandas-dev/pandas/issues/41570
895,656,759
MDU6SXNzdWU4OTU2NTY3NTk=
41,570
BUG: Column 'Int8Dtype' casted to 'object' type when melted
{ "avatar_url": "https://avatars.githubusercontent.com/u/17943873?v=4", "events_url": "https://api.github.com/users/etiennekintzler/events{/privacy}", "followers_url": "https://api.github.com/users/etiennekintzler/followers", "following_url": "https://api.github.com/users/etiennekintzler/following{/other_user}", "gists_url": "https://api.github.com/users/etiennekintzler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/etiennekintzler", "id": 17943873, "login": "etiennekintzler", "node_id": "MDQ6VXNlcjE3OTQzODcz", "organizations_url": "https://api.github.com/users/etiennekintzler/orgs", "received_events_url": "https://api.github.com/users/etiennekintzler/received_events", "repos_url": "https://api.github.com/users/etiennekintzler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/etiennekintzler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/etiennekintzler/subscriptions", "type": "User", "url": "https://api.github.com/users/etiennekintzler" }
[ { "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": "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-05-19T16:37:02Z"
"2021-05-21T18:05:30Z"
null
NONE
null
- [x ] I have checked that this issue has not already been reported. - [ x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- Pandas's dtype `Int8Dtype` is converted to `object` when melted. #### Code Sample, a copy-pastable example ```python df = pd.DataFrame({"a": pd.Series([1, 2], dtype=pd.Int8Dtype())}) melted = df.melt() print(melted.dtypes) ``` #### Problem description When melted, the Int8 column is casted to object type. #### Expected Output `melted.dtypes` should return: ```python variable object value Int8 dtype: object ``` #### Output of ``pd.show_versions() <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.7.0.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-143-generic Version : #147-Ubuntu SMP Wed Apr 14 16:10:11 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.1.5 numpy : 1.19.4 pytz : 2020.5 dateutil : 2.8.1 pip : 21.0.1 setuptools : 54.1.2 Cython : None pytest : 6.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pytables : None pyxlsb : 1.0.8 s3fs : None scipy : 1.5.4 sqlalchemy : 1.3.22 tables : None tabulate : 0.8.7 xarray : None xlrd : 2.0.1 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/41570/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41570/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41571
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41571/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41571/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41571/events
https://github.com/pandas-dev/pandas/issues/41571
895,679,398
MDU6SXNzdWU4OTU2NzkzOTg=
41,571
ENH: Extend `UnsortedIndexError` to regular indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/19380579?v=4", "events_url": "https://api.github.com/users/jbeyer16/events{/privacy}", "followers_url": "https://api.github.com/users/jbeyer16/followers", "following_url": "https://api.github.com/users/jbeyer16/following{/other_user}", "gists_url": "https://api.github.com/users/jbeyer16/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbeyer16", "id": 19380579, "login": "jbeyer16", "node_id": "MDQ6VXNlcjE5MzgwNTc5", "organizations_url": "https://api.github.com/users/jbeyer16/orgs", "received_events_url": "https://api.github.com/users/jbeyer16/received_events", "repos_url": "https://api.github.com/users/jbeyer16/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbeyer16/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbeyer16/subscriptions", "type": "User", "url": "https://api.github.com/users/jbeyer16" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
open
false
null
[]
null
0
"2021-05-19T17:01:49Z"
"2021-08-20T05:44:47Z"
null
NONE
null
#### Is your feature request related to a problem? When using `.loc` to index into a dataframe whose index is not sorted, a `KeyError` is raised that indicates the key does not exist. But sorting the index allows the same `.loc` command to pull a range of values from the dataframe. #### Describe the solution you'd like I'd like to see [this](https://github.com/pandas-dev/pandas/issues/11897) extended to regular indices. So that when I try to index into an unsorted dataframe, the error is more informative in how to fix it. #### API breaking implications Since `UnsortedIndexError` is already implemented, and inherits from `KeyError` I don't see any breaking implications? #### Describe alternatives you've considered Seems that bringing the `UnsortedIndexError` to regular indices (as it is already raised for a Multi-Index) is the best idea? #### Additional context I tested this with 1.2.4 ```python >>> df = pd.DataFrame({'val': ['a', 'b', 'c','d']}, index=[1.0, 3.0, 2.0, 4.0]) >>> df.loc[1.5:3.5] Traceback (most recent call last): File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3080, in get_loc return self._engine.get_loc(casted_key) File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 975, in pandas._libs.hashtable.Float64HashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 982, in pandas._libs.hashtable.Float64HashTable.get_item KeyError: 1.5 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexing.py", line 895, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexing.py", line 1102, in _getitem_axis return self._get_slice_axis(key, axis=axis) File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexing.py", line 1136, in _get_slice_axis indexer = labels.slice_indexer( File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 5277, in slice_indexer start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind) File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 5476, in slice_locs start_slice = self.get_slice_bound(start, "left", kind) File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 5396, in get_slice_bound raise err File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 5390, in get_slice_bound slc = self.get_loc(label) File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/numeric.py", line 395, in get_loc return super().get_loc(key, method=method, tolerance=tolerance) File "/Users/JBEYER/opt/miniconda3/envs/env/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3082, in get_loc raise KeyError(key) from err KeyError: 1.5 >>> df.sort_index().loc[1.5:3.5] val 2.0 c 3.0 b ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41571/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41571/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41572
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41572/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41572/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41572/events
https://github.com/pandas-dev/pandas/issues/41572
895,685,279
MDU6SXNzdWU4OTU2ODUyNzk=
41,572
BUG: when attrs lost on original dataframe, copy loses the attrs as well
{ "avatar_url": "https://avatars.githubusercontent.com/u/8699967?v=4", "events_url": "https://api.github.com/users/snowman2/events{/privacy}", "followers_url": "https://api.github.com/users/snowman2/followers", "following_url": "https://api.github.com/users/snowman2/following{/other_user}", "gists_url": "https://api.github.com/users/snowman2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/snowman2", "id": 8699967, "login": "snowman2", "node_id": "MDQ6VXNlcjg2OTk5Njc=", "organizations_url": "https://api.github.com/users/snowman2/orgs", "received_events_url": "https://api.github.com/users/snowman2/received_events", "repos_url": "https://api.github.com/users/snowman2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/snowman2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snowman2/subscriptions", "type": "User", "url": "https://api.github.com/users/snowman2" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" } ]
open
false
null
[]
null
0
"2021-05-19T17:08:09Z"
"2021-08-20T05:45:21Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- Possibly related to: - #28283 - #35425 #### Code Sample, a copy-pastable example ```python df = pandas.DataFrame({"a": [1]}) df.a.attrs = {"test": "test"} df2 = df.copy() # same behavior for df.reset_index() ``` ```python df2.a.attrs ``` ``` {} ``` ```python df.a.attrs ``` ``` {} ``` #### Problem description Ideally, when making a copy, the attributes will be preserved on both dataframes. #### Expected Output ```python df2.a.attrs ``` ``` {"test": "test"} ``` ```python df.a.attrs ``` ``` {"test": "test"} ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 1963b810b3613baefe4b869bb9d034cfc9a027ef python : 3.7.9.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-73-generic Version : #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0.dev0+1660.g1963b810b3 numpy : 1.20.1 pytz : 2020.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 49.1.0 Cython : 0.29.23 pytest : 6.2.2 hypothesis : 6.13.0 sphinx : 3.5.4 blosc : 1.10.2 feather : None xlsxwriter : 1.4.3 lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.20.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 2021.05.0 fastparquet : 0.6.3 gcsfs : 2021.05.0 matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 4.0.0 pyxlsb : None s3fs : 2021.05.0 scipy : 1.6.0 sqlalchemy : 1.3.23 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.17.1.dev149+g49aa235f.d20210518 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/41572/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41572/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41573
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41573/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41573/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41573/events
https://github.com/pandas-dev/pandas/pull/41573
895,814,745
MDExOlB1bGxSZXF1ZXN0NjQ3OTg4MzIy
41,573
ENH: add timezone awareness for formatting iso8601 datetimes to json
{ "avatar_url": "https://avatars.githubusercontent.com/u/5315539?v=4", "events_url": "https://api.github.com/users/jeliashi/events{/privacy}", "followers_url": "https://api.github.com/users/jeliashi/followers", "following_url": "https://api.github.com/users/jeliashi/following{/other_user}", "gists_url": "https://api.github.com/users/jeliashi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeliashi", "id": 5315539, "login": "jeliashi", "node_id": "MDQ6VXNlcjUzMTU1Mzk=", "organizations_url": "https://api.github.com/users/jeliashi/orgs", "received_events_url": "https://api.github.com/users/jeliashi/received_events", "repos_url": "https://api.github.com/users/jeliashi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeliashi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeliashi/subscriptions", "type": "User", "url": "https://api.github.com/users/jeliashi" }
[ { "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": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
7
"2021-05-19T19:41:53Z"
"2021-08-17T01:53:25Z"
"2021-08-17T01:53:25Z"
NONE
null
This PR allows for non-UTC printing of datetime strings from the `to_json` method when passing in local timestamps - [x] closes #12997 - [x] tests modified - [ ] Ensure all linting tests pass, see here for how to run them - [x] whatsnew entry Ok, so this is a doozy AND it's not done, but it can be merged as is. What do we do: We add timezones to json output! Before: ``` ts = pd.Timestamp('2020-10-5 4:00:05', tz='US/Pacific') print(pd.io.json.dumps(ts, iso_dates=True)) print(ts.isoformat()) ``` would produce `"2020-10-05T11:00:05.000Z"` and `"2020-10-05T04:00:05.000-07:00"` respectively. Now they both produce `"2020-10-05T04:00:05.000-07:00"` So what do I mean by not complete? This still doesn't work for arrays that have datetime values. This only works for single datetime values. So: `pd.DataFrame({'foo': range(5)}, index=pd.date_range('2020-10-12', freq='H', periods=5, tz='US/Eastern')).to_json(date_format='iso')` will still produce: `'{"foo":{"2020-10-12T04:00:00.000Z":0,"2020-10-12T05:00:00.000Z":1,"2020-10-12T06:00:00.000Z":2,"2020-10-12T07:00:00.000Z":3,"2020-10-12T08:00:00.000Z":4}}'` and not `'{"foo":{"2020-10-12T00:00:00.000-04:00":0,"2020-10-12T01:00:00.000-04:00":1,"2020-10-12T02:00:00.000-04:00":2,"2020-10-12T03:00:00.000-04:00":3,"2020-10-12T04:00:00.000-04:00":4}}'` Working on it currently. Open to recommendations!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41573/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41573/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41573.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41573", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41573.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41573" }
https://api.github.com/repos/pandas-dev/pandas/issues/41574
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41574/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41574/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41574/events
https://github.com/pandas-dev/pandas/issues/41574
895,821,195
MDU6SXNzdWU4OTU4MjExOTU=
41,574
ENH: support defaultdict in read_csv dtype parameter
{ "avatar_url": "https://avatars.githubusercontent.com/u/13181111?v=4", "events_url": "https://api.github.com/users/jtbr/events{/privacy}", "followers_url": "https://api.github.com/users/jtbr/followers", "following_url": "https://api.github.com/users/jtbr/following{/other_user}", "gists_url": "https://api.github.com/users/jtbr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtbr", "id": 13181111, "login": "jtbr", "node_id": "MDQ6VXNlcjEzMTgxMTEx", "organizations_url": "https://api.github.com/users/jtbr/orgs", "received_events_url": "https://api.github.com/users/jtbr/received_events", "repos_url": "https://api.github.com/users/jtbr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtbr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtbr/subscriptions", "type": "User", "url": "https://api.github.com/users/jtbr" }
[ { "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": "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": "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
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
"2021-05-19T19:49:52Z"
"2021-05-25T17:34:31Z"
null
NONE
null
I have a large csv file with 15k columns with non-obvious names, of which 14990 are floating point numbers. I'd like to load them as floats without `read_csv` having to spend the time divining their types. `dtype` allows providing a `dict`, but making one with all the column names is tedious and not always possible. The obvious solution is to provide a `defaultdict`, with a default of `np.float32`, and including entries for the other column types. Unfortunately currently, the default is silently ignored by `read_csv`. Presumably `read_csv` is not directly querying the dictionary, but rather checking first whether an item is there. If this is not possible, it would be helpful to include a warning to the user, or at least some mention in the documentation, that defaultdict is not supported. It took me a long time to figure out why my floats weren't being treated as float32 and why read_csv was still trying to determine the types of these columns.
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41574/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41574/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41575
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41575/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41575/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41575/events
https://github.com/pandas-dev/pandas/issues/41575
895,837,224
MDU6SXNzdWU4OTU4MzcyMjQ=
41,575
BUG: `GroupBy.describe` produces inconsistent results for empty datasets
{ "avatar_url": "https://avatars.githubusercontent.com/u/675055?v=4", "events_url": "https://api.github.com/users/TheNeuralBit/events{/privacy}", "followers_url": "https://api.github.com/users/TheNeuralBit/followers", "following_url": "https://api.github.com/users/TheNeuralBit/following{/other_user}", "gists_url": "https://api.github.com/users/TheNeuralBit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TheNeuralBit", "id": 675055, "login": "TheNeuralBit", "node_id": "MDQ6VXNlcjY3NTA1NQ==", "organizations_url": "https://api.github.com/users/TheNeuralBit/orgs", "received_events_url": "https://api.github.com/users/TheNeuralBit/received_events", "repos_url": "https://api.github.com/users/TheNeuralBit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TheNeuralBit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TheNeuralBit/subscriptions", "type": "User", "url": "https://api.github.com/users/TheNeuralBit" }
[ { "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" } ]
open
false
null
[]
null
0
"2021-05-19T20:08:55Z"
"2021-05-31T21:57: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 of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- ```python In [1]: import pandas as pd In [2]: df = pd.DataFrame(columns=['A', 'B', 'C']) In [3]: df.groupby('A').B.describe() --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-3-7259c86156be> in <module> ----> 1 df.groupby('A').B.describe() ~/.../python3.8/site-packages/pandas/core/groupby/generic.py in describe(self, **kwargs) 674 if self.axis == 1: 675 return result.T --> 676 return result.unstack() 677 678 def value_counts( ~/.../python3.8/site-packages/pandas/core/series.py in unstack(self, level, fill_value) 3827 from pandas.core.reshape.reshape import unstack 3828 -> 3829 return unstack(self, level, fill_value) 3830 3831 # ---------------------------------------------------------------------- ~/.../python3.8/site-packages/pandas/core/reshape/reshape.py in unstack(obj, level, fill_value) 422 # Give nicer error messages when unstack a Series whose 423 # Index is not a MultiIndex. --> 424 raise ValueError( 425 f"index must be a MultiIndex to unstack, {type(obj.index)} was passed" 426 ) ValueError: index must be a MultiIndex to unstack, <class 'pandas.core.indexes.base.Index'> was passed In [4]: df.groupby('A').describe() Out[4]: Series([], dtype: float64) ``` #### Problem description `SeriesGroupBy.describe` raises an error when called on an empty dataset, and `DataframeGroupBy.describe` succeeds, but returns an empty `Series`. #### Expected Output I would expect both of these to return an empty `DataFrame` with the appropriate columns. ```python In [3]: df.groupby('A').B.describe() Out [3]: Empty DataFrame Columns: [count, mean, std, min, 25%, 50%, 75%, max] Index: [] In [4]: df.groupby('A').describe() Out [4]: Empty DataFrame Columns: [(B, count), (B, mean), (B, std), (B, min), (B, 25%), (B, 50%), (B, 75%), (B, max)(C, count), (C, mean), (C, std), (C, min), (C, 25%), (C, 50%), (C, 75%), (C, max)] Index: [] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 5.10.26-1rodete1-amd64 Version : #1 SMP Debian 5.10.26-1rodete1 (2021-04-12) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.19.5 pytz : 2019.3 dateutil : 2.8.1 pip : 20.2.1 setuptools : 49.2.1 Cython : 0.29.13 pytest : 4.6.11 hypothesis : None sphinx : 1.8.5 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.20 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/41575/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41575/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41576
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41576/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41576/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41576/events
https://github.com/pandas-dev/pandas/pull/41576
896,082,968
MDExOlB1bGxSZXF1ZXN0NjQ4MjI3MTA4
41,576
DEPS: clean outdated version compat, sync min versions
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-20T00:13:36Z"
"2021-05-24T18:42:05Z"
"2021-05-24T18:41:53Z"
MEMBER
null
numpy: #40851 sqlalchemy: #38344. pytest: #40656
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41576/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41576/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41576.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41576", "merged_at": "2021-05-24T18:41:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41576.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41576" }
https://api.github.com/repos/pandas-dev/pandas/issues/41577
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41577/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41577/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41577/events
https://github.com/pandas-dev/pandas/pull/41577
896,098,226
MDExOlB1bGxSZXF1ZXN0NjQ4MjQxMjUw
41,577
DOC: fixup docstring of deprecate_nonkeyword_arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/54113035?v=4", "events_url": "https://api.github.com/users/marty-rudolf/events{/privacy}", "followers_url": "https://api.github.com/users/marty-rudolf/followers", "following_url": "https://api.github.com/users/marty-rudolf/following{/other_user}", "gists_url": "https://api.github.com/users/marty-rudolf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marty-rudolf", "id": 54113035, "login": "marty-rudolf", "node_id": "MDQ6VXNlcjU0MTEzMDM1", "organizations_url": "https://api.github.com/users/marty-rudolf/orgs", "received_events_url": "https://api.github.com/users/marty-rudolf/received_events", "repos_url": "https://api.github.com/users/marty-rudolf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marty-rudolf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marty-rudolf/subscriptions", "type": "User", "url": "https://api.github.com/users/marty-rudolf" }
[ { "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": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-20T00:29:31Z"
"2021-05-24T17:20:47Z"
"2021-05-24T17:19:50Z"
CONTRIBUTOR
null
- [ ] closes #41553 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41577/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41577/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41577.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41577", "merged_at": "2021-05-24T17:19:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41577.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41577" }
https://api.github.com/repos/pandas-dev/pandas/issues/41578
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41578/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41578/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41578/events
https://github.com/pandas-dev/pandas/pull/41578
896,142,154
MDExOlB1bGxSZXF1ZXN0NjQ4MjgyNTQ1
41,578
BUG: DataFrame(floatdata, dtype=inty) does unsafe casting
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-20T01:06:50Z"
"2021-05-21T15:54:04Z"
"2021-05-21T15:45:13Z"
MEMBER
null
- [x] closes #26919 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41578/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41578/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41578.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41578", "merged_at": "2021-05-21T15:45:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41578.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41578" }
https://api.github.com/repos/pandas-dev/pandas/issues/41579
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41579/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41579/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41579/events
https://github.com/pandas-dev/pandas/pull/41579
896,225,717
MDExOlB1bGxSZXF1ZXN0NjQ4MzU2MDk0
41,579
BUG: Series(range_obj_outside_i8_bounds)
{ "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": "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
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-20T03:23:38Z"
"2021-05-24T19:02:59Z"
"2021-05-24T18:20:49Z"
MEMBER
null
- [x] closes #30173 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41579/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41579/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41579.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41579", "merged_at": "2021-05-24T18:20:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41579.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41579" }
https://api.github.com/repos/pandas-dev/pandas/issues/41580
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41580/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41580/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41580/events
https://github.com/pandas-dev/pandas/pull/41580
896,433,568
MDExOlB1bGxSZXF1ZXN0NjQ4NTQyNDMw
41,580
Deprecate non-keyword arguments in mask
{ "avatar_url": "https://avatars.githubusercontent.com/u/31824249?v=4", "events_url": "https://api.github.com/users/ShreyDixit/events{/privacy}", "followers_url": "https://api.github.com/users/ShreyDixit/followers", "following_url": "https://api.github.com/users/ShreyDixit/following{/other_user}", "gists_url": "https://api.github.com/users/ShreyDixit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShreyDixit", "id": 31824249, "login": "ShreyDixit", "node_id": "MDQ6VXNlcjMxODI0MjQ5", "organizations_url": "https://api.github.com/users/ShreyDixit/orgs", "received_events_url": "https://api.github.com/users/ShreyDixit/received_events", "repos_url": "https://api.github.com/users/ShreyDixit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShreyDixit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShreyDixit/subscriptions", "type": "User", "url": "https://api.github.com/users/ShreyDixit" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-05-20T07:46:31Z"
"2021-05-27T15:36:06Z"
"2021-05-27T14:43:51Z"
CONTRIBUTOR
null
- [x] xref #41485 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41580/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41580/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41580.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41580", "merged_at": "2021-05-27T14:43:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41580.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41580" }
https://api.github.com/repos/pandas-dev/pandas/issues/41581
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41581/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41581/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41581/events
https://github.com/pandas-dev/pandas/issues/41581
896,671,957
MDU6SXNzdWU4OTY2NzE5NTc=
41,581
QST: Unable to install the pandas into the linux environment (Raspberry Pi 4)
{ "avatar_url": "https://avatars.githubusercontent.com/u/10228651?v=4", "events_url": "https://api.github.com/users/jaskiratsingh2000/events{/privacy}", "followers_url": "https://api.github.com/users/jaskiratsingh2000/followers", "following_url": "https://api.github.com/users/jaskiratsingh2000/following{/other_user}", "gists_url": "https://api.github.com/users/jaskiratsingh2000/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jaskiratsingh2000", "id": 10228651, "login": "jaskiratsingh2000", "node_id": "MDQ6VXNlcjEwMjI4NjUx", "organizations_url": "https://api.github.com/users/jaskiratsingh2000/orgs", "received_events_url": "https://api.github.com/users/jaskiratsingh2000/received_events", "repos_url": "https://api.github.com/users/jaskiratsingh2000/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jaskiratsingh2000/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaskiratsingh2000/subscriptions", "type": "User", "url": "https://api.github.com/users/jaskiratsingh2000" }
[ { "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": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" }, { "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
1
"2021-05-20T11:19:44Z"
"2021-08-20T05:46:58Z"
null
NONE
null
Hey, I am using the linux environment on the raspberry pi 4 device and trying to install the pandas. I had ran almost these following commands one by one but none of them worked for me. Command 1: `sudo apt-get install python-pandas` Command 2: `python -m pip install pandas --upgrade` Command-3: `sudo pip3 install pandas` It always throw the error and I am getting this following error https://gist.github.com/jaskiratsingh2000/a05789458a2cca2594cb947e414cd4d1 Please help me out in this. Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41581/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41581/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41582
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41582/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41582/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41582/events
https://github.com/pandas-dev/pandas/issues/41582
896,809,547
MDU6SXNzdWU4OTY4MDk1NDc=
41,582
BUG: The DataFrame object's element bool check can NOT work with empty list
{ "avatar_url": "https://avatars.githubusercontent.com/u/37767398?v=4", "events_url": "https://api.github.com/users/TigerZhao007/events{/privacy}", "followers_url": "https://api.github.com/users/TigerZhao007/followers", "following_url": "https://api.github.com/users/TigerZhao007/following{/other_user}", "gists_url": "https://api.github.com/users/TigerZhao007/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TigerZhao007", "id": 37767398, "login": "TigerZhao007", "node_id": "MDQ6VXNlcjM3NzY3Mzk4", "organizations_url": "https://api.github.com/users/TigerZhao007/orgs", "received_events_url": "https://api.github.com/users/TigerZhao007/received_events", "repos_url": "https://api.github.com/users/TigerZhao007/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TigerZhao007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TigerZhao007/subscriptions", "type": "User", "url": "https://api.github.com/users/TigerZhao007" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "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-05-20T13:07:48Z"
"2021-07-01T21:35:29Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python df = pd.DataFrame({'A': [1, [], 3],'B': [4, 5, '']}) df == '' # element bool check work well with empty str df == [] # want to find empty list # raise ValueError( # ValueError: Unable to coerce to Series, length must be 2: given 0 ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] It is a very common requirement to check whether the elements in the DataFrame are empty list. Pandas.DataFrame's "element bool check" works well with empty str '', as illustrated. But did not work with empyt list. Although user could use : df.astype(bool), this method could NOT tell whether 'False' is a empty list or a empty str. #### Expected Output df == [] # want to find empty list # Expected Output as follows: ‘’‘ A B 0 False False 1 True False 2 False False ’‘’ #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.2.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Chinese (Simplified)_China.936 pandas : 1.2.4 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 56.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 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/41582/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41582/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41583
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41583/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41583/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41583/events
https://github.com/pandas-dev/pandas/pull/41583
896,910,138
MDExOlB1bGxSZXF1ZXN0NjQ4OTY2NjAz
41,583
fix optional type annotations
{ "avatar_url": "https://avatars.githubusercontent.com/u/712805?v=4", "events_url": "https://api.github.com/users/ismaelJimenez/events{/privacy}", "followers_url": "https://api.github.com/users/ismaelJimenez/followers", "following_url": "https://api.github.com/users/ismaelJimenez/following{/other_user}", "gists_url": "https://api.github.com/users/ismaelJimenez/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ismaelJimenez", "id": 712805, "login": "ismaelJimenez", "node_id": "MDQ6VXNlcjcxMjgwNQ==", "organizations_url": "https://api.github.com/users/ismaelJimenez/orgs", "received_events_url": "https://api.github.com/users/ismaelJimenez/received_events", "repos_url": "https://api.github.com/users/ismaelJimenez/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ismaelJimenez/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ismaelJimenez/subscriptions", "type": "User", "url": "https://api.github.com/users/ismaelJimenez" }
[]
closed
false
null
[]
null
0
"2021-05-20T14:31:19Z"
"2021-05-21T09:29:16Z"
"2021-05-21T09:29:16Z"
NONE
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/41583/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41583/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41583.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41583", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41583.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41583" }
https://api.github.com/repos/pandas-dev/pandas/issues/41584
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41584/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41584/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41584/events
https://github.com/pandas-dev/pandas/issues/41584
896,951,703
MDU6SXNzdWU4OTY5NTE3MDM=
41,584
BUG: GroupBy.transform() unexpectedly coerces columns to object dtype when there is another object dtype column
{ "avatar_url": "https://avatars.githubusercontent.com/u/1315884?v=4", "events_url": "https://api.github.com/users/willsthompson/events{/privacy}", "followers_url": "https://api.github.com/users/willsthompson/followers", "following_url": "https://api.github.com/users/willsthompson/following{/other_user}", "gists_url": "https://api.github.com/users/willsthompson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/willsthompson", "id": 1315884, "login": "willsthompson", "node_id": "MDQ6VXNlcjEzMTU4ODQ=", "organizations_url": "https://api.github.com/users/willsthompson/orgs", "received_events_url": "https://api.github.com/users/willsthompson/received_events", "repos_url": "https://api.github.com/users/willsthompson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/willsthompson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willsthompson/subscriptions", "type": "User", "url": "https://api.github.com/users/willsthompson" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
2
"2021-05-20T15:04:22Z"
"2021-05-21T15:51:52Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python df = pd.DataFrame({ 'x': ['a', 'b', 'c', 'd'], 'y': [5, 6, 7, 8], 'g': [1, 2, 3, 3] }) def myfirst(c): return c.iloc[0] # I'd expect the y col dtype to remain int64 in all examples below, but it changes to object # when using myfirst() with transform() and there is at least one object column in the result. df.groupby('g').transform('first').dtypes # int64 dtype when using builtin df.groupby('g').transform(myfirst).dtypes # object dtype when using function df.groupby('g').agg(myfirst).dtypes # int64 dtype when using function with agg() df.drop(columns=['x']).groupby('g').transform(myfirst).dtypes # int64 dtype if object column is removed df.groupby('g').transform(lambda c: type(myfirst(c)))['y'] == np.int64 # Confirm myfirst() is returning int64 scalars ``` #### Problem description The current `transform()` behavior is inconsistent with the behavior of other reducers and with `agg()`. Those fall in like with my expectation to not change datatypes unless the output would otherwise prevent it (i.e. a reducer adds NaNs). However, here: ```python df.groupby('g').transform(myfirst).dtypes ``` the int64 y column is coerced into an object dtype: ``` x object y object dtype: object ``` The coercion also occurs when the y column is `float` or `bool`, but _not_ when it is `datetime64[ns]`. #### Expected Output ``` x object y int64 dtype: object ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.7.final.0 python-bits : 64 OS : Darwin OS-release : 20.4.0 Version : Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 20.3.4 setuptools : 49.2.1 Cython : 0.29.14 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 : 2.11.3 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 : 2.0.0 pyxlsb : None s3fs : None scipy : 1.6.1 sqlalchemy : 1.3.23 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/41584/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41584/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41585
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41585/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41585/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41585/events
https://github.com/pandas-dev/pandas/issues/41585
897,026,384
MDU6SXNzdWU4OTcwMjYzODQ=
41,585
BUG: concatenation on monthstart indexes in wrong timezone fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/16243660?v=4", "events_url": "https://api.github.com/users/gjeusel/events{/privacy}", "followers_url": "https://api.github.com/users/gjeusel/followers", "following_url": "https://api.github.com/users/gjeusel/following{/other_user}", "gists_url": "https://api.github.com/users/gjeusel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gjeusel", "id": 16243660, "login": "gjeusel", "node_id": "MDQ6VXNlcjE2MjQzNjYw", "organizations_url": "https://api.github.com/users/gjeusel/orgs", "received_events_url": "https://api.github.com/users/gjeusel/received_events", "repos_url": "https://api.github.com/users/gjeusel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gjeusel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gjeusel/subscriptions", "type": "User", "url": "https://api.github.com/users/gjeusel" }
[ { "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
open
false
null
[]
null
0
"2021-05-20T15:56:29Z"
"2021-08-20T05:48:31Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd kwargs = {"start": "2020-01-01", "tz": "CET", "freq": "1MS", "closed": "left"} index_one_year = pd.date_range(end="2021-01-01", **kwargs).tz_convert("UTC") df_one_year = pd.DataFrame(data={"full": [1] * len(index_one_year)}, index=index_one_year) index_one_month_more = pd.date_range(end="2021-02-01", **kwargs).tz_convert("UTC") df_one_month_more = pd.DataFrame( data={"one_month_more": [1] * len(index_one_month_more)}, index=index_one_month_more ) pd.concat([df_one_year, df_one_year], axis=1) # works pd.concat([df_one_year, df_one_month_more], axis=1) # raise: # ValueError: Inferred frequency M from passed values does not conform to passed frequency MS ``` #### Problem description <details> <summary><i>Visualize the two dataframes</i></summary> ```python full 2019-12-31 23:00:00+00:00 1 2020-01-31 23:00:00+00:00 1 2020-02-29 23:00:00+00:00 1 2020-03-31 22:00:00+00:00 1 2020-04-30 22:00:00+00:00 1 2020-05-31 22:00:00+00:00 1 2020-06-30 22:00:00+00:00 1 2020-07-31 22:00:00+00:00 1 2020-08-31 22:00:00+00:00 1 2020-09-30 22:00:00+00:00 1 2020-10-31 23:00:00+00:00 1 2020-11-30 23:00:00+00:00 1 ``` ```python one_month_more 2019-12-31 23:00:00+00:00 1 2020-01-31 23:00:00+00:00 1 2020-02-29 23:00:00+00:00 1 2020-03-31 22:00:00+00:00 1 2020-04-30 22:00:00+00:00 1 2020-05-31 22:00:00+00:00 1 2020-06-30 22:00:00+00:00 1 2020-07-31 22:00:00+00:00 1 2020-08-31 22:00:00+00:00 1 2020-09-30 22:00:00+00:00 1 2020-10-31 23:00:00+00:00 1 2020-11-30 23:00:00+00:00 1 2020-12-31 23:00:00+00:00 1 ``` </details> A workaround is to convert dataframes back to the timezone "CET" where the inferred_freq is the correct one. Still, I would have expected no issues on this concatenation, even when the timezone is UTC. #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.2.final.0 python-bits : 64 OS : Darwin OS-release : 20.4.0 Version : Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : 0.29.22 pytest : 6.1.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.21.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 : 3.0.0 pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.23 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/41585/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41585/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41586
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41586/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41586/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41586/events
https://github.com/pandas-dev/pandas/pull/41586
897,153,574
MDExOlB1bGxSZXF1ZXN0NjQ5MTg2MjY3
41,586
DEPR: Timestamp.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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
"2021-05-20T17:15:39Z"
"2021-07-01T16:21:20Z"
"2021-06-07T16:47:34Z"
MEMBER
null
- [x] closes #15146 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry This in turn will allow us to remove DatetimeArray.freq and TimedeltaArray.freq, which is needed for #31218
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41586/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41586/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41586.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41586", "merged_at": "2021-06-07T16:47:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41586.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41586" }
https://api.github.com/repos/pandas-dev/pandas/issues/41587
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41587/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41587/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41587/events
https://github.com/pandas-dev/pandas/issues/41587
897,292,706
MDU6SXNzdWU4OTcyOTI3MDY=
41,587
https://github.com/Jiezheng2018/pandas/blob/65bba0b599faac90ab063a1b93b8532cf2639893/pandas/tests/series/indexing/test_where.py#L143-L144
{ "avatar_url": "https://avatars.githubusercontent.com/u/84240863?v=4", "events_url": "https://api.github.com/users/Jiezheng2018/events{/privacy}", "followers_url": "https://api.github.com/users/Jiezheng2018/followers", "following_url": "https://api.github.com/users/Jiezheng2018/following{/other_user}", "gists_url": "https://api.github.com/users/Jiezheng2018/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Jiezheng2018", "id": 84240863, "login": "Jiezheng2018", "node_id": "MDQ6VXNlcjg0MjQwODYz", "organizations_url": "https://api.github.com/users/Jiezheng2018/orgs", "received_events_url": "https://api.github.com/users/Jiezheng2018/received_events", "repos_url": "https://api.github.com/users/Jiezheng2018/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Jiezheng2018/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jiezheng2018/subscriptions", "type": "User", "url": "https://api.github.com/users/Jiezheng2018" }
[]
closed
false
null
[]
null
1
"2021-05-20T18:57:14Z"
"2021-05-20T18:57:37Z"
"2021-05-20T18:57:25Z"
CONTRIBUTOR
null
https://github.com/Jiezheng2018/pandas/blob/65bba0b599faac90ab063a1b93b8532cf2639893/pandas/tests/series/indexing/test_where.py#L143-L144 [https://github.com/Jiezheng2018/pandas/blob/65bba0b599faac90ab063a1b93b8532cf2639893/pandas/tests/series/indexing/test_where.py#L143-L144](url) `https://github.com/Jiezheng2018/pandas/blob/65bba0b599faac90ab063a1b93b8532cf2639893/pandas/tests/series/indexing/test_where.py#L143-L144` Both are done now :) > https://github.com/Jiezheng2018/pandas/blob/65bba0b599faac90ab063a1b93b8532cf2639893/pandas/tests/series/indexing/test_where.py#L143-L144 _Originally posted by @Jiezheng2018 in https://github.com/pandas-dev/pandas/pull/41523#discussion_r636379142_
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41587/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41587/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41588
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41588/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41588/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41588/events
https://github.com/pandas-dev/pandas/issues/41588
897,304,251
MDU6SXNzdWU4OTczMDQyNTE=
41,588
TYP: IntervalIndex.right/left might be infered as function
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "color": "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" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": 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" }
7
"2021-05-20T19:05:39Z"
"2021-10-30T15:10:03Z"
"2021-10-30T15:10:03Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- ```py import pandas as pd index: pd.IntervalIndex = pd.IntervalIndex.from_arrays([1], [2]) reveal_type(index) reveal_type(index.right) index.right.array ``` pyright ``` info: Type of "index" is "IntervalIndex" info: Type of "index.right" is "() -> Index" error: Cannot access member "array" for type "function"   Member "array" is unknown (reportFunctionMemberAccess) ``` mypy ``` note: Revealed type is 'pandas.core.indexes.interval.IntervalIndex' note: Revealed type is 'Any' ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.4.final.0 python-bits : 64 OS : Linux OS-release : 4.13.0-36-generic Version : #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0 Cython : None pytest : 6.2.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.23.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.05.0 fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : None tables : 3.6.1 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/41588/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41588/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41589
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41589/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41589/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41589/events
https://github.com/pandas-dev/pandas/pull/41589
897,367,094
MDExOlB1bGxSZXF1ZXN0NjQ5MzgyMzQz
41,589
ENH: Deprecate non-keyword arguments for MultiIndex.set_levels
{ "avatar_url": "https://avatars.githubusercontent.com/u/46242526?v=4", "events_url": "https://api.github.com/users/01-vyom/events{/privacy}", "followers_url": "https://api.github.com/users/01-vyom/followers", "following_url": "https://api.github.com/users/01-vyom/following{/other_user}", "gists_url": "https://api.github.com/users/01-vyom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/01-vyom", "id": 46242526, "login": "01-vyom", "node_id": "MDQ6VXNlcjQ2MjQyNTI2", "organizations_url": "https://api.github.com/users/01-vyom/orgs", "received_events_url": "https://api.github.com/users/01-vyom/received_events", "repos_url": "https://api.github.com/users/01-vyom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/01-vyom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/01-vyom/subscriptions", "type": "User", "url": "https://api.github.com/users/01-vyom" }
[ { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-20T19:54:37Z"
"2021-05-29T09:14:16Z"
"2021-05-26T10:04:04Z"
CONTRIBUTOR
null
- [X] xref #41486 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41589/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41589/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41589.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41589", "merged_at": "2021-05-26T10:04:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41589.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41589" }
https://api.github.com/repos/pandas-dev/pandas/issues/41590
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41590/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41590/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41590/events
https://github.com/pandas-dev/pandas/pull/41590
897,371,134
MDExOlB1bGxSZXF1ZXN0NjQ5Mzg2MDQ4
41,590
[ArrowStringArray] PERF: use pyarrow.compute.replace_substring(_regex) if available
{ "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": "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
"2021-05-20T19:58:06Z"
"2021-05-30T13:50:00Z"
"2021-05-26T01:49:55Z"
MEMBER
null
``` [ 50.00%] ··· strings.Methods.time_replace ok [ 50.00%] ··· ============== ========== dtype -------------- ---------- str 20.6±0ms string 16.3±0ms arrow_string 1.83±0ms ============== ========== ``` happy to break up if easier to review.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41590/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41590/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41590.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41590", "merged_at": "2021-05-26T01:49:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41590.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41590" }
https://api.github.com/repos/pandas-dev/pandas/issues/41591
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41591/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41591/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41591/events
https://github.com/pandas-dev/pandas/issues/41591
897,388,136
MDU6SXNzdWU4OTczODgxMzY=
41,591
Inconsistency in to_datetime timezone aware transformation
{ "avatar_url": "https://avatars.githubusercontent.com/u/16907498?v=4", "events_url": "https://api.github.com/users/Grillard/events{/privacy}", "followers_url": "https://api.github.com/users/Grillard/followers", "following_url": "https://api.github.com/users/Grillard/following{/other_user}", "gists_url": "https://api.github.com/users/Grillard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Grillard", "id": 16907498, "login": "Grillard", "node_id": "MDQ6VXNlcjE2OTA3NDk4", "organizations_url": "https://api.github.com/users/Grillard/orgs", "received_events_url": "https://api.github.com/users/Grillard/received_events", "repos_url": "https://api.github.com/users/Grillard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Grillard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Grillard/subscriptions", "type": "User", "url": "https://api.github.com/users/Grillard" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
1
"2021-05-20T20:11:49Z"
"2021-05-20T20:25:23Z"
"2021-05-20T20:25:08Z"
NONE
null
Hello, I found this weird behaviour when transforming a timezone aware datetime object into a pandas datetime using to_datetime. If I set the timezone before transforming I get an incorrect result. Here is a small code snippet on how I get this: ``` import pandas as pd import datetime import pytz tz=pytz.timezone("US/Eastern") year=2021 month=1 day=1 hour=0 minute=0 #Add timezone after to_datetime t1=datetime.datetime(year=year,month=month,day=day,hour=hour,minute=minute) t1=pd.to_datetime(t1).tz_localize(tz) #Add timezone before to_datetime t2=datetime.datetime(year=year,month=month,day=day,hour=hour,minute=minute,tzinfo=tz) t2=pd.to_datetime(t2) print(t1) print(t2) ``` which gives me: ``` t1 = 2021-01-01 00:00:00-05:00 t2 = 2020-12-31 23:56:00-05:00 ``` t1 is the intended output, but t2 gives an strange 4 minutes different. I tried this with different random timezones and dates, and in most of the cases t1!=t2. I did not found a consistent difference for different timezones and dates. I am not sure if this is a bug, or if I am missing something obvious. I tried to find if this was a known issue, but could not find anything, hence decided to share this here. I am using python 3.8.6, pandas 1.1.2 and pytz 2020.1 Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41591/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41591/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41592
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41592/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41592/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41592/events
https://github.com/pandas-dev/pandas/pull/41592
897,416,842
MDExOlB1bGxSZXF1ZXN0NjQ5NDI4MTY0
41,592
REF: simplify sanitize_array
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-20T20:31:53Z"
"2021-05-21T15:42:08Z"
"2021-05-21T15:26:59Z"
MEMBER
null
We end up calling _try_cast in 3 places instead of 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/41592/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41592/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41592.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41592", "merged_at": "2021-05-21T15:26:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41592.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41592" }
https://api.github.com/repos/pandas-dev/pandas/issues/41593
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41593/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41593/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41593/events
https://github.com/pandas-dev/pandas/pull/41593
897,453,072
MDExOlB1bGxSZXF1ZXN0NjQ5NDYxODI3
41,593
TYP: mypy fixups- something upgraded?
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-20T20:58:35Z"
"2021-05-20T23:54:55Z"
"2021-05-20T23:48:55Z"
MEMBER
null
I've been seeing these locally for a couple weeks, not sure why they just started showing up 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/41593/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41593/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41593.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41593", "merged_at": "2021-05-20T23:48:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41593.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41593" }
https://api.github.com/repos/pandas-dev/pandas/issues/41594
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41594/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41594/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41594/events
https://github.com/pandas-dev/pandas/pull/41594
897,478,330
MDExOlB1bGxSZXF1ZXN0NjQ5NDg0MTk0
41,594
TYP and DOC: pd.merge accepts Series
{ "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": "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-20T21:28:47Z"
"2021-05-24T11:47:32Z"
"2021-05-24T09:07:27Z"
CONTRIBUTOR
null
I noticed that the docs for `pd.merge()` and `pd.merge_asof()` were requiring the first argument to be a `DataFrame`, but in fact, they can be a `Series`. This PR updates the docs and the types to fix that issue. Didn't think a `whatsnew` entry was needed, and I skipped creating an issue, but will do so if required.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41594/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41594/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41594.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41594", "merged_at": "2021-05-24T09:07:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41594.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41594" }
https://api.github.com/repos/pandas-dev/pandas/issues/41595
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41595/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41595/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41595/events
https://github.com/pandas-dev/pandas/pull/41595
897,519,923
MDExOlB1bGxSZXF1ZXN0NjQ5NTIwNTA4
41,595
CI: Xfails on 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": "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": "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
"2021-05-20T22:34:51Z"
"2021-06-29T13:55:27Z"
"2021-06-29T12:26:09Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry ~~The Python 3.10 CI is actually red, but the continue-on-error flag makes it so that the job is not failed. WIP because tests actually have to be fixed.~~ Added Xfails for some tests. Pretty much green except for #41935
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41595/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41595/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41595.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41595", "merged_at": "2021-06-29T12:26:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41595.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41595" }
https://api.github.com/repos/pandas-dev/pandas/issues/41596
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41596/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41596/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41596/events
https://github.com/pandas-dev/pandas/issues/41596
897,529,067
MDU6SXNzdWU4OTc1MjkwNjc=
41,596
PERF: groupby performance regression in 1.2.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/4156237?v=4", "events_url": "https://api.github.com/users/tritemio/events{/privacy}", "followers_url": "https://api.github.com/users/tritemio/followers", "following_url": "https://api.github.com/users/tritemio/following{/other_user}", "gists_url": "https://api.github.com/users/tritemio/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tritemio", "id": 4156237, "login": "tritemio", "node_id": "MDQ6VXNlcjQxNTYyMzc=", "organizations_url": "https://api.github.com/users/tritemio/orgs", "received_events_url": "https://api.github.com/users/tritemio/received_events", "repos_url": "https://api.github.com/users/tritemio/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tritemio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tritemio/subscriptions", "type": "User", "url": "https://api.github.com/users/tritemio" }
[ { "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "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" }
6
"2021-05-20T22:52:58Z"
"2021-09-23T16:22:27Z"
"2021-09-23T16:22:27Z"
NONE
null
- [ x] I have checked that this issue has not already been reported. - [x ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd pd.__version__ cols = list('abcdefghjkl') df = pd.DataFrame(np.random.randint(0, 100, size=(1_000_000, len(cols))), columns=cols) df_str = df.astype(str) df_string = df.astype('string') %timeit df_str.groupby('a')[cols[1:]].agg('last') %timeit df_string.groupby('a')[cols[1:]].agg('last') ``` #### Problem description Pandas 1.2.x is much slower (9x slower) than 1.1.5 in the groupby aggregation above when the columns are of `string` dtype. When the columns are of `object` dtype performance are comparable across the two pandas version. #### Expected Output In pandas 1.1.5 this groupby-aggregation is a bit faster with `string` dtype than with `object` dtype: ```python %timeit df_str.groupby('a')[cols[1:]].agg('last') 680 ms ± 3.86 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) %timeit df_string.groupby('a')[cols[1:]].agg('last') 544 ms ± 3.88 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) ``` Conversely, in pandas 1.2.4 the same groupby-aggregation is **7x slower** with `string` dtype than with `object` dtype: ```python %timeit df_str.groupby('a')[cols[1:]].agg('last') 700 ms ± 7.54 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) %timeit df_string.groupby('a')[cols[1:]].agg('last') 4.93 s ± 104 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) ``` I would expect comparable performance between pandas 1.1.5 and 1.2.4, instead we have a large performance regression in 1.2.4 when performing the groupby aggregation with string dtypes. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-17-generic Version : #18-Ubuntu SMP Thu May 6 20:10:11 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.1.5 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 49.6.0.post20210108 Cython : 0.29.23 pytest : 6.2.4 hypothesis : None sphinx : 4.0.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.23.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.0 pytables : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : 1.3.23 tables : None tabulate : 0.8.9 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/41596/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41596/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41597
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41597/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41597/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41597/events
https://github.com/pandas-dev/pandas/pull/41597
897,530,393
MDExOlB1bGxSZXF1ZXN0NjQ5NTI5NTYw
41,597
REF: _try_cast; go through fastpath more often
{ "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": "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": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" }, { "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
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-20T22:55:46Z"
"2021-05-22T01:39:22Z"
"2021-05-22T01:24:08Z"
MEMBER
null
- [x] closes #28145 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41597/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41597/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41597.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41597", "merged_at": "2021-05-22T01:24:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41597.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41597" }
https://api.github.com/repos/pandas-dev/pandas/issues/41598
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41598/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41598/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41598/events
https://github.com/pandas-dev/pandas/issues/41598
897,620,386
MDU6SXNzdWU4OTc2MjAzODY=
41,598
PERF: Calling slowpath for every group in transform
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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" }
1
"2021-05-21T02:30:44Z"
"2021-07-08T16:08:08Z"
"2021-07-08T16:08:08Z"
MEMBER
null
Code in `groupby.generic.DataFrameGroupBy._transform_general`: https://github.com/pandas-dev/pandas/blob/b3e335254f46a526ee3ce9bb757eac4011d9d1fe/pandas/core/groupby/generic.py#L1299-L1309 This is calling `_choose_path` for every group, which in turn calls both the slow_path and the fast_path to determine if the fast path can be used. Indeed, running the code (from #41584): ``` df = pd.DataFrame({ 'x': ['a', 'b', 'c', 'd'], 'y': [5, 6, 7, 8], 'g': [1, 2, 3, 3] }) def myfirst(c): return c.iloc[0] print(df.groupby('g').transform(myfirst)) ``` shows `myfirst` gets called 9 times - 3 times with columns x, 3 times with column y, and three times with the DataFrame consisting of x and y. Should we just be calling choose_path on the first group to determine which can be used? cc @phofl @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41598/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41598/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41599
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41599/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41599/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41599/events
https://github.com/pandas-dev/pandas/pull/41599
897,682,462
MDExOlB1bGxSZXF1ZXN0NjQ5NjU3NTQ5
41,599
BUG: DataFrame(ndarray[dt64], dtype=object)
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-21T05:10:26Z"
"2021-05-21T21:21:42Z"
"2021-05-21T21:17:15Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41599/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41599/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41599.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41599", "merged_at": "2021-05-21T21:17:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41599.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41599" }
https://api.github.com/repos/pandas-dev/pandas/issues/41600
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41600/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41600/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41600/events
https://github.com/pandas-dev/pandas/pull/41600
897,857,086
MDExOlB1bGxSZXF1ZXN0NjQ5ODA1OTc5
41,600
[ArrowStringArray] TST/CLN: cleanup str.replace tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-21T09:19:12Z"
"2021-05-21T15:43:00Z"
"2021-05-21T15:31:34Z"
MEMBER
null
pre-cursor to #41590
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41600/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41600/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41600.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41600", "merged_at": "2021-05-21T15:31:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41600.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41600" }
https://api.github.com/repos/pandas-dev/pandas/issues/41601
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41601/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41601/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41601/events
https://github.com/pandas-dev/pandas/pull/41601
897,889,858
MDExOlB1bGxSZXF1ZXN0NjQ5ODMzMTU0
41,601
[ArrowStringArray] TYP: use future annotations more
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-21T09:59:46Z"
"2021-05-21T12:30:22Z"
"2021-05-21T12:29:59Z"
MEMBER
null
pre-cursor to #41590
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41601/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41601/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41601.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41601", "merged_at": "2021-05-21T12:29:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41601.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41601" }
https://api.github.com/repos/pandas-dev/pandas/issues/41602
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41602/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41602/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41602/events
https://github.com/pandas-dev/pandas/issues/41602
897,981,273
MDU6SXNzdWU4OTc5ODEyNzM=
41,602
BUG: case argument ignored when regex is False in Series.str.replace
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-21T12:05:44Z"
"2021-05-25T13:35:30Z"
"2021-05-25T13:35:30Z"
MEMBER
null
- [ ] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python >>> ser = pd.Series(["A.", "a.", "Ab", "ab", np.nan], dtype="object") >>> ser 0 A. 1 a. 2 Ab 3 ab 4 NaN dtype: object >>> >>> ser.str.replace("a", "c", case=False, regex=False) 0 A. 1 c. 2 Ab 3 cb 4 NaN dtype: object >>> ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output ``` >>> ser.str.replace("a", "c", case=False, regex=False) 0 c. 1 c. 2 cb 3 cb 4 NaN dtype: object >>> ``` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41602/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41602/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41603
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41603/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41603/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41603/events
https://github.com/pandas-dev/pandas/pull/41603
898,031,544
MDExOlB1bGxSZXF1ZXN0NjQ5OTU0MDM0
41,603
[ArrowStringArray] TYP: add annotations to str.replace
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-21T13:12:32Z"
"2021-05-21T15:19:32Z"
"2021-05-21T15:11:15Z"
MEMBER
null
pre-cursor to #41590
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41603/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41603/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41603.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41603", "merged_at": "2021-05-21T15:11:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41603.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41603" }
https://api.github.com/repos/pandas-dev/pandas/issues/41604
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41604/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41604/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41604/events
https://github.com/pandas-dev/pandas/issues/41604
898,107,773
MDU6SXNzdWU4OTgxMDc3NzM=
41,604
QST: | (or) behavior when working with two series that have different indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/32073581?v=4", "events_url": "https://api.github.com/users/ThomasDelorme/events{/privacy}", "followers_url": "https://api.github.com/users/ThomasDelorme/followers", "following_url": "https://api.github.com/users/ThomasDelorme/following{/other_user}", "gists_url": "https://api.github.com/users/ThomasDelorme/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ThomasDelorme", "id": 32073581, "login": "ThomasDelorme", "node_id": "MDQ6VXNlcjMyMDczNTgx", "organizations_url": "https://api.github.com/users/ThomasDelorme/orgs", "received_events_url": "https://api.github.com/users/ThomasDelorme/received_events", "repos_url": "https://api.github.com/users/ThomasDelorme/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ThomasDelorme/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThomasDelorme/subscriptions", "type": "User", "url": "https://api.github.com/users/ThomasDelorme" }
[ { "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
"2021-05-21T14:37:00Z"
"2021-05-21T16:32:57Z"
null
NONE
null
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas When using the | operation between two dataframes, the order of the operation can give different results if you have nan, or different index. ```python df_1 = pd.DataFrame([None], index=[1]) df_2 = pd.DataFrame([True], index=[1]) print(df_1 | df_2) print(df_2 | df_1) ``` will give you different results: ```python 0 1 False 0 1 True ``` The same things with different index: ```python df_1 = pd.DataFrame([True], index=[1]) df_2 = pd.DataFrame([True], index=[2]) print(df_1 | df_2) print(df_2 | df_1) ``` will return ```python 0 1 True 2 False 0 1 False 2 True ``` Is this a normal behavior or a bug? If it is a normal behavior, what is the logic behind it? Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41604/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41604/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41605
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41605/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41605/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41605/events
https://github.com/pandas-dev/pandas/issues/41605
898,185,485
MDU6SXNzdWU4OTgxODU0ODU=
41,605
QST: Was it intended to not sort the columns anymore when creating DataFrame from the list of dictionaries?
{ "avatar_url": "https://avatars.githubusercontent.com/u/11983624?v=4", "events_url": "https://api.github.com/users/NeuroBobster/events{/privacy}", "followers_url": "https://api.github.com/users/NeuroBobster/followers", "following_url": "https://api.github.com/users/NeuroBobster/following{/other_user}", "gists_url": "https://api.github.com/users/NeuroBobster/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NeuroBobster", "id": 11983624, "login": "NeuroBobster", "node_id": "MDQ6VXNlcjExOTgzNjI0", "organizations_url": "https://api.github.com/users/NeuroBobster/orgs", "received_events_url": "https://api.github.com/users/NeuroBobster/received_events", "repos_url": "https://api.github.com/users/NeuroBobster/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NeuroBobster/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NeuroBobster/subscriptions", "type": "User", "url": "https://api.github.com/users/NeuroBobster" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
"2021-05-21T15:55:49Z"
"2021-05-21T18:44:13Z"
"2021-05-21T18:44:13Z"
NONE
null
When migrating from pandas 0.24 to 1.1.5 I stumbled across this: ```python import pandas as pd d1 = {'b':1,'a':2,'c':3} d2 = {'a':1,'c':2,'b':3} print(pd.DataFrame([d1, d2])) # output from pandas 0.24.2: # a b c # 0 2 1 3 # 1 1 3 2 # output from pandas 1.1.5 # b a c # 0 1 2 3 # 1 3 1 2 ``` Both ran on python 3.7. Seems like old version used to always sort columns, while the new one doesn't and uses the order of the first item in the list. I didn't find any related information in docs or SO, so my question is: was this behaviour intended? Does this have anything to do with dictionaries preserving order (since python 3.6 I think)?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41605/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41605/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41606
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41606/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41606/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41606/events
https://github.com/pandas-dev/pandas/pull/41606
898,191,027
MDExOlB1bGxSZXF1ZXN0NjUwMDkyNTcy
41,606
BUG: case argument ignored when regex is False in Series.str.replace
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-21T16:01:19Z"
"2021-05-25T14:36:47Z"
"2021-05-25T13:35:30Z"
MEMBER
null
- [ ] closes #41602 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41606/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41606/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41606.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41606", "merged_at": "2021-05-25T13:35:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41606.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41606" }
https://api.github.com/repos/pandas-dev/pandas/issues/41607
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41607/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41607/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41607/events
https://github.com/pandas-dev/pandas/pull/41607
898,261,235
MDExOlB1bGxSZXF1ZXN0NjUwMTU1MTM0
41,607
TST: Old issues
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-21T17:15:18Z"
"2021-05-24T19:30:17Z"
"2021-05-24T18:55:31Z"
MEMBER
null
- [x] closes #15452 - [x] closes #15613 - [x] closes #15829 - [x] closes #15891 - [x] closes #15898 - [x] closes #16018 - [x] closes #16174 - [x] closes #16309 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41607/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41607/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41607.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41607", "merged_at": "2021-05-24T18:55:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41607.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41607" }
https://api.github.com/repos/pandas-dev/pandas/issues/41608
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41608/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41608/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41608/events
https://github.com/pandas-dev/pandas/pull/41608
898,414,999
MDExOlB1bGxSZXF1ZXN0NjUwMjg4NTcw
41,608
TYP deprecate_nonkeyword_arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-21T19:58:53Z"
"2021-05-22T08:51:42Z"
"2021-05-22T00:24:57Z"
MEMBER
null
If we have ```python import pandas as pd reveal_type(pd.Series(range(3)).interpolate('linear')) ``` then on master we get: ```console $ mypy t.py t.py:3: note: Revealed type is 'Any' ``` while here ```console $ mypy t.py t.py:3: note: Revealed type is 'Union[pandas.core.series.Series, 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/41608/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41608/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41608.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41608", "merged_at": "2021-05-22T00:24:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41608.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41608" }
https://api.github.com/repos/pandas-dev/pandas/issues/41609
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41609/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41609/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41609/events
https://github.com/pandas-dev/pandas/pull/41609
898,467,222
MDExOlB1bGxSZXF1ZXN0NjUwMzM3Mzg4
41,609
BUG: pydatetime case followup to #41555
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-21T20:36:30Z"
"2021-05-22T01:25:58Z"
"2021-05-22T01:23:37Z"
MEMBER
null
#41555 was merged before i got a chance to push these suggested edits
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41609/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41609/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41609.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41609", "merged_at": "2021-05-22T01:23:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41609.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41609" }
https://api.github.com/repos/pandas-dev/pandas/issues/41610
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41610/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41610/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41610/events
https://github.com/pandas-dev/pandas/issues/41610
898,698,940
MDU6SXNzdWU4OTg2OTg5NDA=
41,610
TYP/DOC: Use Protocols for file-like objects in read/to_*
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": 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-05-22T02:29:18Z"
"2021-11-17T02:11:51Z"
"2021-11-17T02:11:38Z"
CONTRIBUTOR
null
#### Is your feature request related to a problem? It is often not clear which methods a "file-like object" needs to implement to be compatible with `read/to_*`. #### Describe the solution you'd like Define multiple `typing.Protocol`s to make clear which methods need to be implemented, similar to python/typeshed/issues/4212. This will probably be a bit messy: 1) many protocols and 2) most libraries expect `typing.IO` (which will lead to a few ignore/cast statements but also might make it difficult to determine the set of compatible protocols). edit: If feasible, I would like that `pandas.io.common.get_handle` has roughly the following interface: ```py IOProtocols = TypeVar("IOProtocols", "insert long(?) list of generic protocols (str/bytes)") @overload def get_handle(path_or_buf: os.PathLike, ...) -> IOHandles[IO[str]]: ... @overload def get_handle(path_or_buf: IOProtocols[AnyStr], ...) -> IOHandles[IOProtocols[str]]: ... @overload def get_handle(path_or_buf: os.PathLike, ..., *, is_text: Literal[False]) -> IOHandles[IO[bytes]]: ... @overload def get_handle(path_or_buf: IOProtocols[bytes], ..., *, is_text: Literal[False]) -> IOHandles[IOProtocols[bytes]]: ... def get_handle(path_or_buf: IOProtocols | os.PathLike, ..., is_text: bool = True) -> IOHandles: # implementation ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41610/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41610/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41611
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41611/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41611/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41611/events
https://github.com/pandas-dev/pandas/pull/41611
898,713,963
MDExOlB1bGxSZXF1ZXN0NjUwNTYwMDgz
41,611
REF: re-use sanitize_array in DataFrame._sanitize_columns
{ "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": "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
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-22T04:07:38Z"
"2021-05-26T04:24:30Z"
"2021-05-26T01:49:26Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry A big partial-indexing test is split and has a non-trivial diff, but the only _actual_ change is this line https://github.com/pandas-dev/pandas/compare/master...jbrockmendel:ref-sanitize_column?expand=1#diff-1723bf927d192314f9d8c4faa220e26b1c3b39c2fe3bb65d8c43966ec7e596e8R430 declaring that empty range is int-dtype-like instead of float-dtype-like, which i think we should call a bug.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41611/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41611/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41611.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41611", "merged_at": "2021-05-26T01:49:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41611.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41611" }
https://api.github.com/repos/pandas-dev/pandas/issues/41612
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41612/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41612/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41612/events
https://github.com/pandas-dev/pandas/pull/41612
898,725,514
MDExOlB1bGxSZXF1ZXN0NjUwNTY5MzMz
41,612
REGR: CategoricalIndex(None)
{ "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-22T05:29:06Z"
"2021-05-25T14:19:12Z"
"2021-05-25T08:14:34Z"
MEMBER
null
- [x] closes #38944 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41612/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41612/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41612.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41612", "merged_at": "2021-05-25T08:14:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41612.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41612" }
https://api.github.com/repos/pandas-dev/pandas/issues/41613
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41613/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41613/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41613/events
https://github.com/pandas-dev/pandas/issues/41613
898,728,089
MDU6SXNzdWU4OTg3MjgwODk=
41,613
DOC: add to_latex to io.rst and other cross-referencing areas
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
null
1
"2021-05-22T05:48:48Z"
"2021-06-14T06:07:46Z"
"2021-06-14T06:07:46Z"
CONTRIBUTOR
null
The proposed `Styler.to_latex` is marginalised in the docs. Needs greater visibility through cross referencing with `io.rst`. Possibly also adding to the `Styler` class description.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41613/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41613/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41614
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41614/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41614/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41614/events
https://github.com/pandas-dev/pandas/issues/41614
898,733,357
MDU6SXNzdWU4OTg3MzMzNTc=
41,614
DOC: use shared docstrings for repeated args in Styler methods
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "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" } ]
open
false
null
[]
null
0
"2021-05-22T06:27:24Z"
"2021-11-18T21:09:41Z"
null
CONTRIBUTOR
null
Many args repeat keyword args like `subset`, should be a consistent re useable shared docstring for these - [ ] `subset` and `props` #44454
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41614/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41614/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41615
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41615/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41615/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41615/events
https://github.com/pandas-dev/pandas/pull/41615
898,781,862
MDExOlB1bGxSZXF1ZXN0NjUwNjEyMjA0
41,615
CLN: various related to numeric indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-22T11:22:03Z"
"2021-06-03T23:31:22Z"
"2021-06-03T23:24:05Z"
CONTRIBUTOR
null
A few bits to make #41153 smaller. Also fixes an issue with the current implementation of NumericIndex._engine_type: The implementation currently uses `self.dtype.type`, which is a problem when we are given platform-specific dtypes, e.g. `np.intc`. For example: ```python >>> d1 = np.dtype(np.intc) >>> d1 dtype('int32') >>> d2 = np.dtype(np.int32) >>> d1 == d2 True >>> d1.type == d2.type False # a problem ``` So the _engine_type dict should use np.dtype(np.int64) etc., so avoid such problems.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41615/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41615/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41615.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41615", "merged_at": "2021-06-03T23:24:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41615.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41615" }
https://api.github.com/repos/pandas-dev/pandas/issues/41616
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41616/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41616/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41616/events
https://github.com/pandas-dev/pandas/issues/41616
898,821,864
MDU6SXNzdWU4OTg4MjE4NjQ=
41,616
BUG: very very slow when append long dictionary into HDF5 file
{ "avatar_url": "https://avatars.githubusercontent.com/u/26067653?v=4", "events_url": "https://api.github.com/users/xkungfu/events{/privacy}", "followers_url": "https://api.github.com/users/xkungfu/followers", "following_url": "https://api.github.com/users/xkungfu/following{/other_user}", "gists_url": "https://api.github.com/users/xkungfu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xkungfu", "id": 26067653, "login": "xkungfu", "node_id": "MDQ6VXNlcjI2MDY3NjUz", "organizations_url": "https://api.github.com/users/xkungfu/orgs", "received_events_url": "https://api.github.com/users/xkungfu/received_events", "repos_url": "https://api.github.com/users/xkungfu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xkungfu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xkungfu/subscriptions", "type": "User", "url": "https://api.github.com/users/xkungfu" }
[ { "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
open
false
null
[]
null
1
"2021-05-22T15:08:31Z"
"2021-08-21T01:29:52Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here import numpy as np import pandas as pd from pandas import HDFStore,DataFrame# create (or open) an hdf5 file and opens in append mode currenttimedata = { "time": "20210101080808", "desc": "Ford", "status": "success", "detail0": "somevalue", "detail1": "somevalue", "detail2": "somevalue", "detail3": "somevalue", "detail4": "somevalue", "detail5": "somevalue", "detail6": "somevalue", "detail7": "somevalue", "detail8": "somevalue", "detail9": "somevalue", "detail10": "somevalue", "detail11": "somevalue", "detail12": "somevalue", "detail13": "somevalue", "detail14": "somevalue", "detail15": "somevalue", "detail16": "somevalue", "detail17": "somevalue", "detail18": "somevalue", "detail19": "somevalue", "detail20": "somevalue", "detail21": "somevalue", "detail22": "somevalue", "detail23": "somevalue", "detail24": "somevalue", "detail25": "somevalue", "detail26": "somevalue", "detail27": "somevalue", "detail28": "somevalue", "detail29": "somevalue", "detail30": "somevalue", "detail31": "somevalue", "detail32": "somevalue", "detail33": "somevalue", "detail34": "somevalue", "detail35": "somevalue", "detail36": "somevalue", "detail37": "somevalue", "detail38": "somevalue", "detail39": "somevalue", "detail40": "somevalue", "detail41": "somevalue", "detail42": "somevalue", "detail43": "somevalue", "detail44": "somevalue", "detail45": "somevalue", "detail46": "somevalue", "detail47": "somevalue", "detail48": "somevalue", "detail49": "somevalue", "detail50": "somevalue", } hdf =HDFStore('storage.h5') data = {} for key, value in currenttimedata.items(): data[key] = [value] print("data: ", data) df =DataFrame(data, columns=list(currenttimedata.keys())) print("df: ", df) hdf.put('d1', df, format='table', data_columns=True) print("hdf[d1] 1: ", hdf['d1']) for x in range(100): print("x: ", x) hdf.append('d1', df, format='table', data_columns=True) print("hdf[d1] 2: ", hdf['d1']) hdf.close()# closes the file ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] **append very very slow!** #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-42-generic Version : #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 3.0.0 IPython : None pandas_datareader: 0.9.0 bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : None tables : 3.6.1 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/41616/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41616/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41617
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41617/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41617/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41617/events
https://github.com/pandas-dev/pandas/issues/41617
898,825,817
MDU6SXNzdWU4OTg4MjU4MTc=
41,617
BUG: Date offset on numpy datetime64 does not work for week and month offsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
open
false
null
[]
null
2
"2021-05-22T15:29:18Z"
"2021-08-21T01:25:52Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import numpy as np import pandas as pd # test data: a numpy Datetime64 ts_np = np.Datetime64('2021-01-01T08:00:00.00') # 1 hour offset: works as expected (1 day offset also works as expected) do=pd.tseries.frequencies.to_offset('1h') ts_np + do ``` Result ```bash Timestamp('2021-01-01 09:00:00') ``` ```python # 1 week offset returns an error do=pd.tseries.frequencies.to_offset('1W') ts_np + do ``` Result ```bash ts_np+do Traceback (most recent call last): File "<ipython-input-11-e20c02eb9ea8>", line 1, in <module> ts_np+do UFuncTypeError: ufunc 'add' cannot use operands with types dtype('<M8[ms]') and dtype('O') ``` ```python # 1 month begin offset returns an error do=pd.tseries.frequencies.to_offset('1MS') ``` Result ```bash ts_np+do Traceback (most recent call last): File "<ipython-input-13-e20c02eb9ea8>", line 1, in <module> ts_np+do UFuncTypeError: ufunc 'add' cannot use operands with types dtype('<M8[ms]') and dtype('O') ``` #### Problem description Applying week or month offset on numpy `Datetime64` does not work. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-53-generic Version : #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : fr_FR.UTF-8 LOCALE : fr_FR.UTF-8 pandas : 1.2.4 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 52.0.0.post20210125 Cython : 0.29.23 pytest : 6.2.3 hypothesis : None sphinx : 4.0.1 blosc : None feather : None xlsxwriter : 1.3.8 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 3.0.0 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.9.0 fastparquet : 0.6.0 gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 2.0.0 pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.15 tables : 3.6.1 tabulate : None xarray : None xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.51.2 </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41617/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41617/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41618
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41618/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41618/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41618/events
https://github.com/pandas-dev/pandas/pull/41618
898,827,221
MDExOlB1bGxSZXF1ZXN0NjUwNjQ1ODA0
41,618
REF: _try_cast
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-22T15:37:02Z"
"2021-05-25T14:03:09Z"
"2021-05-25T13:26:41Z"
MEMBER
null
collect all the `dtype is None` cases together
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41618/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41618/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41618.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41618", "merged_at": "2021-05-25T13:26:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41618.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41618" }
https://api.github.com/repos/pandas-dev/pandas/issues/41619
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41619/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41619/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41619/events
https://github.com/pandas-dev/pandas/pull/41619
898,848,579
MDExOlB1bGxSZXF1ZXN0NjUwNjYxNzE2
41,619
REF: type change `escape` in `Styler.format` to str to allow "html" and "latex"
{ "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": "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-22T17:36:03Z"
"2021-05-27T21:23:16Z"
"2021-05-27T15:09:07Z"
CONTRIBUTOR
null
Change is made ahead of 1.3.0 to pre-empt the addition of `escape_latex` and to avoid name ambiguity. This is not user facing since the `escape` kwarg was added for 1.3.0 only recently. **Alternative** If instead of having separate `escape_html` and `escape_latex` kwargs we could have `escape={None, 'html', 'latex'}` since it is likely they will be used exclusively??
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41619/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41619/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41619.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41619", "merged_at": "2021-05-27T15:09:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41619.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41619" }