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/43021
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43021/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43021/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43021/events
https://github.com/pandas-dev/pandas/pull/43021
970,572,158
MDExOlB1bGxSZXF1ZXN0NzEyNTA2Mjc3
43,021
PERF: internals.concat
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-13T16:58:23Z"
"2021-08-13T21:48:48Z"
"2021-08-13T21:16:50Z"
MEMBER
null
Nothing big, just a few things found while trying to figure out the slightly-different ArrayManager behavior.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43021/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43021/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43021.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43021", "merged_at": "2021-08-13T21:16:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43021.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43021" }
https://api.github.com/repos/pandas-dev/pandas/issues/43022
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43022/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43022/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43022/events
https://github.com/pandas-dev/pandas/issues/43022
970,576,490
MDU6SXNzdWU5NzA1NzY0OTA=
43,022
BUG: `pd.testing.assert_frame_equal` fails if nested `DataFrame` contains `np.nan`
{ "avatar_url": "https://avatars.githubusercontent.com/u/35905338?v=4", "events_url": "https://api.github.com/users/ChiQiao/events{/privacy}", "followers_url": "https://api.github.com/users/ChiQiao/followers", "following_url": "https://api.github.com/users/ChiQiao/following{/other_user}", "gists_url": "https://api.github.com/users/ChiQiao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ChiQiao", "id": 35905338, "login": "ChiQiao", "node_id": "MDQ6VXNlcjM1OTA1MzM4", "organizations_url": "https://api.github.com/users/ChiQiao/orgs", "received_events_url": "https://api.github.com/users/ChiQiao/received_events", "repos_url": "https://api.github.com/users/ChiQiao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ChiQiao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ChiQiao/subscriptions", "type": "User", "url": "https://api.github.com/users/ChiQiao" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "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": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" }, { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/7360838?v=4", "events_url": "https://api.github.com/users/pratyushsharan/events{/privacy}", "followers_url": "https://api.github.com/users/pratyushsharan/followers", "following_url": "https://api.github.com/users/pratyushsharan/following{/other_user}", "gists_url": "https://api.github.com/users/pratyushsharan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pratyushsharan", "id": 7360838, "login": "pratyushsharan", "node_id": "MDQ6VXNlcjczNjA4Mzg=", "organizations_url": "https://api.github.com/users/pratyushsharan/orgs", "received_events_url": "https://api.github.com/users/pratyushsharan/received_events", "repos_url": "https://api.github.com/users/pratyushsharan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pratyushsharan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pratyushsharan/subscriptions", "type": "User", "url": "https://api.github.com/users/pratyushsharan" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/7360838?v=4", "events_url": "https://api.github.com/users/pratyushsharan/events{/privacy}", "followers_url": "https://api.github.com/users/pratyushsharan/followers", "following_url": "https://api.github.com/users/pratyushsharan/following{/other_user}", "gists_url": "https://api.github.com/users/pratyushsharan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pratyushsharan", "id": 7360838, "login": "pratyushsharan", "node_id": "MDQ6VXNlcjczNjA4Mzg=", "organizations_url": "https://api.github.com/users/pratyushsharan/orgs", "received_events_url": "https://api.github.com/users/pratyushsharan/received_events", "repos_url": "https://api.github.com/users/pratyushsharan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pratyushsharan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pratyushsharan/subscriptions", "type": "User", "url": "https://api.github.com/users/pratyushsharan" } ]
null
5
"2021-08-13T17:05:12Z"
"2021-08-22T18:56:54Z"
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 inner = pd.DataFrame({"a": [1, np.nan]}) foo = pd.DataFrame({"df": [inner]}) bar = pd.DataFrame({"df": [inner]}) pd.testing.assert_frame_equal(foo, bar) ``` #### Problem description Get `KeyError: 0` The error goes away if `inner` does not contain missing values. #### Expected Output `None` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : c7f7443c1bad8262358114d5e88cd9c8a308e8aa python : 3.7.11.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : None.None pandas : 1.3.1 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.2 setuptools : 52.0.0.post20210125 Cython : 0.29.24 pytest : 6.1.2 hypothesis : 6.14.1 sphinx : 4.0.2 blosc : None feather : None xlsxwriter : 1.4.4 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : 1.0.2 psycopg2 : None jinja2 : 3.0.1 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 2021.07.0 fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : 0.4.2 scipy : 1.6.2 sqlalchemy : 1.4.22 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.19.0 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43022/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43022/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43023
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43023/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43023/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43023/events
https://github.com/pandas-dev/pandas/issues/43023
970,577,175
MDU6SXNzdWU5NzA1NzcxNzU=
43,023
DOC: rolling return type inconsistent with doc
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
2
"2021-08-13T17:06:13Z"
"2021-08-14T21:54:26Z"
"2021-08-14T21:54:26Z"
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/docs/reference/api/pandas.core.window.rolling.Rolling.min.html **Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/). #### Documentation problem the return type of rolling methods (rolling.min / rolling.max) is mentioned to be same as the original object. But the default return types appears to be `float64`. ```python >>> import pandas as pd >>> s = pd.Series([4, 3, 5, 2, 6]) >>> s.dtypes dtype('int64') >>> s.rolling(3).min().dtypes dtype('float64') >>> s.rolling(3).max().dtypes dtype('float64') >>> s.rolling(3).std().dtypes dtype('float64') ``` #### Suggested fix for documentation Maybe the doc should mention the default return type
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43023/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43023/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43024
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43024/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43024/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43024/events
https://github.com/pandas-dev/pandas/pull/43024
970,607,290
MDExOlB1bGxSZXF1ZXN0NzEyNTM2NDcw
43,024
TST: refactor iris_view table creation in SQL test
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": 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-08-13T17:58:02Z"
"2021-08-17T04:20:07Z"
"2021-08-13T21:16:01Z"
MEMBER
null
xref #40686
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43024/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43024/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43024.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43024", "merged_at": "2021-08-13T21:16:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43024.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43024" }
https://api.github.com/repos/pandas-dev/pandas/issues/43025
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43025/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43025/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43025/events
https://github.com/pandas-dev/pandas/pull/43025
970,666,863
MDExOlB1bGxSZXF1ZXN0NzEyNTg3ODM4
43,025
PERF: unstack
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-08-13T19:42:26Z"
"2021-08-18T23:54:46Z"
"2021-08-18T23:51:29Z"
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 - [ ] whatsnew entry Avoids expensive get_indexer calls. ``` from asv_bench.benchmarks.reshape import * self = Unstack() self.setup("category") %timeit self.time_full_product("category") 58.8 ms ± 1.52 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master 31.6 ms ± 1.98 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43025/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43025/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43025.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43025", "merged_at": "2021-08-18T23:51:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43025.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43025" }
https://api.github.com/repos/pandas-dev/pandas/issues/43026
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43026/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43026/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43026/events
https://github.com/pandas-dev/pandas/pull/43026
970,692,314
MDExOlB1bGxSZXF1ZXN0NzEyNjEwMDg1
43,026
Bug in Series constructor returning wrong missing values
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "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": "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": 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-08-13T20:29:34Z"
"2021-11-13T19:32:50Z"
"2021-08-19T02:01:55Z"
MEMBER
null
- [x] closes #43017 - [x] xref #43018 (if the reindex case is ok, then this is done too) - [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 ensures consistency with the DataFrame constructor
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43026/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43026/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43026.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43026", "merged_at": "2021-08-19T02:01:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43026.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43026" }
https://api.github.com/repos/pandas-dev/pandas/issues/43027
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43027/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43027/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43027/events
https://github.com/pandas-dev/pandas/pull/43027
970,724,529
MDExOlB1bGxSZXF1ZXN0NzEyNjM3Nzg4
43,027
Backport PR #42999 on branch 1.3.x (TST: Fix test related to reverting fastparquet nullable support)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
0
"2021-08-13T21:38:49Z"
"2021-08-13T22:43:56Z"
"2021-08-13T22:43:56Z"
NONE
null
Backport PR #42999: TST: Fix test related to reverting fastparquet nullable support
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43027/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43027/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43027.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43027", "merged_at": "2021-08-13T22:43:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43027.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43027" }
https://api.github.com/repos/pandas-dev/pandas/issues/43028
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43028/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43028/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43028/events
https://github.com/pandas-dev/pandas/pull/43028
970,762,477
MDExOlB1bGxSZXF1ZXN0NzEyNjcwNjQ1
43,028
DEPR: Int64Index, UInt64Index & Float64Index
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
7
"2021-08-13T23:20:50Z"
"2021-09-02T04:55:25Z"
"2021-09-01T23:01:48Z"
CONTRIBUTOR
null
* [x] xref #42717 * [x] xref #41153 & #42706 Deprecates Int64Index, UInt64Index & Float64Index. I don't think it will be sensible to emit a deprecation warning for these because they have a lot of internal usage as is, so I've just added texts explaining that these are deprecated and will be removed in Pandas 2.0. EDIT: it does now emit an deprecation warning when accessed from the main namespace. See changes to `pandas.__init__.py` for implementation. ```python >>> pd.Int64Index FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.NumericIndex with the appropriate dtype instead. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43028/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43028/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43028.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43028", "merged_at": "2021-09-01T23:01:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43028.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43028" }
https://api.github.com/repos/pandas-dev/pandas/issues/43029
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43029/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43029/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43029/events
https://github.com/pandas-dev/pandas/pull/43029
970,773,566
MDExOlB1bGxSZXF1ZXN0NzEyNjc5ODUx
43,029
DOC: Ensure pandas warnings & exceptions are always documented in API docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-08-14T00:08:31Z"
"2021-08-18T15:59:46Z"
"2021-08-18T15:58:27Z"
MEMBER
null
- [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 Also adds a pre-commit check that errors in `doc/source/reference/general_utility_functions.rst` are synced with `pandas/errors/__init__.py`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43029/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43029/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43029.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43029", "merged_at": "2021-08-18T15:58:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43029.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43029" }
https://api.github.com/repos/pandas-dev/pandas/issues/43030
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43030/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43030/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43030/events
https://github.com/pandas-dev/pandas/pull/43030
970,774,260
MDExOlB1bGxSZXF1ZXN0NzEyNjgwNDQ0
43,030
DOC: Clarify dtype of returned object from window ops
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-14T00:11:26Z"
"2021-08-14T21:54:29Z"
"2021-08-14T21:54:26Z"
MEMBER
null
- [x] closes #43023 - [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/43030/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43030/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43030.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43030", "merged_at": "2021-08-14T21:54:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43030.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43030" }
https://api.github.com/repos/pandas-dev/pandas/issues/43031
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43031/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43031/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43031/events
https://github.com/pandas-dev/pandas/issues/43031
970,792,647
MDU6SXNzdWU5NzA3OTI2NDc=
43,031
ENH: IntervalArray/IntervalIndex Range Joins
{ "avatar_url": "https://avatars.githubusercontent.com/u/1461273?v=4", "events_url": "https://api.github.com/users/sterlinm/events{/privacy}", "followers_url": "https://api.github.com/users/sterlinm/followers", "following_url": "https://api.github.com/users/sterlinm/following{/other_user}", "gists_url": "https://api.github.com/users/sterlinm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sterlinm", "id": 1461273, "login": "sterlinm", "node_id": "MDQ6VXNlcjE0NjEyNzM=", "organizations_url": "https://api.github.com/users/sterlinm/orgs", "received_events_url": "https://api.github.com/users/sterlinm/received_events", "repos_url": "https://api.github.com/users/sterlinm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sterlinm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sterlinm/subscriptions", "type": "User", "url": "https://api.github.com/users/sterlinm" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" }, { "color": "006b75", "default": false, "description": "union, intersection, difference, symmetric_difference", "id": 3073524400, "name": "setops", "node_id": "MDU6TGFiZWwzMDczNTI0NDAw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops" } ]
open
false
null
[]
null
3
"2021-08-14T01:43:48Z"
"2021-11-03T14:25:16Z"
null
NONE
null
#### Is your feature request related to a problem? I'm interested in adding additional options that would modify the behavior of merge, join, and concatenate operations when performed between IntervalArrays or IntervalIndexes. There has been a fair amount of related discussion in a number of somewhat stale issues. I'd be happy to continue the discussion on one of those if it makes more sense. * #19480 * #18975 * #22939 * #21998 #### Describe the solution you'd like I'd like to be able to do merges on joins using Intervals where instead of finding exact matches the overlapping ranges are matched and split up as needed. Suppose we have the following two DataFrames. ``` python idx_A = pd.IntervalIndex.from_tuples([(1, 4), (4, 6), (8, 9)]) df_A = pd.DataFrame(data={'A':['A1', 'A2', 'A3']}, index=idx_A) idx_B = pd.IntervalIndex.from_tuples([(2, 3), (3, 5), (5, 10)]) df_B = pd.DataFrame(data={'B':['B1', 'B2', 'B3']}, index=idx_B) ``` <img width="247" alt="Screen Shot 2021-08-13 at 8 57 04 PM" src="https://user-images.githubusercontent.com/1461273/129429809-bfc16df4-8204-4706-9f06-5e9c90b89c90.png"> Currently, an outer join would not match any of the rows at all because it only joins Intervals that are equal. `df_A.join(df_B, how='outer')` <img width="255" alt="Screen Shot 2021-08-13 at 9 00 15 PM" src="https://user-images.githubusercontent.com/1461273/129429913-20a00f13-248c-40c6-b21d-d9e37d63a51b.png"> I'm interested in having an option that would change the behavior so that the overlapping portions of the intervals would be aligned. So the result would look like this. ``` python df_a.join(df_B, how='overlapping') # not at all wedded to that parameter idx_expected = pd.IntervalIndex.from_tuples([ (1,2), (2,3), (3,4), (4,5), (5,6), (6,9),(9,10)]) df_expected = pd.DataFrame( index=idx_expected, data={ 'A': ['A1', 'A1', 'A1', 'A1', 'A2', 'A2', np.nan], 'B': [np.nan, 'B1', 'B2', 'B2', 'B3', 'B3', 'B3'] } ) ``` <img width="136" alt="Screen Shot 2021-08-13 at 9 06 22 PM" src="https://user-images.githubusercontent.com/1461273/129430015-10964b4e-90fe-45ab-8d56-22f15d77612e.png"> Ideally, the behavior would extend to multiple DataFrames or Series. So concat would work as well. ``` python idx_C = pd.IntervalIndex.from_tuples([(3, 5), (8, 12), (14, 20)]) df_C = pd.DataFrame(data={'C':['C1', 'C2', 'C3']}, index=idx_C) concat_df = pd.concat([df_A, df_B, df_C], axis=1) ``` <img width="101" alt="Screen Shot 2021-08-13 at 9 14 15 PM" src="https://user-images.githubusercontent.com/1461273/129430183-e1385398-c18f-4076-a64a-4b6d8feb911c.png"> <img width="195" alt="Screen Shot 2021-08-13 at 9 14 23 PM" src="https://user-images.githubusercontent.com/1461273/129430192-96d41067-dadb-41ce-931a-e870fa24c3d7.png"> #### API breaking implications I imagine it would be best to avoid breaking the existing behavior of merge, join, concat, etc. on IntervalArrays. I could see either creating new functions (like `pd.merge_asof`) or adding either additional parameters to the various methods or additional options to existing parameters (such as `how`). #### Describe alternatives you've considered I've considered just writing my own functions on that use IntervalArrays to achieve the following and looked at a number of other libraries. * [pyranges](https://pyranges.readthedocs.io/en/master/autoapi/pyranges/index.html) * [intervaltree](https://pypi.org/project/intervaltree/) * [typhon](https://www.radiativetransfer.org/misc/typhon/doc/_modules/typhon/trees.html) #### Additional context Some other related concepts or implementations: * [Postgres Range Functions](https://www.postgresql.org/docs/13/functions-range.html) * [kdb+ asof joins](https://code.kx.com/q/basics/joins/#as-of-joins) * [Wikipedia: Interval Tree](https://en.wikipedia.org/wiki/Interval_tree)
{ "+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/43031/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43031/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43032
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43032/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43032/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43032/events
https://github.com/pandas-dev/pandas/pull/43032
970,830,334
MDExOlB1bGxSZXF1ZXN0NzEyNzIwMzgy
43,032
Add example
{ "avatar_url": "https://avatars.githubusercontent.com/u/60868865?v=4", "events_url": "https://api.github.com/users/madhuri-15/events{/privacy}", "followers_url": "https://api.github.com/users/madhuri-15/followers", "following_url": "https://api.github.com/users/madhuri-15/following{/other_user}", "gists_url": "https://api.github.com/users/madhuri-15/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/madhuri-15", "id": 60868865, "login": "madhuri-15", "node_id": "MDQ6VXNlcjYwODY4ODY1", "organizations_url": "https://api.github.com/users/madhuri-15/orgs", "received_events_url": "https://api.github.com/users/madhuri-15/received_events", "repos_url": "https://api.github.com/users/madhuri-15/repos", "site_admin": false, "starred_url": "https://api.github.com/users/madhuri-15/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/madhuri-15/subscriptions", "type": "User", "url": "https://api.github.com/users/madhuri-15" }
[]
closed
false
null
[]
null
3
"2021-08-14T05:17:38Z"
"2021-08-15T16:36:04Z"
"2021-08-15T15:51:51Z"
NONE
null
Add example to `reorder_levels` function of Pandas DataFrame
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43032/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43032/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43032.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43032", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43032.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43032" }
https://api.github.com/repos/pandas-dev/pandas/issues/43033
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43033/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43033/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43033/events
https://github.com/pandas-dev/pandas/pull/43033
970,841,570
MDExOlB1bGxSZXF1ZXN0NzEyNzI4NTgw
43,033
DOC: arguments options correction
{ "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": "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-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
3
"2021-08-14T06:42:29Z"
"2021-08-17T05:20:53Z"
"2021-08-16T20:27:22Z"
CONTRIBUTOR
null
oversight in recent method addition for 1.4.0 / 1.3.2. backport. no release note necessary. Can also be backported to 1.3.2.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43033/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43033/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43033.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43033", "merged_at": "2021-08-16T20:27:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43033.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43033" }
https://api.github.com/repos/pandas-dev/pandas/issues/43034
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43034/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43034/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43034/events
https://github.com/pandas-dev/pandas/pull/43034
970,844,750
MDExOlB1bGxSZXF1ZXN0NzEyNzMwODkx
43,034
BUG: don't manipulate `styler` object due to args in `to_html`
{ "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-14T07:05:08Z"
"2021-08-19T17:10:43Z"
"2021-08-19T16:13:56Z"
CONTRIBUTOR
null
This is the same as #42323 except for `to_html` instead of `to_latex`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43034/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43034/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43034.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43034", "merged_at": "2021-08-19T16:13:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43034.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43034" }
https://api.github.com/repos/pandas-dev/pandas/issues/43035
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43035/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43035/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43035/events
https://github.com/pandas-dev/pandas/pull/43035
970,849,994
MDExOlB1bGxSZXF1ZXN0NzEyNzM1NTc4
43,035
BUG: nlargest/nsmallest does not act in accordance with documentaion
{ "avatar_url": "https://avatars.githubusercontent.com/u/12675558?v=4", "events_url": "https://api.github.com/users/usersblock/events{/privacy}", "followers_url": "https://api.github.com/users/usersblock/followers", "following_url": "https://api.github.com/users/usersblock/following{/other_user}", "gists_url": "https://api.github.com/users/usersblock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/usersblock", "id": 12675558, "login": "usersblock", "node_id": "MDQ6VXNlcjEyNjc1NTU4", "organizations_url": "https://api.github.com/users/usersblock/orgs", "received_events_url": "https://api.github.com/users/usersblock/received_events", "repos_url": "https://api.github.com/users/usersblock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/usersblock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/usersblock/subscriptions", "type": "User", "url": "https://api.github.com/users/usersblock" }
[]
closed
false
null
[]
null
0
"2021-08-14T07:15:46Z"
"2021-08-15T23:31:53Z"
"2021-08-14T08:53:49Z"
CONTRIBUTOR
null
- [x] closes #42997 - [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 nsmallest/nlargest are now consistent with x.sort_values(ascending=False).head(n)/x.sort_values(ascending=True).head(n) Edit: I've changed test_nlargest_misc(self) in \tests\serie\methods\test_nlargest.py to reflect the fact that Nans are included
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43035/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43035/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43035.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43035", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43035.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43035" }
https://api.github.com/repos/pandas-dev/pandas/issues/43036
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43036/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43036/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43036/events
https://github.com/pandas-dev/pandas/pull/43036
970,904,753
MDExOlB1bGxSZXF1ZXN0NzEyNzcyNzE4
43,036
DOC: Additional Items for the Cheat Sheet
{ "avatar_url": "https://avatars.githubusercontent.com/u/51954932?v=4", "events_url": "https://api.github.com/users/rishitbhojak/events{/privacy}", "followers_url": "https://api.github.com/users/rishitbhojak/followers", "following_url": "https://api.github.com/users/rishitbhojak/following{/other_user}", "gists_url": "https://api.github.com/users/rishitbhojak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rishitbhojak", "id": 51954932, "login": "rishitbhojak", "node_id": "MDQ6VXNlcjUxOTU0OTMy", "organizations_url": "https://api.github.com/users/rishitbhojak/orgs", "received_events_url": "https://api.github.com/users/rishitbhojak/received_events", "repos_url": "https://api.github.com/users/rishitbhojak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rishitbhojak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rishitbhojak/subscriptions", "type": "User", "url": "https://api.github.com/users/rishitbhojak" }
[ { "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": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
open
false
null
[]
null
2
"2021-08-14T12:44:54Z"
"2021-10-31T00:43:10Z"
null
NONE
null
- https://github.com/pandas-dev/pandas/issues/40680 - Added Plotting Functions - Added a 3rd page consisting of various plots - Adjusted the 2nd page and added a snippet to 'Drop a Column'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43036/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43036/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43036.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43036", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43036.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43036" }
https://api.github.com/repos/pandas-dev/pandas/issues/43037
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43037/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43037/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43037/events
https://github.com/pandas-dev/pandas/pull/43037
970,927,235
MDExOlB1bGxSZXF1ZXN0NzEyNzg4NTEy
43,037
REF: address the floating "_" in `styler.uuid`
{ "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-14T14:51:27Z"
"2021-08-17T17:15:24Z"
"2021-08-17T16:03:19Z"
CONTRIBUTOR
null
addresses the issue whereby the set uuid at initialisation has a floating underscore: ```python >>> styler = Styler(df, uuid="abc") >>> print(styler.uuid) abc_ ``` Note: This is v minor but was discovered, and is useful to fix, due to an upcoming PR.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43037/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43037/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43037.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43037", "merged_at": "2021-08-17T16:03:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43037.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43037" }
https://api.github.com/repos/pandas-dev/pandas/issues/43038
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43038/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43038/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43038/events
https://github.com/pandas-dev/pandas/issues/43038
970,937,978
MDU6SXNzdWU5NzA5Mzc5Nzg=
43,038
BUG: Compare type `int64` with `Int64` fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/35905338?v=4", "events_url": "https://api.github.com/users/ChiQiao/events{/privacy}", "followers_url": "https://api.github.com/users/ChiQiao/followers", "following_url": "https://api.github.com/users/ChiQiao/following{/other_user}", "gists_url": "https://api.github.com/users/ChiQiao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ChiQiao", "id": 35905338, "login": "ChiQiao", "node_id": "MDQ6VXNlcjM1OTA1MzM4", "organizations_url": "https://api.github.com/users/ChiQiao/orgs", "received_events_url": "https://api.github.com/users/ChiQiao/received_events", "repos_url": "https://api.github.com/users/ChiQiao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ChiQiao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ChiQiao/subscriptions", "type": "User", "url": "https://api.github.com/users/ChiQiao" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "0052cc", "default": false, "description": "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
6
"2021-08-14T15:50:55Z"
"2021-11-20T13:13:10Z"
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 pd.api.types.pandas_dtype("int64") == "Int64" ``` #### Problem description The code above fails (`TypeError: data type 'Int64' not understood`) while the following cases pass: ```Python pd.api.types.pandas_dtype("int64") == "int64" pd.api.types.pandas_dtype("Int64") == "Int64" pd.api.types.pandas_dtype("Int64") == "int64" ``` #### Expected Output `False` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : c7f7443c1bad8262358114d5e88cd9c8a308e8aa python : 3.7.11.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : None.None pandas : 1.3.1 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.2 setuptools : 52.0.0.post20210125 Cython : 0.29.24 pytest : 6.1.2 hypothesis : 6.14.1 sphinx : 4.0.2 blosc : None feather : None xlsxwriter : 1.4.4 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : 1.0.2 psycopg2 : None jinja2 : 3.0.1 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 2021.07.0 fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : 0.4.2 scipy : 1.6.2 sqlalchemy : 1.4.22 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.19.0 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43038/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43038/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43039
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43039/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43039/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43039/events
https://github.com/pandas-dev/pandas/pull/43039
970,955,495
MDExOlB1bGxSZXF1ZXN0NzEyODEwNzA0
43,039
BUG: interpolation with duplicate index values fails (#42585)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5290430?v=4", "events_url": "https://api.github.com/users/bkurtz/events{/privacy}", "followers_url": "https://api.github.com/users/bkurtz/followers", "following_url": "https://api.github.com/users/bkurtz/following{/other_user}", "gists_url": "https://api.github.com/users/bkurtz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bkurtz", "id": 5290430, "login": "bkurtz", "node_id": "MDQ6VXNlcjUyOTA0MzA=", "organizations_url": "https://api.github.com/users/bkurtz/orgs", "received_events_url": "https://api.github.com/users/bkurtz/received_events", "repos_url": "https://api.github.com/users/bkurtz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bkurtz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bkurtz/subscriptions", "type": "User", "url": "https://api.github.com/users/bkurtz" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
3
"2021-08-14T16:59:45Z"
"2021-10-16T20:27:56Z"
"2021-10-16T20:27:55Z"
NONE
null
- [ ] closes #42585 - [ ] 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/43039/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43039/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43039.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43039", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43039.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43039" }
https://api.github.com/repos/pandas-dev/pandas/issues/43040
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43040/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43040/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43040/events
https://github.com/pandas-dev/pandas/pull/43040
970,979,622
MDExOlB1bGxSZXF1ZXN0NzEyODI3NDA1
43,040
TST: refactor types table in SQL test
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": 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-08-14T19:25:08Z"
"2021-08-17T14:28:04Z"
"2021-08-17T14:28:01Z"
MEMBER
null
xref #40686
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43040/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43040/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43040.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43040", "merged_at": "2021-08-17T14:28:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43040.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43040" }
https://api.github.com/repos/pandas-dev/pandas/issues/43041
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43041/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43041/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43041/events
https://github.com/pandas-dev/pandas/pull/43041
970,980,668
MDExOlB1bGxSZXF1ZXN0NzEyODI3OTk5
43,041
Fix len one list dataframe constructor bug for datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" }, { "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-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
5
"2021-08-14T19:30:31Z"
"2021-08-17T09:00:04Z"
"2021-08-17T06:26:17Z"
MEMBER
null
- [x] closes #42810 - [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/43041/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43041/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43041.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43041", "merged_at": "2021-08-17T06:26:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43041.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43041" }
https://api.github.com/repos/pandas-dev/pandas/issues/43042
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43042/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43042/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43042/events
https://github.com/pandas-dev/pandas/issues/43042
970,985,985
MDU6SXNzdWU5NzA5ODU5ODU=
43,042
BUG: byteorder (endian) error for int64 and int32
{ "avatar_url": "https://avatars.githubusercontent.com/u/5548915?v=4", "events_url": "https://api.github.com/users/kr11/events{/privacy}", "followers_url": "https://api.github.com/users/kr11/followers", "following_url": "https://api.github.com/users/kr11/following{/other_user}", "gists_url": "https://api.github.com/users/kr11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kr11", "id": 5548915, "login": "kr11", "node_id": "MDQ6VXNlcjU1NDg5MTU=", "organizations_url": "https://api.github.com/users/kr11/orgs", "received_events_url": "https://api.github.com/users/kr11/received_events", "repos_url": "https://api.github.com/users/kr11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kr11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kr11/subscriptions", "type": "User", "url": "https://api.github.com/users/kr11" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
open
false
null
[]
{ "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-08-14T20:03:38Z"
"2021-09-14T15:30:07Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd values = {'int64': pd.Series([0], dtype='>i8'), 'int32': pd.Series([1], dtype='>i4'), 'int64_2': pd.Series([2], dtype='>i8')} df = pd.DataFrame(values) print("series", [(v.dtype, v.dtype.byteorder) for k, v in values.items()]) print("df ", [(df[c].dtype, df[c].dtype.byteorder) for c in df.columns]) ``` - The OS is Macos Catalina, 10.15.7. - python_version(): 3.9.5 - pandas version: 1.3.1 #### Problem description We specify the `byteorder`(endian) as `>` of `Series`, but when we construct `DataFrame` by `Series`, the `DataFrame`'s `byteorder` gets changed. #### Expected Output The expected output is, the byteorders of three columns are both '>'. But the actual output is as follows: ```python series [(dtype('>i8'), '>'), (dtype('>i4'), '>'), (dtype('>i8'), '>')] df [(dtype('int64'), '='), (dtype('>i4'), '>'), (dtype('int64'), '=')] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43042/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43042/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43043
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43043/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43043/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43043/events
https://github.com/pandas-dev/pandas/pull/43043
970,993,281
MDExOlB1bGxSZXF1ZXN0NzEyODM1ODI3
43,043
BUG: JoinUnit._is_valid_na_for
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-08-14T20:52:22Z"
"2021-08-16T21:47:04Z"
"2021-08-16T20:48:34Z"
MEMBER
null
Fixing this unblocks a refactor to share some code with the ArrayManager logic which I _think_ will fix some of the broken ArrayManager cases.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43043/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43043/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43043.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43043", "merged_at": "2021-08-16T20:48:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43043.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43043" }
https://api.github.com/repos/pandas-dev/pandas/issues/43044
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43044/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43044/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43044/events
https://github.com/pandas-dev/pandas/pull/43044
971,059,960
MDExOlB1bGxSZXF1ZXN0NzEyODgyMjM5
43,044
BUG: also copy `uuid` in `Styler.copy`
{ "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-15T06:09:44Z"
"2021-08-19T05:20:47Z"
"2021-08-18T23:52:23Z"
CONTRIBUTOR
null
due after #43037 When a `styler` is copied this PR makes sure the set `uuid` is also copied. (also helps with an upcoming PR).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43044/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43044/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43044.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43044", "merged_at": "2021-08-18T23:52:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43044.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43044" }
https://api.github.com/repos/pandas-dev/pandas/issues/43045
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43045/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43045/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43045/events
https://github.com/pandas-dev/pandas/pull/43045
971,083,759
MDExOlB1bGxSZXF1ZXN0NzEyODk5MDY5
43,045
1.3.2 release date
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
3
"2021-08-15T08:42:57Z"
"2021-08-15T10:36:22Z"
"2021-08-15T10:34:58Z"
MEMBER
null
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43045/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43045/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43045.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43045", "merged_at": "2021-08-15T10:34:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43045.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43045" }
https://api.github.com/repos/pandas-dev/pandas/issues/43046
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43046/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43046/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43046/events
https://github.com/pandas-dev/pandas/pull/43046
971,086,527
MDExOlB1bGxSZXF1ZXN0NzEyOTAwODIx
43,046
DOC: Start v1.3.3 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
0
"2021-08-15T08:57:46Z"
"2021-08-15T16:15:37Z"
"2021-08-15T16:15:33Z"
MEMBER
null
~~will fail till v1.3.2 tag exists~~
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43046/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43046/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43046.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43046", "merged_at": "2021-08-15T16:15:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43046.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43046" }
https://api.github.com/repos/pandas-dev/pandas/issues/43047
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43047/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43047/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43047/events
https://github.com/pandas-dev/pandas/pull/43047
971,092,649
MDExOlB1bGxSZXF1ZXN0NzEyOTA1NDQ2
43,047
TST: cleanup of any_* test fixtures GH38017
{ "avatar_url": "https://avatars.githubusercontent.com/u/7360838?v=4", "events_url": "https://api.github.com/users/pratyushsharan/events{/privacy}", "followers_url": "https://api.github.com/users/pratyushsharan/followers", "following_url": "https://api.github.com/users/pratyushsharan/following{/other_user}", "gists_url": "https://api.github.com/users/pratyushsharan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pratyushsharan", "id": 7360838, "login": "pratyushsharan", "node_id": "MDQ6VXNlcjczNjA4Mzg=", "organizations_url": "https://api.github.com/users/pratyushsharan/orgs", "received_events_url": "https://api.github.com/users/pratyushsharan/received_events", "repos_url": "https://api.github.com/users/pratyushsharan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pratyushsharan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pratyushsharan/subscriptions", "type": "User", "url": "https://api.github.com/users/pratyushsharan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-08-15T09:33:55Z"
"2021-08-18T17:22:43Z"
"2021-08-18T17:22:25Z"
CONTRIBUTOR
null
- [X] closes #38017 - [ ] 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/43047/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43047/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43047.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43047", "merged_at": "2021-08-18T17:22:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43047.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43047" }
https://api.github.com/repos/pandas-dev/pandas/issues/43048
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43048/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43048/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43048/events
https://github.com/pandas-dev/pandas/issues/43048
971,101,086
MDU6SXNzdWU5NzExMDEwODY=
43,048
REF: use `_get_axis_number` instead of `if axis in [...]`:
{ "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" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
38
"2021-08-15T10:23:54Z"
"2021-08-31T10:04:44Z"
"2021-08-31T10:04:18Z"
CONTRIBUTOR
null
This PR regards searching the **non-test codebase** (i.e. don't find code examples in pandas/tests) for examples like the following: Try to find and replace logic like: ```python if axis in [0, "index"]: ... elif axis in [1, "columns"]: ... else: ... ``` with the standard codebase method `get_axis_number(axis)`. This is a DataFrame method so often you need use local DataFrame objects to call this method. It may also be necessary to change `axis` args in internal methods to consistently accept the same input format compatible with this method, i.e. axis as an integer (0 or 1). This is an open issue and contributions are welcome to solve individual files in the code. As an example see #43078 or other merged contributions below. - [x] `style.py` #43078 - [x] `test_label_or_level_utils.py` #43131 - [x] #43121
{ "+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/43048/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43048/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43049
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43049/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43049/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43049/events
https://github.com/pandas-dev/pandas/pull/43049
971,104,111
MDExOlB1bGxSZXF1ZXN0NzEyOTEzODMw
43,049
Backport PR #43045 on branch 1.3.x (1.3.2 release date)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
0
"2021-08-15T10:41:48Z"
"2021-08-15T11:38:44Z"
"2021-08-15T11:38:37Z"
MEMBER
null
Backport PR #43045
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43049/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43049/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43049.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43049", "merged_at": "2021-08-15T11:38:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43049.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43049" }
https://api.github.com/repos/pandas-dev/pandas/issues/43050
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43050/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43050/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43050/events
https://github.com/pandas-dev/pandas/issues/43050
971,133,890
MDU6SXNzdWU5NzExMzM4OTA=
43,050
RLS: 1.3.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "006b75", "default": false, "description": null, "id": 131473665, "name": "Release", "node_id": "MDU6TGFiZWwxMzE0NzM2NjU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
7
"2021-08-15T13:26:34Z"
"2021-09-12T20:30:04Z"
"2021-09-12T20:30:04Z"
MEMBER
null
Tracking issue for the 1.3.3 release. Currently scheduled for September 05, 2021. https://github.com/pandas-dev/pandas/milestone/89 List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression performance regressions between 1.2.5 and 1.3.x https://simonjayhawkins.github.io/fantastic-dollop/#regressions?sort=3&dir=desc&branch=1.3.x cc @pandas-dev/pandas-core @pandas-dev/pandas-triage
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43050/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43050/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43051
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43051/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43051/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43051/events
https://github.com/pandas-dev/pandas/pull/43051
971,136,611
MDExOlB1bGxSZXF1ZXN0NzEyOTM3ODEw
43,051
DOC: Typo fix in "Extending Pandas"
{ "avatar_url": "https://avatars.githubusercontent.com/u/19401133?v=4", "events_url": "https://api.github.com/users/jbogaardt/events{/privacy}", "followers_url": "https://api.github.com/users/jbogaardt/followers", "following_url": "https://api.github.com/users/jbogaardt/following{/other_user}", "gists_url": "https://api.github.com/users/jbogaardt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbogaardt", "id": 19401133, "login": "jbogaardt", "node_id": "MDQ6VXNlcjE5NDAxMTMz", "organizations_url": "https://api.github.com/users/jbogaardt/orgs", "received_events_url": "https://api.github.com/users/jbogaardt/received_events", "repos_url": "https://api.github.com/users/jbogaardt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbogaardt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbogaardt/subscriptions", "type": "User", "url": "https://api.github.com/users/jbogaardt" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-15T13:39:41Z"
"2021-08-15T17:07:51Z"
"2021-08-15T17:07:44Z"
CONTRIBUTOR
null
Fixes typo in docs `Dataframe` -> `DataFrame`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43051/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43051/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43051.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43051", "merged_at": "2021-08-15T17:07:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43051.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43051" }
https://api.github.com/repos/pandas-dev/pandas/issues/43052
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43052/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43052/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43052/events
https://github.com/pandas-dev/pandas/pull/43052
971,148,548
MDExOlB1bGxSZXF1ZXN0NzEyOTQ2Njg1
43,052
REGR: window ewm slowdown
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
4
"2021-08-15T14:34:05Z"
"2021-08-16T21:01:55Z"
"2021-08-16T20:26:59Z"
MEMBER
null
- [x] closes #42333 - [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 (will move once 1.3.3 notes merged) ``` - 3.22±0.09ms 1.29±0.3ms 0.40 rolling.EWMMethods.time_ewm('DataFrame', 10, 'int', 'mean') - 2.92±0.1ms 1.08±0.1ms 0.37 rolling.EWMMethods.time_ewm('DataFrame', 1000, 'int', 'mean') - 2.68±0.1ms 959±100μs 0.36 rolling.EWMMethods.time_ewm('DataFrame', 1000, 'float', 'mean') - 3.00±0.2ms 1.02±0.03ms 0.34 rolling.EWMMethods.time_ewm('DataFrame', 10, 'float', 'mean') - 2.78±0.1ms 850±100μs 0.31 rolling.EWMMethods.time_ewm('Series', 10, 'int', 'mean') - 2.34±0.2ms 683±30μs 0.29 rolling.EWMMethods.time_ewm('Series', 10, 'float', 'mean') - 2.74±0.06ms 739±60μs 0.27 rolling.EWMMethods.time_ewm('Series', 1000, 'float', 'mean') - 2.55±0.3ms 681±40μs 0.27 rolling.EWMMethods.time_ewm('Series', 1000, 'int', 'mean') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43052/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43052/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43052.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43052", "merged_at": "2021-08-16T20:26:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43052.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43052" }
https://api.github.com/repos/pandas-dev/pandas/issues/43053
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43053/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43053/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43053/events
https://github.com/pandas-dev/pandas/issues/43053
971,154,051
MDU6SXNzdWU5NzExNTQwNTE=
43,053
ENH: Allow for passing in engine_kwargs to read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/4751505?v=4", "events_url": "https://api.github.com/users/driscoll42/events{/privacy}", "followers_url": "https://api.github.com/users/driscoll42/followers", "following_url": "https://api.github.com/users/driscoll42/following{/other_user}", "gists_url": "https://api.github.com/users/driscoll42/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/driscoll42", "id": 4751505, "login": "driscoll42", "node_id": "MDQ6VXNlcjQ3NTE1MDU=", "organizations_url": "https://api.github.com/users/driscoll42/orgs", "received_events_url": "https://api.github.com/users/driscoll42/received_events", "repos_url": "https://api.github.com/users/driscoll42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/driscoll42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/driscoll42/subscriptions", "type": "User", "url": "https://api.github.com/users/driscoll42" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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-08-15T14:59:14Z"
"2021-08-16T22:51:54Z"
null
NONE
null
#### Is your feature request related to a problem? In experimenting with openpyxl, I have found that I can load my files in faster when read_only=True, and I would like to pass in that argument to read_excel #### Describe the solution you'd like Similar to ExcelWriter, I would like to have engine_kwargs added to read_excel to pass in engine specific kwargs. #### API breaking implications This shouldn't break it. #### Describe alternatives you've considered Just use read_excel as is, works fine but I can load large excel files more quickly with using engine specific kwargs #### Additional context I imgine it would look like pd.read_excel('example.xlsx', engine='openpyxl', engine_kwargs={'read_only : True}) for am example
{ "+1": 4, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 4, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43053/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43053/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43054
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43054/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43054/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43054/events
https://github.com/pandas-dev/pandas/pull/43054
971,163,542
MDExOlB1bGxSZXF1ZXN0NzEyOTU3NDcx
43,054
REGR: SeriesGrouper using Timestamp 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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
2
"2021-08-15T15:41:09Z"
"2021-08-17T17:09:09Z"
"2021-08-17T16:04:17Z"
MEMBER
null
- [x] closes https://github.com/pandas-dev/pandas/issues/42390 - [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 Not sure what the defining characteristic of the failing cases is so there's a blank in the whatsnew note.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43054/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43054/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43054.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43054", "merged_at": "2021-08-17T16:04:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43054.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43054" }
https://api.github.com/repos/pandas-dev/pandas/issues/43055
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43055/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43055/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43055/events
https://github.com/pandas-dev/pandas/pull/43055
971,170,709
MDExOlB1bGxSZXF1ZXN0NzEyOTYyNzQy
43,055
Backport PR #43046 on branch 1.3.x (DOC: Start v1.3.3 release notes)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
0
"2021-08-15T16:15:57Z"
"2021-08-15T17:13:11Z"
"2021-08-15T17:13:11Z"
NONE
null
Backport PR #43046: DOC: Start v1.3.3 release notes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43055/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43055/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43055.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43055", "merged_at": "2021-08-15T17:13:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43055.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43055" }
https://api.github.com/repos/pandas-dev/pandas/issues/43056
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43056/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43056/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43056/events
https://github.com/pandas-dev/pandas/pull/43056
971,193,098
MDExOlB1bGxSZXF1ZXN0NzEyOTc5Mjcx
43,056
ENH:included anti join functionality
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
open
false
null
[]
null
8
"2021-08-15T18:10:49Z"
"2021-11-07T00:03:41Z"
null
CONTRIBUTOR
null
- [x] closes #42916 - [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 - [ ] whatsnew entry Extremely naive implementation. Happy to take suggestions.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43056/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43056/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43056.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43056", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43056.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43056" }
https://api.github.com/repos/pandas-dev/pandas/issues/43057
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43057/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43057/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43057/events
https://github.com/pandas-dev/pandas/pull/43057
971,199,818
MDExOlB1bGxSZXF1ZXN0NzEyOTg0MjY2
43,057
Doc test errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4", "events_url": "https://api.github.com/users/willie3838/events{/privacy}", "followers_url": "https://api.github.com/users/willie3838/followers", "following_url": "https://api.github.com/users/willie3838/following{/other_user}", "gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/willie3838", "id": 21048435, "login": "willie3838", "node_id": "MDQ6VXNlcjIxMDQ4NDM1", "organizations_url": "https://api.github.com/users/willie3838/orgs", "received_events_url": "https://api.github.com/users/willie3838/received_events", "repos_url": "https://api.github.com/users/willie3838/repos", "site_admin": false, "starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willie3838/subscriptions", "type": "User", "url": "https://api.github.com/users/willie3838" }
[]
closed
false
null
[]
null
1
"2021-08-15T18:48:03Z"
"2021-08-15T18:53:46Z"
"2021-08-15T18:53:46Z"
CONTRIBUTOR
null
- [ ] closes #42907 - [ ] 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/43057/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43057/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43057.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43057", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43057.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43057" }
https://api.github.com/repos/pandas-dev/pandas/issues/43058
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43058/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43058/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43058/events
https://github.com/pandas-dev/pandas/pull/43058
971,201,169
MDExOlB1bGxSZXF1ZXN0NzEyOTg1MTkx
43,058
fixed transform docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4", "events_url": "https://api.github.com/users/willie3838/events{/privacy}", "followers_url": "https://api.github.com/users/willie3838/followers", "following_url": "https://api.github.com/users/willie3838/following{/other_user}", "gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/willie3838", "id": 21048435, "login": "willie3838", "node_id": "MDQ6VXNlcjIxMDQ4NDM1", "organizations_url": "https://api.github.com/users/willie3838/orgs", "received_events_url": "https://api.github.com/users/willie3838/received_events", "repos_url": "https://api.github.com/users/willie3838/repos", "site_admin": false, "starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willie3838/subscriptions", "type": "User", "url": "https://api.github.com/users/willie3838" }
[ { "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": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "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
[]
{ "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-08-15T18:55:51Z"
"2021-10-16T20:25:11Z"
"2021-10-16T20:25:10Z"
CONTRIBUTOR
null
- [ ] closes #42907 - [ ] 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/43058/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43058/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43058.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43058", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43058.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43058" }
https://api.github.com/repos/pandas-dev/pandas/issues/43059
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43059/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43059/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43059/events
https://github.com/pandas-dev/pandas/pull/43059
971,209,379
MDExOlB1bGxSZXF1ZXN0NzEyOTkxMTc4
43,059
PERF: read_stata
{ "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": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": 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-08-15T19:42:59Z"
"2021-08-18T00:50:25Z"
"2021-08-18T00:07:52Z"
MEMBER
null
``` from asv_bench.benchmarks.io.stata import * self = StataMissing() self.setup("tc") %timeit self.time_read_stata("tc") 150 ms ± 3.3 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master 114 ms ± 2.81 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR ``` cc @bashtage
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43059/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43059/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43059.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43059", "merged_at": "2021-08-18T00:07:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43059.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43059" }
https://api.github.com/repos/pandas-dev/pandas/issues/43060
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43060/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43060/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43060/events
https://github.com/pandas-dev/pandas/pull/43060
971,249,081
MDExOlB1bGxSZXF1ZXN0NzEzMDIwMDgw
43,060
BUG: nlargest/nsmallest can now consider nan values like sort_values(ascending=True).head(n)
{ "avatar_url": "https://avatars.githubusercontent.com/u/12675558?v=4", "events_url": "https://api.github.com/users/usersblock/events{/privacy}", "followers_url": "https://api.github.com/users/usersblock/followers", "following_url": "https://api.github.com/users/usersblock/following{/other_user}", "gists_url": "https://api.github.com/users/usersblock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/usersblock", "id": 12675558, "login": "usersblock", "node_id": "MDQ6VXNlcjEyNjc1NTU4", "organizations_url": "https://api.github.com/users/usersblock/orgs", "received_events_url": "https://api.github.com/users/usersblock/received_events", "repos_url": "https://api.github.com/users/usersblock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/usersblock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/usersblock/subscriptions", "type": "User", "url": "https://api.github.com/users/usersblock" }
[ { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
"2021-08-15T23:33:31Z"
"2021-09-07T23:17:44Z"
"2021-09-07T23:17:39Z"
CONTRIBUTOR
null
- [x] closes #28984 - [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 nsmallest/nlargest are now consistent with x.sort_values(ascending=False).head(n)/x.sort_values(ascending=True).head(n) Edit: I've changed test_nlargest_misc(self) in \tests\serie\methods\test_nlargest.py to reflect the fact that Nans are included
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43060/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43060/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43060.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43060", "merged_at": "2021-09-07T23:17:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43060.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43060" }
https://api.github.com/repos/pandas-dev/pandas/issues/43061
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43061/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43061/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43061/events
https://github.com/pandas-dev/pandas/pull/43061
971,250,126
MDExOlB1bGxSZXF1ZXN0NzEzMDIwODMx
43,061
DOC: Updating grammar for clarity and consistency
{ "avatar_url": "https://avatars.githubusercontent.com/u/23269446?v=4", "events_url": "https://api.github.com/users/andrewwoood/events{/privacy}", "followers_url": "https://api.github.com/users/andrewwoood/followers", "following_url": "https://api.github.com/users/andrewwoood/following{/other_user}", "gists_url": "https://api.github.com/users/andrewwoood/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/andrewwoood", "id": 23269446, "login": "andrewwoood", "node_id": "MDQ6VXNlcjIzMjY5NDQ2", "organizations_url": "https://api.github.com/users/andrewwoood/orgs", "received_events_url": "https://api.github.com/users/andrewwoood/received_events", "repos_url": "https://api.github.com/users/andrewwoood/repos", "site_admin": false, "starred_url": "https://api.github.com/users/andrewwoood/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andrewwoood/subscriptions", "type": "User", "url": "https://api.github.com/users/andrewwoood" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-15T23:39:54Z"
"2021-08-17T18:47:25Z"
"2021-08-17T16:18:23Z"
CONTRIBUTOR
null
### Location of the documentation [10 minutes to pandas](https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html) ### Documentation problem Throughout the page, there are code examples with an accompanying explanation of what is happening. The explanation will sometimes end in a colon, and other times end with a period. Here is a screenshot of the inconsistency: ![image](https://user-images.githubusercontent.com/23269446/129495989-5b172a42-7bcc-49f4-8a4f-30d3087e872c.png) ### Suggested fix for documentation I think that having a colon is the correct usage considering that the sentences are explaining the code block underneath it. I also think it would be better for the page to be consistent in punctuation. In my pull request, I've changed all the instances where I think this is applicable, as well as changing a couple of wordings to be easier to understand.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43061/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43061/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43061.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43061", "merged_at": "2021-08-17T16:18:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43061.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43061" }
https://api.github.com/repos/pandas-dev/pandas/issues/43062
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43062/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43062/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43062/events
https://github.com/pandas-dev/pandas/pull/43062
971,284,806
MDExOlB1bGxSZXF1ZXN0NzEzMDUwMTI1
43,062
Update frame.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/86092192?v=4", "events_url": "https://api.github.com/users/trevorkask/events{/privacy}", "followers_url": "https://api.github.com/users/trevorkask/followers", "following_url": "https://api.github.com/users/trevorkask/following{/other_user}", "gists_url": "https://api.github.com/users/trevorkask/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trevorkask", "id": 86092192, "login": "trevorkask", "node_id": "MDQ6VXNlcjg2MDkyMTky", "organizations_url": "https://api.github.com/users/trevorkask/orgs", "received_events_url": "https://api.github.com/users/trevorkask/received_events", "repos_url": "https://api.github.com/users/trevorkask/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trevorkask/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trevorkask/subscriptions", "type": "User", "url": "https://api.github.com/users/trevorkask" }
[]
closed
false
null
[]
null
2
"2021-08-16T01:27:10Z"
"2021-08-16T01:29:02Z"
"2021-08-16T01:29:02Z"
CONTRIBUTOR
null
Built the example inside the docstring and removed the unnecessary inplace=true - [x] 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/43062/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43062/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43062.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43062", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43062.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43062" }
https://api.github.com/repos/pandas-dev/pandas/issues/43063
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43063/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43063/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43063/events
https://github.com/pandas-dev/pandas/pull/43063
971,293,883
MDExOlB1bGxSZXF1ZXN0NzEzMDU3MzM0
43,063
BENCH: fix misleading json asvs
{ "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": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-16T01:55:37Z"
"2021-08-17T14:22:08Z"
"2021-08-17T13:12:27Z"
MEMBER
null
a third of the measured time is in concat ATM, which isnt what we're trying to measure
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43063/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43063/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43063.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43063", "merged_at": "2021-08-17T13:12:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43063.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43063" }
https://api.github.com/repos/pandas-dev/pandas/issues/43064
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43064/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43064/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43064/events
https://github.com/pandas-dev/pandas/pull/43064
971,356,219
MDExOlB1bGxSZXF1ZXN0NzEzMTA4OTUw
43,064
BUG: Allow named aggregation with Resampler.agg
{ "avatar_url": "https://avatars.githubusercontent.com/u/74217512?v=4", "events_url": "https://api.github.com/users/dicristina/events{/privacy}", "followers_url": "https://api.github.com/users/dicristina/followers", "following_url": "https://api.github.com/users/dicristina/following{/other_user}", "gists_url": "https://api.github.com/users/dicristina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dicristina", "id": 74217512, "login": "dicristina", "node_id": "MDQ6VXNlcjc0MjE3NTEy", "organizations_url": "https://api.github.com/users/dicristina/orgs", "received_events_url": "https://api.github.com/users/dicristina/received_events", "repos_url": "https://api.github.com/users/dicristina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dicristina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dicristina/subscriptions", "type": "User", "url": "https://api.github.com/users/dicristina" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-08-16T04:31:42Z"
"2021-08-17T16:29:23Z"
"2021-08-17T16:15:28Z"
CONTRIBUTOR
null
- [x] closes #32803 - [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/43064/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43064/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43064.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43064", "merged_at": "2021-08-17T16:15:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43064.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43064" }
https://api.github.com/repos/pandas-dev/pandas/issues/43065
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43065/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43065/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43065/events
https://github.com/pandas-dev/pandas/pull/43065
971,358,278
MDExOlB1bGxSZXF1ZXN0NzEzMTEwNjc3
43,065
REF: Move BaseIndexers and indexer.py functions into their own directory
{ "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": "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": 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-08-16T04:36:23Z"
"2021-08-19T00:02:49Z"
"2021-08-18T23:56:44Z"
MEMBER
null
- [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 In preparation for unifying some `numba` code between groupby and rolling, moving `BaseIndexer`s to a new directory such that `pandas/core/window.indexers.py` -> `pandas/core/indexers/objects.py` (`BaseIndexer`s and their subclasses) `pandas/core/indexers.py` -> `pandas/core/indexers/utils.py` (misc indexer helper functions)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43065/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43065/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43065.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43065", "merged_at": "2021-08-18T23:56:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43065.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43065" }
https://api.github.com/repos/pandas-dev/pandas/issues/43066
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43066/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43066/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43066/events
https://github.com/pandas-dev/pandas/pull/43066
971,427,616
MDExOlB1bGxSZXF1ZXN0NzEzMTY5Mzcy
43,066
TST: df.combine_first duplicates rows for nan index values (#39881)
{ "avatar_url": "https://avatars.githubusercontent.com/u/7367411?v=4", "events_url": "https://api.github.com/users/ssche/events{/privacy}", "followers_url": "https://api.github.com/users/ssche/followers", "following_url": "https://api.github.com/users/ssche/following{/other_user}", "gists_url": "https://api.github.com/users/ssche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ssche", "id": 7367411, "login": "ssche", "node_id": "MDQ6VXNlcjczNjc0MTE=", "organizations_url": "https://api.github.com/users/ssche/orgs", "received_events_url": "https://api.github.com/users/ssche/received_events", "repos_url": "https://api.github.com/users/ssche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ssche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ssche/subscriptions", "type": "User", "url": "https://api.github.com/users/ssche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-16T07:00:36Z"
"2021-08-18T03:16:18Z"
"2021-08-17T13:13:50Z"
CONTRIBUTOR
null
- [x] closes #39881 - [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 - [ ] whatsnew entry (n/a - added test case only)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43066/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43066/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43066.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43066", "merged_at": "2021-08-17T13:13:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43066.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43066" }
https://api.github.com/repos/pandas-dev/pandas/issues/43067
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43067/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43067/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43067/events
https://github.com/pandas-dev/pandas/issues/43067
971,833,193
MDU6SXNzdWU5NzE4MzMxOTM=
43,067
BUG: pd.concat produces an invalid index in case of duplicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/11908736?v=4", "events_url": "https://api.github.com/users/linar-jether/events{/privacy}", "followers_url": "https://api.github.com/users/linar-jether/followers", "following_url": "https://api.github.com/users/linar-jether/following{/other_user}", "gists_url": "https://api.github.com/users/linar-jether/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/linar-jether", "id": 11908736, "login": "linar-jether", "node_id": "MDQ6VXNlcjExOTA4NzM2", "organizations_url": "https://api.github.com/users/linar-jether/orgs", "received_events_url": "https://api.github.com/users/linar-jether/received_events", "repos_url": "https://api.github.com/users/linar-jether/repos", "site_admin": false, "starred_url": "https://api.github.com/users/linar-jether/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/linar-jether/subscriptions", "type": "User", "url": "https://api.github.com/users/linar-jether" }
[ { "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-08-16T15:04:17Z"
"2021-08-16T15:14:10Z"
"2021-08-16T15:13:50Z"
NONE
null
#### Problem description When using `pd.concat` with the `keys` parameter, on a Series/Dataframe who's index contains duplicate entries, concat ignores these duplicate value and generates an **invalid MultiIndex**, with different "codes" for the same label. further down the line, this breaks `df.groupby(level=[0,1]).sum()` because apparently groupby relies on the "codes" rather than the values (?), resulting in a groupby aggregation that produces duplicates. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.7.11.final.0 python-bits : 64 OS : Linux OS-release : 5.4.104+ Version : #1 SMP Sat Jun 5 09:50:34 PDT 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.2 numpy : 1.19.5 pytz : 2018.9 dateutil : 2.8.2 pip : 21.1.3 setuptools : 57.2.0 Cython : 0.29.24 pytest : 3.6.4 hypothesis : None sphinx : 1.8.5 blosc : None feather : 0.4.1 xlsxwriter : None lxml.etree : 4.2.6 html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 5.5.0 pandas_datareader: 0.9.0 bs4 : 4.6.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.3 odfpy : None openpyxl : 2.5.9 pandas_gbq : 0.13.3 pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.4.22 tables : 3.4.4 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 1.1.0 xlwt : 1.3.0 numba : 0.51.2 </details> #### Code Sample, a copy-pastable example ```python import pandas as pd # Index with duplicate values test = pd.Series(range(6), index=list('ABCDDE')) # Prepend index level using concat multi_idx_test = pd.concat([test, ], keys=['1',], sort=True) # Other way to prepend an index level multi_idx_test2 = test.reset_index().assign(index0='1').set_index(['index0', 'index']).rename_axis([None, None], axis=0).squeeze().rename(None) assert multi_idx_test.equals(multi_idx_test2) # Groupby uses index codes, not actual values, producing wrong results bad_groupby = multi_idx_test.groupby(level=[0,1]).sum() good_groupby = multi_idx_test.groupby([multi_idx_test.index.get_level_values(0), multi_idx_test.index.get_level_values(1)]).sum() good_groupby2 = multi_idx_test2.groupby(level=[0,1]).sum() print(bad_groupby) print(good_groupby) print(good_groupby2) # Bad groupby result, see D is repeated 1 A 0 B 1 C 2 D 3 D 4 E 5 dtype: int64 # Proper groupby result, the raw index values 1 A 0 B 1 C 2 D 7 E 5 dtype: int64 # Proper groupby result, when using a MultiIndex that was created without `pd.concat` 1 A 0 B 1 C 2 D 7 E 5 dtype: int64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43067/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43067/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43068
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43068/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43068/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43068/events
https://github.com/pandas-dev/pandas/issues/43068
971,948,318
MDU6SXNzdWU5NzE5NDgzMTg=
43,068
BUG : pandas.DataFrame.to_excel function not working in pandas 1.3.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/66545911?v=4", "events_url": "https://api.github.com/users/KuhakuPixel/events{/privacy}", "followers_url": "https://api.github.com/users/KuhakuPixel/followers", "following_url": "https://api.github.com/users/KuhakuPixel/following{/other_user}", "gists_url": "https://api.github.com/users/KuhakuPixel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KuhakuPixel", "id": 66545911, "login": "KuhakuPixel", "node_id": "MDQ6VXNlcjY2NTQ1OTEx", "organizations_url": "https://api.github.com/users/KuhakuPixel/orgs", "received_events_url": "https://api.github.com/users/KuhakuPixel/received_events", "repos_url": "https://api.github.com/users/KuhakuPixel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KuhakuPixel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KuhakuPixel/subscriptions", "type": "User", "url": "https://api.github.com/users/KuhakuPixel" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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" }
6
"2021-08-16T17:24:29Z"
"2021-08-17T20:46:48Z"
null
NONE
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 # Your code here writer = pd.ExcelWriter('existingFile.xlsx', mode='a') df.to_excel(writer, sheet_name="existingSheet", startrow=writer.sheets["existingSheet"].max_row, index=False, header=False) ``` #### Problem description It seems this function is broken in pandas 1.3.0, when trying to append to an existing sheet it will either raise an error, create a new one or replace it so it is impossible to append a data frame to an existing sheet. according to this [document](https://pandas.pydata.org/docs/reference/api/pandas.ExcelWriter.html) > if_sheet_exists{‘error’, ‘new’, ‘replace’}, default ‘error’ > How to behave when trying to write to a sheet that already exists (append mode only). > > error: raise a ValueError. > > new: Create a new sheet, with a name determined by the engine. > > replace: Delete the contents of the sheet before writing to it. > > New in version 1.3.0 #### Expected Output Able to append to an existing sheet without error #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43068/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43068/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43069
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43069/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43069/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43069/events
https://github.com/pandas-dev/pandas/pull/43069
972,076,460
MDExOlB1bGxSZXF1ZXN0NzEzNzI0ODYx
43,069
Backport PR #43052 on branch 1.3.x (REGR: window ewm slowdown)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
0
"2021-08-16T20:27:24Z"
"2021-08-17T08:54:41Z"
"2021-08-17T08:54:41Z"
NONE
null
Backport PR #43052: REGR: window ewm slowdown
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43069/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43069/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43069.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43069", "merged_at": "2021-08-17T08:54:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43069.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43069" }
https://api.github.com/repos/pandas-dev/pandas/issues/43070
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43070/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43070/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43070/events
https://github.com/pandas-dev/pandas/pull/43070
972,076,584
MDExOlB1bGxSZXF1ZXN0NzEzNzI0OTcy
43,070
Backport PR #43033 on branch 1.3.x (DOC: arguments options correction)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
0
"2021-08-16T20:27:37Z"
"2021-08-17T08:53:42Z"
"2021-08-17T08:53:42Z"
NONE
null
Backport PR #43033: DOC: arguments options correction
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43070/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43070/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43070.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43070", "merged_at": "2021-08-17T08:53:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43070.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43070" }
https://api.github.com/repos/pandas-dev/pandas/issues/43071
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43071/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43071/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43071/events
https://github.com/pandas-dev/pandas/pull/43071
972,206,683
MDExOlB1bGxSZXF1ZXN0NzEzODM2Njkw
43,071
BENCH: Add pyarrow to env
{ "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": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-17T00:57:27Z"
"2021-08-17T20:25:31Z"
"2021-08-17T13:21:08Z"
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 This came up while I was benchmarking the pyarrow csv reader that I am planning to PR soon, which was erroring with an ImportError for pyarrow. Anyone know if this is the right patch? (It works correctly for me afterwards, however I am curious as to how ArrowStringArray was getting benchmarked) pytest also should be removable I think. (there really shouldn't be any reason why we are benchmarking that) cc @simonjayhawkins @TomAugspurger
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43071/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43071/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43071.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43071", "merged_at": "2021-08-17T13:21:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43071.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43071" }
https://api.github.com/repos/pandas-dev/pandas/issues/43072
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43072/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43072/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43072/events
https://github.com/pandas-dev/pandas/pull/43072
972,208,298
MDExOlB1bGxSZXF1ZXN0NzEzODM4MDA2
43,072
ENH: Add Arrow CSV Reader
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "f9d0c4", "default": false, "description": "", "id": 3303158446, "name": "Arrow", "node_id": "MDU6TGFiZWwzMzAzMTU4NDQ2", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Arrow" } ]
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" }
16
"2021-08-17T01:01:49Z"
"2021-09-01T01:47:06Z"
"2021-08-27T23:18:01Z"
MEMBER
null
- [ ] closes #23697 - [ ] 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 Picking up from #38370. Perf is OK. (StringIO/Text buffer reading gets like 20% overhead b/c of BytesIOWrapper, we should probably look into more efficient ways of doing it/cythonize it. Bytes IO performance looks good though). Benchmarks 100k rows, 5 col ``` [ 0.00%] ··· io.csv.ReadCSVEngine.time_read_bytescsv ok [ 0.00%] ··· ========= ============ engine --------- ------------ c 22.9±2ms python 259±20ms pyarrow 5.79±0.3ms ========= ============ [ 0.00%] ··· io.csv.ReadCSVEngine.time_read_stringcsv ok [ 0.00%] ··· ========= ============ engine --------- ------------ c 20.6±1ms python 257±1ms pyarrow 7.06±0.3ms ========= ============ ``` Tests will still fail tho, working on that rn. My machine is a 2019 MBP(Intel) with 6 cores. YMMV based on the number of CPUs you have. Surprised that it doesn't quite scale linearly, maybe the file is too small to feel the benefit of all 6 cores.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43072/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43072/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43072.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43072", "merged_at": "2021-08-27T23:18:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43072.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43072" }
https://api.github.com/repos/pandas-dev/pandas/issues/43073
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43073/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43073/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43073/events
https://github.com/pandas-dev/pandas/pull/43073
972,215,270
MDExOlB1bGxSZXF1ZXN0NzEzODQzNzky
43,073
PERF: is_string_dtype 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": "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-17T01:18:07Z"
"2021-08-17T14:21:16Z"
"2021-08-17T13:09:48Z"
MEMBER
null
Shaves 7-10% off of time_copy_overhead_single_col
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43073/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43073/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43073.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43073", "merged_at": "2021-08-17T13:09:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43073.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43073" }
https://api.github.com/repos/pandas-dev/pandas/issues/43074
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43074/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43074/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43074/events
https://github.com/pandas-dev/pandas/issues/43074
972,322,340
MDU6SXNzdWU5NzIzMjIzNDA=
43,074
BUG: pandas.read_csv with no schema gives corrupted data
{ "avatar_url": "https://avatars.githubusercontent.com/u/6995213?v=4", "events_url": "https://api.github.com/users/TRANTANKHOA/events{/privacy}", "followers_url": "https://api.github.com/users/TRANTANKHOA/followers", "following_url": "https://api.github.com/users/TRANTANKHOA/following{/other_user}", "gists_url": "https://api.github.com/users/TRANTANKHOA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TRANTANKHOA", "id": 6995213, "login": "TRANTANKHOA", "node_id": "MDQ6VXNlcjY5OTUyMTM=", "organizations_url": "https://api.github.com/users/TRANTANKHOA/orgs", "received_events_url": "https://api.github.com/users/TRANTANKHOA/received_events", "repos_url": "https://api.github.com/users/TRANTANKHOA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TRANTANKHOA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TRANTANKHOA/subscriptions", "type": "User", "url": "https://api.github.com/users/TRANTANKHOA" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
4
"2021-08-17T05:44:08Z"
"2021-08-22T04:33:49Z"
"2021-08-22T04:33:40Z"
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 ![image](https://user-images.githubusercontent.com/6995213/129669430-27507e05-b8a6-4c24-934e-7945889b41be.png) ```python x = [] with open(file=fn) as text: for line in text.readlines(): if line.startswith('000651,') or line.startswith('651,'): x.append(line) dat = pd.read_csv(fn) a = dat[dat['Id'] == '000651'] b = dat[dat['Id'] == 651] ``` #### Problem description For very long csv file that I'm storing [here](https://mam-dev-khoa.s3.amazonaws.com/dummy.csv?AWSAccessKeyId=ASIA4TCV2CZ7FAE5OWBX&Signature=uX4%2FFIlESZ6v2%2BkoAU3Unz3iQ7s%3D&x-amz-security-token=FwoGZXIvYXdzEFcaDF5jyItKd0DwMh24wyKGAV454HK0YLObdSMHNseu4s96fpjBhy%2FRscSJFnFtCQtanim8mdia5vOKK4StoduCn1J%2FGoz%2F51zOVlUWWQ0e040v37nIkQDQzF7W2xEbqPNr0l4sLgzvdWUWX1R7hcGl8NA1SAvDhUiSEIBzNh6pgHk7%2FW4mXC1lCRlD2qk7boeAYNLi0PsoKO%2Ba7YgGMiijonJs5bU0s%2FhSCVsCThaPb%2BXtZD24DSMCiYaPCbpl1niY0ZKUUKt8&Expires=1629183449), the parser read some of the rows with `Id` as Integer then later some as strings. This leads to corrupted data when we later write the data in memory to SQL. #### Expected Output Consistent data type for each column or throw error #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 85 Stepping 7, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.3.0 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.1.3 setuptools : 57.4.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43074/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43074/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43075
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43075/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43075/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43075/events
https://github.com/pandas-dev/pandas/issues/43075
972,336,410
MDU6SXNzdWU5NzIzMzY0MTA=
43,075
BUG: pandas 1.3.2 incompatible with fastparquet 0.7.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/15793366?v=4", "events_url": "https://api.github.com/users/mmac-m3a/events{/privacy}", "followers_url": "https://api.github.com/users/mmac-m3a/followers", "following_url": "https://api.github.com/users/mmac-m3a/following{/other_user}", "gists_url": "https://api.github.com/users/mmac-m3a/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mmac-m3a", "id": 15793366, "login": "mmac-m3a", "node_id": "MDQ6VXNlcjE1NzkzMzY2", "organizations_url": "https://api.github.com/users/mmac-m3a/orgs", "received_events_url": "https://api.github.com/users/mmac-m3a/received_events", "repos_url": "https://api.github.com/users/mmac-m3a/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mmac-m3a/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mmac-m3a/subscriptions", "type": "User", "url": "https://api.github.com/users/mmac-m3a" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "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" } ]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
4
"2021-08-17T06:11:52Z"
"2021-09-01T19:36:43Z"
"2021-09-01T19:36:43Z"
NONE
null
- [x] I have checked that this issue has not already been reported. I've searched listing of open issues for "parquet" and found no matching entry describing this problem - [x] I have confirmed this bug exists on the latest version of pandas. Exists in 1.3.2 - [x] (optional) I have confirmed this bug exists on the master branch of pandas. Exists also in the master branch. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.read_parquet("df.parquet") ``` This fails with the following stack trace: ``` In [8]: df = pd.read_parquet("df.parquet") --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-8-3c208bf199a1> in <module> ----> 1 df = pd.read_parquet("df.parquet") ~/.virtual_envs/kapi2/lib/python3.9/site-packages/pandas/io/parquet.py in read_parquet(path, engine, columns, storage_options, use_nullable_dtypes, **kwargs) 493 impl = get_engine(engine) 494 --> 495 return impl.read( 496 path, 497 columns=columns, ~/.virtual_envs/kapi2/lib/python3.9/site-packages/pandas/io/parquet.py in read(self, path, columns, storage_options, **kwargs) 342 path = handles.handle 343 --> 344 parquet_file = self.api.ParquetFile(path, **parquet_kwargs) 345 346 result = parquet_file.to_pandas(columns=columns, **kwargs) TypeError: __init__() got an unexpected keyword argument 'pandas_nulls' ``` #### Problem description AFAICT, the root cause of the problem is the "api" version test in [io/parquet.py](https://github.com/pandas-dev/pandas/blob/master/pandas/io/parquet.py#L314) It needs to test `self.api.__version__ > Version("0.7.0")`. `ParquetFile` constructor in `fastparquet` 0.7.0 does not support `pandas_nulls` argument. This argument is supported from version 0.7.1. `fastparquet` 0.7.1 unfortunately does not build/install on darwin/arm64 (well, at least for me) :-/. #### Expected Output Obviously, the expected behavior is that the `DataFrame` is read from the file. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.5.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 machine : arm64 processor : arm byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.2 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 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 : 7.26.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.07.0 fastparquet : 0.7.0 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/43075/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43075/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43076
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43076/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43076/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43076/events
https://github.com/pandas-dev/pandas/pull/43076
972,397,341
MDExOlB1bGxSZXF1ZXN0NzEzOTk2Mzk5
43,076
Backport PR #43041 on branch 1.3.x (Fix len one list dataframe constructor bug for datetime)
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" }, { "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-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
2
"2021-08-17T07:43:40Z"
"2021-09-29T20:13:56Z"
"2021-08-17T08:58:44Z"
MEMBER
null
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43076/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43076/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43076.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43076", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43076.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43076" }
https://api.github.com/repos/pandas-dev/pandas/issues/43077
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43077/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43077/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43077/events
https://github.com/pandas-dev/pandas/pull/43077
972,457,162
MDExOlB1bGxSZXF1ZXN0NzE0MDQ3MTY3
43,077
Backport PR #43041 on branch 1.3.x (Fix len one list dataframe constructor bug for datetime)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "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": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" }, { "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-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
1
"2021-08-17T08:56:30Z"
"2021-08-17T12:04:54Z"
"2021-08-17T12:04:54Z"
NONE
null
Backport PR #43041: Fix len one list dataframe constructor bug for datetime
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43077/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43077/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43077.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43077", "merged_at": "2021-08-17T12:04:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43077.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43077" }
https://api.github.com/repos/pandas-dev/pandas/issues/43078
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43078/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43078/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43078/events
https://github.com/pandas-dev/pandas/pull/43078
972,624,304
MDExOlB1bGxSZXF1ZXN0NzE0MTkxODkz
43,078
REF: `axis in [...]` becomes `_get_axis_number(axis)` in Styler
{ "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": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-17T12:14:40Z"
"2021-08-17T14:13:16Z"
"2021-08-17T13:08:09Z"
CONTRIBUTOR
null
- [x] address an item in #43048
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43078/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43078/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43078.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43078", "merged_at": "2021-08-17T13:08:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43078.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43078" }
https://api.github.com/repos/pandas-dev/pandas/issues/43079
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43079/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43079/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43079/events
https://github.com/pandas-dev/pandas/issues/43079
972,630,333
MDU6SXNzdWU5NzI2MzAzMzM=
43,079
BUG: Incorrect assigning Series to DF
{ "avatar_url": "https://avatars.githubusercontent.com/u/26389732?v=4", "events_url": "https://api.github.com/users/YarShev/events{/privacy}", "followers_url": "https://api.github.com/users/YarShev/followers", "following_url": "https://api.github.com/users/YarShev/following{/other_user}", "gists_url": "https://api.github.com/users/YarShev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YarShev", "id": 26389732, "login": "YarShev", "node_id": "MDQ6VXNlcjI2Mzg5NzMy", "organizations_url": "https://api.github.com/users/YarShev/orgs", "received_events_url": "https://api.github.com/users/YarShev/received_events", "repos_url": "https://api.github.com/users/YarShev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YarShev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YarShev/subscriptions", "type": "User", "url": "https://api.github.com/users/YarShev" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "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
2
"2021-08-17T12:21:46Z"
"2021-08-17T12:26:30Z"
"2021-08-17T12:26:30Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas df = pandas.DataFrame( { "a": [1, 1, 2, 3], "b": [3, 4, 5, 6], "c": [7, 8, 9, 10], "d": [11, 12, 13, 14], }, index= ["1", "2", "3", "4"] ) a = df["a"] = pandas.Series([5, 5, 5, 5]) a 0 5 1 5 2 5 3 5 dtype: int64 df a b c d 1 NaN 3 7 11 2 NaN 4 8 12 3 NaN 5 9 13 4 NaN 6 10 14 ``` #### Problem description & Expected Output Shouldn't the column "a" contain `Series([5, 5, 5, 5])`? #### Output of ``pd.show_versions()`` <details> pandas : 1.3.2 numpy : 1.21.1 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.1 setuptools : 49.6.0.post20210108 Cython : None pytest : 6.2.4 hypothesis : None sphinx : None blosc : None feather : 0.4.1 xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.25.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.07.0 fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : 0.15.0 pyarrow : 3.0.0 pyxlsb : None s3fs : 0.4.2 scipy : 1.7.0 sqlalchemy : 1.4.22 tables : 3.6.1 tabulate : None xarray : 0.19.0 xlrd : 2.0.1 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43079/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43079/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43080
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43080/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43080/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43080/events
https://github.com/pandas-dev/pandas/issues/43080
972,842,722
MDU6SXNzdWU5NzI4NDI3MjI=
43,080
BUG: dt.tz_convert() on categorical[datetime] resets index
{ "avatar_url": "https://avatars.githubusercontent.com/u/28730622?v=4", "events_url": "https://api.github.com/users/tscheburaschka/events{/privacy}", "followers_url": "https://api.github.com/users/tscheburaschka/followers", "following_url": "https://api.github.com/users/tscheburaschka/following{/other_user}", "gists_url": "https://api.github.com/users/tscheburaschka/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tscheburaschka", "id": 28730622, "login": "tscheburaschka", "node_id": "MDQ6VXNlcjI4NzMwNjIy", "organizations_url": "https://api.github.com/users/tscheburaschka/orgs", "received_events_url": "https://api.github.com/users/tscheburaschka/received_events", "repos_url": "https://api.github.com/users/tscheburaschka/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tscheburaschka/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tscheburaschka/subscriptions", "type": "User", "url": "https://api.github.com/users/tscheburaschka" }
[ { "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": "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": 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-08-17T16:00:56Z"
"2021-09-05T09:34:06Z"
"2021-09-05T09:34:06Z"
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- ### Code Sample ```python import itertools import pandas as pd ts_list = pd.date_range(start='2021-01-01T02:00:00', periods=3, freq='1D').to_list() df = pd.DataFrame(data=list(itertools.islice(itertools.cycle(ts_list), 9)), index=[2, 4, 5, 6, 7, 8, 11, 14, 15], columns=['pure_datetime']) df['categorical_datetime'] = df['pure_datetime'].astype(pd.CategoricalDtype()) """ >>> df pure_datetime categorical_datetime 2 2021-01-01 02:00:00 2021-01-01 02:00:00 4 2021-01-02 02:00:00 2021-01-02 02:00:00 5 2021-01-03 02:00:00 2021-01-03 02:00:00 6 2021-01-01 02:00:00 2021-01-01 02:00:00 7 2021-01-02 02:00:00 2021-01-02 02:00:00 8 2021-01-03 02:00:00 2021-01-03 02:00:00 11 2021-01-01 02:00:00 2021-01-01 02:00:00 14 2021-01-02 02:00:00 2021-01-02 02:00:00 15 2021-01-03 02:00:00 2021-01-03 02:00:00 >>> df.dtypes pure_datetime datetime64[ns] categorical_datetime category dtype: object """ # Now apply some function from .dt namespace. """ >>> df['pure_datetime'].dt.tz_localize('Europe/Berlin') 2 2021-01-01 02:00:00+01:00 4 2021-01-02 02:00:00+01:00 5 2021-01-03 02:00:00+01:00 6 2021-01-01 02:00:00+01:00 7 2021-01-02 02:00:00+01:00 8 2021-01-03 02:00:00+01:00 11 2021-01-01 02:00:00+01:00 14 2021-01-02 02:00:00+01:00 15 2021-01-03 02:00:00+01:00 Name: pure_datetime, dtype: datetime64[ns, Europe/Berlin] """ # All is fine with pure datetime column # BUT, when applied to categorical column, the index is reset: """ >>> df['categorical_datetime'].dt.tz_localize('Europe/Berlin') 0 2021-01-01 02:00:00+01:00 1 2021-01-02 02:00:00+01:00 2 2021-01-03 02:00:00+01:00 3 2021-01-01 02:00:00+01:00 4 2021-01-02 02:00:00+01:00 5 2021-01-03 02:00:00+01:00 6 2021-01-01 02:00:00+01:00 7 2021-01-02 02:00:00+01:00 8 2021-01-03 02:00:00+01:00 Name: categorical_datetime, dtype: datetime64[ns, Europe/Berlin] """ # Naive construction of new columns yields convoluted results df['localized_pure'] = df['pure_datetime'].dt.tz_localize('Europe/Berlin') df['localized_categorical'] = df['categorical_datetime'].dt.tz_localize('Europe/Berlin') """ >>> df pure_datetime categorical_datetime localized_pure localized_categorical 2 2021-01-01 02:00:00 2021-01-01 02:00:00 2021-01-01 02:00:00+01:00 2021-01-03 02:00:00+01:00 4 2021-01-02 02:00:00 2021-01-02 02:00:00 2021-01-02 02:00:00+01:00 2021-01-02 02:00:00+01:00 5 2021-01-03 02:00:00 2021-01-03 02:00:00 2021-01-03 02:00:00+01:00 2021-01-03 02:00:00+01:00 6 2021-01-01 02:00:00 2021-01-01 02:00:00 2021-01-01 02:00:00+01:00 2021-01-01 02:00:00+01:00 7 2021-01-02 02:00:00 2021-01-02 02:00:00 2021-01-02 02:00:00+01:00 2021-01-02 02:00:00+01:00 8 2021-01-03 02:00:00 2021-01-03 02:00:00 2021-01-03 02:00:00+01:00 2021-01-03 02:00:00+01:00 11 2021-01-01 02:00:00 2021-01-01 02:00:00 2021-01-01 02:00:00+01:00 NaT 14 2021-01-02 02:00:00 2021-01-02 02:00:00 2021-01-02 02:00:00+01:00 NaT 15 2021-01-03 02:00:00 2021-01-03 02:00:00 2021-01-03 02:00:00+01:00 NaT """ ``` #### Problem description When working on categorical columns, I would expect all methods, that can be called without error or warning, to yield the same results as when applied to the pure (category-expanded) columns. Some methods from the `.dt`-namespace (at least `tz_localize()` and `tz_convert()`) seem to return non-consistent results. In particular, they reset the index of the input column (a Series in fact). #### Expected Output I expect the method `.dt.tz_localize()` to not reset the index when applied to a Series of datetime categoricals. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.14393 machine : AMD64 processor : Intel64 Family 6 Model 85 Stepping 0, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : de_DE.cp1252 pandas : 1.3.2 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 57.4.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 : 3.0.1 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/43080/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43080/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43081
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43081/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43081/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43081/events
https://github.com/pandas-dev/pandas/pull/43081
972,845,935
MDExOlB1bGxSZXF1ZXN0NzE0MzgxNDQ1
43,081
Backport PR #43054 on branch 1.3.x (REGR: SeriesGrouper using Timestamp index)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
0
"2021-08-17T16:04:26Z"
"2021-08-17T17:12:14Z"
"2021-08-17T17:12:13Z"
NONE
null
Backport PR #43054: REGR: SeriesGrouper using Timestamp index
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43081/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43081/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43081.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43081", "merged_at": "2021-08-17T17:12:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43081.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43081" }
https://api.github.com/repos/pandas-dev/pandas/issues/43082
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43082/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43082/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43082/events
https://github.com/pandas-dev/pandas/issues/43082
972,884,648
MDU6SXNzdWU5NzI4ODQ2NDg=
43,082
BUG: exponential moving window covariance fails for a non-from_product MultiIndexed DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/29701232?v=4", "events_url": "https://api.github.com/users/sberglin/events{/privacy}", "followers_url": "https://api.github.com/users/sberglin/followers", "following_url": "https://api.github.com/users/sberglin/following{/other_user}", "gists_url": "https://api.github.com/users/sberglin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sberglin", "id": 29701232, "login": "sberglin", "node_id": "MDQ6VXNlcjI5NzAxMjMy", "organizations_url": "https://api.github.com/users/sberglin/orgs", "received_events_url": "https://api.github.com/users/sberglin/received_events", "repos_url": "https://api.github.com/users/sberglin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sberglin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sberglin/subscriptions", "type": "User", "url": "https://api.github.com/users/sberglin" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "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
3
"2021-08-17T16:52:12Z"
"2021-08-26T23:33:34Z"
"2021-08-26T23:33:33Z"
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np columns = pd.MultiIndex.from_arrays([[1, 1, 2], ['a', 'b', 'b']]) index = range(1000) df = pd.DataFrame( np.random.normal(size=(len(index), len(columns))), index=index, columns=columns) df.ewm(alpha=0.05).cov() ``` #### Problem description `cov` works fine when the `MultiIndex` is created with `from_product`, but fails here since the `MultiIndex` here cannot be created in this way. I would expect the `.cov` to work on any MultiIndex since the form of the column names should not impact covariance computations. It works for `pd.DataFrame(df.values).ewm(alpha=0.1).cov()`. This issue is closely related to [this older bug](https://github.com/pandas-dev/pandas/issues/34440). #### Expected Output A standard `ewm.cov` output. #### Output of ``pd.show_versions()`` ``` INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.8.8.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.2 numpy : 1.19.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : 0.29.22 pytest : 6.2.2 hypothesis : None sphinx : 3.5.3 blosc : None feather : None xlsxwriter : 1.3.8 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.7 fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.4 tables : 3.6.1 tabulate : None xarray : None 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/43082/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43082/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43083
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43083/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43083/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43083/events
https://github.com/pandas-dev/pandas/pull/43083
972,895,143
MDExOlB1bGxSZXF1ZXN0NzE0NDIzMTc2
43,083
TST: refactor count rows in sql test
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": 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-08-17T17:04:52Z"
"2021-08-18T23:53:04Z"
"2021-08-18T23:52:59Z"
MEMBER
null
xref #40686
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43083/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43083/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43083.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43083", "merged_at": "2021-08-18T23:52:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43083.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43083" }
https://api.github.com/repos/pandas-dev/pandas/issues/43084
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43084/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43084/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43084/events
https://github.com/pandas-dev/pandas/issues/43084
972,923,021
MDU6SXNzdWU5NzI5MjMwMjE=
43,084
ENH: clearer error messages for `xlrd` and `openpyxl` issues
{ "avatar_url": "https://avatars.githubusercontent.com/u/2507951?v=4", "events_url": "https://api.github.com/users/hoffm386/events{/privacy}", "followers_url": "https://api.github.com/users/hoffm386/followers", "following_url": "https://api.github.com/users/hoffm386/following{/other_user}", "gists_url": "https://api.github.com/users/hoffm386/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hoffm386", "id": 2507951, "login": "hoffm386", "node_id": "MDQ6VXNlcjI1MDc5NTE=", "organizations_url": "https://api.github.com/users/hoffm386/orgs", "received_events_url": "https://api.github.com/users/hoffm386/received_events", "repos_url": "https://api.github.com/users/hoffm386/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hoffm386/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hoffm386/subscriptions", "type": "User", "url": "https://api.github.com/users/hoffm386" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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-08-17T17:41:57Z"
"2021-08-18T23:46:19Z"
null
NONE
null
#### Is your feature request related to a problem? While using the `scipy-notebook` image from Jupyter, which installs `pandas` and `xlrd` but not `openpyxl` (full dependency list [here](https://github.com/jupyter/docker-stacks/blob/master/scipy-notebook/Dockerfile#L19)), I attempted to open a `.xlsx` file using `pd.read_excel`. Code example: ```python import pandas as pd df = pd.read_excel('cities.xlsx') ``` The error message I got was: ``` ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl. ``` This was confusing since previously all I needed was `xlrd` for this code to work. When I look in the [docs for `pd.read_excel`](https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html) and scroll down through the params to `engine` (which I had left as the default in my code), I see that this is because my `xlrd` version has been upgraded to greater than 2.0, which means that it only supports `.xls` files now, not `.xlsx`. I would like the error message to reflect this more clearly. #### Describe the solution you'd like There is already a `ValueError` in the code that would be much clearer: ```python # Pass through if ext is None, otherwise check if ext valid for xlrd if ext and ext != "xls" and xlrd_version >= Version("2"): raise ValueError( f"Your version of xlrd is {xlrd_version}. In xlrd >= 2.0, " f"only the xls format is supported. Install openpyxl instead." ) ``` (Link to source [here](https://github.com/pandas-dev/pandas/blob/master/pandas/io/excel/_base.py#L1215)) However this is only triggered if the user explicitly specifies `engine="xlrd"`, e.g. ```python import pandas as pd df = pd.read_excel('cities.xlsx', engine='xlrd') ``` I propose that the logic be rearranged so that if: 1. The user passes in a file with a `.xlsx` extension to `pd.read_excel`, and 2. No `engine` param is specified, and 3. `xlrd` with version > 2.0 is installed, and 4. `openpyxl` is not installed then the user will see the value error message explaining that `xlrd` > 2.0 only supports `.xls`, and that `openpyxl` is required for `.xlsx`. In other words, this code: ```python import pandas as pd df = pd.read_excel('cities.xlsx') ``` should produce an error message like this: ``` Your version of xlrd is {xlrd_version}. In xlrd >= 2.0, only the xls format is supported. Install openpyxl instead. ``` rather than an error message like this: ``` ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl. ``` #### API breaking implications I'm not sure if it technically is part of the "API", but this changes what type of error is thrown from an `ImportError` to a `ValueError` in a specific circumstance. #### Describe alternatives you've considered Another alternative might be to move the documentation about `xlrd` and `openpxl` out from under the `engine` param. If that were moved to the top or bottom of the `pd.read_excel` page (rather than in the middle like it is now), that would make it easier to understand what's happening with an error like this. Specifically this section of the documentation could be moved: ``` .. versionchanged:: 1.2.0 The engine `xlrd <https://xlrd.readthedocs.io/en/latest/>`_ now only supports old-style ``.xls`` files. When ``engine=None``, the following logic will be used to determine the engine: - If ``path_or_buffer`` is an OpenDocument format (.odf, .ods, .odt), then `odf <https://pypi.org/project/odfpy/>`_ will be used. - Otherwise if ``path_or_buffer`` is an xls format, ``xlrd`` will be used. - Otherwise if ``path_or_buffer`` is in xlsb format, ``pyxlsb`` will be used. .. versionadded:: 1.3.0 - Otherwise ``openpyxl`` will be used. .. versionchanged:: 1.3.0 ``` (Link to source [here](https://github.com/pandas-dev/pandas/blob/v1.3.2/pandas/io/excel/_base.py#L128)) I still think changing the error message would be better and clearer. #### Additional context **The current error message seems to assume that the user has the ability to install new dependencies on the system, and that the user does not have the ability to convert the file type they are working with. I think that the opposite is often true.** In my specific situation, I am not actually using any of the functionality that is specific to a `.xlsx` file, so the easiest workaround is to convert the file to `.xls`. But the `ImportError` implies that the best approach is to install additional dependencies, which would require waiting for updates to be made on the Jupyter project. If there is support for this feature request I'm happy to put together a PR!
{ "+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/43084/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43084/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43085
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43085/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43085/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43085/events
https://github.com/pandas-dev/pandas/issues/43085
972,932,646
MDU6SXNzdWU5NzI5MzI2NDY=
43,085
BUG: pandas.DataFrame.reindex - sample code to expand the dataframe as given in the API reference is not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/707485?v=4", "events_url": "https://api.github.com/users/Ramaseshanr/events{/privacy}", "followers_url": "https://api.github.com/users/Ramaseshanr/followers", "following_url": "https://api.github.com/users/Ramaseshanr/following{/other_user}", "gists_url": "https://api.github.com/users/Ramaseshanr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ramaseshanr", "id": 707485, "login": "Ramaseshanr", "node_id": "MDQ6VXNlcjcwNzQ4NQ==", "organizations_url": "https://api.github.com/users/Ramaseshanr/orgs", "received_events_url": "https://api.github.com/users/Ramaseshanr/received_events", "repos_url": "https://api.github.com/users/Ramaseshanr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ramaseshanr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ramaseshanr/subscriptions", "type": "User", "url": "https://api.github.com/users/Ramaseshanr" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
"2021-08-17T17:55:46Z"
"2021-08-18T18:17:03Z"
"2021-08-18T18:17:02Z"
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 date_index = pd.date_range('1/1/2010', periods=6, freq='D') df2 = pd.DataFrame({"prices": [100, 101, np.nan, 100, 89, 88]}, index=date_index) df2 date_index2 = pd.date_range('12/29/2009', periods=10, freq='D') df2.reindex(date_index2) df2 ```python date_index = pd.date_range('1/1/2010', periods=6, freq='D') df2 = pd.DataFrame({"prices": [100, 101, np.nan, 100, 89, 88]}, index=date_index) df2 date_index2 = pd.date_range('12/29/2009', periods=10, freq='D') df2.reindex(date_index2) df2 ``` #### Problem description Unable to expand a dataframe using reindex, if the index is datetime. It works for other data types. The code is copied from the [API reference](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.reindex.html) of Pandas #### Expected Output prices 2009-12-29 NaN 2009-12-30 NaN 2009-12-31 NaN 2010-01-01 100.0 2010-01-02 101.0 2010-01-03 NaN 2010-01-04 100.0 2010-01-05 89.0 2010-01-06 88.0 2010-01-07 NaN #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19043 machine : AMD64 processor : Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_India.1252 pandas : 1.3.2 numpy : 1.21.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/43085/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43085/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43086
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43086/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43086/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43086/events
https://github.com/pandas-dev/pandas/pull/43086
972,960,656
MDExOlB1bGxSZXF1ZXN0NzE0NDc4MDEy
43,086
#fixed syntax and grammatical errors, Added quick notes for simple go - through/ follow-ups
{ "avatar_url": "https://avatars.githubusercontent.com/u/72210283?v=4", "events_url": "https://api.github.com/users/harshkr1999/events{/privacy}", "followers_url": "https://api.github.com/users/harshkr1999/followers", "following_url": "https://api.github.com/users/harshkr1999/following{/other_user}", "gists_url": "https://api.github.com/users/harshkr1999/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/harshkr1999", "id": 72210283, "login": "harshkr1999", "node_id": "MDQ6VXNlcjcyMjEwMjgz", "organizations_url": "https://api.github.com/users/harshkr1999/orgs", "received_events_url": "https://api.github.com/users/harshkr1999/received_events", "repos_url": "https://api.github.com/users/harshkr1999/repos", "site_admin": false, "starred_url": "https://api.github.com/users/harshkr1999/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/harshkr1999/subscriptions", "type": "User", "url": "https://api.github.com/users/harshkr1999" }
[]
closed
false
null
[]
null
2
"2021-08-17T18:34:55Z"
"2021-08-17T19:58:20Z"
"2021-08-17T19:58:20Z"
NONE
null
… through. (Open to further updates) #fixed syntax and grammatical errors, Added quick notes for simple go through. (Open to further updates) - [x] 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/43086/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43086/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43086.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43086", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43086.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43086" }
https://api.github.com/repos/pandas-dev/pandas/issues/43087
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43087/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43087/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43087/events
https://github.com/pandas-dev/pandas/issues/43087
973,036,906
MDU6SXNzdWU5NzMwMzY5MDY=
43,087
BUG: Inconsistent column order result using Left Merge depending if left dataframe is empty or not
{ "avatar_url": "https://avatars.githubusercontent.com/u/3794302?v=4", "events_url": "https://api.github.com/users/fjossandon/events{/privacy}", "followers_url": "https://api.github.com/users/fjossandon/followers", "following_url": "https://api.github.com/users/fjossandon/following{/other_user}", "gists_url": "https://api.github.com/users/fjossandon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fjossandon", "id": 3794302, "login": "fjossandon", "node_id": "MDQ6VXNlcjM3OTQzMDI=", "organizations_url": "https://api.github.com/users/fjossandon/orgs", "received_events_url": "https://api.github.com/users/fjossandon/received_events", "repos_url": "https://api.github.com/users/fjossandon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fjossandon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fjossandon/subscriptions", "type": "User", "url": "https://api.github.com/users/fjossandon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
open
false
null
[]
null
1
"2021-08-17T20:23:33Z"
"2021-08-19T13:32:44Z"
null
NONE
null
- [X] I have checked that this issue has not already been reported. There is a similar report but using "outer join" instead of "left join": https://github.com/pandas-dev/pandas/issues/9937 - [X] I have confirmed this bug exists on the latest version of pandas. Is present at least in the last version I can install with pip3 "1.1.5". - [X] (optional) I have confirmed this bug exists on the master branch of pandas. Partially, the relevant underlying code that I identified in master looks identical to my version, although I have not upgrade it --- #### Code Sample, a copy-pastable example First the regular and expected behavior ```python left_df = pandas.DataFrame({ "id": [1, 2], "full_name": ["Long Name", "Long Name 2"], "short_name": ["Short", "Short 2"], "counts": [1000, 500], "percent": [20, 10], "constant": [5, 1], }) right_df = pandas.DataFrame({ "full_name": ["Long Name"], "copies": [20000], "norm_copies": [10000], "unit": ["abcd"], "calculated_value": [2000], }) merged_df = pandas.merge( left_df, right_df, how="left", on="full_name", ) print(merged_df) id full_name short_name counts percent constant copies norm_copies unit calculated_value 0 1 Long Name Short 1000 20 5 20000.0 10000.0 abcd 2000.0 1 2 Long Name 2 Short 2 500 10 1 NaN NaN NaN NaN ``` Note that it preserves the left_df order and adds the new columns at the end Then when the left_df is empty ```python left_df = pandas.DataFrame({ "id": [], "full_name": [], "short_name": [], "counts": [], "percent": [], "constant": [], }) right_df = pandas.DataFrame({ "full_name": [], "copies": [], "norm_copies": [], "unit": [], "calculated_value": [], }) merged_df = pandas.merge( left_df, right_df, how="left", on="full_name", ) print(merged_df) Empty DataFrame Columns: [id, short_name, counts, percent, constant, full_name, copies, norm_copies, unit, calculated_value] Index: [] ``` #### Problem description There is an inconsistency in the column order depending only if the `left_df` is empty or not. When its not empty the merged dataframe have the expected column ordering, keeping the ON `full_name` column in its original place, while when its empty the right_df overrides this and imposes its own column ordering at the end of the merged dataframe, moving the ON `full_name` column to a different place. My own problem was that some tests I made for my code expects consistency on the merged dataframe structure (which is later transformed in exported tables), but now I see that the ordering changes on different scenarios. Of course I can try to compensate this problem by always reordering columns after the fact, or some other adjustments to ensure a consistent output, but the main point is that merged column order should follow a consistent behavior (either the original order which I prefer, or the new order imposed by the right dataframe) regardless of the left dataframe being empty or not. I'm not sure about what is the "right" behavior in the outer join case I referred above, but at least in a left join the column order of the left dataframe should mandate in all cases. #### Expected Output Preserve original column order ``` Empty DataFrame Columns: [id, full_name, short_name, counts, percent, constant, copies, norm_copies, unit, calculated_value] Index: [] ``` I looked deeper with my debugger and traced to the relevant merge code, https://github.com/pandas-dev/pandas/blob/master/pandas/core/reshape/merge.py#L1097-L1102: ```python if lk is not None and lk == rk: # avoid key upcast in corner case (length-0) if len(left) > 0: right_drop.append(rk) else: left_drop.append(lk) ``` In this place the code decides which redundant column (the ON column) to remove, If the left dataframe is empty, it adds it to a drop list that is executed later, removing the column from there, while if not empty it removes from the right dataframe, which is exactly what I'm observing. Doing some archaelogy, I went back until I found the commit where this was first implemented 9 years ago, https://github.com/pandas-dev/pandas/commit/0da0066c2687898656bbf509ffd42f14b1c0a727: > - Fix IndexError in left merges on a DataFrame with 0-length (#1628) Apparently, it always dropped from the right dataframe before but changed because of an error with the left dataframe being empty. So the relevant question is if that would still be a problem today, since in my example the right dataframe was also empty but I saw no error with that... could it be that the fix is not needed anymore because the old error is resolved in other ways and go back to a consistent behavior?? I made a temporal local edit of my files, removing the IF to always drop from the dataframe to test this case, and it worked without errors!: ```python if lk is not None and lk == rk: right_drop.append(rk) print(merged_df) Empty DataFrame Columns: [id, full_name, short_name, counts, percent, constant, copies, norm_copies, unit, calculated_value] Index: [] ``` The columns have the correct order. Since the removal of the IF was successful, I decided to also test the code in the old issue report with the error associated to this IF mentioned above: ```python >>> from pandas import * >>> a = DataFrame(columns=['column1'], data=[1]) >>> b = DataFrame(columns=['column1']) >>> a.merge(b, on=['column1'], how='left') column1 0 1 ``` And no errors!! So it means that fixing the column order by removing that IF will not cause a regression on that other report. Please consider implementing this if it does not cause any test regression, it would be an easy fix. Best regards! #### Output of ``pd.show_versions()`` <details> >>> pandas.show_versions() INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-80-generic Version : #90~18.04.1-Ubuntu SMP Tue Jul 13 19:40:02 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : es_ES.UTF-8 LOCALE : es_ES.UTF-8 pandas : 1.1.5 numpy : 1.19.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.2.4 setuptools : 39.0.1 Cython : 0.29.20 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.17 tables : None tabulate : 0.8.9 xarray : None xlrd : None 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/43087/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43087/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43088
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43088/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43088/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43088/events
https://github.com/pandas-dev/pandas/issues/43088
973,048,411
MDU6SXNzdWU5NzMwNDg0MTE=
43,088
ENH: Rename ExcelWriter to make clear attributes are not public
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
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" }
15
"2021-08-17T20:40:30Z"
"2021-09-10T22:48:05Z"
null
MEMBER
null
Ref: https://github.com/pandas-dev/pandas/issues/43068#issuecomment-900504112 Copying from the comment above: > The [documentation](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.ExcelWriter.html) of `ExcelWriter` says: "None of the methods and properties are considered public.". It seems this line the documentation would be easy to miss, and it'd be better to make this more clear via the standard naming convention of a single leading underscore.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43088/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43088/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43089
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43089/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43089/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43089/events
https://github.com/pandas-dev/pandas/pull/43089
973,095,334
MDExOlB1bGxSZXF1ZXN0NzE0NTkxNzQ2
43,089
Added some more concepts and 3rd page #Update #CheatSheet #Pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/72210283?v=4", "events_url": "https://api.github.com/users/harshkr1999/events{/privacy}", "followers_url": "https://api.github.com/users/harshkr1999/followers", "following_url": "https://api.github.com/users/harshkr1999/following{/other_user}", "gists_url": "https://api.github.com/users/harshkr1999/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/harshkr1999", "id": 72210283, "login": "harshkr1999", "node_id": "MDQ6VXNlcjcyMjEwMjgz", "organizations_url": "https://api.github.com/users/harshkr1999/orgs", "received_events_url": "https://api.github.com/users/harshkr1999/received_events", "repos_url": "https://api.github.com/users/harshkr1999/repos", "site_admin": false, "starred_url": "https://api.github.com/users/harshkr1999/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/harshkr1999/subscriptions", "type": "User", "url": "https://api.github.com/users/harshkr1999" }
[]
closed
false
null
[]
null
1
"2021-08-17T21:56:54Z"
"2021-08-18T03:56:37Z"
"2021-08-18T03:56:37Z"
NONE
null
- [x] 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/43089/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43089/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43089.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43089", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43089.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43089" }
https://api.github.com/repos/pandas-dev/pandas/issues/43090
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43090/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43090/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43090/events
https://github.com/pandas-dev/pandas/pull/43090
973,097,589
MDExOlB1bGxSZXF1ZXN0NzE0NTkzNjYx
43,090
Here is the solution to issue #43085 Basically, you have to make sure that the df2 after reindexing is stored again in df2
{ "avatar_url": "https://avatars.githubusercontent.com/u/50273506?v=4", "events_url": "https://api.github.com/users/pragatimehra21/events{/privacy}", "followers_url": "https://api.github.com/users/pragatimehra21/followers", "following_url": "https://api.github.com/users/pragatimehra21/following{/other_user}", "gists_url": "https://api.github.com/users/pragatimehra21/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pragatimehra21", "id": 50273506, "login": "pragatimehra21", "node_id": "MDQ6VXNlcjUwMjczNTA2", "organizations_url": "https://api.github.com/users/pragatimehra21/orgs", "received_events_url": "https://api.github.com/users/pragatimehra21/received_events", "repos_url": "https://api.github.com/users/pragatimehra21/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pragatimehra21/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pragatimehra21/subscriptions", "type": "User", "url": "https://api.github.com/users/pragatimehra21" }
[]
closed
false
null
[]
null
2
"2021-08-17T22:01:03Z"
"2021-08-18T05:28:50Z"
"2021-08-18T05:28:50Z"
NONE
null
- [ ] closes #43085
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43090/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43090/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43090.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43090", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43090.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43090" }
https://api.github.com/repos/pandas-dev/pandas/issues/43091
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43091/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43091/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43091/events
https://github.com/pandas-dev/pandas/issues/43091
973,211,770
MDU6SXNzdWU5NzMyMTE3NzA=
43,091
BUG: Change of behavior in casting of datetime-like types in MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/1926940?v=4", "events_url": "https://api.github.com/users/jgmarcel/events{/privacy}", "followers_url": "https://api.github.com/users/jgmarcel/followers", "following_url": "https://api.github.com/users/jgmarcel/following{/other_user}", "gists_url": "https://api.github.com/users/jgmarcel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jgmarcel", "id": 1926940, "login": "jgmarcel", "node_id": "MDQ6VXNlcjE5MjY5NDA=", "organizations_url": "https://api.github.com/users/jgmarcel/orgs", "received_events_url": "https://api.github.com/users/jgmarcel/received_events", "repos_url": "https://api.github.com/users/jgmarcel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jgmarcel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jgmarcel/subscriptions", "type": "User", "url": "https://api.github.com/users/jgmarcel" }
[ { "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": "bfd4f2", "default": false, "description": "stdlib datetime.date support", "id": 3059772828, "name": "datetime.date", "node_id": "MDU6TGFiZWwzMDU5NzcyODI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/datetime.date" } ]
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" }
17
"2021-08-18T02:22:01Z"
"2021-11-19T09:58:44Z"
"2021-11-19T09:58: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 [Edited to inform a much simpler example.] ```python import datetime import pandas as pd print(f"Pandas version:\t{pd.__version__}\n") df = pd.DataFrame({'date': [datetime.date(2021, 8, 1), datetime.date(2021, 8, 2), datetime.date(2021, 8, 3)], 'ticker': ['aapl', 'goog', 'yhoo'], 'value': [5.63269, 4.45609, 2.74843]}) df.set_index(['date', 'ticker'], inplace=True) print(df.index.get_level_values(0)) ``` #### Output The output below has been generated with pandas 1.3.0 or higher. ``` Pandas version: 1.3.0 Index([2021-08-01, 2021-08-02, 2021-08-03], dtype='object', name='date') ``` #### Expected Output The output below has been generated with pandas 1.2.5. ``` Pandas version: 1.2.5 DatetimeIndex(['2021-08-01', '2021-08-02', '2021-08-03'], dtype='datetime64[ns]', name='date', freq=None) ``` #### Problem description Starting from pandas 1.3.0, the observed behavior changed: in a `MultiIndex` creation, `datetime.date` objects are not cast to `datetime64` anymore. I fail to find in the [What’s new](https://pandas.pydata.org/docs/whatsnew/v1.3.0.html) page the reason for that change of behavior. Is it by design or a bug? #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.6.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~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.3.2 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 57.4.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : None IPython : 7.26.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.4.22 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/43091/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43091/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43092
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43092/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43092/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43092/events
https://github.com/pandas-dev/pandas/pull/43092
973,217,020
MDExOlB1bGxSZXF1ZXN0NzE0Njk1NTQ1
43,092
rom
{ "avatar_url": "https://avatars.githubusercontent.com/u/74125612?v=4", "events_url": "https://api.github.com/users/rohit-jangir-codes/events{/privacy}", "followers_url": "https://api.github.com/users/rohit-jangir-codes/followers", "following_url": "https://api.github.com/users/rohit-jangir-codes/following{/other_user}", "gists_url": "https://api.github.com/users/rohit-jangir-codes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rohit-jangir-codes", "id": 74125612, "login": "rohit-jangir-codes", "node_id": "MDQ6VXNlcjc0MTI1NjEy", "organizations_url": "https://api.github.com/users/rohit-jangir-codes/orgs", "received_events_url": "https://api.github.com/users/rohit-jangir-codes/received_events", "repos_url": "https://api.github.com/users/rohit-jangir-codes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rohit-jangir-codes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rohit-jangir-codes/subscriptions", "type": "User", "url": "https://api.github.com/users/rohit-jangir-codes" }
[]
closed
false
null
[]
null
1
"2021-08-18T02:36:01Z"
"2021-08-18T03:53:39Z"
"2021-08-18T03:53:38Z"
NONE
null
- [ ] closes #xxxx - [answer.pdf](https://github.com/pandas-dev/pandas/files/7004115/answer.pdf) [ ] 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/43092/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43092/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43092.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43092", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43092.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43092" }
https://api.github.com/repos/pandas-dev/pandas/issues/43093
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43093/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43093/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43093/events
https://github.com/pandas-dev/pandas/issues/43093
973,267,109
MDU6SXNzdWU5NzMyNjcxMDk=
43,093
BUG: inconsistent behaviour when grouping DataFrame by week and month, as compared to minutes, hours and days??
{ "avatar_url": "https://avatars.githubusercontent.com/u/10172392?v=4", "events_url": "https://api.github.com/users/xuancong84/events{/privacy}", "followers_url": "https://api.github.com/users/xuancong84/followers", "following_url": "https://api.github.com/users/xuancong84/following{/other_user}", "gists_url": "https://api.github.com/users/xuancong84/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xuancong84", "id": 10172392, "login": "xuancong84", "node_id": "MDQ6VXNlcjEwMTcyMzky", "organizations_url": "https://api.github.com/users/xuancong84/orgs", "received_events_url": "https://api.github.com/users/xuancong84/received_events", "repos_url": "https://api.github.com/users/xuancong84/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xuancong84/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xuancong84/subscriptions", "type": "User", "url": "https://api.github.com/users/xuancong84" }
[ { "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": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
null
2
"2021-08-18T04:40:35Z"
"2021-08-19T16:09:43Z"
"2021-08-19T00:51:24Z"
NONE
null
In computer science, we always try to design algorithms and procedures in a logically consistent manner so that other people can follow easily without making wrong assumptions. For example, when we group dates into intervals, for every group we can choose to use either the left or the right boundary to label that group. So if you decide to choose the left timestamp to label every interval, then you should do it for all types of intervals. However, this is not so in Pandas. ``` >>> stmp=pd.to_datetime('2021-01-01 09:31:04.34') >>> [print(sc, list(pd.DataFrame({'a':0}, index=[stmp]).groupby(pd.Grouper(freq=sc)))[0][0]) for sc in ['s', 'min', 'H', 'D', '7D', 'W', 'M', 'Y']] s 2021-01-01 09:31:04 min 2021-01-01 09:31:00 H 2021-01-01 09:00:00 D 2021-01-01 00:00:00 7D 2021-01-01 00:00:00 W 2021-01-03 00:00:00 M 2021-01-31 00:00:00 Y 2021-12-31 00:00:00 ``` As you can see above, when grouping into seconds, minutes, hours, days, weeks and months respectively: - for seconds, minutes, hours and days, the group time label lies to the left of the sample - but for weeks, months and years, the group time label lies to the right the sample, what is even worse is that the boundary does not align to the beginning of the next interval, rather, it aligns to the beginning of the last day in the interval, which is even more weird (does it mean the last day of a month/year belongs to the next month/year??? absolutely non-sense) In general, we can group dates by arbitrary interval, e.g., 10.5 days or 1.5 weeks (some astronomical events monitoring can leads to such use case). This inconsistency is going to cause errors in applications based on human assumption because who the hell will know that for weeks, months, and years, the library decide to do it differently from the rest??
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43093/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43093/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43094
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43094/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43094/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43094/events
https://github.com/pandas-dev/pandas/issues/43094
973,344,139
MDU6SXNzdWU5NzMzNDQxMzk=
43,094
ENH:why we don't have an axis called column
{ "avatar_url": "https://avatars.githubusercontent.com/u/72753578?v=4", "events_url": "https://api.github.com/users/AhmedIbrahim336/events{/privacy}", "followers_url": "https://api.github.com/users/AhmedIbrahim336/followers", "following_url": "https://api.github.com/users/AhmedIbrahim336/following{/other_user}", "gists_url": "https://api.github.com/users/AhmedIbrahim336/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AhmedIbrahim336", "id": 72753578, "login": "AhmedIbrahim336", "node_id": "MDQ6VXNlcjcyNzUzNTc4", "organizations_url": "https://api.github.com/users/AhmedIbrahim336/orgs", "received_events_url": "https://api.github.com/users/AhmedIbrahim336/received_events", "repos_url": "https://api.github.com/users/AhmedIbrahim336/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AhmedIbrahim336/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AhmedIbrahim336/subscriptions", "type": "User", "url": "https://api.github.com/users/AhmedIbrahim336" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
"2021-08-18T07:03:22Z"
"2021-08-18T08:28:26Z"
"2021-08-18T08:28:26Z"
NONE
null
### The Problem Currently, we can select the `axis` by typing `0` `1` `index`. But why we can't select the axis also by typing `column`. Personally, I prefer to use `index` as an axis as this makes my code clean. #### The solution Check for the key world `column` as an axis if so this means it is the same as `1` After doing this it will be like this ```python 0 == index 1 == column ``` #### API breaking implications This code here throw an error. ```python frame = pd.DataFrame(np.random.randn(4, 3), columns=list('bde'), index=['Utah', 'Ohio', 'Texas', 'Oregon']) f = lambda x: x.max() - x.min()frame.apply() frame.apply(f, axis="column") ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43094/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43094/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43095
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43095/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43095/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43095/events
https://github.com/pandas-dev/pandas/pull/43095
973,574,339
MDExOlB1bGxSZXF1ZXN0NzE1MDAwODY3
43,095
#latest features update
{ "avatar_url": "https://avatars.githubusercontent.com/u/72210283?v=4", "events_url": "https://api.github.com/users/harshkr1999/events{/privacy}", "followers_url": "https://api.github.com/users/harshkr1999/followers", "following_url": "https://api.github.com/users/harshkr1999/following{/other_user}", "gists_url": "https://api.github.com/users/harshkr1999/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/harshkr1999", "id": 72210283, "login": "harshkr1999", "node_id": "MDQ6VXNlcjcyMjEwMjgz", "organizations_url": "https://api.github.com/users/harshkr1999/orgs", "received_events_url": "https://api.github.com/users/harshkr1999/received_events", "repos_url": "https://api.github.com/users/harshkr1999/repos", "site_admin": false, "starred_url": "https://api.github.com/users/harshkr1999/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/harshkr1999/subscriptions", "type": "User", "url": "https://api.github.com/users/harshkr1999" }
[]
closed
false
null
[]
null
1
"2021-08-18T11:42:07Z"
"2021-08-18T12:10:55Z"
"2021-08-18T12:10:55Z"
NONE
null
- [x] 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/43095/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43095/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43095.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43095", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43095.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43095" }
https://api.github.com/repos/pandas-dev/pandas/issues/43096
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43096/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43096/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43096/events
https://github.com/pandas-dev/pandas/issues/43096
973,650,367
MDU6SXNzdWU5NzM2NTAzNjc=
43,096
BUG: `pd.merge` mixes up the left/right index/on keys in result
{ "avatar_url": "https://avatars.githubusercontent.com/u/72937342?v=4", "events_url": "https://api.github.com/users/hamishdarbyshire/events{/privacy}", "followers_url": "https://api.github.com/users/hamishdarbyshire/followers", "following_url": "https://api.github.com/users/hamishdarbyshire/following{/other_user}", "gists_url": "https://api.github.com/users/hamishdarbyshire/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hamishdarbyshire", "id": 72937342, "login": "hamishdarbyshire", "node_id": "MDQ6VXNlcjcyOTM3MzQy", "organizations_url": "https://api.github.com/users/hamishdarbyshire/orgs", "received_events_url": "https://api.github.com/users/hamishdarbyshire/received_events", "repos_url": "https://api.github.com/users/hamishdarbyshire/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hamishdarbyshire/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hamishdarbyshire/subscriptions", "type": "User", "url": "https://api.github.com/users/hamishdarbyshire" }
[ { "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": "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-08-18T13:09:59Z"
"2021-08-18T17:05:13Z"
"2021-08-18T17:04:58Z"
NONE
null
- [ ] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. I was reviewing the recent PR for anti-joins and was attempting to come up with a standard test structure, and came across this: ```python left = pd.DataFrame([[1,1],[2,2],[3,3]], index=[1,2,3], columns=["A", "C"]) A C 1 1 1 2 2 2 3 3 3 right = pd.DataFrame([[1,1],[2,2],[4,4]], index=[1,2,4], columns=["B", "C"]) B C 1 1 1 2 2 2 4 4 4 pd.merge(left, right, how="left", left_index=True, right_on="B") A C_x B C_y 1.0 1 1 1 1.0 2.0 2 2 2 2.0 NaN 3 3 3 NaN ``` ### Expected ```python pd.merge(left, right, how="left", left_index=True, right_on="B") A C_x B C_y 1 1 1 1 1 2 2 2 2 2 3 3 3 NaN NaN ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43096/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43096/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43097
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43097/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43097/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43097/events
https://github.com/pandas-dev/pandas/pull/43097
973,770,283
MDExOlB1bGxSZXF1ZXN0NzE1MTcxMzcx
43,097
DOC: `styler.format` does not, in fact, raise a KeyError
{ "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-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
2
"2021-08-18T14:57:04Z"
"2021-08-19T05:23:02Z"
"2021-08-18T20:18:14Z"
CONTRIBUTOR
null
This was actually never true from the start #40134. It might have been true at one point during the PR and then was overwritten without docs being corrected before final merge. I.e. these docs have always been wrong since introduction. Should be back portable. ```python df = DataFrame([[1.0, 2.0]], columns=["A", "B"]) df.style.format({"A": "{:.1f}", "B": "{:.2f}"}, subset = ["A"]) # does not raise a KeyError for "B", just ignores. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43097/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43097/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43097.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43097", "merged_at": "2021-08-18T20:18:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43097.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43097" }
https://api.github.com/repos/pandas-dev/pandas/issues/43098
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43098/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43098/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43098/events
https://github.com/pandas-dev/pandas/pull/43098
973,841,808
MDExOlB1bGxSZXF1ZXN0NzE1MjMzODEw
43,098
TST: resolve most of future warnnings in SQL test, clean import
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": 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-08-18T16:11:24Z"
"2021-08-19T01:57:14Z"
"2021-08-19T01:57:06Z"
MEMBER
null
xref #40686
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43098/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43098/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43098.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43098", "merged_at": "2021-08-19T01:57:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43098.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43098" }
https://api.github.com/repos/pandas-dev/pandas/issues/43099
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43099/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43099/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43099/events
https://github.com/pandas-dev/pandas/pull/43099
973,939,003
MDExOlB1bGxSZXF1ZXN0NzE1MzE2NTg2
43,099
REF: ensure to_arrays returns matched-length arrays/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": "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" }
0
"2021-08-18T18:20:34Z"
"2021-08-19T01:50:24Z"
"2021-08-19T01:04:45Z"
MEMBER
null
ATM we pass both 'columns' and `arr_names` to arrays_to_mgr and create_block_manager_from_arrays. This is part of en effort to align these before calling arrays_to_mgr, which will let us improve the performance of _form_blocks.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43099/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43099/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43099.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43099", "merged_at": "2021-08-19T01:04:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43099.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43099" }
https://api.github.com/repos/pandas-dev/pandas/issues/43100
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43100/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43100/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43100/events
https://github.com/pandas-dev/pandas/pull/43100
974,024,586
MDExOlB1bGxSZXF1ZXN0NzE1Mzg5NTQ3
43,100
Backport PR #43097 on branch 1.3.x (DOC: `styler.format` does not, in fact, raise a KeyError)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "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-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
0
"2021-08-18T20:19:05Z"
"2021-08-18T22:55:54Z"
"2021-08-18T22:55:54Z"
NONE
null
Backport PR #43097: DOC: `styler.format` does not, in fact, raise a KeyError
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43100/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43100/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43100.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43100", "merged_at": "2021-08-18T22:55:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43100.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43100" }
https://api.github.com/repos/pandas-dev/pandas/issues/43101
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43101/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43101/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43101/events
https://github.com/pandas-dev/pandas/pull/43101
974,050,010
MDExOlB1bGxSZXF1ZXN0NzE1NDExMjU5
43,101
ENH: `Styler.format_index()` to display index values similarly to data-values with `format()`
{ "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
9
"2021-08-18T20:57:36Z"
"2021-09-20T22:41:11Z"
"2021-09-16T22:16:23Z"
CONTRIBUTOR
null
- [x] adds features and method with docstrings - [x] update user guide - [x] whats new - [x] add tests This PR adds the method `format_index` so that the typical `format` routines can also be applied to display the index labels and columns headers of a Styler. With all the recent functionality here is a complete example: ![Screen Shot 2021-08-18 at 22 55 02](https://user-images.githubusercontent.com/24256554/129970916-0092bd76-f322-4b5f-87b4-1276ac2d303e.png) **Notes** Also had to move `_refactor_levels` function from `style.py` to `style_render.py` for use here.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43101/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43101/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43101.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43101", "merged_at": "2021-09-16T22:16:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43101.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43101" }
https://api.github.com/repos/pandas-dev/pandas/issues/43102
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43102/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43102/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43102/events
https://github.com/pandas-dev/pandas/issues/43102
974,084,778
MDU6SXNzdWU5NzQwODQ3Nzg=
43,102
BUG: IndexError when header rows have unequal column counts
{ "avatar_url": "https://avatars.githubusercontent.com/u/1686141?v=4", "events_url": "https://api.github.com/users/MrCreosote/events{/privacy}", "followers_url": "https://api.github.com/users/MrCreosote/followers", "following_url": "https://api.github.com/users/MrCreosote/following{/other_user}", "gists_url": "https://api.github.com/users/MrCreosote/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MrCreosote", "id": 1686141, "login": "MrCreosote", "node_id": "MDQ6VXNlcjE2ODYxNDE=", "organizations_url": "https://api.github.com/users/MrCreosote/orgs", "received_events_url": "https://api.github.com/users/MrCreosote/received_events", "repos_url": "https://api.github.com/users/MrCreosote/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MrCreosote/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MrCreosote/subscriptions", "type": "User", "url": "https://api.github.com/users/MrCreosote" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
12
"2021-08-18T21:53:45Z"
"2021-09-05T15:59:21Z"
"2021-09-05T15:59:21Z"
NONE
null
- [x] I have checked that this issue has not already been reported. I couldn't find it with a search on `indexerror read_csv` anyway - [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 [1]: import pandas In [2]: from io import StringIO In [3]: data = """ ...: head1, head2, head3 ...: sub1, sub2 ...: """[1:] In [4]: data Out[4]: 'head1, head2, head3\nsub1, sub2\n' In [5]: pandas.read_csv(StringIO(data), sep=",", header=[0, 1], on_bad_lines="sk ...: ip") --------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-5-1bf8982a1449> in <module> ----> 1 pandas.read_csv(StringIO(data), sep=",", header=[0, 1], on_bad_lines="skip") *snip - I can provide the entire trace on request, but leave it out here for brevity* ~/.local/share/virtualenvs/py3.9playground--W4ZB8cD/lib/python3.9/site-packages/pandas/io/parsers/base_parser.py in <genexpr>(.0) 343 344 def extract(r): --> 345 return tuple(r[i] for i in range(field_count) if i not in sic) 346 347 columns = list(zip(*(extract(r) for r in header))) IndexError: list index out of range ``` #### Problem description A generic index error is thrown rather than a pandas specific error, or skipping the row as per `on_bad_lines`. #### Expected Output I would expect one of two things: 1. a `pandas.errors.ParseError` describing the problem 2. skipping the header. This seems a little odd to me so maybe 1 is the better option. Maybe there are other reasonable responses as well. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.6.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-154-generic Version : #161-Ubuntu SMP Fri Jul 30 13:04:17 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.2 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 20.3.3 setuptools : 51.3.3 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.26.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": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43102/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43102/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43103
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43103/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43103/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43103/events
https://github.com/pandas-dev/pandas/pull/43103
974,109,452
MDExOlB1bGxSZXF1ZXN0NzE1NDYyNDQ3
43,103
PERF: stronger typing in libgroupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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-08-18T22:40:45Z"
"2021-08-19T01:50:48Z"
"2021-08-19T00:18:50Z"
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/43103/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43103/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43103.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43103", "merged_at": "2021-08-19T00:18:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43103.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43103" }
https://api.github.com/repos/pandas-dev/pandas/issues/43104
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43104/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43104/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43104/events
https://github.com/pandas-dev/pandas/pull/43104
974,123,699
MDExOlB1bGxSZXF1ZXN0NzE1NDc0ODA5
43,104
REF: reorder_arrays handle missing
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-18T23:12:05Z"
"2021-08-19T01:49:51Z"
"2021-08-19T01:09:30Z"
MEMBER
null
By doing this here, we avoid the need to do it in _form_blocks. In conjunction with #43099 this will let us simplify _form_blocks quite a bit, which I am optimistic will be a nice performance bump.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43104/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43104/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43104.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43104", "merged_at": "2021-08-19T01:09:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43104.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43104" }
https://api.github.com/repos/pandas-dev/pandas/issues/43105
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43105/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43105/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43105/events
https://github.com/pandas-dev/pandas/pull/43105
974,144,928
MDExOlB1bGxSZXF1ZXN0NzE1NDkzMDYz
43,105
BUG: Allow string keys with higher resolution than index in PeriodIndex.get_loc
{ "avatar_url": "https://avatars.githubusercontent.com/u/74217512?v=4", "events_url": "https://api.github.com/users/dicristina/events{/privacy}", "followers_url": "https://api.github.com/users/dicristina/followers", "following_url": "https://api.github.com/users/dicristina/following{/other_user}", "gists_url": "https://api.github.com/users/dicristina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dicristina", "id": 74217512, "login": "dicristina", "node_id": "MDQ6VXNlcjc0MjE3NTEy", "organizations_url": "https://api.github.com/users/dicristina/orgs", "received_events_url": "https://api.github.com/users/dicristina/received_events", "repos_url": "https://api.github.com/users/dicristina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dicristina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dicristina/subscriptions", "type": "User", "url": "https://api.github.com/users/dicristina" }
[]
closed
false
null
[]
null
0
"2021-08-19T00:05:05Z"
"2021-08-24T12:33:50Z"
"2021-08-24T12:33:50Z"
CONTRIBUTOR
null
- [x] closes #40145 - [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/43105/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43105/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43105.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43105", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43105.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43105" }
https://api.github.com/repos/pandas-dev/pandas/issues/43106
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43106/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43106/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43106/events
https://github.com/pandas-dev/pandas/pull/43106
974,376,451
MDExOlB1bGxSZXF1ZXN0NzE1NjkwNjc4
43,106
ENH: MultiIndex dtypes property
{ "avatar_url": "https://avatars.githubusercontent.com/u/40593450?v=4", "events_url": "https://api.github.com/users/NickFillot/events{/privacy}", "followers_url": "https://api.github.com/users/NickFillot/followers", "following_url": "https://api.github.com/users/NickFillot/following{/other_user}", "gists_url": "https://api.github.com/users/NickFillot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NickFillot", "id": 40593450, "login": "NickFillot", "node_id": "MDQ6VXNlcjQwNTkzNDUw", "organizations_url": "https://api.github.com/users/NickFillot/orgs", "received_events_url": "https://api.github.com/users/NickFillot/received_events", "repos_url": "https://api.github.com/users/NickFillot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NickFillot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NickFillot/subscriptions", "type": "User", "url": "https://api.github.com/users/NickFillot" }
[]
closed
false
null
[]
null
2
"2021-08-19T07:50:25Z"
"2021-08-19T14:42:38Z"
"2021-08-19T14:42:33Z"
NONE
null
More explicit (in my point of view), user friendly dtypes access to multiindex, dataframe like
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43106/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43106/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43106.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43106", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43106.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43106" }
https://api.github.com/repos/pandas-dev/pandas/issues/43107
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43107/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43107/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43107/events
https://github.com/pandas-dev/pandas/pull/43107
974,463,745
MDExOlB1bGxSZXF1ZXN0NzE1NzY0Mjg4
43,107
TYP: Replace namedtuple with dataclass #40531
{ "avatar_url": "https://avatars.githubusercontent.com/u/23693399?v=4", "events_url": "https://api.github.com/users/franslarsson/events{/privacy}", "followers_url": "https://api.github.com/users/franslarsson/followers", "following_url": "https://api.github.com/users/franslarsson/following{/other_user}", "gists_url": "https://api.github.com/users/franslarsson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/franslarsson", "id": 23693399, "login": "franslarsson", "node_id": "MDQ6VXNlcjIzNjkzMzk5", "organizations_url": "https://api.github.com/users/franslarsson/orgs", "received_events_url": "https://api.github.com/users/franslarsson/received_events", "repos_url": "https://api.github.com/users/franslarsson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/franslarsson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/franslarsson/subscriptions", "type": "User", "url": "https://api.github.com/users/franslarsson" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-19T09:30:02Z"
"2021-08-19T11:42:38Z"
"2021-08-19T11:42:38Z"
CONTRIBUTOR
null
This PR replaces namedtuple with dataclass in pandas/core/groupby/base.py and closes #40531. The parameters `order` and `frozen` is set equal to True to make sure that that behaviour of OutputKey does not change.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43107/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43107/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43107.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43107", "merged_at": "2021-08-19T11:42:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43107.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43107" }
https://api.github.com/repos/pandas-dev/pandas/issues/43108
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43108/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43108/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43108/events
https://github.com/pandas-dev/pandas/issues/43108
974,778,358
MDU6SXNzdWU5NzQ3NzgzNTg=
43,108
BUG: Regression from 1.2.5 to 1.3.x: groupby using sum on DataFrame containing lists fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
closed
false
null
[]
{ "closed_at": "2021-09-12T08:21:30Z", "closed_issues": 79, "created_at": "2021-08-15T08:07:48Z", "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-09-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/89", "id": 7059576, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels", "node_id": "MI_kwDOAA0YD84Aa7h4", "number": 89, "open_issues": 0, "state": "closed", "title": "1.3.3", "updated_at": "2021-09-12T20:30:04Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89" }
8
"2021-08-19T15:16:30Z"
"2021-09-10T15:47:23Z"
"2021-08-24T12:27:24Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example Version 1.3.2: ```python >>> df=pd.DataFrame([["M", [1]], ["M", [2]], ["W", [10]], ["W", [20]]], columns=["MW", "v"]) >>> df.groupby("MW").sum() Empty DataFrame Columns: [] Index: [M, W] >>> df.groupby("MW").v.sum() MW M [1, 2] W [10, 20] Name: v, dtype: object ``` Version 1.2.5: ```python >>> df=pd.DataFrame([["M", [1]], ["M", [2]], ["W", [10]], ["W", [20]]], columns=["MW", "v"]) >>> df.groupby("MW").sum() v MW M [1, 2] W [10, 20] >>> df.groupby("MW").v.sum() MW M [1, 2] W [10, 20] Name: v, dtype: object ``` #### Problem description With 1.2.5 and earlier, if the elements of one of the columns are objects that are lists, then the `groupby` operation with `sum` creates the aggregation of the lists. With 1.3.2, it doesn't. #### Expected Output Same as 1.2.5 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 3af1a4fa27a7d48d8e6aea66bf2da6fdf2e1550e python : 3.8.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.4.0.dev0+475.g3af1a4fa27 numpy : 1.21.1 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 49.6.0.post20210108 Cython : 0.29.23 pytest : 6.2.4 hypothesis : 6.14.1 sphinx : 3.5.4 blosc : None feather : None xlsxwriter : 1.4.3 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.25.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.3 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 2.0.0 pyxlsb : None s3fs : 0.4.2 scipy : 1.7.0 sqlalchemy : 1.4.20 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.52.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43108/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43108/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43109
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43109/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43109/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43109/events
https://github.com/pandas-dev/pandas/issues/43109
974,816,723
MDU6SXNzdWU5NzQ4MTY3MjM=
43,109
BUG: cannot stack MultiIndex that contains duplicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/18488?v=4", "events_url": "https://api.github.com/users/batterseapower/events{/privacy}", "followers_url": "https://api.github.com/users/batterseapower/followers", "following_url": "https://api.github.com/users/batterseapower/following{/other_user}", "gists_url": "https://api.github.com/users/batterseapower/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/batterseapower", "id": 18488, "login": "batterseapower", "node_id": "MDQ6VXNlcjE4NDg4", "organizations_url": "https://api.github.com/users/batterseapower/orgs", "received_events_url": "https://api.github.com/users/batterseapower/received_events", "repos_url": "https://api.github.com/users/batterseapower/repos", "site_admin": false, "starred_url": "https://api.github.com/users/batterseapower/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/batterseapower/subscriptions", "type": "User", "url": "https://api.github.com/users/batterseapower" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice" } ]
null
2
"2021-08-19T15:58:35Z"
"2021-09-26T19:34:21Z"
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. (1.3.1) - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example This succeeds: ```python pd.DataFrame(columns=['A', 'A'], index=['T', 'U']).stack(dropna=False) ``` But this fails ("cannot reindex from a duplicate axis"): ```python pd.DataFrame(columns=pd.MultiIndex.from_tuples([ ('A', 'B'), ('A', 'B') ]), index=['T', 'U']).stack(level=[0, 1], dropna=False) ``` If you remove the duplicate entry then it does of course work: ```python pd.DataFrame(columns=pd.MultiIndex.from_tuples([ ('A', 'B'), ('A', 'C') ]), index=['T', 'U']).stack(level=[0, 1], dropna=False) ``` #### Problem description I think you should be able to stack `MultiIndex` axes that contain duplicates, since you can stack `Index` axes that contain duplicates. Conceptually a `MultiIndex` is very similar to a `Index` of tuples so it's surprising that they differ in this respect. #### Expected Output The failing example should stack as follows: ```python T A B NaN B NaN U A B NaN B NaN dtype: object ``` #### Full backtrace <details> ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\frame.py in stack(self, level, dropna) 7206 7207 if isinstance(level, (tuple, list)): -> 7208 result = stack_multiple(self, level, dropna=dropna) 7209 else: 7210 result = stack(self, level, dropna=dropna) ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\reshape\reshape.py in stack_multiple(frame, level, dropna) 571 for index in range(len(level)): 572 lev = level[index] --> 573 result = stack(result, lev, dropna=dropna) 574 # Decrement all level numbers greater than current, as these 575 # have now shifted down by one ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\reshape\reshape.py in stack(frame, level, dropna) 498 499 if isinstance(frame.columns, MultiIndex): --> 500 return _stack_multi_columns(frame, level_num=level_num, dropna=dropna) 501 elif isinstance(frame.index, MultiIndex): 502 new_levels = list(frame.index.levels) ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\reshape\reshape.py in _stack_multi_columns(frame, level_num, dropna) 670 chunk = this.loc[:, this.columns[loc]] 671 chunk.columns = level_vals.take(chunk.columns.codes[-1]) --> 672 value_slice = chunk.reindex(columns=level_vals_used).values 673 else: 674 if frame._is_homogeneous_type and is_extension_array_dtype( ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs) 310 @wraps(func) 311 def wrapper(*args, **kwargs) -> Callable[..., Any]: --> 312 return func(*args, **kwargs) 313 314 kind = inspect.Parameter.POSITIONAL_OR_KEYWORD ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\frame.py in reindex(self, *args, **kwargs) 4174 kwargs.pop("axis", None) 4175 kwargs.pop("labels", None) -> 4176 return super().reindex(**kwargs) 4177 4178 def drop( ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\generic.py in reindex(self, *args, **kwargs) 4809 4810 # perform the reindex on the axes -> 4811 return self._reindex_axes( 4812 axes, level, limit, tolerance, method, fill_value, copy 4813 ).__finalize__(self, method="reindex") ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\frame.py in _reindex_axes(self, axes, level, limit, tolerance, method, fill_value, copy) 4014 columns = axes["columns"] 4015 if columns is not None: -> 4016 frame = frame._reindex_columns( 4017 columns, method, copy, level, fill_value, limit, tolerance 4018 ) ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\frame.py in _reindex_columns(self, new_columns, method, copy, level, fill_value, limit, tolerance) 4059 new_columns, method=method, level=level, limit=limit, tolerance=tolerance 4060 ) -> 4061 return self._reindex_with_indexers( 4062 {1: [new_columns, indexer]}, 4063 copy=copy, ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\generic.py in _reindex_with_indexers(self, reindexers, fill_value, copy, allow_dups) 4875 4876 # TODO: speed up on homogeneous DataFrame objects -> 4877 new_data = new_data.reindex_indexer( 4878 index, 4879 indexer, ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\internals\managers.py in reindex_indexer(self, new_axis, indexer, axis, fill_value, allow_dups, copy, consolidate, only_slice) 1299 # some axes don't allow reindexing with dups 1300 if not allow_dups: -> 1301 self.axes[axis]._can_reindex(indexer) 1302 1303 if axis >= self.ndim: ~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\indexes\base.py in _can_reindex(self, indexer) 3474 # trying to reindex on an axis with duplicates 3475 if not self._index_as_unique and len(indexer): -> 3476 raise ValueError("cannot reindex from a duplicate axis") 3477 3478 def reindex(self, target, method=None, level=None, limit=None, tolerance=None): ValueError: cannot reindex from a duplicate axis </details> #### Output of ``pd.show_versions()`` (This from an earlier environment because my Pandas 1.3.0 environment doesn't have a working `show_versions`) <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18363 machine : AMD64 processor : Intel64 Family 6 Model 85 Stepping 7, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United Kingdom.1252 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.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None 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 : None gcsfs : None matplotlib : 3.3.4 numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : None tabulate : None xarray : 0.18.0 xlrd : 2.0.1 xlwt : None numba : 0.53.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43109/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43109/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43110
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43110/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43110/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43110/events
https://github.com/pandas-dev/pandas/pull/43110
974,847,668
MDExOlB1bGxSZXF1ZXN0NzE2MDk0MjE2
43,110
REF: arrays_to_manager dont need names
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-08-19T16:35:09Z"
"2021-08-19T19:21:43Z"
"2021-08-19T19:02:59Z"
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 In turn this means that create_block_manager_from_arrays doesnt need `columns`, but bc that is in the pseudo-public API the existing version will need to be moved to internals.api before being simplified. Saving that for a separate step.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43110/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43110/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43110.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43110", "merged_at": "2021-08-19T19:02:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43110.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43110" }
https://api.github.com/repos/pandas-dev/pandas/issues/43111
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43111/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43111/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43111/events
https://github.com/pandas-dev/pandas/pull/43111
974,892,310
MDExOlB1bGxSZXF1ZXN0NzE2MTI5MzQ0
43,111
DOC: `Styler` whats new section refactor 1.4.0
{ "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-08-19T17:30:10Z"
"2021-08-19T18:50:55Z"
"2021-08-19T18:50:51Z"
CONTRIBUTOR
null
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43111/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43111/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43111.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43111", "merged_at": "2021-08-19T18:50:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43111.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43111" }
https://api.github.com/repos/pandas-dev/pandas/issues/43112
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43112/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43112/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43112/events
https://github.com/pandas-dev/pandas/pull/43112
974,894,317
MDExOlB1bGxSZXF1ZXN0NzE2MTMwOTcz
43,112
REF: use _get_axis_number instead of if axis in [...]: #43048
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
null
2
"2021-08-19T17:32:49Z"
"2021-08-20T10:15:57Z"
"2021-08-20T07:50:38Z"
NONE
null
Replaced all the if axis in [..] with _get_axis_number.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43112/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43112/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43112.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43112", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43112.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43112" }
https://api.github.com/repos/pandas-dev/pandas/issues/43113
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43113/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43113/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43113/events
https://github.com/pandas-dev/pandas/issues/43113
974,931,326
MDU6SXNzdWU5NzQ5MzEzMjY=
43,113
TYP: annotate matching dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": 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-08-19T18:24:35Z"
"2021-08-24T16:26:48Z"
"2021-08-24T16:26:48Z"
MEMBER
null
e.g. in `Index._get_fill_indexer` we can work out that `target.dtype` should match `self.dtype`. It would be nice if we could get that into the annotation. cc @simonjayhawkins ``` # current def _get_fill_indexer(self, target: Index, ...): # desired? def _get_fill_indexer(self: Index[MyDtype], target: Index[MyDtype], ...): ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43113/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43113/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43114
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43114/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43114/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43114/events
https://github.com/pandas-dev/pandas/pull/43114
975,060,641
MDExOlB1bGxSZXF1ZXN0NzE2MjcxNzQ0
43,114
REF: names no longer needed in _form_blocks, create_block_manager_from_arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
9
"2021-08-19T21:22:58Z"
"2021-08-20T18:11:31Z"
"2021-08-20T00:57:56Z"
MEMBER
null
1) copy/paste create_block_manager_from_arrays and _form_blocks to the pseudo-public internals.api 2) rename create_block_manager_from_arrays -> create_block_manager_from_column_arrays 3) prune no-longer-needed args from create_block_manager_from_arrays, _form_blocks Two follow-ups after this: 4) remove no-longer-needed checks in no-longer-pseudo-public create_block_manager_from_column_arrays 5) deprecate pseudo-public create_block_manager_from_arrays
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43114/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43114/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43114.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43114", "merged_at": "2021-08-20T00:57:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43114.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43114" }
https://api.github.com/repos/pandas-dev/pandas/issues/43115
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43115/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43115/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43115/events
https://github.com/pandas-dev/pandas/pull/43115
975,113,131
MDExOlB1bGxSZXF1ZXN0NzE2MzE2MjA2
43,115
PERF: GroupBy.std operate blockwise instead of column-wise
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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" }
0
"2021-08-19T22:58:09Z"
"2021-08-20T01:53:24Z"
"2021-08-20T00:56:55Z"
MEMBER
null
The relevant cython code already supports 2D, so this is a super-simple fix.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43115/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43115/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43115.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43115", "merged_at": "2021-08-20T00:56:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43115.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43115" }
https://api.github.com/repos/pandas-dev/pandas/issues/43116
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43116/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43116/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43116/events
https://github.com/pandas-dev/pandas/pull/43116
975,124,036
MDExOlB1bGxSZXF1ZXN0NzE2MzI1Nzc4
43,116
EHN: partially upgrade sql module for SQLAlchemy 2.0 compat
{ "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-08-19T23:20:43Z"
"2021-08-20T15:18:11Z"
"2021-08-20T12:38:21Z"
MEMBER
null
xref #40686
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43116/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43116/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43116.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43116", "merged_at": "2021-08-20T12:38:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43116.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43116" }
https://api.github.com/repos/pandas-dev/pandas/issues/43117
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43117/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43117/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43117/events
https://github.com/pandas-dev/pandas/pull/43117
975,227,080
MDExOlB1bGxSZXF1ZXN0NzE2NDA5ODU2
43,117
Typo fixes
{ "avatar_url": "https://avatars.githubusercontent.com/u/55780006?v=4", "events_url": "https://api.github.com/users/vamsi-krishna-kodimela/events{/privacy}", "followers_url": "https://api.github.com/users/vamsi-krishna-kodimela/followers", "following_url": "https://api.github.com/users/vamsi-krishna-kodimela/following{/other_user}", "gists_url": "https://api.github.com/users/vamsi-krishna-kodimela/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vamsi-krishna-kodimela", "id": 55780006, "login": "vamsi-krishna-kodimela", "node_id": "MDQ6VXNlcjU1NzgwMDA2", "organizations_url": "https://api.github.com/users/vamsi-krishna-kodimela/orgs", "received_events_url": "https://api.github.com/users/vamsi-krishna-kodimela/received_events", "repos_url": "https://api.github.com/users/vamsi-krishna-kodimela/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vamsi-krishna-kodimela/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vamsi-krishna-kodimela/subscriptions", "type": "User", "url": "https://api.github.com/users/vamsi-krishna-kodimela" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
null
1
"2021-08-20T03:26:49Z"
"2021-08-22T20:48:45Z"
"2021-08-22T20:48:21Z"
NONE
null
- [x] closes #39158 - [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] Fixed typo in pandas/io/parser/c_parser_wrapper.py
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43117/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43117/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43117.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43117", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43117.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43117" }
https://api.github.com/repos/pandas-dev/pandas/issues/43118
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43118/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43118/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43118/events
https://github.com/pandas-dev/pandas/pull/43118
975,279,816
MDExOlB1bGxSZXF1ZXN0NzE2NDU0NDgw
43,118
BUG: Throw a ParserError when header rows have unequal column counts …
{ "avatar_url": "https://avatars.githubusercontent.com/u/45961148?v=4", "events_url": "https://api.github.com/users/quantumalaviya/events{/privacy}", "followers_url": "https://api.github.com/users/quantumalaviya/followers", "following_url": "https://api.github.com/users/quantumalaviya/following{/other_user}", "gists_url": "https://api.github.com/users/quantumalaviya/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/quantumalaviya", "id": 45961148, "login": "quantumalaviya", "node_id": "MDQ6VXNlcjQ1OTYxMTQ4", "organizations_url": "https://api.github.com/users/quantumalaviya/orgs", "received_events_url": "https://api.github.com/users/quantumalaviya/received_events", "repos_url": "https://api.github.com/users/quantumalaviya/repos", "site_admin": false, "starred_url": "https://api.github.com/users/quantumalaviya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/quantumalaviya/subscriptions", "type": "User", "url": "https://api.github.com/users/quantumalaviya" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": 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" }
11
"2021-08-20T05:28:07Z"
"2021-09-05T17:39:58Z"
"2021-09-05T15:59:21Z"
CONTRIBUTOR
null
(GH43102) - closes #43102 - Fixed uncaught IndexError that is raised when the iterator `i` in `extract(r)` inside base_parser.py exceeds the length of a header row (when `field_count > len(r)`). - A Parser error is raised when the header row had unequal columns. Outputs the first row where a mismatch is found. - Added a test to match the error being raised.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43118/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43118/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43118.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43118", "merged_at": "2021-09-05T15:59:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43118.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43118" }
https://api.github.com/repos/pandas-dev/pandas/issues/43119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43119/events
https://github.com/pandas-dev/pandas/issues/43119
975,298,537
MDU6SXNzdWU5NzUyOTg1Mzc=
43,119
BUG: 'assign' on empty DataFrame with dtype=string column gives "ValueError: StringArray requires a sequence of strings or pandas.NA"
{ "avatar_url": "https://avatars.githubusercontent.com/u/1203825?v=4", "events_url": "https://api.github.com/users/huonw/events{/privacy}", "followers_url": "https://api.github.com/users/huonw/followers", "following_url": "https://api.github.com/users/huonw/following{/other_user}", "gists_url": "https://api.github.com/users/huonw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/huonw", "id": 1203825, "login": "huonw", "node_id": "MDQ6VXNlcjEyMDM4MjU=", "organizations_url": "https://api.github.com/users/huonw/orgs", "received_events_url": "https://api.github.com/users/huonw/received_events", "repos_url": "https://api.github.com/users/huonw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/huonw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/huonw/subscriptions", "type": "User", "url": "https://api.github.com/users/huonw" }
[ { "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": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
open
false
null
[]
{ "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-08-20T06:10:16Z"
"2021-08-28T17:54:16Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd pd.show_versions() broken = pd.DataFrame([], columns=["a"], dtype="string") broken.assign(b=[1]) # ValueError: StringArray requires a sequence of strings or pandas.NA working1 = pd.DataFrame([pd.NA], columns=["a"], dtype="string") working1.assign(b=[1]) # 0 <NA> 1 working2 = pd.DataFrame([], columns=["a"], dtype="object") working2.assign(b=[1]) # 0 NaN 1 ``` Full traceback: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".../site-packages/pandas/core/frame.py", line 4481, in assign data[k] = com.apply_if_callable(v, data) File ".../site-packages/pandas/core/frame.py", line 3607, in __setitem__ self._set_item(key, value) File ".../site-packages/pandas/core/frame.py", line 3779, in _set_item value = self._sanitize_column(value) File ".../site-packages/pandas/core/frame.py", line 4497, in _sanitize_column self._ensure_valid_index(value) File ".../site-packages/pandas/core/frame.py", line 3853, in _ensure_valid_index self._mgr = self._mgr.reindex_axis(index_copy, axis=1, fill_value=np.nan) File ".../site-packages/pandas/core/internals/base.py", line 89, in reindex_axis return self.reindex_indexer( File ".../site-packages/pandas/core/internals/managers.py", line 680, in reindex_indexer new_blocks = [ File ".../site-packages/pandas/core/internals/managers.py", line 681, in <listcomp> blk.take_nd( File ".../site-packages/pandas/core/internals/blocks.py", line 1512, in take_nd new_values = self.values.take(indexer, fill_value=fill_value, allow_fill=True) File ".../site-packages/pandas/core/arrays/_mixins.py", line 108, in take return self._from_backing_data(new_data) File ".../site-packages/pandas/core/arrays/numpy_.py", line 118, in _from_backing_data return type(self)(arr) File ".../site-packages/pandas/core/arrays/string_.py", line 318, in __init__ self._validate() File ".../site-packages/pandas/core/arrays/string_.py", line 323, in _validate raise ValueError("StringArray requires a sequence of strings or pandas.NA") ValueError: StringArray requires a sequence of strings or pandas.NA ``` #### Problem description The `broken` code doesn't seem meaningfully different to the working versions, but throws an exception; from a very quick look (and as hinted by the `working2` output), it looks like the `StringArray` is being constructed with an array containing NaN/`float('nan')`, and that value is considered/treated different to `pd.NA`. There's a few other issues mentioning this error, but it wasn't obvious to me if they're the same: - #40800 - #40823 - #40824 #### Expected Output The `broken` code should behave similarly to the very similar `working1` and `working2`. The output should be the same as the `working1`: ``` a b 0 <NA> 1 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.8.7.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 machine : arm64 processor : arm byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.3.2 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.2.4 setuptools : 49.2.1 Cython : None pytest : 6.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) 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 : 1.7.1 sqlalchemy : 1.3.20 tables : None tabulate : 0.8.9 xarray : None xlrd : 2.0.1 xlwt : 1.3.0 numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43119/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43120/events
https://github.com/pandas-dev/pandas/pull/43120
975,327,490
MDExOlB1bGxSZXF1ZXN0NzE2NDk0Mzkw
43,120
REF: used _get_axis_number instead of if axis in [...]: #43048
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
null
2
"2021-08-20T07:02:28Z"
"2021-08-20T07:13:32Z"
"2021-08-20T07:13:32Z"
NONE
null
Changed the axis in [..] to _get_axis_number.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43120/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43120.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43120", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43120.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43120" }