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/40819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40819/events
https://github.com/pandas-dev/pandas/pull/40819
851,882,057
MDExOlB1bGxSZXF1ZXN0NjEwMjI5MzI2
40,819
ENH/BUG: Use Kleene logic for groupby any/all
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-06T23:34:18Z"
"2021-04-15T07:21:18Z"
"2021-04-13T17:12:17Z"
MEMBER
null
- [x] closes #37506 - [x] closes #40585 - [x] closes #33449 - [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 Built on #40811 ASV's don't look affected: <details> ``` before after ratio [3b4b193d] [423f43fc] <master> <enh/any_all_kleene> 216±8ms 205±4ms 0.95 groupby.GroupByCythonAgg.time_frame_agg('float64', 'all') 208±8ms 197±3ms 0.95 groupby.GroupByCythonAgg.time_frame_agg('float64', 'any') 162±10μs 139±4μs ~0.86 groupby.GroupByMethods.time_dtype_as_field('datetime', 'all', 'direct') 161±20μs 138±9μs ~0.86 groupby.GroupByMethods.time_dtype_as_field('datetime', 'all', 'transformation') 159±10μs 142±5μs ~0.90 groupby.GroupByMethods.time_dtype_as_field('datetime', 'any', 'direct') 160±10μs 140±5μs ~0.88 groupby.GroupByMethods.time_dtype_as_field('datetime', 'any', 'transformation') 109±8μs 113±10μs 1.04 groupby.GroupByMethods.time_dtype_as_field('float', 'all', 'direct') 103±10μs 109±9μs 1.06 groupby.GroupByMethods.time_dtype_as_field('float', 'all', 'transformation') 113±20μs 132±10μs ~1.17 groupby.GroupByMethods.time_dtype_as_field('float', 'any', 'direct') 138±10μs 124±20μs ~0.90 groupby.GroupByMethods.time_dtype_as_field('float', 'any', 'transformation') 110±9μs 112±5μs 1.02 groupby.GroupByMethods.time_dtype_as_field('int', 'all', 'direct') 115±9μs 109±10μs 0.94 groupby.GroupByMethods.time_dtype_as_field('int', 'all', 'transformation') 123±10μs 115±7μs 0.94 groupby.GroupByMethods.time_dtype_as_field('int', 'any', 'direct') 125±10μs 114±8μs 0.92 groupby.GroupByMethods.time_dtype_as_field('int', 'any', 'transformation') 449±30μs 452±20μs 1.01 groupby.GroupByMethods.time_dtype_as_field('object', 'all', 'direct') 442±30μs 445±20μs 1.01 groupby.GroupByMethods.time_dtype_as_field('object', 'all', 'transformation') 470±10μs 455±30μs 0.97 groupby.GroupByMethods.time_dtype_as_field('object', 'any', 'direct') 466±30μs 406±4μs ~0.87 groupby.GroupByMethods.time_dtype_as_field('object', 'any', 'transformation') 118±8μs 118±7μs 1.00 groupby.GroupByMethods.time_dtype_as_group('datetime', 'all', 'direct') 134±9μs 132±20μs 0.99 groupby.GroupByMethods.time_dtype_as_group('datetime', 'all', 'transformation') 131±20μs 115±9μs ~0.88 groupby.GroupByMethods.time_dtype_as_group('datetime', 'any', 'direct') 121±10μs 118±5μs 0.97 groupby.GroupByMethods.time_dtype_as_group('datetime', 'any', 'transformation') 111±10μs 111±4μs 1.00 groupby.GroupByMethods.time_dtype_as_group('float', 'all', 'direct') 109±10μs 120±10μs ~1.11 groupby.GroupByMethods.time_dtype_as_group('float', 'all', 'transformation') 110±9μs 127±10μs ~1.16 groupby.GroupByMethods.time_dtype_as_group('float', 'any', 'direct') 112±10μs 122±10μs 1.09 groupby.GroupByMethods.time_dtype_as_group('float', 'any', 'transformation') 130±10μs 115±6μs ~0.89 groupby.GroupByMethods.time_dtype_as_group('int', 'all', 'direct') 133±7μs 115±7μs ~0.86 groupby.GroupByMethods.time_dtype_as_group('int', 'all', 'transformation') 117±5μs 123±10μs 1.05 groupby.GroupByMethods.time_dtype_as_group('int', 'any', 'direct') 133±10μs 118±20μs ~0.89 groupby.GroupByMethods.time_dtype_as_group('int', 'any', 'transformation') 107±9μs 122±10μs ~1.14 groupby.GroupByMethods.time_dtype_as_group('object', 'all', 'direct') 113±10μs 107±5μs 0.94 groupby.GroupByMethods.time_dtype_as_group('object', 'all', 'transformation') 135±10μs 108±4μs ~0.80 groupby.GroupByMethods.time_dtype_as_group('object', 'any', 'direct') 114±6μs 105±2μs 0.92 groupby.GroupByMethods.time_dtype_as_group('object', 'any', 'transformation') ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40819/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40819.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40819", "merged_at": "2021-04-13T17:12:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40819.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40819" }
https://api.github.com/repos/pandas-dev/pandas/issues/40820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40820/events
https://github.com/pandas-dev/pandas/issues/40820
851,982,895
MDU6SXNzdWU4NTE5ODI4OTU=
40,820
ENH: Make concat succeed on empty list.
{ "avatar_url": "https://avatars.githubusercontent.com/u/2243447?v=4", "events_url": "https://api.github.com/users/frobnitzem/events{/privacy}", "followers_url": "https://api.github.com/users/frobnitzem/followers", "following_url": "https://api.github.com/users/frobnitzem/following{/other_user}", "gists_url": "https://api.github.com/users/frobnitzem/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frobnitzem", "id": 2243447, "login": "frobnitzem", "node_id": "MDQ6VXNlcjIyNDM0NDc=", "organizations_url": "https://api.github.com/users/frobnitzem/orgs", "received_events_url": "https://api.github.com/users/frobnitzem/received_events", "repos_url": "https://api.github.com/users/frobnitzem/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frobnitzem/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frobnitzem/subscriptions", "type": "User", "url": "https://api.github.com/users/frobnitzem" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
7
"2021-04-07T04:05:18Z"
"2021-08-19T04:04:59Z"
"2021-08-19T04:04:58Z"
NONE
null
#### Is your feature request related to a problem? Yes, `pd.concat([])` currently raises the exception, ValueError("No objects to concatenate"). #### Describe the solution you'd like To be correct on all input sizes, it should return an empty DataFrame. #### API breaking implications Obviously, concat will no longer detect empty data. However, empty data will detect itself. #### Additional context The concatenation operation is for lists what addition is for numbers. Concatenation of an empty list should produce an empty dataframe, because the empty dataframe represents `0`. Consider ``` sum([]) ``` which python evaluates to 0. This makes concatenation and sum commute, `sum([1] + []) == sum([1]) + sum([])`. This already works for an empty dataframe: ``` pd.concat([pd.DataFrame({'A':[1]}), pd.DataFrame()]) ``` if is very odd for concat([]) not to produce a DataFrame, since its input has the correct 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/40820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40820/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40821/events
https://github.com/pandas-dev/pandas/pull/40821
852,043,993
MDExOlB1bGxSZXF1ZXN0NjEwMzYxMTUy
40,821
DEPR: `Styler.where` possible deprecation
{ "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": "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-07T06:08:20Z"
"2021-04-26T12:34:15Z"
"2021-04-26T12:16:07Z"
CONTRIBUTOR
null
closes #40124 Proposal to deprecate the method: `Styler.where`, since `Styler.applymap` and `Styler.where` are so similar in function, and return signatures, that it is almost confusing to have 2 methods for the same thing. Note that `Styler.where` offers no advantage over `applymap` since internally it just restructures the callable and uses `applymap` itself: ``` def where(..): return self.applymap(lambda val: value if cond(val, **kwargs) else other, subset=subset) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40821/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40821.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40821", "merged_at": "2021-04-26T12:16:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40821.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40821" }
https://api.github.com/repos/pandas-dev/pandas/issues/40822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40822/events
https://github.com/pandas-dev/pandas/pull/40822
852,153,510
MDExOlB1bGxSZXF1ZXN0NjEwNDUzOTgw
40,822
TST: add test on checking objects to concatenate
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-07T08:22:34Z"
"2021-04-08T14:36:35Z"
"2021-04-08T14:36:30Z"
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 When looking through the enhancement xref #40820, I noticed that there was no test checking that the ValueError is raised when concatenating an empty sequence. Added this test.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40822/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40822.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40822", "merged_at": "2021-04-08T14:36:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40822.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40822" }
https://api.github.com/repos/pandas-dev/pandas/issues/40823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40823/events
https://github.com/pandas-dev/pandas/issues/40823
852,214,013
MDU6SXNzdWU4NTIyMTQwMTM=
40,823
BUG: Pandas map function does not work properly with StringDtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/49187354?v=4", "events_url": "https://api.github.com/users/jaspersival/events{/privacy}", "followers_url": "https://api.github.com/users/jaspersival/followers", "following_url": "https://api.github.com/users/jaspersival/following{/other_user}", "gists_url": "https://api.github.com/users/jaspersival/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jaspersival", "id": 49187354, "login": "jaspersival", "node_id": "MDQ6VXNlcjQ5MTg3MzU0", "organizations_url": "https://api.github.com/users/jaspersival/orgs", "received_events_url": "https://api.github.com/users/jaspersival/received_events", "repos_url": "https://api.github.com/users/jaspersival/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jaspersival/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaspersival/subscriptions", "type": "User", "url": "https://api.github.com/users/jaspersival" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/52055110?v=4", "events_url": "https://api.github.com/users/mdhsieh/events{/privacy}", "followers_url": "https://api.github.com/users/mdhsieh/followers", "following_url": "https://api.github.com/users/mdhsieh/following{/other_user}", "gists_url": "https://api.github.com/users/mdhsieh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdhsieh", "id": 52055110, "login": "mdhsieh", "node_id": "MDQ6VXNlcjUyMDU1MTEw", "organizations_url": "https://api.github.com/users/mdhsieh/orgs", "received_events_url": "https://api.github.com/users/mdhsieh/received_events", "repos_url": "https://api.github.com/users/mdhsieh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdhsieh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdhsieh/subscriptions", "type": "User", "url": "https://api.github.com/users/mdhsieh" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/52055110?v=4", "events_url": "https://api.github.com/users/mdhsieh/events{/privacy}", "followers_url": "https://api.github.com/users/mdhsieh/followers", "following_url": "https://api.github.com/users/mdhsieh/following{/other_user}", "gists_url": "https://api.github.com/users/mdhsieh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdhsieh", "id": 52055110, "login": "mdhsieh", "node_id": "MDQ6VXNlcjUyMDU1MTEw", "organizations_url": "https://api.github.com/users/mdhsieh/orgs", "received_events_url": "https://api.github.com/users/mdhsieh/received_events", "repos_url": "https://api.github.com/users/mdhsieh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdhsieh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdhsieh/subscriptions", "type": "User", "url": "https://api.github.com/users/mdhsieh" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
"2021-04-07T09:29:37Z"
"2021-06-02T13:24:14Z"
"2021-06-02T13:24:14Z"
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 df1 = pd.DataFrame( { "col1": [pd.NA, "foo", "bar"] }, index=["id1", "id2", "id3"], dtype=pd.StringDtype() ) df2 = pd.DataFrame( { "id": ["id4", "id2", "id1"] }, dtype=pd.StringDtype() ) df2["col1"] = df2["id"].map(df1["col1"]) print(df2.head()) ``` #### Problem description Traceback: Traceback (most recent call last): File "<input>", line 1, in <module> File "C:\Program Files\JetBrains\PyCharm 2020.3.2\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "C:\Program Files\JetBrains\PyCharm 2020.3.2\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:/Users/XXX/AppData/Roaming/JetBrains/PyCharm2020.3/scratches/scratch_22.py", line 16, in <module> df2["col1"] = df2["id"].map(df1["col1"]) File "C:\UsersXXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\series.py", line 3909, in map new_values = super()._map_values(arg, na_action=na_action) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\base.py", line 908, in _map_values new_values = algorithms.take_1d(mapper._values, indexer) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\algorithms.py", line 1699, in take_nd return arr.take(indexer, fill_value=fill_value, allow_fill=allow_fill) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\_mixins.py", line 78, in take return self._from_backing_data(new_data) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\numpy_.py", line 190, in _from_backing_data return type(self)(arr) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\string_.py", line 195, in __init__ self._validate() File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\string_.py", line 200, in _validate raise ValueError("StringArray requires a sequence of strings or pandas.NA") ValueError: StringArray requires a sequence of strings or pandas.NA This issue can be circumvented if I do: ```python df2["col1"] = df2["id"].map(df1["col1"].astype("object")) print(df2.head()) ``` Gives: id col1 0 id4 NaN 1 id2 foo 2 id1 \<NA\> Which is a combination of np.nan and pd.NA If I do then a conversion back to pd.StringDtype: ```python df2["col1"] = df2["id"].map(df1["col1"].astype("object")).astype(pd.StringDtype()) print(df2.head()) ``` I get the expected output: id col1 0 id4 \<NA\> 1 id2 foo 2 id1 \<NA\> But this is ugly as hell. #### Expected Output id col1 0 id4 \<NA\> 1 id2 foo 2 id1 \<NA\> #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.9.1.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 79 Stepping 1, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.3 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0 Cython : None pytest : 6.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.1 sqlalchemy : 1.4.3 tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40823/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40824/events
https://github.com/pandas-dev/pandas/issues/40824
852,376,391
MDU6SXNzdWU4NTIzNzYzOTE=
40,824
BUG: Dataframe mask method does not work properly with pd.StringDtype()
{ "avatar_url": "https://avatars.githubusercontent.com/u/49187354?v=4", "events_url": "https://api.github.com/users/jaspersival/events{/privacy}", "followers_url": "https://api.github.com/users/jaspersival/followers", "following_url": "https://api.github.com/users/jaspersival/following{/other_user}", "gists_url": "https://api.github.com/users/jaspersival/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jaspersival", "id": 49187354, "login": "jaspersival", "node_id": "MDQ6VXNlcjQ5MTg3MzU0", "organizations_url": "https://api.github.com/users/jaspersival/orgs", "received_events_url": "https://api.github.com/users/jaspersival/received_events", "repos_url": "https://api.github.com/users/jaspersival/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jaspersival/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaspersival/subscriptions", "type": "User", "url": "https://api.github.com/users/jaspersival" }
[ { "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
"2021-04-07T12:50:34Z"
"2021-04-16T16:14:42Z"
"2021-04-16T16:14:42Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame( { "A": ["foo", "bar", "baz", pd.NA] }, index=["id1", "id2", "id3", "id4"], dtype=pd.StringDtype() ) filtered_df = pd.DataFrame( { "A": ["this", "that"] }, index=["id2", "id3"], dtype=pd.StringDtype() ) filter = pd.Series([False, True, True, False]) new_df = df.mask(filter, filtered_df) ``` #### Problem description Traceback (most recent call last): File "<input>", line 1, in <module> File "C:\Program Files\JetBrains\PyCharm 2020.3.2\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "C:\Program Files\JetBrains\PyCharm 2020.3.2\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:/Users/XXX/AppData/Roaming/JetBrains/PyCharm2020.3/scratches/scratch_24.py", line 19, in <module> new_df = df.mask(filter, filtered_df) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\generic.py", line 9317, in mask return self.where( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\generic.py", line 9286, in where return self._where( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\generic.py", line 9056, in _where _, other = self.align( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\frame.py", line 4102, in align return super().align( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\generic.py", line 8813, in align return self._align_frame( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\generic.py", line 8880, in _align_frame right = other._reindex_with_indexers( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\generic.py", line 4877, in _reindex_with_indexers new_data = new_data.reindex_indexer( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\internals\managers.py", line 1311, in reindex_indexer new_blocks = [ File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\internals\managers.py", line 1312, in <listcomp> blk.take_nd( File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\internals\blocks.py", line 1863, in take_nd new_values = self.values.take(indexer, fill_value=fill_value, allow_fill=True) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\_mixins.py", line 78, in take return self._from_backing_data(new_data) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\numpy_.py", line 190, in _from_backing_data return type(self)(arr) File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\string_.py", line 195, in __init__ self._validate() File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\basel-w19Rd76b-py3.9\lib\site-packages\pandas\core\arrays\string_.py", line 200, in _validate raise ValueError("StringArray requires a sequence of strings or pandas.NA") ValueError: StringArray requires a sequence of strings or pandas.NA In generic.py starting on line 9053, there is this code block: ```python # align with me if other.ndim <= self.ndim: _, other = self.align( other, join="left", axis=axis, level=level, fill_value=np.nan ) ``` In case that the filtered_df has fewer rows than the original df, this code block is executed and it uses np.nan as a fill_value for the align method. This fill_value will propagate until the error is raised as shown above in the stack trace. I think that this issue can be easily solved if the fill_value is a mutable parameter for the .mask or .where method #### Expected Output """ ----| A id1 | \<NA\> id2 | this id3 | that id4 | \<NA\> """ or """ ----| A id1 | foo id2 | this id3 | that id4 | \<NA\> """ #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.9.1.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 79 Stepping 1, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.3 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0 Cython : None pytest : 6.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.1 sqlalchemy : 1.4.3 tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40824/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40825/events
https://github.com/pandas-dev/pandas/issues/40825
852,509,043
MDU6SXNzdWU4NTI1MDkwNDM=
40,825
Deprecation Warning: The Connection.run_callable() method is deprecated
{ "avatar_url": "https://avatars.githubusercontent.com/u/9419125?v=4", "events_url": "https://api.github.com/users/tommyjcarpenter/events{/privacy}", "followers_url": "https://api.github.com/users/tommyjcarpenter/followers", "following_url": "https://api.github.com/users/tommyjcarpenter/following{/other_user}", "gists_url": "https://api.github.com/users/tommyjcarpenter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tommyjcarpenter", "id": 9419125, "login": "tommyjcarpenter", "node_id": "MDQ6VXNlcjk0MTkxMjU=", "organizations_url": "https://api.github.com/users/tommyjcarpenter/orgs", "received_events_url": "https://api.github.com/users/tommyjcarpenter/received_events", "repos_url": "https://api.github.com/users/tommyjcarpenter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tommyjcarpenter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tommyjcarpenter/subscriptions", "type": "User", "url": "https://api.github.com/users/tommyjcarpenter" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "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": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "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
8
"2021-04-07T15:07:48Z"
"2021-04-07T16:09:32Z"
"2021-04-07T16:09:32Z"
NONE
null
- [x] I have checked that this issue has not already been reported. (I tried searching all issues for SADeprecationWarning but didn't find this particular issue) - [x] I have confirmed this bug exists on the latest version of pandas. We pin to: `"pandas>=1.2.0, <2.0.0"` - [x] (optional) I have confirmed this bug exists on the master branch of pandas. Yes it's on master: https://github.com/pandas-dev/pandas/blob/master/pandas/io/sql.py#L1644 --- #### Code Sample, a copy-pastable example It is hard to show a pastable example because it relies on a connection to a database. Basically any usage of: ``` with get_engine(dbname).connect() as conn: df = pd.read_sql(stmt, conn, **kwargs) return df ``` Note that the code surrounding pandas is using a context manager (conn) #### Problem description It reports: ``` /Users/tommycarpenter/Development/python-indexapi/.tox/py37/lib/python3.7/site-packages/pandas/io/sql.py:1430: SADeprecationWarning: The Connection.run_callable() method is deprecated and will be removed in a future release. Invoke the callable function directly, passing the Connection. (deprecated since: 1.4) self.connectable.dialect.has_table, name, schema or self.meta.schema ``` Looking at that file, at that line, shows: ``` # pandas/io/sql.py def has_table(self, name, schema=None): return self.connectable.run_callable( self.connectable.dialect.has_table, name, schema or self.meta.schema ) ``` Which is a different line number than master, bnut its still there on master: https://github.com/pandas-dev/pandas/blob/master/pandas/io/sql.py#L1644
{ "+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/40825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40825/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40826/events
https://github.com/pandas-dev/pandas/issues/40826
852,650,379
MDU6SXNzdWU4NTI2NTAzNzk=
40,826
STYLE pandas-dev flake8 plugin
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
11
"2021-04-07T17:49:01Z"
"2021-04-16T01:06:48Z"
"2021-04-16T01:06:48Z"
MEMBER
null
Currently, there are a lot of style checks which are specific to this repo, the result of which is a ton of CI checks and occasionally quite a bit of extra code. The main repo is already huge, so I'd like to suggest making a `pandas-dev/pandas-style-guide` repo, which would be a `flake8` plugin, with all the custom linting rules we currently have. Some advantages: - the current gigantic repo would become a bit smaller, as many style checks could be moved over to the `pandas-dev/pandas-style-guide` one - the plugin could easily be tested on multiple OSs and versions of Python, which is currently difficult with all the stylistic checks living in the main repo. The `ast` module often changes a bit between versions, so it would be good to test the ast-based checks on different Python versions - linting failures would be reported with the familiar flake8 syntax we're all accustomed to by now One disadvantage I see is that there might be less visibility if this is in a separate repo. @pandas-dev/pandas-core @pandas-dev/pandas-triage anyone have any thoughts/objections?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40826/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40827/events
https://github.com/pandas-dev/pandas/issues/40827
852,668,628
MDU6SXNzdWU4NTI2Njg2Mjg=
40,827
BUG: Unexpected behavior when assigning multi-dimensional array to DataFrame column
{ "avatar_url": "https://avatars.githubusercontent.com/u/1915511?v=4", "events_url": "https://api.github.com/users/Socob/events{/privacy}", "followers_url": "https://api.github.com/users/Socob/followers", "following_url": "https://api.github.com/users/Socob/following{/other_user}", "gists_url": "https://api.github.com/users/Socob/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Socob", "id": 1915511, "login": "Socob", "node_id": "MDQ6VXNlcjE5MTU1MTE=", "organizations_url": "https://api.github.com/users/Socob/orgs", "received_events_url": "https://api.github.com/users/Socob/received_events", "repos_url": "https://api.github.com/users/Socob/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Socob/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Socob/subscriptions", "type": "User", "url": "https://api.github.com/users/Socob" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/34886045?v=4", "events_url": "https://api.github.com/users/Mxchaeltrxn/events{/privacy}", "followers_url": "https://api.github.com/users/Mxchaeltrxn/followers", "following_url": "https://api.github.com/users/Mxchaeltrxn/following{/other_user}", "gists_url": "https://api.github.com/users/Mxchaeltrxn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Mxchaeltrxn", "id": 34886045, "login": "Mxchaeltrxn", "node_id": "MDQ6VXNlcjM0ODg2MDQ1", "organizations_url": "https://api.github.com/users/Mxchaeltrxn/orgs", "received_events_url": "https://api.github.com/users/Mxchaeltrxn/received_events", "repos_url": "https://api.github.com/users/Mxchaeltrxn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mxchaeltrxn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mxchaeltrxn/subscriptions", "type": "User", "url": "https://api.github.com/users/Mxchaeltrxn" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/34886045?v=4", "events_url": "https://api.github.com/users/Mxchaeltrxn/events{/privacy}", "followers_url": "https://api.github.com/users/Mxchaeltrxn/followers", "following_url": "https://api.github.com/users/Mxchaeltrxn/following{/other_user}", "gists_url": "https://api.github.com/users/Mxchaeltrxn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Mxchaeltrxn", "id": 34886045, "login": "Mxchaeltrxn", "node_id": "MDQ6VXNlcjM0ODg2MDQ1", "organizations_url": "https://api.github.com/users/Mxchaeltrxn/orgs", "received_events_url": "https://api.github.com/users/Mxchaeltrxn/received_events", "repos_url": "https://api.github.com/users/Mxchaeltrxn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mxchaeltrxn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mxchaeltrxn/subscriptions", "type": "User", "url": "https://api.github.com/users/Mxchaeltrxn" } ]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
2
"2021-04-07T18:08:17Z"
"2021-08-19T04:07:03Z"
null
NONE
null
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas My question is essentially the same as the StackOverflow question [“Unexpected behavior in assigning 2d numpy array to pandas DataFrame”](https://stackoverflow.com/q/52142475), which, although it has an accepted answer, states in an edit to the question text: > Since the bounty is going to expiry [sic], I accepted the most voted answer. But it does not provide a answer to the above questions. I agree, and still don’t understand the behavior described in the question, which I will restate here: Given the following code: ``` import pandas import numpy df = pandas.DataFrame(numpy.zeros((4, 1)), columns=['A']) y = numpy.random.randn(4, 2) df['A'] = y ``` which results in (e.g.) ``` df # A # 0 0.994449 # 1 -0.280376 # 2 -0.993288 # 3 0.009625 y # array([[ 0.99444899, -0.80571928], # [-0.28037615, -0.47071158], # [-0.99328776, -0.15674664], # [ 0.00962502, 1.24896221]]) ``` > I expect it to throw an exception because of shape mismatch. But pandas silently accepted the assignment: y's first column is assigned to df. > > Is this an intentional design? If yes, what is the rationale behind?
{ "+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/40827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40827/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40828/events
https://github.com/pandas-dev/pandas/issues/40828
852,709,997
MDU6SXNzdWU4NTI3MDk5OTc=
40,828
DOC: Wrong URL in web/README.md
{ "avatar_url": "https://avatars.githubusercontent.com/u/23437545?v=4", "events_url": "https://api.github.com/users/hasan-yaman/events{/privacy}", "followers_url": "https://api.github.com/users/hasan-yaman/followers", "following_url": "https://api.github.com/users/hasan-yaman/following{/other_user}", "gists_url": "https://api.github.com/users/hasan-yaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasan-yaman", "id": 23437545, "login": "hasan-yaman", "node_id": "MDQ6VXNlcjIzNDM3NTQ1", "organizations_url": "https://api.github.com/users/hasan-yaman/orgs", "received_events_url": "https://api.github.com/users/hasan-yaman/received_events", "repos_url": "https://api.github.com/users/hasan-yaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasan-yaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasan-yaman/subscriptions", "type": "User", "url": "https://api.github.com/users/hasan-yaman" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/23437545?v=4", "events_url": "https://api.github.com/users/hasan-yaman/events{/privacy}", "followers_url": "https://api.github.com/users/hasan-yaman/followers", "following_url": "https://api.github.com/users/hasan-yaman/following{/other_user}", "gists_url": "https://api.github.com/users/hasan-yaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasan-yaman", "id": 23437545, "login": "hasan-yaman", "node_id": "MDQ6VXNlcjIzNDM3NTQ1", "organizations_url": "https://api.github.com/users/hasan-yaman/orgs", "received_events_url": "https://api.github.com/users/hasan-yaman/received_events", "repos_url": "https://api.github.com/users/hasan-yaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasan-yaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasan-yaman/subscriptions", "type": "User", "url": "https://api.github.com/users/hasan-yaman" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/23437545?v=4", "events_url": "https://api.github.com/users/hasan-yaman/events{/privacy}", "followers_url": "https://api.github.com/users/hasan-yaman/followers", "following_url": "https://api.github.com/users/hasan-yaman/following{/other_user}", "gists_url": "https://api.github.com/users/hasan-yaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasan-yaman", "id": 23437545, "login": "hasan-yaman", "node_id": "MDQ6VXNlcjIzNDM3NTQ1", "organizations_url": "https://api.github.com/users/hasan-yaman/orgs", "received_events_url": "https://api.github.com/users/hasan-yaman/received_events", "repos_url": "https://api.github.com/users/hasan-yaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasan-yaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasan-yaman/subscriptions", "type": "User", "url": "https://api.github.com/users/hasan-yaman" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-07T18:49:18Z"
"2021-04-09T01:40:51Z"
"2021-04-09T01:40:51Z"
CONTRIBUTOR
null
#### Location of the documentation **Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/). #### Documentation problem `web/README.md` states `Directory containing the pandas website (hosted at https://pandas.io). ` However, [pandas.io](https://pandas.io) is not reachable. #### Suggested fix for documentation We can replace it with the following: `Directory containing the pandas website (hosted at https://pandas.pydata.org/). `
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40828/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40829/events
https://github.com/pandas-dev/pandas/issues/40829
852,772,517
MDU6SXNzdWU4NTI3NzI1MTc=
40,829
TYP return type of DataFrame.clip not correct
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" } ]
null
7
"2021-04-07T20:10:54Z"
"2021-04-11T11:13:40Z"
"2021-04-11T11:13:40Z"
MEMBER
null
https://github.com/pandas-dev/pandas/blob/094f630cd84365b1902b4ee8d3de6a72d1bcbca3/pandas/core/generic.py#L7449-L7458 Return type should be `Optional[FrameOrSeriesUnion]` It could also do with being overloaded according to the value of `inplace` - see `set_axis` and `DataFrame.reset_index` for examples
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40829/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40830/events
https://github.com/pandas-dev/pandas/issues/40830
852,879,423
MDU6SXNzdWU4NTI4Nzk0MjM=
40,830
BUG: pandas.read_fwf does not throw warning or error when column spec and name list lengths differ
{ "avatar_url": "https://avatars.githubusercontent.com/u/82121412?v=4", "events_url": "https://api.github.com/users/wleodinh/events{/privacy}", "followers_url": "https://api.github.com/users/wleodinh/followers", "following_url": "https://api.github.com/users/wleodinh/following{/other_user}", "gists_url": "https://api.github.com/users/wleodinh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wleodinh", "id": 82121412, "login": "wleodinh", "node_id": "MDQ6VXNlcjgyMTIxNDEy", "organizations_url": "https://api.github.com/users/wleodinh/orgs", "received_events_url": "https://api.github.com/users/wleodinh/received_events", "repos_url": "https://api.github.com/users/wleodinh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wleodinh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wleodinh/subscriptions", "type": "User", "url": "https://api.github.com/users/wleodinh" }
[ { "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": "e99695", "default": false, "description": "read_fwf", "id": 1728902385, "name": "IO Fixed Width", "node_id": "MDU6TGFiZWwxNzI4OTAyMzg1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Fixed%20Width" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/69006751?v=4", "events_url": "https://api.github.com/users/adam-weinberger/events{/privacy}", "followers_url": "https://api.github.com/users/adam-weinberger/followers", "following_url": "https://api.github.com/users/adam-weinberger/following{/other_user}", "gists_url": "https://api.github.com/users/adam-weinberger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adam-weinberger", "id": 69006751, "login": "adam-weinberger", "node_id": "MDQ6VXNlcjY5MDA2NzUx", "organizations_url": "https://api.github.com/users/adam-weinberger/orgs", "received_events_url": "https://api.github.com/users/adam-weinberger/received_events", "repos_url": "https://api.github.com/users/adam-weinberger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adam-weinberger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adam-weinberger/subscriptions", "type": "User", "url": "https://api.github.com/users/adam-weinberger" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/37603435?v=4", "events_url": "https://api.github.com/users/parkyo/events{/privacy}", "followers_url": "https://api.github.com/users/parkyo/followers", "following_url": "https://api.github.com/users/parkyo/following{/other_user}", "gists_url": "https://api.github.com/users/parkyo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/parkyo", "id": 37603435, "login": "parkyo", "node_id": "MDQ6VXNlcjM3NjAzNDM1", "organizations_url": "https://api.github.com/users/parkyo/orgs", "received_events_url": "https://api.github.com/users/parkyo/received_events", "repos_url": "https://api.github.com/users/parkyo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/parkyo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/parkyo/subscriptions", "type": "User", "url": "https://api.github.com/users/parkyo" }, { "avatar_url": "https://avatars.githubusercontent.com/u/69006751?v=4", "events_url": "https://api.github.com/users/adam-weinberger/events{/privacy}", "followers_url": "https://api.github.com/users/adam-weinberger/followers", "following_url": "https://api.github.com/users/adam-weinberger/following{/other_user}", "gists_url": "https://api.github.com/users/adam-weinberger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adam-weinberger", "id": 69006751, "login": "adam-weinberger", "node_id": "MDQ6VXNlcjY5MDA2NzUx", "organizations_url": "https://api.github.com/users/adam-weinberger/orgs", "received_events_url": "https://api.github.com/users/adam-weinberger/received_events", "repos_url": "https://api.github.com/users/adam-weinberger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adam-weinberger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adam-weinberger/subscriptions", "type": "User", "url": "https://api.github.com/users/adam-weinberger" } ]
{ "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-04-07T22:33:44Z"
"2021-08-31T23:43:10Z"
"2021-08-31T23:43:10Z"
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. --- #### Code Sample, a copy-pastable example ```python import os import pandas as pd import numpy as np file_contents = ("914793802660000000001000AAAAAAAAA0 " + "000000-00-000000-00-0000000000-00-0000000 " + " 0000000000-00-000000-00-00 000000000000000000.0000 0000000000000.00 00000\n") header = [ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V' ] colspec_good = [ (0, 13), (13, 23), (23, 34), (34, 45), (45, 47), (47, 57), (57, 67), (67, 71), (71, 81), (81, 86), (86, 97), (97, 103), (103, 113), (113, 123), (123, 147), (147, 164), (164, 166), (166, 168), (168, 170), (170, 172), (172, 174), (174, None) ] print(len(header), len(colspec_good)) with open("bug.txt", "w") as foo: foo.write(file_contents) df = pd.read_fwf("bug.txt", names=header, colspecs=colspec_good, dtype=str) print(df.head()) colspec_bad = [ (0, 13), (13, 23), (23, 34), (34, 45), (45, 47), (47, 57), (57, 67), (67, 71), (71, 81), (81, 86), (86, 97), (97, 103), (103, 113), (113, 123), (123, 147), (147, 164), (164, 166), (166, 168), (168, 170), (170, 172), (172, 174), (174, 189), (189, None) ] print(len(header), len(colspec_bad)) with open("bug.txt", "w") as foo: foo.write(file_contents) df = pd.read_fwf("bug.txt", names=header, colspecs=colspec_bad, dtype=str) with open("bug.txt", "w") as foo: foo.write(file_contents * 2) df = pd.read_fwf("bug.txt", names=header, colspecs=colspec_bad, dtype=str) print(df.head()) ``` #### Problem description When passing both the "names" and "colspecs" parameters, pandas.read_fwf fails to raise a warning/error when the length of the lists passed to these parameters does not match. In the given example, colspec_good has one tuple for every header name; colspec_bad has an extra 23rd tuple with no matching name. When the given file contains one row, a ParserError is raised with colspec_bad; but if given more than one row, no such warning/error is raised. I propose that pandas.read_fwf should raise a warning/error when the length of the list passed to "names" doesn't match the length of the list passed to "colspecs" (when both parameters are used). Practically speaking, this tells the developer that they need to fix their header/colspecs. From a healthcare industry perspective, this has many nontrivial applications - e.g., the ingestion of standard, fixed-width CMS Medicare Advantage and CCLF (claim and claim line feed) files. #### Expected Output ParserError: Expected 22 fields in line 1, saw 23 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.7.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.2.3 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.3 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 : None 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.5 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/40830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40830/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40831/events
https://github.com/pandas-dev/pandas/pull/40831
852,903,414
MDExOlB1bGxSZXF1ZXN0NjExMDg3NjY3
40,831
TYP: join.pyi
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-07T23:02:05Z"
"2021-04-08T14:29:09Z"
"2021-04-08T12:26:46Z"
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/40831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40831/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40831.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40831", "merged_at": "2021-04-08T12:26:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40831.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40831" }
https://api.github.com/repos/pandas-dev/pandas/issues/40832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40832/events
https://github.com/pandas-dev/pandas/pull/40832
852,903,951
MDExOlB1bGxSZXF1ZXN0NjExMDg4MTQ0
40,832
TYP: writers.pyi
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-07T23:03:01Z"
"2021-04-08T14:30:49Z"
"2021-04-08T12:26:06Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40832/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40832.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40832", "merged_at": "2021-04-08T12:26:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40832.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40832" }
https://api.github.com/repos/pandas-dev/pandas/issues/40833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40833/events
https://github.com/pandas-dev/pandas/issues/40833
852,948,226
MDU6SXNzdWU4NTI5NDgyMjY=
40,833
BUG: Pandas + gcsfs regression
{ "avatar_url": "https://avatars.githubusercontent.com/u/7879555?v=4", "events_url": "https://api.github.com/users/gfelot/events{/privacy}", "followers_url": "https://api.github.com/users/gfelot/followers", "following_url": "https://api.github.com/users/gfelot/following{/other_user}", "gists_url": "https://api.github.com/users/gfelot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfelot", "id": 7879555, "login": "gfelot", "node_id": "MDQ6VXNlcjc4Nzk1NTU=", "organizations_url": "https://api.github.com/users/gfelot/orgs", "received_events_url": "https://api.github.com/users/gfelot/received_events", "repos_url": "https://api.github.com/users/gfelot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfelot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfelot/subscriptions", "type": "User", "url": "https://api.github.com/users/gfelot" }
[ { "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": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
"2021-04-08T00:36:27Z"
"2021-04-08T08:18:35Z"
"2021-04-08T08:18:35Z"
NONE
null
#### Problem description I'm use to fix pandas lib up to the minor number (i.e pandas=1.1). All my work is on Google Cloud Storage so I use a lot `df = pd.read_csv(gcs+path)` My old script use a mix of `pandas=1.1` and `gcsfs=0.7` On a previous version of a script I work with pandas 1.1.5 and gcsfs 0.7.1 After an update the script was build (docker image) with gcsfs 0.7.2 where I got this error on read_csv ``` Traceback (most recent call last): File "/.../python3.7/site-packages/aiohttp/client.py", line 326, in __del__ if not self.closed: File "/.../python3.7/site-packages/aiohttp/client.py", line 963, in closed return self._connector is None or self._connector.closed AttributeError: 'ClientSession' object has no attribute '_connector' ``` I couldn't fix it but a simple revert back to 0.7.1 make it work. I also tried to use the last version 0.8.0 and I needed to install manually a dependency after a fail. It was `ujson`. I don't know if it's a pandas or a gcsfs regression but at least I wanted to write it somewhere if anyone face the same issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40833/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40834/events
https://github.com/pandas-dev/pandas/pull/40834
853,031,396
MDExOlB1bGxSZXF1ZXN0NjExMTg2MTA1
40,834
CLN: tighten cython declarations
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-08T03:52:11Z"
"2021-04-13T14:22:55Z"
"2021-04-13T11:36:23Z"
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/40834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40834/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40834.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40834", "merged_at": "2021-04-13T11:36:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40834.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40834" }
https://api.github.com/repos/pandas-dev/pandas/issues/40835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40835/events
https://github.com/pandas-dev/pandas/pull/40835
853,508,218
MDExOlB1bGxSZXF1ZXN0NjExNTg2NTMw
40,835
BUG: Incorrect index shape when using a user-defined function for aggregating a grouped series with object-typed index.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-08T14:02:33Z"
"2021-04-15T04:17:10Z"
"2021-04-15T04:16:50Z"
MEMBER
null
- [x] closes #40014 - [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/40835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40835/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40835.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40835", "merged_at": "2021-04-15T04:16:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40835.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40835" }
https://api.github.com/repos/pandas-dev/pandas/issues/40836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40836/events
https://github.com/pandas-dev/pandas/pull/40836
853,596,052
MDExOlB1bGxSZXF1ZXN0NjExNjU5OTgw
40,836
Dark background
{ "avatar_url": "https://avatars.githubusercontent.com/u/9417467?v=4", "events_url": "https://api.github.com/users/yeshsurya/events{/privacy}", "followers_url": "https://api.github.com/users/yeshsurya/followers", "following_url": "https://api.github.com/users/yeshsurya/following{/other_user}", "gists_url": "https://api.github.com/users/yeshsurya/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yeshsurya", "id": 9417467, "login": "yeshsurya", "node_id": "MDQ6VXNlcjk0MTc0Njc=", "organizations_url": "https://api.github.com/users/yeshsurya/orgs", "received_events_url": "https://api.github.com/users/yeshsurya/received_events", "repos_url": "https://api.github.com/users/yeshsurya/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yeshsurya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yeshsurya/subscriptions", "type": "User", "url": "https://api.github.com/users/yeshsurya" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
11
"2021-04-08T15:31:29Z"
"2021-05-06T10:45:02Z"
"2021-05-06T10:45:02Z"
CONTRIBUTOR
null
- [*] 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 - [*] Color in boxplot.py should be a hex value. Letter based color will be at matplotlib level. Using same color as that of boxes for the caps as well. The color will be fetched based on the selected theme. We are over riding color with "k" , rather need to use the one set at matplotlib level. Before Fix : > Caps for the box plot is not visible : ![image](https://user-images.githubusercontent.com/9417467/114264636-ab0bea00-9a09-11eb-943a-5e7cda090ed9.png) After Fix : > Caps for the box plow will be visible in dark background mode : ![image](https://user-images.githubusercontent.com/9417467/114264600-7009b680-9a09-11eb-870c-5633bd336d1e.png) Whats New : Box Plot's Caps will have same color as boxes unless color is explicitly specified by user arguments. Hence theme changes will not adversly effect caps color.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40836/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40836.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40836", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40836.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40836" }
https://api.github.com/repos/pandas-dev/pandas/issues/40837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40837/events
https://github.com/pandas-dev/pandas/pull/40837
853,720,557
MDExOlB1bGxSZXF1ZXN0NjExNzY0OTkx
40,837
TST: make flaky zip check less strict
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "Unit tests that occasionally fail", "id": 76939933, "name": "Unreliable Test", "node_id": "MDU6TGFiZWw3NjkzOTkzMw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-08T18:08:44Z"
"2021-04-13T16:53:51Z"
"2021-04-13T15:50:21Z"
MEMBER
null
Saw this failure the other day: ``` pandas/tests/io/test_gcs.py:137: 71 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 72 73 result = b'PK\x03\x04\x14\x00\x00\x00\x08\x00\xe0\xa1\x87R3ET~\x18\x06\x00\x00\x8c\n\x00\x00\x03\x00\x00\x00zip-\x96]WT;\x0c\x8...x00\x00\x00\x00\x80\x01\x00\x00\x00\x00zipPK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x001\x00\x00\x009\x06\x00\x00\x00\x00' 74 expected = b'PK\x03\x04\x14\x00\x00\x00\x08\x00\xdd\xa1\x87R3ET~\x18\x06\x00\x00\x8c\n\x00\x00\x03\x00\x00\x00zip-\x96]WT;\x0c\x8...x00\x00\x00\x00\x80\x01\x00\x00\x00\x00zipPK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x001\x00\x00\x009\x06\x00\x00\x00\x00' ``` The failing byte was the 10th, based on the linked wikipedia page in `assert_equal_zip_safe`, looks like 10th and 11th are last modified timestamp related, so may as well not check the 10th byte as well.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40837/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40837.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40837", "merged_at": "2021-04-13T15:50:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40837.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40837" }
https://api.github.com/repos/pandas-dev/pandas/issues/40838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40838/events
https://github.com/pandas-dev/pandas/pull/40838
853,955,316
MDExOlB1bGxSZXF1ZXN0NjExOTc2NzEx
40,838
DOC: Fix wrong URL in web/README.md
{ "avatar_url": "https://avatars.githubusercontent.com/u/23437545?v=4", "events_url": "https://api.github.com/users/hasan-yaman/events{/privacy}", "followers_url": "https://api.github.com/users/hasan-yaman/followers", "following_url": "https://api.github.com/users/hasan-yaman/following{/other_user}", "gists_url": "https://api.github.com/users/hasan-yaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasan-yaman", "id": 23437545, "login": "hasan-yaman", "node_id": "MDQ6VXNlcjIzNDM3NTQ1", "organizations_url": "https://api.github.com/users/hasan-yaman/orgs", "received_events_url": "https://api.github.com/users/hasan-yaman/received_events", "repos_url": "https://api.github.com/users/hasan-yaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasan-yaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasan-yaman/subscriptions", "type": "User", "url": "https://api.github.com/users/hasan-yaman" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-08T21:44:57Z"
"2021-04-09T07:28:42Z"
"2021-04-09T01:40:51Z"
CONTRIBUTOR
null
- [x] closes #40828 - [ ] 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/40838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40838/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40838.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40838", "merged_at": "2021-04-09T01:40:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40838.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40838" }
https://api.github.com/repos/pandas-dev/pandas/issues/40839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40839/events
https://github.com/pandas-dev/pandas/issues/40839
853,966,338
MDU6SXNzdWU4NTM5NjYzMzg=
40,839
API/ENH: Accept nan-likes in StringArray constructor
{ "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": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
open
false
null
[]
null
1
"2021-04-08T21:54:42Z"
"2021-08-19T04:08:24Z"
null
MEMBER
null
#### Is your feature request related to a problem? Currently, StringArray can only be instantiated directly with a ndarray with strings or NA values represented by pd.NA. The only way to instantiate a StringArray with other missing value indicators(like ``np.nan`` and ``None``) is to use pandas.array, which has a side effect of casting non-string elements to strings instead of erroring. The proposed solution would allow StringArray instantiation from a numpy array containing np.nan/None without casting non-strings. This is useful if you want the StringArray constructor to validate that inputs are strings and also accepts other missing values other than pd.NA. At the very least, it should support np.nan since StringArray is created from a numpy array, and np.nan is the missing value indicator for numpy. #### Describe the solution you'd like Either accept nan-likes in the constructor directly(breaking change) or add a parameter to the constructor allowing other na_values, maybe something like the na_values parameter from read_csv. #### API breaking implications Either breaking change or new parameter. #### Describe alternatives you've considered You'd have to do the validation yourself and validating yourself and then having StringArray validate again is not good for perf. cc @jorisvandenbossche
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40839/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40840/events
https://github.com/pandas-dev/pandas/pull/40840
853,988,370
MDExOlB1bGxSZXF1ZXN0NjEyMDA2NDc2
40,840
PERF: NDArrayBackedExtensionArray in cython
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-08T22:27:24Z"
"2021-04-14T14:10:05Z"
"2021-04-14T13:04:21Z"
MEMBER
null
This is a reboot of #40054, implements NDArrayBacked in a new arrays.pyx rather than in lib.pyx. The perf benefits have improved since #40054, as there is now the prospect of implementing a NDArrayBackedExtensionBlock in cython which will appreciably improve constructor and slicing performance.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40840/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40840.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40840", "merged_at": "2021-04-14T13:04:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40840.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40840" }
https://api.github.com/repos/pandas-dev/pandas/issues/40841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40841/events
https://github.com/pandas-dev/pandas/issues/40841
854,012,016
MDU6SXNzdWU4NTQwMTIwMTY=
40,841
BUG: AssertionError: <class 'pandas.core.arrays.datetimes.DatetimeArray'> on concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/3137319?v=4", "events_url": "https://api.github.com/users/nathanielatom/events{/privacy}", "followers_url": "https://api.github.com/users/nathanielatom/followers", "following_url": "https://api.github.com/users/nathanielatom/following{/other_user}", "gists_url": "https://api.github.com/users/nathanielatom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nathanielatom", "id": 3137319, "login": "nathanielatom", "node_id": "MDQ6VXNlcjMxMzczMTk=", "organizations_url": "https://api.github.com/users/nathanielatom/orgs", "received_events_url": "https://api.github.com/users/nathanielatom/received_events", "repos_url": "https://api.github.com/users/nathanielatom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nathanielatom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nathanielatom/subscriptions", "type": "User", "url": "https://api.github.com/users/nathanielatom" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
9
"2021-04-08T23:20:20Z"
"2021-04-14T12:53:21Z"
"2021-04-14T12:53:21Z"
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [X] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python In [1]: import numpy as np In [2]: import pandas as pd In [3]: right = pd.DataFrame(data={'C': [0.5274]}, index=pd.DatetimeIndex(['2021-04-08 21:21:14+00:00'], dtype='datetime64[ns, UTC]', name='Time (UTC)', freq=None)) In [4]: left = pd.DataFrame(data={'A': [None], 'B': [np.nan]}, index=pd.Index([None], dtype='object', name='Maybe Time (UTC)')) In [5]: pd.concat([left, right], axis='columns') --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) <ipython-input-5-27d2416870b3> in <module> ----> 1 pd.concat([left, right], axis='columns') ~/.miniconda/lib/python3.9/site-packages/pandas/core/reshape/concat.py in concat(objs, axis, join, ignore_index, keys, levels, names, verify_integrity, sort, copy) 283 ValueError: Indexes have overlapping values: ['a'] 284 """ --> 285 op = _Concatenator( 286 objs, 287 axis=axis, ~/.miniconda/lib/python3.9/site-packages/pandas/core/reshape/concat.py in __init__(self, objs, axis, join, keys, levels, names, ignore_index, verify_integrity, copy, sort) 465 self.copy = copy 466 --> 467 self.new_axes = self._get_new_axes() 468 469 def get_result(self): ~/.miniconda/lib/python3.9/site-packages/pandas/core/reshape/concat.py in _get_new_axes(self) 535 def _get_new_axes(self) -> List[Index]: 536 ndim = self._get_result_dim() --> 537 return [ 538 self._get_concat_axis() if i == self.bm_axis else self._get_comb_axis(i) 539 for i in range(ndim) ~/.miniconda/lib/python3.9/site-packages/pandas/core/reshape/concat.py in <listcomp>(.0) 536 ndim = self._get_result_dim() 537 return [ --> 538 self._get_concat_axis() if i == self.bm_axis else self._get_comb_axis(i) 539 for i in range(ndim) 540 ] ~/.miniconda/lib/python3.9/site-packages/pandas/core/reshape/concat.py in _get_comb_axis(self, i) 542 def _get_comb_axis(self, i: int) -> Index: 543 data_axis = self.objs[0]._get_block_manager_axis(i) --> 544 return get_objs_combined_axis( 545 self.objs, 546 axis=data_axis, ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/api.py in get_objs_combined_axis(objs, intersect, axis, sort, copy) 90 """ 91 obs_idxes = [obj._get_axis(axis) for obj in objs] ---> 92 return _get_combined_index(obs_idxes, intersect=intersect, sort=sort, copy=copy) 93 94 ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/api.py in _get_combined_index(indexes, intersect, sort, copy) 143 index = index.intersection(other) 144 else: --> 145 index = union_indexes(indexes, sort=sort) 146 index = ensure_index(index) 147 ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/api.py in union_indexes(indexes, sort) 215 else: 216 for other in indexes[1:]: --> 217 result = result.union(other) 218 return result 219 elif kind == "array": ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/base.py in union(self, other, sort) 2698 2699 if not self._can_union_without_object_cast(other): -> 2700 return self._union_incompatible_dtypes(other, sort=sort) 2701 2702 result = self._union(other, sort=sort) ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/base.py in _union_incompatible_dtypes(self, other, sort) 2616 # cast to Index for when `other` is list-like 2617 other = Index(other).astype(object, copy=False) -> 2618 return Index.union(this, other, sort=sort).astype(object, copy=False) 2619 2620 def _can_union_without_object_cast(self, other) -> bool: ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/base.py in union(self, other, sort) 2702 result = self._union(other, sort=sort) 2703 -> 2704 return self._wrap_setop_result(other, result) 2705 2706 def _union(self, other, sort): ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/base.py in _wrap_setop_result(self, other, result) 2786 return result 2787 else: -> 2788 return self._shallow_copy(result, name=name) 2789 2790 # TODO: standardize return type of non-union setops type(self vs other) ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/base.py in _shallow_copy(self, values, name) 524 525 if values is not None: --> 526 return self._simple_new(values, name=name) 527 528 result = self._simple_new(self._values, name=name) ~/.miniconda/lib/python3.9/site-packages/pandas/core/indexes/base.py in _simple_new(cls, values, name) 431 Must be careful not to recurse. 432 """ --> 433 assert isinstance(values, np.ndarray), type(values) 434 435 result = object.__new__(cls) AssertionError: <class 'pandas.core.arrays.datetimes.DatetimeArray'> ``` #### Problem description This appears to be a regression when concatenating DataFrames with partially null DatetimeIndices. I don't know precisely in which version it was introduced, but it worked with v0.25.3 and python 3.6. #### Expected Output Concatenated DataFrame from pandas v1.0.5: ``` A B C NaN None NaN NaN 2021-04-08 21:21:14+00:00 None NaN 0.5274 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.9.2.final.0 python-bits : 64 OS : Darwin OS-release : 16.7.0 Version : Darwin Kernel Version 16.7.0: Thu Dec 20 21:53:35 PST 2018; root:xnu-3789.73.31~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_CA.UTF-8 LOCALE : en_CA.UTF-8 pandas : 1.2.3 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 49.6.0.post20210108 Cython : None pytest : 6.2.3 hypothesis : None sphinx : 3.5.3 blosc : None feather : None xlsxwriter : 1.3.8 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fsspec : None 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 : None tables : 3.6.1 tabulate : None xarray : 0.17.0 xlrd : 2.0.1 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40841/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40842/events
https://github.com/pandas-dev/pandas/pull/40842
854,059,744
MDExOlB1bGxSZXF1ZXN0NjEyMDY2NTk4
40,842
PERF: put BlockManager constructor in cython
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-09T01:08:38Z"
"2021-04-20T08:57:48Z"
"2021-04-19T16:23:24Z"
MEMBER
null
No idea why mypy started complaining about the io.parsers stuff
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40842/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40842.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40842", "merged_at": "2021-04-19T16:23:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40842.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40842" }
https://api.github.com/repos/pandas-dev/pandas/issues/40843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40843/events
https://github.com/pandas-dev/pandas/pull/40843
854,137,803
MDExOlB1bGxSZXF1ZXN0NjEyMTMwNjE4
40,843
REF: move 2D-only methods to BlockManager
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-09T04:06:34Z"
"2021-04-14T14:05:09Z"
"2021-04-14T12:58:59Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40843/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40843.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40843", "merged_at": "2021-04-14T12:58:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40843.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40843" }
https://api.github.com/repos/pandas-dev/pandas/issues/40844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40844/events
https://github.com/pandas-dev/pandas/pull/40844
854,142,625
MDExOlB1bGxSZXF1ZXN0NjEyMTM0NTEx
40,844
REF: share ArrayManager/BlockManager methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[]
closed
false
null
[]
null
3
"2021-04-09T04:18:33Z"
"2021-04-13T21:24:10Z"
"2021-04-13T21:24:07Z"
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/40844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40844/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40844.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40844", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40844.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40844" }
https://api.github.com/repos/pandas-dev/pandas/issues/40845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40845/events
https://github.com/pandas-dev/pandas/pull/40845
854,254,137
MDExOlB1bGxSZXF1ZXN0NjEyMjI2NTM5
40,845
BUG: fix kwargs in `Styler.where`
{ "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": "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": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-09T07:31:48Z"
"2021-04-12T18:45:03Z"
"2021-04-09T16:29:18Z"
CONTRIBUTOR
null
Simple bug fix. `kwargs` not passed in correct place. partially closes #40124
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40845/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40845.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40845", "merged_at": "2021-04-09T16:29:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40845.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40845" }
https://api.github.com/repos/pandas-dev/pandas/issues/40846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40846/events
https://github.com/pandas-dev/pandas/issues/40846
854,388,227
MDU6SXNzdWU4NTQzODgyMjc=
40,846
QST: Is differenence in frame __setitem__() and __getitem__() intended?
{ "avatar_url": "https://avatars.githubusercontent.com/u/73533504?v=4", "events_url": "https://api.github.com/users/NicMan30/events{/privacy}", "followers_url": "https://api.github.com/users/NicMan30/followers", "following_url": "https://api.github.com/users/NicMan30/following{/other_user}", "gists_url": "https://api.github.com/users/NicMan30/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NicMan30", "id": 73533504, "login": "NicMan30", "node_id": "MDQ6VXNlcjczNTMzNTA0", "organizations_url": "https://api.github.com/users/NicMan30/orgs", "received_events_url": "https://api.github.com/users/NicMan30/received_events", "repos_url": "https://api.github.com/users/NicMan30/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NicMan30/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NicMan30/subscriptions", "type": "User", "url": "https://api.github.com/users/NicMan30" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
3
"2021-04-09T10:19:36Z"
"2021-04-09T21:56:41Z"
null
NONE
null
- [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [X] I have discussed my usage related question on [StackOverflow](https://stackoverflow.com). --- @kristiancanler came across different behavior between assignment and look-ups when using a `dictionary.values()` view object as slice, as documented in his [StackOverflow question](https://stackoverflow.com/questions/66961614/why-does-pandas-recognize-dictionary-values-as-a-list-of-column-names-when-used/67001369#67001369). We do know how to work around this - as is documented in the question, as well as answers - we just want to know if it is intended. Creating a DataFrame + dictionary, using `dictionary.values()` as slice in `print()` simply prints the correct column: ```python import pandas as pd cols_dict = {'X': 'col1'} df = pd.DataFrame({'col1': range(2), 'col2': range(3, 5)}) print(df[cols_dict.values()]) col1 0 0 1 1 ``` however using dictionary.values() on assignment yielded unexpected results: ```python df[cols_dict.values()] = df[cols_dict.values()] print(df) col1 col2 (col1) 0 0 3 0 1 1 4 1 ``` Is this expected behavior? If not, is the reason for this behavior the difference in this part of frame's [`__setitem__()`](https://github.com/pandas-dev/pandas/blob/822db7a53fdcf8d860aaa8b51da4b767b3f56fad/pandas/core/frame.py#L3528-L3536) and [`__getitem__()`](https://github.com/pandas-dev/pandas/blob/822db7a53fdcf8d860aaa8b51da4b767b3f56fad/pandas/core/frame.py#L3368-L3388)? ```python # Do we have a slicer (on rows)? indexer = convert_to_index_sliceable(self, key) if indexer is not None: #! if isinstance(indexer, np.ndarray): #! indexer = lib.maybe_indices_to_slice( #! indexer.astype(np.intp, copy=False), len(self) #! ) #! # either we have a slice or we have a string that can be converted # to a slice for partial-string date indexing return self._slice(indexer, axis=0) ``` The part with #! is only in `__getitem__()`, not in `__setitem__()`, even though both parts of code start with `indexer = convert_to_index_sliceable(self, key)` and the pre-return comments come to the exact same conclusion as to what indexer could be.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40846/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40847/events
https://github.com/pandas-dev/pandas/issues/40847
854,473,016
MDU6SXNzdWU4NTQ0NzMwMTY=
40,847
ENH: Memory usage of read_sql could be significantly reduced to ~25% of current memory usage
{ "avatar_url": "https://avatars.githubusercontent.com/u/3266662?v=4", "events_url": "https://api.github.com/users/itamarst/events{/privacy}", "followers_url": "https://api.github.com/users/itamarst/followers", "following_url": "https://api.github.com/users/itamarst/following{/other_user}", "gists_url": "https://api.github.com/users/itamarst/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/itamarst", "id": 3266662, "login": "itamarst", "node_id": "MDQ6VXNlcjMyNjY2NjI=", "organizations_url": "https://api.github.com/users/itamarst/orgs", "received_events_url": "https://api.github.com/users/itamarst/received_events", "repos_url": "https://api.github.com/users/itamarst/repos", "site_admin": false, "starred_url": "https://api.github.com/users/itamarst/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/itamarst/subscriptions", "type": "User", "url": "https://api.github.com/users/itamarst" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
0
"2021-04-09T12:19:27Z"
"2021-04-10T21:18:44Z"
null
NONE
null
#### Is your feature request related to a problem? Right now when you do `pandas.read_sql` without chunking, memory usage appears to be `O(4N)` where N is number of rows. For example, if the rows can be represented in ~1GB of RAM, approximately 4GB of RAM will be used. By using chunking + server-side cursors (https://github.com/pandas-dev/pandas/issues/35689) internally, this could be changed to `O(N)`, or ~1GB of RAM usage in our example. In particular, it appears that the rows get represented in 4 different forms as part of constructing the DataFrame, as you can see in the example code + memory usage report in "Iteration \#1" section of https://pythonspeed.com/articles/pandas-sql-chunking/. #### Describe the solution you'd like Pandas could internally load the SQL in chunks + streaming/server-side-cursors (see the linked article above for details, or https://github.com/pandas-dev/pandas/pull/40796), and construct the dataframe with appending. The 4× would then only be on chunk size, i.e. memory usage would be `O(N + 4C)`. #### API breaking implications This should be completely transparent in most ways, except perhaps for same sort of issues you get with read CSV in terms of guessing dtypes? Although perhaps the SQL can use column types for that? #### Describe alternatives you've considered Users can use chunking themselves, but it's non-obvious that you're getting 4× the RAM usage over what you'd actually need, so people end up both duplicating the idiom resulting in bugs, and might actually be able to do the simpler all-in-RAM thing if Pandas did it right. In general, memory usage is quite opaque (I had to write a whole new profiler to get the graphs in the article linked above) so putting burden on users is not ideal. #### Additional context It's possible to use [the open source Fil memory profiler](https://pythonspeed.com/fil) to measure peak memory usage in order to validate an improvement. To unit test memory usage could maybe look at https://docs.python.org/3/library/resource.html#resource.RLIMIT_RSS of a subprocess.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40847/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40848/events
https://github.com/pandas-dev/pandas/issues/40848
854,556,609
MDU6SXNzdWU4NTQ1NTY2MDk=
40,848
PERF: conversion of long python objects to string when using numexpr
{ "avatar_url": "https://avatars.githubusercontent.com/u/5022661?v=4", "events_url": "https://api.github.com/users/gabiteodoru/events{/privacy}", "followers_url": "https://api.github.com/users/gabiteodoru/followers", "following_url": "https://api.github.com/users/gabiteodoru/following{/other_user}", "gists_url": "https://api.github.com/users/gabiteodoru/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabiteodoru", "id": 5022661, "login": "gabiteodoru", "node_id": "MDQ6VXNlcjUwMjI2NjE=", "organizations_url": "https://api.github.com/users/gabiteodoru/orgs", "received_events_url": "https://api.github.com/users/gabiteodoru/received_events", "repos_url": "https://api.github.com/users/gabiteodoru/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabiteodoru/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabiteodoru/subscriptions", "type": "User", "url": "https://api.github.com/users/gabiteodoru" }
[ { "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": "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": "f3afff", "default": false, "description": "pd.eval, query", "id": 1631985267, "name": "expressions", "node_id": "MDU6TGFiZWwxNjMxOTg1MjY3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions" } ]
open
false
null
[]
null
25
"2021-04-09T14:04:01Z"
"2021-04-11T15:44:20Z"
null
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. --- **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 ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output #### 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/40848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40848/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40849/events
https://github.com/pandas-dev/pandas/issues/40849
854,618,812
MDU6SXNzdWU4NTQ2MTg4MTI=
40,849
pandas concat does not match index names when concatenating two dataframes with a multiindex
{ "avatar_url": "https://avatars.githubusercontent.com/u/25511217?v=4", "events_url": "https://api.github.com/users/ikfdarba/events{/privacy}", "followers_url": "https://api.github.com/users/ikfdarba/followers", "following_url": "https://api.github.com/users/ikfdarba/following{/other_user}", "gists_url": "https://api.github.com/users/ikfdarba/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ikfdarba", "id": 25511217, "login": "ikfdarba", "node_id": "MDQ6VXNlcjI1NTExMjE3", "organizations_url": "https://api.github.com/users/ikfdarba/orgs", "received_events_url": "https://api.github.com/users/ikfdarba/received_events", "repos_url": "https://api.github.com/users/ikfdarba/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ikfdarba/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ikfdarba/subscriptions", "type": "User", "url": "https://api.github.com/users/ikfdarba" }
[ { "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/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" } ]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
"2021-04-09T15:17:09Z"
"2021-05-26T02:10:39Z"
null
NONE
null
python 3.7 pd.__version__ '1.1.4' and '1.2.3' running the following code: ``` df_top=pd.DataFrame([["i1_top","i2_top",1,2]], columns=["index1","index2","value1","value2"]) df_top.set_index(["index1","index2"],inplace=True) df_bottom=pd.DataFrame([["i1_bottom","i2_bottom",2,1]], columns=["index1","index2","value2","value1"]) df_bottom.set_index(["index2","index1"],inplace=True) print("df_top") print(df_top) print("df_bottom") print(df_bottom) print("pd.concat([df_top,df_bottom])") print(pd.concat([df_top,df_bottom])) ``` gives the following output: ``` df_top value1 value2 index1 index2 i1_top i2_top 1 2 df_bottom value2 value1 index2 index1 i2_bottom i1_bottom 2 1 pd.concat([df_top,df_bottom]) value1 value2 index1 index2 i1_top i2_top 1 2 i2_bottom i1_bottom 1 2 ``` Apparently the concatenation function does not match the index names, and sets the index names of the concatenated data frame in the order of the first dataframe passed to it. In this example pd.concat (incorrectly) concatenates index1 to index2 and index2 to index1, disregarding the names of the indices... Is this the expected behaviour? I would expect the index names to be matched in the concatenation, as with the column names..
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40849/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40850/events
https://github.com/pandas-dev/pandas/pull/40850
854,629,129
MDExOlB1bGxSZXF1ZXN0NjEyNTQ0MDk1
40,850
REGR: object column repr not respecting float format
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
2
"2021-04-09T15:29:40Z"
"2021-04-11T12:49:42Z"
"2021-04-11T12:39:10Z"
MEMBER
null
- [x] closes #40024 - [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 is a regression caused by #38759
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40850/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40850.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40850", "merged_at": "2021-04-11T12:39:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40850.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40850" }
https://api.github.com/repos/pandas-dev/pandas/issues/40851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40851/events
https://github.com/pandas-dev/pandas/pull/40851
854,663,340
MDExOlB1bGxSZXF1ZXN0NjEyNTcyODg0
40,851
DEPS: drop numpy 1.16 #40814
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-09T16:09:49Z"
"2021-04-13T23:09:09Z"
"2021-04-13T23:09:02Z"
MEMBER
null
- [x] closes #40814
{ "+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/40851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40851/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40851.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40851", "merged_at": "2021-04-13T23:09:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40851.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40851" }
https://api.github.com/repos/pandas-dev/pandas/issues/40852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40852/events
https://github.com/pandas-dev/pandas/pull/40852
854,666,274
MDExOlB1bGxSZXF1ZXN0NjEyNTc1MTg4
40,852
PERF: use ndarray.take instead of algos.take
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
"2021-04-09T16:13:45Z"
"2021-04-17T10:17:04Z"
"2021-04-13T15:24:37Z"
MEMBER
null
Un-revert part of #40510 in the hopes of tracking down where the perf impact was.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40852/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40852.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40852", "merged_at": "2021-04-13T15:24:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40852.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40852" }
https://api.github.com/repos/pandas-dev/pandas/issues/40853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40853/events
https://github.com/pandas-dev/pandas/pull/40853
854,685,147
MDExOlB1bGxSZXF1ZXN0NjEyNTkwNzcy
40,853
TYP: implement typing.Manager2D
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-09T16:41:52Z"
"2021-04-13T14:17:08Z"
"2021-04-13T13:21:10Z"
MEMBER
null
Makes it feasible to annotate a Manager as specifically-2D, which I find makes it easier to reason about some of the groupby code. @jorisvandenbossche any objection to a refactor of ArrayManager to make SingleArrayManager share a parent class with ArrayManager, but not subclass it? See https://github.com/pandas-dev/pandas/compare/master...jbrockmendel:typ-mgr-2d?expand=1#diff-80af4c7d6ece8cfeec6401a5f5babe27f19a7fc7476ad9148dca02f58a07a8dcR191 @simonjayhawkins the annotation for obj_with_exclusions https://github.com/pandas-dev/pandas/compare/master...jbrockmendel:typ-mgr-2d?expand=1#diff-f1ec980d06b0b54c8263f663f767636c3f5921f04f8a7ee91dfc71a2100b05cdR934 is a bit sketchy since it is a cache_readonly, not an attribute. Thoughts on how best to handle this? (Also, annotating it incorrectly as DataFrame in SeriesGroupBy doesn't get mypy to complain, which seems like it should?)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40853/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40853.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40853", "merged_at": "2021-04-13T13:21:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40853.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40853" }
https://api.github.com/repos/pandas-dev/pandas/issues/40854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40854/events
https://github.com/pandas-dev/pandas/issues/40854
854,750,265
MDU6SXNzdWU4NTQ3NTAyNjU=
40,854
ENH: Return a frame with a MultiIndex when doing math on inner indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/10226392?v=4", "events_url": "https://api.github.com/users/tmcclintock/events{/privacy}", "followers_url": "https://api.github.com/users/tmcclintock/followers", "following_url": "https://api.github.com/users/tmcclintock/following{/other_user}", "gists_url": "https://api.github.com/users/tmcclintock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tmcclintock", "id": 10226392, "login": "tmcclintock", "node_id": "MDQ6VXNlcjEwMjI2Mzky", "organizations_url": "https://api.github.com/users/tmcclintock/orgs", "received_events_url": "https://api.github.com/users/tmcclintock/received_events", "repos_url": "https://api.github.com/users/tmcclintock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tmcclintock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tmcclintock/subscriptions", "type": "User", "url": "https://api.github.com/users/tmcclintock" }
[ { "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
3
"2021-04-09T18:12:27Z"
"2021-04-11T01:43:18Z"
"2021-04-11T01:43:18Z"
NONE
null
#### Is your feature request related to a problem? Given a datafame with a `MultiIndex` axis, it would be nice to be able to perform a mathematical operation based on the outer axis (or axes) and obtain a result that maintained the number of dimensions in the index. For example: ```python cols = [(x, y) for p in ["r", "s"] for n in ["a","b","c"]] dct = {col: [0, 1, 2] for col in cols} df = pd.DataFrame(dct) # r s # a b c a b c #0 0 0 0 0 0 0 #1 1 1 1 1 1 1 #2 2 2 2 2 2 2 type(df.columns) # <class 'pandas.core.indexes.multi.MultiIndex'> diff = df["r"] - df["s"] type(diff.columns) # <class 'pandas.core.indexes.base.Index'> ``` This would allow for expressions like the following: ```python df["diff"] = df["r"] - df["s"] # THIS DOES NOT WORK ``` At the moment, the only way to add a new set of columns for `"diff"` is to create them one at a time. #### Describe the solution you'd like I know it's tricky, but it would be nice if "inner" data frames were aware that they were part of a `MultiIndex`. #### API breaking implications Note sure... #### Describe alternatives you've considered As stated before, the goal can be achieved by iterating over columns. #### Additional context I was not able to find duplicate issues, but feel free to close if there is one.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40854/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40855/events
https://github.com/pandas-dev/pandas/issues/40855
854,750,922
MDU6SXNzdWU4NTQ3NTA5MjI=
40,855
ENH: Add support for nullable integer columns to StataWriter
{ "avatar_url": "https://avatars.githubusercontent.com/u/20301346?v=4", "events_url": "https://api.github.com/users/kkwaiser/events{/privacy}", "followers_url": "https://api.github.com/users/kkwaiser/followers", "following_url": "https://api.github.com/users/kkwaiser/following{/other_user}", "gists_url": "https://api.github.com/users/kkwaiser/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kkwaiser", "id": 20301346, "login": "kkwaiser", "node_id": "MDQ6VXNlcjIwMzAxMzQ2", "organizations_url": "https://api.github.com/users/kkwaiser/orgs", "received_events_url": "https://api.github.com/users/kkwaiser/received_events", "repos_url": "https://api.github.com/users/kkwaiser/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kkwaiser/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kkwaiser/subscriptions", "type": "User", "url": "https://api.github.com/users/kkwaiser" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
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-04-09T18:13:39Z"
"2021-09-14T16:35:21Z"
"2021-09-14T16:35:21Z"
NONE
null
When attempting to export a dataframe to a Stata data file, I hit the following error due to my dataframe including variables of the Int64 dtype. ```python import pandas as pd # CREATE DATAFRAME s1 = pd.Series(2**33, dtype='Int64') s2 = pd.Series("ABC", dtype=object) df = pd.DataFrame({'col1': s1, 'col2': s2}) df = df.append({'col1': None, 'col2': "DEF"}, ignore_index=True) # EXPORT TO STATA df.to_stata('df.dta', version=117) ``` Error message: > NotImplementedError: Data type Int64 not supported. My expectation is columns of dtype Int64 (i.e., a nullible INT) would end up as byte, int or float in the dta file depending on values therein. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.8.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.14393 machine : AMD64 processor : Intel64 Family 6 Model 61 Stepping 2, GenuineIntel byteorder : little LC_ALL : None LANG : en LOCALE : English_United States.1252 pandas : 1.1.4 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.1.post20201107 Cython : None pytest : None hypothesis : None sphinx : 3.4.3 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.3 sqlalchemy : 1.3.20 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/40855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40855/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40856/events
https://github.com/pandas-dev/pandas/pull/40856
854,780,696
MDExOlB1bGxSZXF1ZXN0NjEyNjY5NDU5
40,856
CI: doc failure
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-09T19:03:33Z"
"2021-04-09T21:55:25Z"
"2021-04-09T21:20:00Z"
MEMBER
null
Attempt to fix doc failure
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40856/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40856.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40856", "merged_at": "2021-04-09T21:20:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40856.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40856" }
https://api.github.com/repos/pandas-dev/pandas/issues/40857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40857/events
https://github.com/pandas-dev/pandas/pull/40857
854,799,949
MDExOlB1bGxSZXF1ZXN0NjEyNjg0NjAw
40,857
REF: NDFrame dont mixin SelectionMixin
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-09T19:29:24Z"
"2021-04-10T01:31:24Z"
"2021-04-10T01:25:32Z"
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/40857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40857/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40857.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40857", "merged_at": "2021-04-10T01:25:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40857.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40857" }
https://api.github.com/repos/pandas-dev/pandas/issues/40858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40858/events
https://github.com/pandas-dev/pandas/issues/40858
854,814,443
MDU6SXNzdWU4NTQ4MTQ0NDM=
40,858
QST: hi guys i have an question on creating a series in pandas diamonds['Quality–color'] = diamonds.cut + ', ' + diamonds.color after running this code why iam getting two columns as 'Quality–color'
{ "avatar_url": "https://avatars.githubusercontent.com/u/56156134?v=4", "events_url": "https://api.github.com/users/sbrsankar/events{/privacy}", "followers_url": "https://api.github.com/users/sbrsankar/followers", "following_url": "https://api.github.com/users/sbrsankar/following{/other_user}", "gists_url": "https://api.github.com/users/sbrsankar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sbrsankar", "id": 56156134, "login": "sbrsankar", "node_id": "MDQ6VXNlcjU2MTU2MTM0", "organizations_url": "https://api.github.com/users/sbrsankar/orgs", "received_events_url": "https://api.github.com/users/sbrsankar/received_events", "repos_url": "https://api.github.com/users/sbrsankar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sbrsankar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sbrsankar/subscriptions", "type": "User", "url": "https://api.github.com/users/sbrsankar" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
"2021-04-09T19:55:02Z"
"2021-04-09T20:00:21Z"
"2021-04-09T20:00:21Z"
NONE
null
- [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas **Note**: If you'd still like to submit a question, please read [this guide]( https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. ```python # Your code here, if applicable ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40858/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40859/events
https://github.com/pandas-dev/pandas/issues/40859
854,826,234
MDU6SXNzdWU4NTQ4MjYyMzQ=
40,859
QST: hi guys i have an doubt in pandas i created series as ['Quality–color'] in my data frame by adding Cut & Color variable into that series as "diam['Quality-color']=diam.cut + ', ' + diam.color" my query was why im getting two colums as 'Quality-color' for your reference i have attached the image
{ "avatar_url": "https://avatars.githubusercontent.com/u/56156134?v=4", "events_url": "https://api.github.com/users/sbrsankar/events{/privacy}", "followers_url": "https://api.github.com/users/sbrsankar/followers", "following_url": "https://api.github.com/users/sbrsankar/following{/other_user}", "gists_url": "https://api.github.com/users/sbrsankar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sbrsankar", "id": 56156134, "login": "sbrsankar", "node_id": "MDQ6VXNlcjU2MTU2MTM0", "organizations_url": "https://api.github.com/users/sbrsankar/orgs", "received_events_url": "https://api.github.com/users/sbrsankar/received_events", "repos_url": "https://api.github.com/users/sbrsankar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sbrsankar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sbrsankar/subscriptions", "type": "User", "url": "https://api.github.com/users/sbrsankar" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
7
"2021-04-09T20:15:16Z"
"2021-04-12T09:51:23Z"
"2021-04-09T20:52:57Z"
NONE
null
- [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas **Note**: If you'd still like to submit a question, please read [this guide]( https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. ```python # Your code here, if applicable ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40860/events
https://github.com/pandas-dev/pandas/pull/40860
854,826,781
MDExOlB1bGxSZXF1ZXN0NjEyNzA2NDgw
40,860
TYP: Improve clip() return and argument typing.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
"2021-04-09T20:16:04Z"
"2021-04-14T14:56:45Z"
"2021-04-11T11:13:41Z"
MEMBER
null
- [x] closes #40829 - [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/40860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40860/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40860.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40860", "merged_at": "2021-04-11T11:13:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40860.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40860" }
https://api.github.com/repos/pandas-dev/pandas/issues/40861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40861/events
https://github.com/pandas-dev/pandas/pull/40861
854,885,664
MDExOlB1bGxSZXF1ZXN0NjEyNzU1Mjky
40,861
Fix fillna accepting downcast as dict
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
"2021-04-09T22:15:49Z"
"2021-04-16T20:37:01Z"
"2021-04-13T23:22:59Z"
MEMBER
null
- [x] closes #40809 - [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 fix makes sense in this case I think, but this does not fix the case for non-list like values, which raises a NotImplementedError The docstring for Series.fillna says, that downcast may be a dict too, but I don't think that this makes sense, so we should maybe raise an error there?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40861/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40861.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40861", "merged_at": "2021-04-13T23:22:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40861.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40861" }
https://api.github.com/repos/pandas-dev/pandas/issues/40862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40862/events
https://github.com/pandas-dev/pandas/pull/40862
854,908,716
MDExOlB1bGxSZXF1ZXN0NjEyNzc1MTEx
40,862
Fix bug in index.union with duplicates and not a subset of each other
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-09T22:57:33Z"
"2021-04-14T20:14:45Z"
"2021-04-14T14:12:43Z"
MEMBER
null
- [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 The previous fix missed one case where other has dups which are unique in self
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40862/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40862.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40862", "merged_at": "2021-04-14T14:12:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40862.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40862" }
https://api.github.com/repos/pandas-dev/pandas/issues/40863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40863/events
https://github.com/pandas-dev/pandas/pull/40863
854,916,271
MDExOlB1bGxSZXF1ZXN0NjEyNzgxMjM4
40,863
REF: separate 2D only methods from ArrayManager
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-09T23:18:32Z"
"2021-04-14T14:06:40Z"
"2021-04-14T13:05:49Z"
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 ArrayManager analogue to #40843, discussed briefly in #40853
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40863/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40863.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40863", "merged_at": "2021-04-14T13:05:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40863.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40863" }
https://api.github.com/repos/pandas-dev/pandas/issues/40864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40864/events
https://github.com/pandas-dev/pandas/pull/40864
855,056,536
MDExOlB1bGxSZXF1ZXN0NjEyODkwNDA2
40,864
BUG: Fix dtypes change using replace with nullable dtypes (#40732)
{ "avatar_url": "https://avatars.githubusercontent.com/u/23437545?v=4", "events_url": "https://api.github.com/users/hasan-yaman/events{/privacy}", "followers_url": "https://api.github.com/users/hasan-yaman/followers", "following_url": "https://api.github.com/users/hasan-yaman/following{/other_user}", "gists_url": "https://api.github.com/users/hasan-yaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasan-yaman", "id": 23437545, "login": "hasan-yaman", "node_id": "MDQ6VXNlcjIzNDM3NTQ1", "organizations_url": "https://api.github.com/users/hasan-yaman/orgs", "received_events_url": "https://api.github.com/users/hasan-yaman/received_events", "repos_url": "https://api.github.com/users/hasan-yaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasan-yaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasan-yaman/subscriptions", "type": "User", "url": "https://api.github.com/users/hasan-yaman" }
[ { "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": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" }, { "color": "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
4
"2021-04-10T12:26:50Z"
"2021-06-08T18:19:50Z"
"2021-06-08T18:19:50Z"
CONTRIBUTOR
null
- [x] closes #40732 - [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
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40864/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40864.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40864", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40864.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40864" }
https://api.github.com/repos/pandas-dev/pandas/issues/40865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40865/events
https://github.com/pandas-dev/pandas/issues/40865
855,062,506
MDU6SXNzdWU4NTUwNjI1MDY=
40,865
PERF: Series.nunique can compute unique, then remove na
{ "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": "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": "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": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-04-10T12:59:10Z"
"2021-05-03T15:12:33Z"
"2021-05-03T15:12:33Z"
MEMBER
null
Currently we first remove nans, then use `len` on the result of `Series.unique`. Except for Series that are mostly null values, it is more performant to switch the order of these operations: ``` n = 100_000 part_nan = 10 ser = pd.Series(n * (part_nan * [np.nan] + list(range(100)))).astype(float) %timeit ser.nunique() %timeit (~np.isnan(ser.unique())).sum() ``` gives ``` 104 ms ± 273 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) 67 ms ± 567 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) ``` Changing part_nan to 100 gives ``` 126 ms ± 141 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) 96.5 ms ± 431 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) ``` On my machine, they are about equal when part_nan is 250 (~70% null values).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40865/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40866/events
https://github.com/pandas-dev/pandas/pull/40866
855,088,482
MDExOlB1bGxSZXF1ZXN0NjEyOTEzNzA3
40,866
TST Add test for iloc on interval index
{ "avatar_url": "https://avatars.githubusercontent.com/u/9433920?v=4", "events_url": "https://api.github.com/users/EricLeer/events{/privacy}", "followers_url": "https://api.github.com/users/EricLeer/followers", "following_url": "https://api.github.com/users/EricLeer/following{/other_user}", "gists_url": "https://api.github.com/users/EricLeer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/EricLeer", "id": 9433920, "login": "EricLeer", "node_id": "MDQ6VXNlcjk0MzM5MjA=", "organizations_url": "https://api.github.com/users/EricLeer/orgs", "received_events_url": "https://api.github.com/users/EricLeer/received_events", "repos_url": "https://api.github.com/users/EricLeer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/EricLeer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EricLeer/subscriptions", "type": "User", "url": "https://api.github.com/users/EricLeer" }
[ { "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-10T15:11:13Z"
"2021-04-12T13:35:28Z"
"2021-04-12T13:31:43Z"
CONTRIBUTOR
null
- [ ] closes #17130 - [ ] 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 Adds tests for using iloc on an interval as 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/40866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40866/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40866.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40866", "merged_at": "2021-04-12T13:31:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40866.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40866" }
https://api.github.com/repos/pandas-dev/pandas/issues/40867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40867/events
https://github.com/pandas-dev/pandas/pull/40867
855,137,193
MDExOlB1bGxSZXF1ZXN0NjEyOTQ5OTcx
40,867
TYP: Overload series/drop_dupicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/9518805?v=4", "events_url": "https://api.github.com/users/olgarithms/events{/privacy}", "followers_url": "https://api.github.com/users/olgarithms/followers", "following_url": "https://api.github.com/users/olgarithms/following{/other_user}", "gists_url": "https://api.github.com/users/olgarithms/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/olgarithms", "id": 9518805, "login": "olgarithms", "node_id": "MDQ6VXNlcjk1MTg4MDU=", "organizations_url": "https://api.github.com/users/olgarithms/orgs", "received_events_url": "https://api.github.com/users/olgarithms/received_events", "repos_url": "https://api.github.com/users/olgarithms/repos", "site_admin": false, "starred_url": "https://api.github.com/users/olgarithms/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/olgarithms/subscriptions", "type": "User", "url": "https://api.github.com/users/olgarithms" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-10T19:15:52Z"
"2021-05-11T08:27:12Z"
"2021-04-12T08:11:23Z"
CONTRIBUTOR
null
- [ ] closes part of https://github.com/MarcoGorelli/pyladies-sprint-April-2021/issues/29 - [ ] 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/40867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40867/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40867.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40867", "merged_at": "2021-04-12T08:11:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40867.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40867" }
https://api.github.com/repos/pandas-dev/pandas/issues/40868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40868/events
https://github.com/pandas-dev/pandas/pull/40868
855,147,664
MDExOlB1bGxSZXF1ZXN0NjEyOTU3NzU0
40,868
ARM64 parallel builds
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "c2e0c6", "default": false, "description": "aarch64 architecture", "id": 2628846204, "name": "ARM", "node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-04-10T20:16:59Z"
"2021-04-15T07:33:45Z"
"2021-04-13T15:55:37Z"
MEMBER
null
- [x] closes #36719 - [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 Seems to have gotten build from > 1 hr to ~ 38 min.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40868/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40868.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40868", "merged_at": "2021-04-13T15:55:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40868.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40868" }
https://api.github.com/repos/pandas-dev/pandas/issues/40869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40869/events
https://github.com/pandas-dev/pandas/pull/40869
855,157,495
MDExOlB1bGxSZXF1ZXN0NjEyOTY1MTkz
40,869
Deprecate level keyword for dataframe and series aggregations
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-10T21:16:50Z"
"2021-04-13T11:59:08Z"
"2021-04-13T11:53:28Z"
MEMBER
null
- [x] closes #39983 - [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 would deprecate the level keyword if we want to move forward with this
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40869/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40869.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40869", "merged_at": "2021-04-13T11:53:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40869.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40869" }
https://api.github.com/repos/pandas-dev/pandas/issues/40870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40870/events
https://github.com/pandas-dev/pandas/pull/40870
855,163,683
MDExOlB1bGxSZXF1ZXN0NjEyOTY5NTIy
40,870
BUG: DataFrame.from_records doesn't raise proper error message when Series passed
{ "avatar_url": "https://avatars.githubusercontent.com/u/23437545?v=4", "events_url": "https://api.github.com/users/hasan-yaman/events{/privacy}", "followers_url": "https://api.github.com/users/hasan-yaman/followers", "following_url": "https://api.github.com/users/hasan-yaman/following{/other_user}", "gists_url": "https://api.github.com/users/hasan-yaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hasan-yaman", "id": 23437545, "login": "hasan-yaman", "node_id": "MDQ6VXNlcjIzNDM3NTQ1", "organizations_url": "https://api.github.com/users/hasan-yaman/orgs", "received_events_url": "https://api.github.com/users/hasan-yaman/received_events", "repos_url": "https://api.github.com/users/hasan-yaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hasan-yaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hasan-yaman/subscriptions", "type": "User", "url": "https://api.github.com/users/hasan-yaman" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" }, { "color": "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
8
"2021-04-10T21:54:20Z"
"2021-08-17T00:33:34Z"
"2021-08-17T00:33:33Z"
CONTRIBUTOR
null
- [x] closes #40429 - [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
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40870/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40870.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40870", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40870.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40870" }
https://api.github.com/repos/pandas-dev/pandas/issues/40871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40871/events
https://github.com/pandas-dev/pandas/pull/40871
855,186,617
MDExOlB1bGxSZXF1ZXN0NjEyOTg1MDAw
40,871
Two missing spaces in argmax, argmin docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/16674643?v=4", "events_url": "https://api.github.com/users/maciejkos/events{/privacy}", "followers_url": "https://api.github.com/users/maciejkos/followers", "following_url": "https://api.github.com/users/maciejkos/following{/other_user}", "gists_url": "https://api.github.com/users/maciejkos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/maciejkos", "id": 16674643, "login": "maciejkos", "node_id": "MDQ6VXNlcjE2Njc0NjQz", "organizations_url": "https://api.github.com/users/maciejkos/orgs", "received_events_url": "https://api.github.com/users/maciejkos/received_events", "repos_url": "https://api.github.com/users/maciejkos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/maciejkos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maciejkos/subscriptions", "type": "User", "url": "https://api.github.com/users/maciejkos" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-11T00:30:41Z"
"2021-04-11T06:02:44Z"
"2021-04-11T06:02:43Z"
CONTRIBUTOR
null
I fixed the missing space that made the documentation render "isthe" instead of "is the". Before the change: - This **isthe** equivalent of the numpy.ndarray method argmax. - This **isthe** equivalent of the numpy.ndarray method argmin. After the change: - This **is the** equivalent of the numpy.ndarray method argmax. - This **is the** equivalent of the numpy.ndarray method argmin. - [ ] 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/40871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40871/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40871.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40871", "merged_at": "2021-04-11T06:02:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40871.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40871" }
https://api.github.com/repos/pandas-dev/pandas/issues/40872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40872/events
https://github.com/pandas-dev/pandas/pull/40872
855,287,707
MDExOlB1bGxSZXF1ZXN0NjEzMDYwNDYx
40,872
Add test to check check_like with different indexes
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-11T11:54:11Z"
"2021-04-11T13:01:55Z"
"2021-04-11T13:01:50Z"
MEMBER
null
- [x] closes #39739 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40872/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40872.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40872", "merged_at": "2021-04-11T13:01:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40872.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40872" }
https://api.github.com/repos/pandas-dev/pandas/issues/40873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40873/events
https://github.com/pandas-dev/pandas/issues/40873
855,288,347
MDU6SXNzdWU4NTUyODgzNDc=
40,873
STYLE "wrongplaced whitespace" rule doesn't error on its example of a bad string
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-04-11T11:57:32Z"
"2021-04-16T01:06:48Z"
"2021-04-16T01:06:48Z"
MEMBER
null
The docstring reads https://github.com/pandas-dev/pandas/blob/9ab55b4aed9018b070c939ffbdf232f99bf50f1a/scripts/validate_unwanted_patterns.py#L355-L361 yet this file doesn't error if the script is run on it: ```console $ cat t.py rule = ( "We want the space at the begging of " "the line if the previous line is ending with a \n " "not at the end, like always" ) $ python scripts/validate_unwanted_patterns.py -vt 'strings_with_wrong_placed_whitespace' t.py ``` Some other files which don't error, though I can't understand why: ```console $ cat t.py rule = ( " We want the space at the begging of" " the line if the previous line is ending with a \n " "not at the end, like always" ) $ python scripts/validate_unwanted_patterns.py -vt 'strings_with_wrong_placed_whitespace' t.py ``` ```console $ cat t.py rule = ( "We want the space at the begging of" " the line if the previous line is ending with a " "not at the end, like always" ) $ python scripts/validate_unwanted_patterns.py -vt 'strings_with_wrong_placed_whitespace' t.py ``` Hi @ShaharNaveh @datapythonista - do you have any context you could provide on the trailing newline rule? I'm struggling to make sense of it - thanks :)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40873/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40874/events
https://github.com/pandas-dev/pandas/issues/40874
855,289,396
MDU6SXNzdWU4NTUyODkzOTY=
40,874
BUG: New numpy dev caused ci to fail
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
5
"2021-04-11T12:02:54Z"
"2021-04-18T15:55:39Z"
"2021-04-18T15:55:39Z"
MEMBER
null
- [x] I have checked that this issue has not already been reported. --- The weekly wheel of numpy changed and caused our ci to fail Worked: https://github.com/pandas-dev/pandas/runs/2314968903 First failure: https://github.com/pandas-dev/pandas/runs/2315938439 Numpy wheels: First: https://pypi.anaconda.org/scipy-wheels-nightly/simple/numpy/1.21.0.dev0%2B1199.g623bc1fae/numpy-1.21.0.dev0%2B1199.g623bc1fae-cp38-cp38-manylinux2010_x86_64.whl Second: https://pypi.anaconda.org/scipy-wheels-nightly/simple/numpy/1.21.0.dev0%2B1229.g36eb76c9d/numpy-1.21.0.dev0%2B1229.g36eb76c9d-cp38-cp38-manylinux2010_x86_64.whl cc @simonjayhawkins is this an issue for the 1.2.4 release?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40874/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40875/events
https://github.com/pandas-dev/pandas/pull/40875
855,297,322
MDExOlB1bGxSZXF1ZXN0NjEzMDY3MzQx
40,875
Backport PR #40850 on branch 1.2.x (REGR: object column repr not respecting float format)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
0
"2021-04-11T12:41:00Z"
"2021-04-11T14:05:59Z"
"2021-04-11T14:05:59Z"
NONE
null
Backport PR #40850: REGR: object column repr not respecting float format
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40875/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40875.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40875", "merged_at": "2021-04-11T14:05:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40875.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40875" }
https://api.github.com/repos/pandas-dev/pandas/issues/40876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40876/events
https://github.com/pandas-dev/pandas/issues/40876
855,297,671
MDU6SXNzdWU4NTUyOTc2NzE=
40,876
STYLE, TYP frame-or-series-union check no longer relevant
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/55714355?v=4", "events_url": "https://api.github.com/users/joonlim9/events{/privacy}", "followers_url": "https://api.github.com/users/joonlim9/followers", "following_url": "https://api.github.com/users/joonlim9/following{/other_user}", "gists_url": "https://api.github.com/users/joonlim9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joonlim9", "id": 55714355, "login": "joonlim9", "node_id": "MDQ6VXNlcjU1NzE0MzU1", "organizations_url": "https://api.github.com/users/joonlim9/orgs", "received_events_url": "https://api.github.com/users/joonlim9/received_events", "repos_url": "https://api.github.com/users/joonlim9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joonlim9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joonlim9/subscriptions", "type": "User", "url": "https://api.github.com/users/joonlim9" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/55714355?v=4", "events_url": "https://api.github.com/users/joonlim9/events{/privacy}", "followers_url": "https://api.github.com/users/joonlim9/followers", "following_url": "https://api.github.com/users/joonlim9/following{/other_user}", "gists_url": "https://api.github.com/users/joonlim9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joonlim9", "id": 55714355, "login": "joonlim9", "node_id": "MDQ6VXNlcjU1NzE0MzU1", "organizations_url": "https://api.github.com/users/joonlim9/orgs", "received_events_url": "https://api.github.com/users/joonlim9/received_events", "repos_url": "https://api.github.com/users/joonlim9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joonlim9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joonlim9/subscriptions", "type": "User", "url": "https://api.github.com/users/joonlim9" } ]
{ "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" }
12
"2021-04-11T12:42:50Z"
"2021-07-04T10:06:53Z"
"2021-07-04T10:06:53Z"
MEMBER
null
This check is no longer relevant: https://github.com/pandas-dev/pandas/blob/9ab55b4aed9018b070c939ffbdf232f99bf50f1a/.pre-commit-config.yaml#L83-L88 Since using PEP604 rewrites, this would be written as ``` x: Series | DataFrame ``` anyway. ``` x: FrameOrSeriesUnion ``` is actually just as long as the above, and arguably less explicit. ---- @simonjayhawkins thoughts on replacing all the `FrameOrSeriesUnion` occurrences, removing the alias, and removing the above check?
{ "+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/40876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40876/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40877/events
https://github.com/pandas-dev/pandas/pull/40877
855,300,762
MDExOlB1bGxSZXF1ZXN0NjEzMDY5ODQ1
40,877
Skipt failing tests for numpy dev
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
9
"2021-04-11T12:57:21Z"
"2021-04-11T18:34:13Z"
"2021-04-11T16:32:10Z"
MEMBER
null
- [x] xref #40874 - [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 Skipping for now.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40877/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40877.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40877", "merged_at": "2021-04-11T16:32:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40877.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40877" }
https://api.github.com/repos/pandas-dev/pandas/issues/40878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40878/events
https://github.com/pandas-dev/pandas/pull/40878
855,309,167
MDExOlB1bGxSZXF1ZXN0NjEzMDc2MDgx
40,878
REGR: ufunc with DataFrame input not passing all kwargs
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
3
"2021-04-11T13:36:47Z"
"2021-04-12T15:07:58Z"
"2021-04-12T14:27:29Z"
MEMBER
null
- [x] closes #40662 - [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 Credit to @attack68 for the fix, just figured we should try to get this is in for 1.2.4 if possible since we know the 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/40878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40878/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40878.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40878", "merged_at": "2021-04-12T14:27:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40878.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40878" }
https://api.github.com/repos/pandas-dev/pandas/issues/40879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40879/events
https://github.com/pandas-dev/pandas/pull/40879
855,309,401
MDExOlB1bGxSZXF1ZXN0NjEzMDc2MjQ4
40,879
DOC: Updates Index.reindex docstrings (#40328)
{ "avatar_url": "https://avatars.githubusercontent.com/u/38786534?v=4", "events_url": "https://api.github.com/users/lnros/events{/privacy}", "followers_url": "https://api.github.com/users/lnros/followers", "following_url": "https://api.github.com/users/lnros/following{/other_user}", "gists_url": "https://api.github.com/users/lnros/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lnros", "id": 38786534, "login": "lnros", "node_id": "MDQ6VXNlcjM4Nzg2NTM0", "organizations_url": "https://api.github.com/users/lnros/orgs", "received_events_url": "https://api.github.com/users/lnros/received_events", "repos_url": "https://api.github.com/users/lnros/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lnros/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lnros/subscriptions", "type": "User", "url": "https://api.github.com/users/lnros" }
[ { "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": "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": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
closed
false
null
[]
null
6
"2021-04-11T13:37:50Z"
"2021-09-01T00:09:04Z"
"2021-09-01T00:09:04Z"
NONE
null
- [x] closes #40328: explains function parameters and gives basic example - [ ] tests added / passed - [ ] Ensure all linting tests pass, see here 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/40879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40879", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40879" }
https://api.github.com/repos/pandas-dev/pandas/issues/40880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40880/events
https://github.com/pandas-dev/pandas/pull/40880
855,317,144
MDExOlB1bGxSZXF1ZXN0NjEzMDgxODg3
40,880
DOC: 1.2.4 release date
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
2
"2021-04-11T14:12:34Z"
"2021-04-12T12:18:08Z"
"2021-04-12T12:17:07Z"
MEMBER
null
draft till #40878 is merged as may cause conflicts.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40880/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40880.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40880", "merged_at": "2021-04-12T12:17:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40880.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40880" }
https://api.github.com/repos/pandas-dev/pandas/issues/40881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40881/events
https://github.com/pandas-dev/pandas/pull/40881
855,349,158
MDExOlB1bGxSZXF1ZXN0NjEzMTA1MzMz
40,881
Backport PR #40877 on branch 1.2.x (Skipt failing tests for numpy dev)
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
1
"2021-04-11T16:32:24Z"
"2021-04-11T16:39:09Z"
"2021-04-11T16:39:09Z"
NONE
null
Backport PR #40877: Skipt failing tests for numpy dev
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40881/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40881.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40881", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40881.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40881" }
https://api.github.com/repos/pandas-dev/pandas/issues/40882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40882/events
https://github.com/pandas-dev/pandas/pull/40882
855,351,603
MDExOlB1bGxSZXF1ZXN0NjEzMTA3MjM3
40,882
Backport PR #40877 on branch 1.2.x (Skipt failing tests for numpy dev)
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
3
"2021-04-11T16:43:29Z"
"2021-04-18T16:00:29Z"
"2021-04-12T07:57:16Z"
MEMBER
null
Backport PR #40877 Had to add the is_numpy_dev import, we could otherwise import from other directory if this would be preferrable
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40882/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40882.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40882", "merged_at": "2021-04-12T07:57:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40882.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40882" }
https://api.github.com/repos/pandas-dev/pandas/issues/40883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40883/events
https://github.com/pandas-dev/pandas/pull/40883
855,376,488
MDExOlB1bGxSZXF1ZXN0NjEzMTI0OTc3
40,883
Backport PR #40877 on branch 1.2.x (Skipt failing tests for numpy dev)
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
4
"2021-04-11T18:33:45Z"
"2021-04-11T18:38:05Z"
"2021-04-11T18:38:05Z"
NONE
null
Backport PR #40877: Skipt failing tests for numpy dev
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40883", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40883" }
https://api.github.com/repos/pandas-dev/pandas/issues/40884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40884/events
https://github.com/pandas-dev/pandas/pull/40884
855,391,051
MDExOlB1bGxSZXF1ZXN0NjEzMTM1OTc4
40,884
ENH: IO support for R data files with `pandas.read_rdata` and `DataFrame.to_rdata`
{ "avatar_url": "https://avatars.githubusercontent.com/u/13602663?v=4", "events_url": "https://api.github.com/users/ParfaitG/events{/privacy}", "followers_url": "https://api.github.com/users/ParfaitG/followers", "following_url": "https://api.github.com/users/ParfaitG/following{/other_user}", "gists_url": "https://api.github.com/users/ParfaitG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ParfaitG", "id": 13602663, "login": "ParfaitG", "node_id": "MDQ6VXNlcjEzNjAyNjYz", "organizations_url": "https://api.github.com/users/ParfaitG/orgs", "received_events_url": "https://api.github.com/users/ParfaitG/received_events", "repos_url": "https://api.github.com/users/ParfaitG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ParfaitG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ParfaitG/subscriptions", "type": "User", "url": "https://api.github.com/users/ParfaitG" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": 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" }
13
"2021-04-11T19:42:33Z"
"2021-05-05T18:38:43Z"
"2021-04-22T22:35:21Z"
CONTRIBUTOR
null
- [X] closes #40287 - [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 - [X] install.rst entry - [X] io.rst entry --- Note: This PR relies on a new dependency, [**`pyreadr`**](https://pypi.org/project/pyreadr/).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40884/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40884.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40884", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40884.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40884" }
https://api.github.com/repos/pandas-dev/pandas/issues/40885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40885/events
https://github.com/pandas-dev/pandas/issues/40885
855,393,354
MDU6SXNzdWU4NTUzOTMzNTQ=
40,885
BUG: Regression in loc __setitem__ with split_path True and all false indexr
{ "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": "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": "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": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-11T19:54:18Z"
"2021-04-19T14:02:52Z"
"2021-04-19T14:02:52Z"
MEMBER
null
We have an ugly regression on master #### Code Sample, a copy-pastable example ```python df = DataFrame({"a": [1, 2], "b": [3, 4], "c": "a"}) indexer = Series([False, False], name="c") rhs = DataFrame({"b": [5, 6]}, index=[0, 1]) df.loc[indexer, ["b"]] = rhs ``` We need more than one block to reproduce #### Problem description This returns ``` a b c 0 1 5 a 1 2 6 a ``` which is obviously wrong. #### Expected Output ``` a b c 0 1 3 a 1 2 4 a ``` I think this was introduced with 80227439db6b90985b9fbcde2a8f8ea85a4569b2 cc @jbrockmendel ``_align_series`` previously returns the value, if the indexer is all False, which is not caught here anymore, since we run into ``` elif is_array_like(value) and is_exact_shape_match(ser, value): ser = value ``` <details> INSTALLED VERSIONS ------------------ commit : 895f0b4022562d33e485c5d4eab1014d18656e0c python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-48-generic Version : #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0.dev0+1287.g895f0b4022 numpy : 1.20.0 pytz : 2020.5 dateutil : 2.8.1 pip : 20.3.3 setuptools : 49.6.0.post20210108 Cython : 0.29.21 pytest : 6.2.1 hypothesis : 6.0.2 sphinx : 3.4.3 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.5 fastparquet : 0.5.0 gcsfs : 0.7.1 matplotlib : 3.3.3 numexpr : 2.7.2 odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : 1.0.0 pyxlsb : None s3fs : 0.4.2 scipy : 1.6.0 sqlalchemy : 1.3.22 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.2 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.52.0 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/40885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40885/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40886/events
https://github.com/pandas-dev/pandas/pull/40886
855,419,972
MDExOlB1bGxSZXF1ZXN0NjEzMTU3ODgy
40,886
Addressing #40781 to raise ValueError as per discussion when a list with xlim or ylim is supplied, that contains elements in other format than integer or float type.
{ "avatar_url": "https://avatars.githubusercontent.com/u/23026528?v=4", "events_url": "https://api.github.com/users/regmibijay/events{/privacy}", "followers_url": "https://api.github.com/users/regmibijay/followers", "following_url": "https://api.github.com/users/regmibijay/following{/other_user}", "gists_url": "https://api.github.com/users/regmibijay/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/regmibijay", "id": 23026528, "login": "regmibijay", "node_id": "MDQ6VXNlcjIzMDI2NTI4", "organizations_url": "https://api.github.com/users/regmibijay/orgs", "received_events_url": "https://api.github.com/users/regmibijay/received_events", "repos_url": "https://api.github.com/users/regmibijay/repos", "site_admin": false, "starred_url": "https://api.github.com/users/regmibijay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/regmibijay/subscriptions", "type": "User", "url": "https://api.github.com/users/regmibijay" }
[]
closed
false
null
[]
null
2
"2021-04-11T22:11:41Z"
"2021-04-11T23:26:21Z"
"2021-04-11T23:26:21Z"
CONTRIBUTOR
null
- [x] closes #40781 - [x] 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 - [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/40886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40886/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40886.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40886", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40886.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40886" }
https://api.github.com/repos/pandas-dev/pandas/issues/40887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40887/events
https://github.com/pandas-dev/pandas/pull/40887
855,431,872
MDExOlB1bGxSZXF1ZXN0NjEzMTY3MDU0
40,887
TYP overload fillna #40737
{ "avatar_url": "https://avatars.githubusercontent.com/u/33496254?v=4", "events_url": "https://api.github.com/users/LarWong/events{/privacy}", "followers_url": "https://api.github.com/users/LarWong/followers", "following_url": "https://api.github.com/users/LarWong/following{/other_user}", "gists_url": "https://api.github.com/users/LarWong/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/LarWong", "id": 33496254, "login": "LarWong", "node_id": "MDQ6VXNlcjMzNDk2MjU0", "organizations_url": "https://api.github.com/users/LarWong/orgs", "received_events_url": "https://api.github.com/users/LarWong/received_events", "repos_url": "https://api.github.com/users/LarWong/repos", "site_admin": false, "starred_url": "https://api.github.com/users/LarWong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LarWong/subscriptions", "type": "User", "url": "https://api.github.com/users/LarWong" }
[ { "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-11T23:15:42Z"
"2021-04-15T21:21:57Z"
"2021-04-15T21:21:57Z"
CONTRIBUTOR
null
- [x] closes #40737 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40887/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40887.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40887", "merged_at": "2021-04-15T21:21:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40887.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40887" }
https://api.github.com/repos/pandas-dev/pandas/issues/40888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40888/events
https://github.com/pandas-dev/pandas/pull/40888
855,434,256
MDExOlB1bGxSZXF1ZXN0NjEzMTY4OTA4
40,888
TST: add test for Index.where when needing to cast to object dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4", "events_url": "https://api.github.com/users/cgarciae/events{/privacy}", "followers_url": "https://api.github.com/users/cgarciae/followers", "following_url": "https://api.github.com/users/cgarciae/following{/other_user}", "gists_url": "https://api.github.com/users/cgarciae/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cgarciae", "id": 5862228, "login": "cgarciae", "node_id": "MDQ6VXNlcjU4NjIyMjg=", "organizations_url": "https://api.github.com/users/cgarciae/orgs", "received_events_url": "https://api.github.com/users/cgarciae/received_events", "repos_url": "https://api.github.com/users/cgarciae/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cgarciae/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cgarciae/subscriptions", "type": "User", "url": "https://api.github.com/users/cgarciae" }
[ { "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
[]
null
6
"2021-04-11T23:28:14Z"
"2021-09-01T00:08:29Z"
"2021-09-01T00:08:28Z"
NONE
null
- [x] closes #32413 - [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: Adds a basic test for #32413. Hey! This is my first PR with actual code: added a very basic test to validate #32413. Questions: * What is the best place for this test? (currently put it in `pandas/tests/indexes/test_indexing.py`) * Should I try to create another test that uses the `index` input argument?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40888/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40888.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40888", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40888.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40888" }
https://api.github.com/repos/pandas-dev/pandas/issues/40889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40889/events
https://github.com/pandas-dev/pandas/pull/40889
855,439,235
MDExOlB1bGxSZXF1ZXN0NjEzMTcyNzM3
40,889
Raising ValueError when xlim and ylim contain non-int and non-float dtype elements
{ "avatar_url": "https://avatars.githubusercontent.com/u/23026528?v=4", "events_url": "https://api.github.com/users/regmibijay/events{/privacy}", "followers_url": "https://api.github.com/users/regmibijay/followers", "following_url": "https://api.github.com/users/regmibijay/following{/other_user}", "gists_url": "https://api.github.com/users/regmibijay/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/regmibijay", "id": 23026528, "login": "regmibijay", "node_id": "MDQ6VXNlcjIzMDI2NTI4", "organizations_url": "https://api.github.com/users/regmibijay/orgs", "received_events_url": "https://api.github.com/users/regmibijay/received_events", "repos_url": "https://api.github.com/users/regmibijay/repos", "site_admin": false, "starred_url": "https://api.github.com/users/regmibijay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/regmibijay/subscriptions", "type": "User", "url": "https://api.github.com/users/regmibijay" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "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
11
"2021-04-11T23:55:09Z"
"2021-10-08T18:25:23Z"
"2021-10-08T18:24:10Z"
CONTRIBUTOR
null
- [x] closes #40781 - [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/40889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40889/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40889.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40889", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40889.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40889" }
https://api.github.com/repos/pandas-dev/pandas/issues/40890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40890/events
https://github.com/pandas-dev/pandas/pull/40890
855,641,605
MDExOlB1bGxSZXF1ZXN0NjEzMzQzMDM2
40,890
⬆️ UPGRADE: Autoupdate pre-commit config
{ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4", "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers", "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/github-actions", "id": 41898282, "login": "github-actions[bot]", "node_id": "MDM6Qm90NDE4OTgyODI=", "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/github-actions%5Bbot%5D" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-12T07:20:11Z"
"2021-04-12T08:25:50Z"
"2021-04-12T08:25:46Z"
CONTRIBUTOR
null
<!-- START pr-commits --> <!-- END pr-commits --> ## Base PullRequest default branch (https://github.com/pandas-dev/pandas/tree/master) ## Command results <details> <summary>Details: </summary> <details> <summary><em>add path</em></summary> ```Shell /home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin ``` </details> <details> <summary><em>pip install pre-commit</em></summary> ```Shell Collecting pre-commit Downloading pre_commit-2.12.0-py2.py3-none-any.whl (189 kB) Collecting toml Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting nodeenv>=0.11.1 Downloading nodeenv-1.6.0-py2.py3-none-any.whl (21 kB) Collecting virtualenv>=20.0.8 Downloading virtualenv-20.4.3-py2.py3-none-any.whl (7.2 MB) Collecting cfgv>=2.0.0 Using cached cfgv-3.2.0-py2.py3-none-any.whl (7.3 kB) Collecting identify>=1.0.0 Downloading identify-2.2.3-py2.py3-none-any.whl (98 kB) Collecting pyyaml>=5.1 Downloading PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB) Collecting distlib<1,>=0.3.1 Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB) Collecting six<2,>=1.9.0 Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting appdirs<2,>=1.4.3 Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting filelock<4,>=3.0.0 Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB) Installing collected packages: six, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit Successfully installed appdirs-1.4.4 cfgv-3.2.0 distlib-0.3.1 filelock-3.0.12 identify-2.2.3 nodeenv-1.6.0 pre-commit-2.12.0 pyyaml-5.4.1 six-1.15.0 toml-0.10.2 virtualenv-20.4.3 ``` </details> <details> <summary><em>pre-commit autoupdate || (exit 0);</em></summary> ```Shell Updating https://github.com/MarcoGorelli/absolufy-imports ... [INFO] Initializing environment for https://github.com/MarcoGorelli/absolufy-imports. already up to date. Updating https://github.com/python/black ... already up to date. Updating https://github.com/codespell-project/codespell ... [INFO] Initializing environment for https://github.com/codespell-project/codespell. already up to date. Updating https://github.com/pre-commit/pre-commit-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. already up to date. Updating https://github.com/cpplint/cpplint ... [INFO] Initializing environment for https://github.com/cpplint/cpplint. =====> /home/runner/.cache/pre-commit/repo2ir9bkt3/.pre-commit-hooks.yaml does not exist Updating https://gitlab.com/pycqa/flake8 ... [INFO] Initializing environment for https://gitlab.com/pycqa/flake8. already up to date. Updating https://github.com/PyCQA/isort ... [INFO] Initializing environment for https://github.com/PyCQA/isort. already up to date. Updating https://github.com/asottile/pyupgrade ... [INFO] Initializing environment for https://github.com/asottile/pyupgrade. updating v2.11.0 -> v2.12.0. Updating https://github.com/pre-commit/pygrep-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pygrep-hooks. already up to date. Updating https://github.com/asottile/yesqa ... already up to date. ``` </details> <details> <summary><em>pre-commit run -a || (exit 0);</em></summary> ```Shell [INFO] Initializing environment for https://github.com/cpplint/cpplint. [INFO] Initializing environment for https://gitlab.com/pycqa/flake8:flake8-bugbear>=21.3.2,flake8-comprehensions>=3.1.0. [INFO] Initializing environment for https://github.com/asottile/yesqa:flake8==3.9.0. [INFO] Installing environment for https://github.com/MarcoGorelli/absolufy-imports. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/python/black. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/codespell-project/codespell. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/cpplint/cpplint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitlab.com/pycqa/flake8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitlab.com/pycqa/flake8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/PyCQA/isort. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/asottile/pyupgrade. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/asottile/yesqa. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for local. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for local. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for local. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... absolufy-imports....................................................................................Passed black...............................................................................................Passed codespell...........................................................................................Passed Fix End of Files....................................................................................Passed Trim Trailing Whitespace............................................................................Passed cpplint.............................................................................................Passed flake8..............................................................................................Passed flake8 (cython).....................................................................................Passed flake8 (cython template)............................................................................Passed isort...............................................................................................Passed pyupgrade...........................................................................................Passed rst ``code`` is two backticks.......................................................................Passed rst directives end with two colons..................................................................Passed rst ``inline code`` next to normal text.............................................................Passed Strip unnecessary `# noqa`s.........................................................................Passed flake8-rst..........................................................................................Passed Check for use of Union[Series, DataFrame] instead of FrameOrSeriesUnion alias.......................Passed Check for inconsistent use of pandas namespace......................................................Passed Check code for instances of os.remove...............................................................Passed Unwanted patterns...................................................................................Passed Unwanted patterns in tests..........................................................................Passed Generate pip dependency from conda..................................................................Passed Check flake8 version is synced across flake8, yesqa, and environment.yml............................Passed Validate correct capitalization among titles in documentation.......................................Passed Check for use of bare pytest raises.................................................................Passed Check for use of private functions across modules...................................................Passed Check for import of private attributes across modules...............................................Passed Check for use of not concatenated strings...........................................................Passed Check for strings with wrong placed spaces..........................................................Passed Import pandas.array as pd_array in core.............................................................Passed Use bool_t instead of bool in pandas/core/generic.py................................................Passed ``` </details> </details> ## Changed files <details> <summary>Changed file: </summary> - .pre-commit-config.yaml </details> <hr> [:octocat: Repo](https://github.com/technote-space/create-pr-action) | [:memo: Issues](https://github.com/technote-space/create-pr-action/issues) | [:department_store: Marketplace](https://github.com/marketplace/actions/create-pr-action)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40890/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40890.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40890", "merged_at": "2021-04-12T08:25:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40890.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40890" }
https://api.github.com/repos/pandas-dev/pandas/issues/40891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40891/events
https://github.com/pandas-dev/pandas/issues/40891
855,742,143
MDU6SXNzdWU4NTU3NDIxNDM=
40,891
BUG: for pd.Series with tz-aware index resample shifts time-labels after DST time transition
{ "avatar_url": "https://avatars.githubusercontent.com/u/18488560?v=4", "events_url": "https://api.github.com/users/alexveden/events{/privacy}", "followers_url": "https://api.github.com/users/alexveden/followers", "following_url": "https://api.github.com/users/alexveden/following{/other_user}", "gists_url": "https://api.github.com/users/alexveden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexveden", "id": 18488560, "login": "alexveden", "node_id": "MDQ6VXNlcjE4NDg4NTYw", "organizations_url": "https://api.github.com/users/alexveden/orgs", "received_events_url": "https://api.github.com/users/alexveden/received_events", "repos_url": "https://api.github.com/users/alexveden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexveden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexveden/subscriptions", "type": "User", "url": "https://api.github.com/users/alexveden" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
"2021-04-12T09:06:29Z"
"2021-08-19T04:36:55Z"
"2021-08-19T04:36:55Z"
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 dt_idx = pd.date_range(pd.Timestamp('2021-03-12 05:00:00', tz='US/Pacific'), pd.Timestamp('2021-04-07 12:45:00', tz='US/Pacific'), freq='1T', ) series = dt_idx.to_series() bar_df = series.resample('120T', label='right').last().dropna() print(bar_df) ``` #### Problem description After resampling a time-series with tz-aware DatetimeIndex I've found that at the point of daylight clock change `resample` begins to show shifted time-labels. For example, typical hours are 0,2,4,6,8,10 , but after DST shift at 2021-03-14 we get +1 hour i.e. 7,9,11,13 and so on. The issue seem to affect non-standard timeframes, e.g. 2H, 4H, 90T. Others like 1H, 30min, 15min, 5min look good. **IMPORTANT** The problem looks to be dependent on start date: ```python # If we include previous DST transition date, we'll get valid values (no issue at all) dt_idx = pd.date_range(pd.Timestamp('2020-10-31 05:00:00', tz='US/Pacific'), pd.Timestamp('2021-04-07 12:45:00', tz='US/Pacific'), freq='1T', ) .... >print(bar_df.tail()) 2021-04-07 06:00:00-07:00 2021-04-07 05:59:00-07:00 2021-04-07 08:00:00-07:00 2021-04-07 07:59:00-07:00 2021-04-07 10:00:00-07:00 2021-04-07 09:59:00-07:00 2021-04-07 12:00:00-07:00 2021-04-07 11:59:00-07:00 2021-04-07 14:00:00-07:00 2021-04-07 12:45:00-07:00 # Jan 2020 has influence on timestamp of Apr 2021 dt_idx = pd.date_range(pd.Timestamp('2020-01-31 05:00:00', tz='US/Pacific'), pd.Timestamp('2021-04-07 12:45:00', tz='US/Pacific'), freq='1T', ) .... >print(bar_df.tail()) 2021-04-07 05:00:00-07:00 2021-04-07 04:59:00-07:00 2021-04-07 07:00:00-07:00 2021-04-07 06:59:00-07:00 2021-04-07 09:00:00-07:00 2021-04-07 08:59:00-07:00 2021-04-07 11:00:00-07:00 2021-04-07 10:59:00-07:00 2021-04-07 13:00:00-07:00 2021-04-07 12:45:00-07:00 ``` #### Expected Output ```python > print(bar_df) # Prior DST time 2021-03-12 06:00:00-08:00 2021-03-12 05:59:00-08:00 2021-03-12 08:00:00-08:00 2021-03-12 07:59:00-08:00 2021-03-12 10:00:00-08:00 2021-03-12 09:59:00-08:00 2021-03-12 12:00:00-08:00 2021-03-12 11:59:00-08:00 2021-03-12 14:00:00-08:00 2021-03-12 13:59:00-08:00 ... # BUG new DST time timestamp hours are shifted 2021-04-07 05:00:00-07:00 2021-04-07 04:59:00-07:00 2021-04-07 07:00:00-07:00 2021-04-07 06:59:00-07:00 2021-04-07 09:00:00-07:00 2021-04-07 08:59:00-07:00 2021-04-07 11:00:00-07:00 2021-04-07 10:59:00-07:00 2021-04-07 13:00:00-07:00 2021-04-07 12:45:00-07:00 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-16-amd64 Version : #1 SMP Debian 4.19.181-1 (2021-03-19) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.3 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : 0.29.22 pytest : 5.0.1 hypothesis : None sphinx : 2.1.2 blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.3.4 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.21.0 pandas_datareader: 0.9.0 bs4 : 4.9.3 bottleneck : 1.2.1 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.1.0 numexpr : 2.6.9 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.3.0 sqlalchemy : 1.3.5 tables : None tabulate : None xarray : None xlrd : 1.2.0 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/40891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40891/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40892/events
https://github.com/pandas-dev/pandas/issues/40892
855,826,712
MDU6SXNzdWU4NTU4MjY3MTI=
40,892
BUG: map nested dict on categorical Series prints a TypeError and ignores it
{ "avatar_url": "https://avatars.githubusercontent.com/u/11536226?v=4", "events_url": "https://api.github.com/users/adrien-berchet/events{/privacy}", "followers_url": "https://api.github.com/users/adrien-berchet/followers", "following_url": "https://api.github.com/users/adrien-berchet/following{/other_user}", "gists_url": "https://api.github.com/users/adrien-berchet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adrien-berchet", "id": 11536226, "login": "adrien-berchet", "node_id": "MDQ6VXNlcjExNTM2MjI2", "organizations_url": "https://api.github.com/users/adrien-berchet/orgs", "received_events_url": "https://api.github.com/users/adrien-berchet/received_events", "repos_url": "https://api.github.com/users/adrien-berchet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adrien-berchet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrien-berchet/subscriptions", "type": "User", "url": "https://api.github.com/users/adrien-berchet" }
[ { "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": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "6beae0", "default": false, "description": "hash_pandas_object", "id": 1654197779, "name": "hashing", "node_id": "MDU6TGFiZWwxNjU0MTk3Nzc5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/hashing" }, { "color": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
open
false
null
[]
null
2
"2021-04-12T10:30:53Z"
"2021-08-19T04:39:40Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version 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 tested = pd.Series(["key_1", "key_2"], dtype="category") tested.map({"key_1": {"a": 1}, "key_2": {"a": 2}}) ``` #### Problem description The given code raises an exception but actually ignores it and returns the expected result. I think it would be better to ignore it silently. Note that it seems to happen only with categorical Series. ```python --------------------------------------------------------------------------- TypeError Traceback (most recent call last) pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.map_locations() TypeError: unhashable type: 'dict' Exception ignored in: 'pandas._libs.index.IndexEngine._call_map_locations' Traceback (most recent call last): File "pandas/_libs/hashtable_class_helper.pxi", line 4588, in pandas._libs.hashtable.PyObjectHashTable.map_locations TypeError: unhashable type: 'dict' Out[10]: 0 {'a': 1} 1 {'a': 2} dtype: object ``` #### Expected Output ```python Out[10]: 0 {'a': 1} 1 {'a': 2} dtype: object ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-70-generic Version : #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : fr_FR.UTF-8 LOCALE : fr_FR.UTF-8 pandas : 1.2.3 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.6.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.22.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.7 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.3.23 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/40892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40892/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40893/events
https://github.com/pandas-dev/pandas/issues/40893
855,844,042
MDU6SXNzdWU4NTU4NDQwNDI=
40,893
API: value-dependent behaviour in concat with all-NA data
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "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": "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
0
"2021-04-12T10:50:11Z"
"2021-08-19T04:50:42Z"
null
MEMBER
null
In general, we want to get rid of value-dependent behaviour in concat-operations: the resulting dtype of a concat-operation only depends on the input *dtypes*, and not on the exact content (the exact values) of the inputs. This has been discussed in the past on general occasions, eg in https://github.com/pandas-dev/pandas/pull/33607 when adding the general EA interface for concat (there is still one value-dependent special case for Categorical involving integer categories / missing values, encoded in `core/dtypes/concat.py::cast_to_common_type`), or https://github.com/pandas-dev/pandas/issues/39122 about this issue when concerning empty series/dataframes. But so one other case (which came up recently in eg https://github.com/pandas-dev/pandas/pull/39574 and https://github.com/pandas-dev/pandas/pull/39612) is related to all-NA/NaN objects. For DataFrames, when there is all-missing column, its type gets ignored when determining the result dtype (which, however, requires inspecting the values of the column). Small example: ```python >>> df_missing = pd.DataFrame({'a': [np.nan]}) >>> df_dt64 = pd.DataFrame({'a': [pd.Timestamp("2021-01-01")]}, dtype="datetime64[ns]") >>> pd.concat([df_missing, df_dt64]) a 0 NaT 0 2021-01-01 >>> pd.concat([df_missing, df_dt64]).dtypes a datetime64[ns] dtype: object ``` This can be useful, as you can get such object/float dtype columns depending on how those "empty" all-NaN DataFrames are created (eg when constructing a DataFrame with given index/column but without data, or by reindexing the rows of an actual empty DataFrame, or reindexing the columns of a non-empty DataFrame). However, it does introduce annoying value-dependent behaviour, and is also not very consistent throughout pandas. For example, Series does not check for this, and will actually result in object dtype: ```python >>> pd.concat([df_missing['a'], df_dt64['a']]) 0 NaN 0 2021-01-01 00:00:00 Name: a, dtype: object ``` Further, this is also not consistent across data types. For example, we don't check for all-NA for the new nullable dtypes. For ArrayManager, I didn't yet implement any special case value-dependent behaviour (https://github.com/pandas-dev/pandas/pull/39612, so on this aspect it diverges from the BlockManager behaviour), as it would be good to first decide on the desired behaviour long term.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40893/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40894/events
https://github.com/pandas-dev/pandas/pull/40894
855,915,362
MDExOlB1bGxSZXF1ZXN0NjEzNTc4MDMw
40,894
Backport PR #40880 on branch 1.2.x (DOC: 1.2.4 release date)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
0
"2021-04-12T12:17:57Z"
"2021-04-12T13:30:57Z"
"2021-04-12T13:30:57Z"
NONE
null
Backport PR #40880: DOC: 1.2.4 release date
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40894/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40894.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40894", "merged_at": "2021-04-12T13:30:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40894.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40894" }
https://api.github.com/repos/pandas-dev/pandas/issues/40895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40895/events
https://github.com/pandas-dev/pandas/pull/40895
856,037,778
MDExOlB1bGxSZXF1ZXN0NjEzNjgxMjYw
40,895
Backport PR #40878 on branch 1.2.x (REGR: ufunc with DataFrame input not passing all kwargs)
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2021-04-13T15:44:36Z", "closed_issues": 46, "created_at": "2021-03-01T08:32:08Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-04-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/84", "id": 6490488, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels", "node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==", "number": 84, "open_issues": 0, "state": "closed", "title": "1.2.4", "updated_at": "2021-04-14T14:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84" }
0
"2021-04-12T14:29:47Z"
"2021-04-12T15:46:14Z"
"2021-04-12T15:46:14Z"
NONE
null
Backport PR #40878: REGR: ufunc with DataFrame input not passing all kwargs
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40895/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40895.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40895", "merged_at": "2021-04-12T15:46:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40895.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40895" }
https://api.github.com/repos/pandas-dev/pandas/issues/40896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40896/events
https://github.com/pandas-dev/pandas/issues/40896
856,095,392
MDU6SXNzdWU4NTYwOTUzOTI=
40,896
BUG: the __from_arrow__ conversion for numeric arrays broken if buffer size doesn't match
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/78585625?v=4", "events_url": "https://api.github.com/users/ThomasBlauthQC/events{/privacy}", "followers_url": "https://api.github.com/users/ThomasBlauthQC/followers", "following_url": "https://api.github.com/users/ThomasBlauthQC/following{/other_user}", "gists_url": "https://api.github.com/users/ThomasBlauthQC/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ThomasBlauthQC", "id": 78585625, "login": "ThomasBlauthQC", "node_id": "MDQ6VXNlcjc4NTg1NjI1", "organizations_url": "https://api.github.com/users/ThomasBlauthQC/orgs", "received_events_url": "https://api.github.com/users/ThomasBlauthQC/received_events", "repos_url": "https://api.github.com/users/ThomasBlauthQC/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ThomasBlauthQC/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThomasBlauthQC/subscriptions", "type": "User", "url": "https://api.github.com/users/ThomasBlauthQC" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/78585625?v=4", "events_url": "https://api.github.com/users/ThomasBlauthQC/events{/privacy}", "followers_url": "https://api.github.com/users/ThomasBlauthQC/followers", "following_url": "https://api.github.com/users/ThomasBlauthQC/following{/other_user}", "gists_url": "https://api.github.com/users/ThomasBlauthQC/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ThomasBlauthQC", "id": 78585625, "login": "ThomasBlauthQC", "node_id": "MDQ6VXNlcjc4NTg1NjI1", "organizations_url": "https://api.github.com/users/ThomasBlauthQC/orgs", "received_events_url": "https://api.github.com/users/ThomasBlauthQC/received_events", "repos_url": "https://api.github.com/users/ThomasBlauthQC/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ThomasBlauthQC/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThomasBlauthQC/subscriptions", "type": "User", "url": "https://api.github.com/users/ThomasBlauthQC" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-12T15:29:52Z"
"2021-04-28T13:07:33Z"
"2021-04-28T13:07:33Z"
MEMBER
null
Report from https://issues.apache.org/jira/browse/ARROW-12336 The original reproducer is (but it would be good to see if we can find a simpler case for a test): ``` df = pd.DataFrame({"Int_col": [1, 2, 10], "str_col": ["A", "B", "Z"]}) df = df.astype({"Int_col": "Int64"}) table = pa.table(df) path_1 = "./test_1.parquet" pa.parquet.write_table(table, path_1) schema = pa.parquet.read_schema(path_1) ds = pa.dataset.FileSystemDataset.from_paths( paths=[path_1], filesystem=pa.fs.LocalFileSystem(), schema=schema, format=pa.dataset.ParquetFileFormat(), ) table = ds.to_table(filter=(pa.dataset.field("str_col") == "C")) print("Size of array: " + str(table.column(0).nbytes)) df = table.to_pandas() ``` which gives ``` Traceback (most recent call last): File "/Users/xxx/empty_array_buffer_size.py", line 47, in <module> df = table.to_pandas() File "pyarrow/array.pxi", line 756, in pyarrow.lib._PandasConvertible.to_pandas File "pyarrow/table.pxi", line 1740, in pyarrow.lib.Table._to_pandas File "/usr/local/mambaforge/envs/pa_nightly/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 794, in table_to_blockmanager blocks = _table_to_blocks(options, table, categories, ext_columns_dtypes) File "/usr/local/mambaforge/envs/pa_nightly/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 1135, in _table_to_blocks return [_reconstruct_block(item, columns, extension_columns) File "/usr/local/mambaforge/envs/pa_nightly/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 1135, in <listcomp> return [_reconstruct_block(item, columns, extension_columns) File "/usr/local/mambaforge/envs/pa_nightly/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 753, in _reconstruct_block pd_ext_arr = pandas_dtype.__from_arrow__(arr) File "/usr/local/mambaforge/envs/pa_nightly/lib/python3.9/site-packages/pandas/core/arrays/integer.py", line 117, in __from_arrow__ data, mask = pyarrow_array_to_numpy_and_mask(arr, dtype=self.type) File "/usr/local/mambaforge/envs/pa_nightly/lib/python3.9/site-packages/pandas/core/arrays/_arrow_utils.py", line 32, in pyarrow_array_to_numpy_and_mask data = np.frombuffer(buflist[1], dtype=dtype)[arr.offset : arr.offset + len(arr)] ValueError: buffer size must be a multiple of element size ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40896/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40897/events
https://github.com/pandas-dev/pandas/issues/40897
856,111,108
MDU6SXNzdWU4NTYxMTExMDg=
40,897
DOC: move *most* of Other Bug Fix section
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-12T15:47:25Z"
"2021-04-13T14:09:32Z"
"2021-04-13T14:09:32Z"
CONTRIBUTOR
null
https://pandas.pydata.org/pandas-docs/dev/whatsnew/v1.3.0.html#other should create a new Styler section & move things to the relevant categories.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40897/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40898/events
https://github.com/pandas-dev/pandas/pull/40898
856,130,563
MDExOlB1bGxSZXF1ZXN0NjEzNzU5MDI0
40,898
CLN: refactor `Styler._translate` into composite translate functions
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-12T16:08:10Z"
"2021-04-13T15:26:25Z"
"2021-04-13T15:26:21Z"
CONTRIBUTOR
null
This composites `Styler._translate()` into: ``` def _translate(): ... self._translate_header() ... self._translate_body() ... ``` where the `_translate_header()` and `_translate_body()` methods are given some documentation explaining what they are building. The code is not fundamentally changed, but variable names are renamed to add clarity to match the documentation and loop comprehensions replace `for loops` where possible. Some tests are minimally altered since the generic `_element` method now returns more dict keys for some elements.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40898/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40898.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40898", "merged_at": "2021-04-13T15:26:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40898.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40898" }
https://api.github.com/repos/pandas-dev/pandas/issues/40899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40899/events
https://github.com/pandas-dev/pandas/pull/40899
856,132,723
MDExOlB1bGxSZXF1ZXN0NjEzNzYwODIy
40,899
t
{ "avatar_url": "https://avatars.githubusercontent.com/u/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" }
[]
closed
false
null
[]
null
0
"2021-04-12T16:10:51Z"
"2021-04-12T16:13:04Z"
"2021-04-12T16:13:04Z"
CONTRIBUTOR
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/40899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40899/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40899.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40899", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40899.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40899" }
https://api.github.com/repos/pandas-dev/pandas/issues/40900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40900/events
https://github.com/pandas-dev/pandas/pull/40900
856,143,248
MDExOlB1bGxSZXF1ZXN0NjEzNzY5NjQ0
40,900
DOC: whats new `other` section reduced
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-12T16:23:37Z"
"2021-04-13T14:21:50Z"
"2021-04-13T14:09:32Z"
CONTRIBUTOR
null
- [x] closes #40897
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40900/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40900.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40900", "merged_at": "2021-04-13T14:09:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40900.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40900" }
https://api.github.com/repos/pandas-dev/pandas/issues/40901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40901/events
https://github.com/pandas-dev/pandas/pull/40901
856,179,777
MDExOlB1bGxSZXF1ZXN0NjEzODAwMjY4
40,901
CLN: change jinja2 template name to `template_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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-12T17:12:06Z"
"2021-04-13T19:00:12Z"
"2021-04-13T14:15:41Z"
CONTRIBUTOR
null
prior to adding `template_latex` this changes the name of the html template to `template_html` including: - updating docs on the new name for subclassing - updating the custom method for subclassing - updating tests which refer to it
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40901/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40901.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40901", "merged_at": "2021-04-13T14:15:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40901.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40901" }
https://api.github.com/repos/pandas-dev/pandas/issues/40902
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40902/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40902/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40902/events
https://github.com/pandas-dev/pandas/pull/40902
856,192,994
MDExOlB1bGxSZXF1ZXN0NjEzODExMzIx
40,902
DOC: Start v1.2.5 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
0
"2021-04-12T17:30:14Z"
"2021-04-12T19:29:04Z"
"2021-04-12T19:29:00Z"
MEMBER
null
~~do not merge yet. will merge to master after github release to trigger website update~~
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40902/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40902/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40902.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40902", "merged_at": "2021-04-12T19:29:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40902.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40902" }
https://api.github.com/repos/pandas-dev/pandas/issues/40903
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40903/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40903/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40903/events
https://github.com/pandas-dev/pandas/pull/40903
856,213,745
MDExOlB1bGxSZXF1ZXN0NjEzODI4NDU1
40,903
DOC: Fixed documentation for few files
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-04-12T17:59:27Z"
"2021-04-28T13:01:44Z"
"2021-04-26T21:21:37Z"
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40903/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40903/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40903.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40903", "merged_at": "2021-04-26T21:21:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40903.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40903" }
https://api.github.com/repos/pandas-dev/pandas/issues/40904
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40904/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40904/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40904/events
https://github.com/pandas-dev/pandas/issues/40904
856,284,652
MDU6SXNzdWU4NTYyODQ2NTI=
40,904
BUG: to_string with index=False incorrectly shifts truncation (ellipsis) column
{ "avatar_url": "https://avatars.githubusercontent.com/u/26069306?v=4", "events_url": "https://api.github.com/users/mikeronayne/events{/privacy}", "followers_url": "https://api.github.com/users/mikeronayne/followers", "following_url": "https://api.github.com/users/mikeronayne/following{/other_user}", "gists_url": "https://api.github.com/users/mikeronayne/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mikeronayne", "id": 26069306, "login": "mikeronayne", "node_id": "MDQ6VXNlcjI2MDY5MzA2", "organizations_url": "https://api.github.com/users/mikeronayne/orgs", "received_events_url": "https://api.github.com/users/mikeronayne/received_events", "repos_url": "https://api.github.com/users/mikeronayne/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mikeronayne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mikeronayne/subscriptions", "type": "User", "url": "https://api.github.com/users/mikeronayne" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-12T19:28:38Z"
"2021-05-04T21:46:38Z"
"2021-04-16T01:11:25Z"
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. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame([[0]*100] * 10) print(df.to_string(index=False, max_cols=20)) ``` Output ``` 0 1 2 3 4 5 6 7 8 9 90 ... 91 92 93 94 95 96 97 98 99 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 ``` #### Problem description `to_string` is placing the truncation column (i.e. the column with the ellipses) one position too far to the right. This should not happen. #### Expected Output ``` 0 1 2 3 4 5 6 7 8 9 ... 90 91 92 93 94 95 96 97 98 99 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.9.4.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.3 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 54.1.2 Cython : None pytest : 6.2.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40904/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40904/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40905
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40905/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40905/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40905/events
https://github.com/pandas-dev/pandas/pull/40905
856,285,175
MDExOlB1bGxSZXF1ZXN0NjEzODg4NzU2
40,905
Backport PR #40902 on branch 1.2.x (DOC: Start v1.2.5 release notes)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
0
"2021-04-12T19:29:22Z"
"2021-04-12T20:36:13Z"
"2021-04-12T20:36:13Z"
NONE
null
Backport PR #40902: DOC: Start v1.2.5 release notes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40905/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40905/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40905.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40905", "merged_at": "2021-04-12T20:36:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40905.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40905" }
https://api.github.com/repos/pandas-dev/pandas/issues/40906
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40906/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40906/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40906/events
https://github.com/pandas-dev/pandas/pull/40906
856,344,088
MDExOlB1bGxSZXF1ZXN0NjEzOTM2NDEx
40,906
STYLE use pandas-dev-flaker
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
10
"2021-04-12T20:40:51Z"
"2021-04-16T07:17:01Z"
"2021-04-16T01:06:48Z"
MEMBER
null
- [ ] closes #40826 - [ ] closes #40873 - [ ] 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 means that, just by running `flake8`, you'll be able to get all these custom linting errors alongside the regular `flake8` ones. E.g. if we make `pandas/tests/t.py` as follows: ```python import pytest import pandas as pd from pandas import Categorical def test_foo(): cat_0 = pd.Categorical([1]) with pytest.warns(FutureWarning): cat_1 = pd.Categorical(1) ``` then we get: ```console $ flake8 pandas/tests/t.py pandas/tests/t.py:4:1: F401 'pandas.Categorical' imported but unused pandas/tests/t.py:8:5: F841 local variable 'cat_0' is assigned to but never used pandas/tests/t.py:8:13: PDF019 found both 'pd.Categorical' and 'Categorical' in the same file pandas/tests/t.py:9:10: PDF011 found 'pytest.warns' (use 'pandas._testing.assert_produces_warning') pandas/tests/t.py:10:9: F841 local variable 'cat_1' is assigned to but never used pandas/tests/t.py:10:17: PDF019 found both 'pd.Categorical' and 'Categorical' in the same file ``` These can then easily be configured using `flake8`'s configuration options, like `# noqa` and `per-file-ignores` in `setup.cfg`. This also brings down the number of pre-commit checks. ---- I this is something the team wants, and it's decided to keep it as a separate repo, then some outstanding things to do would be: - transferring it to `pandas-dev` - sorting out the license (it's currently in my name, and I presume that should 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/40906/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40906/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40906.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40906", "merged_at": "2021-04-16T01:06:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40906.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40906" }
https://api.github.com/repos/pandas-dev/pandas/issues/40907
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40907/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40907/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40907/events
https://github.com/pandas-dev/pandas/pull/40907
856,358,173
MDExOlB1bGxSZXF1ZXN0NjEzOTQ4MTg0
40,907
BUG: to_string truncation column with index=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/26069306?v=4", "events_url": "https://api.github.com/users/mikeronayne/events{/privacy}", "followers_url": "https://api.github.com/users/mikeronayne/followers", "following_url": "https://api.github.com/users/mikeronayne/following{/other_user}", "gists_url": "https://api.github.com/users/mikeronayne/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mikeronayne", "id": 26069306, "login": "mikeronayne", "node_id": "MDQ6VXNlcjI2MDY5MzA2", "organizations_url": "https://api.github.com/users/mikeronayne/orgs", "received_events_url": "https://api.github.com/users/mikeronayne/received_events", "repos_url": "https://api.github.com/users/mikeronayne/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mikeronayne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mikeronayne/subscriptions", "type": "User", "url": "https://api.github.com/users/mikeronayne" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-12T21:02:05Z"
"2021-04-16T01:11:32Z"
"2021-04-16T01:11:25Z"
CONTRIBUTOR
null
- [x] closes #40904 - [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/40907/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40907/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40907.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40907", "merged_at": "2021-04-16T01:11:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40907.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40907" }
https://api.github.com/repos/pandas-dev/pandas/issues/40908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40908/events
https://github.com/pandas-dev/pandas/pull/40908
856,402,375
MDExOlB1bGxSZXF1ZXN0NjEzOTg1MzU4
40,908
ENH: Make maybe_convert_object respect dtype itemsize
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
10
"2021-04-12T22:18:39Z"
"2021-04-21T15:37:42Z"
"2021-04-21T12:53:28Z"
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 Precursor to #40790 This adds support for e.g. `float32` NumPy dtypes to maybe_convert_object. If any non-NumPy scalar is hit, the behavior is the same as master. This is my first foray into the NumPy C-API, so any tips are appreciated. In particular, I couldn't figure out how to use the C API to do the cast: result = result.astype(result.dtype.kind + str(itemsize)) Not sure if there should also be specific logic for EAs/nullable types. From a full ASV run: ``` before after ratio [7d4757b4] [c1288962] <maybe_convert_object_itemsize~12> <maybe_convert_object_itemsize> + 768±8μs 1.01±0ms 1.32 ctors.SeriesConstructors.time_series_constructor(<class 'list'>, False, 'float') + 779±9μs 1.02±0ms 1.31 ctors.SeriesConstructors.time_series_constructor(<class 'list'>, True, 'float') + 579±5μs 710±20μs 1.23 arithmetic.NumericInferOps.time_divide(<class 'numpy.int8'>) + 608±30μs 715±20μs 1.18 arithmetic.NumericInferOps.time_divide(<class 'numpy.uint8'>) + 3.18±0.2μs 3.69±0.3μs 1.16 index_cached_properties.IndexCache.time_engine('UInt64Index') + 1.58±0.01ms 1.83±0.01ms 1.16 ctors.SeriesConstructors.time_series_constructor(<function arr_dict at 0x7f5964729820>, False, 'float') + 3.30±0.2μs 3.80±0.5μs 1.15 index_cached_properties.IndexCache.time_engine('TimedeltaIndex') + 943±80ns 1.08±0.1μs 1.15 index_cached_properties.IndexCache.time_inferred_type('Float64Index') + 1.73±0.01ms 1.98±0ms 1.14 ctors.SeriesConstructors.time_series_constructor(<class 'list'>, True, 'int') + 1.72±0.01ms 1.96±0ms 1.14 ctors.SeriesConstructors.time_series_constructor(<class 'list'>, False, 'int') + 5.19±0.03μs 5.93±0.3μs 1.14 tslibs.period.TimeDT64ArrToPeriodArr.time_dt64arr_to_periodarr(1, 6000, datetime.timezone(datetime.timedelta(seconds=3600))) + 1.65±0.01ms 1.89±0.01ms 1.14 ctors.SeriesConstructors.time_series_constructor(<function arr_dict at 0x7f5964729820>, True, 'float') + 6.06±0.06μs 6.91±0.1μs 1.14 tslibs.tz_convert.TimeTZConvert.time_tz_convert_from_utc(1, datetime.timezone(datetime.timedelta(seconds=3600))) + 7.46±0.04μs 8.47±0.5μs 1.14 tslibs.offsets.OffestDatetimeArithmetic.time_subtract(<BusinessDay>) + 1.15±0.09μs 1.27±0.08μs 1.11 index_cached_properties.IndexCache.time_values('UInt64Index') - 11.7±1ms 10.5±0.1ms 0.90 algos.isin.IsinAlmostFullWithRandomInt.time_isin(<class 'numpy.object_'>, 18, 'outside') - 641±30ns 577±20ns 0.90 index_cached_properties.IndexCache.time_is_monotonic('RangeIndex') - 641±20ns 576±20ns 0.90 index_cached_properties.IndexCache.time_shape('Int64Index') - 3.37±0.03ms 3.02±0.02ms 0.90 timeseries.ResampleSeries.time_resample('period', '5min', 'ohlc') - 787±20ns 702±20ns 0.89 index_cached_properties.IndexCache.time_is_monotonic_decreasing('RangeIndex') - 1.25±0.04μs 1.12±0.04μs 0.89 index_cached_properties.IndexCache.time_is_all_dates('Int64Index') - 1.50±0.1ms 1.33±0.02ms 0.88 dtypes.SelectDtypes.time_select_dtype_string_exclude('float32') - 1.19±0.09μs 1.05±0.08μs 0.88 index_cached_properties.IndexCache.time_inferred_type('UInt64Index') - 57.6±1μs 50.3±0.2μs 0.87 frame_methods.Dtypes.time_frame_dtypes - 168±3μs 146±0.6μs 0.87 algos.isin.IsinWithArangeSorted.time_isin(<class 'numpy.uint64'>, 8000) - 552±20ns 480±20ns 0.87 index_cached_properties.IndexCache.time_is_monotonic_increasing('RangeIndex') - 1.50±0.1ms 1.30±0ms 0.87 dtypes.SelectDtypes.time_select_dtype_string_exclude('complex64') - 1.89±0ms 1.64±0.01ms 0.87 period.DataFramePeriodColumn.time_set_index - 11.0±0.2μs 9.50±0.08μs 0.87 period.Indexing.time_series_loc - 110±20ms 93.1±0.06ms 0.85 algos.isin.IsInLongSeriesLookUpDominates.time_isin('float32', 1000, 'random_hits') - 392±30ns 330±10ns 0.84 index_cached_properties.IndexCache.time_inferred_type('RangeIndex') - 4.45±0.4ms 3.68±0.02ms 0.83 algorithms.Factorize.time_factorize(True, True, 'Int64') - 9.60±0.8ms 7.75±0.01ms 0.81 algorithms.Factorize.time_factorize(True, False, 'string') - 11.2±0.8ms 8.90±0.1ms 0.80 algos.isin.IsinAlmostFullWithRandomInt.time_isin(<class 'numpy.object_'>, 18, 'inside') - 615±30ns 484±30ns 0.79 index_cached_properties.IndexCache.time_is_monotonic_increasing('Int64Index') - 73.8±20ms 55.4±0.5ms 0.75 algos.isin.IsInLongSeriesLookUpDominates.time_isin('float32', 1000, 'monotone_hits') - 180±0.1μs 128±0.5μs 0.71 indexing_engines.NumericEngineIndexing.time_get_loc((<class 'pandas._libs.index.Int8Engine'>, <class 'numpy.int8'>), 'monotonic_incr') - 128±40ms 90.8±0.03ms 0.71 algos.isin.IsInLongSeriesLookUpDominates.time_isin('object', 5, 'monotone_hits') - 186±0.3μs 131±2μs 0.70 indexing_engines.NumericEngineIndexing.time_get_loc((<class 'pandas._libs.index.Int16Engine'>, <class 'numpy.int16'>), 'monotonic_incr') - 1.72±0.4μs 1.17±0.1μs 0.68 index_cached_properties.IndexCache.time_inferred_type('TimedeltaIndex') - 216±0.8μs 140±3μs 0.65 indexing_engines.NumericEngineIndexing.time_get_loc((<class 'pandas._libs.index.UInt32Engine'>, <class 'numpy.uint32'>), 'monotonic_incr') - 1.55±0.01ms 972±7μs 0.63 algos.isin.IsinWithArangeSorted.time_isin(<class 'numpy.int64'>, 100000) SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. PERFORMANCE DECREASED. ``` Specific timings via %timeit on `maybe_convert_objects` directly: ``` np.array of python integers: 127 ms ± 80.9 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) <--- PR 120 ms ± 155 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) <--- master np.array of int32: 179 ms ± 1.21 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) <--- PR 133 ms ± 274 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) <--- master np.array of int32 with last one a python int: 178 ms ± 1.71 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) <--- PR 133 ms ± 106 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) <--- master ``` <details> <summary>timeit code</summary> ``` values = np.array(range(1_000_000), dtype="object") print('np.array of python integers:') %timeit maybe_convert_objects(values) print() values = np.array([np.int32(1)] * 1_000_000, dtype="object") print('np.array of int32:') %timeit maybe_convert_objects(values) print() values = np.array([np.int32(1)] * 999_999 + [1], dtype="object") print('np.array of int32 with last one a python int:') %timeit maybe_convert_objects(values) print() ``` <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/40908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40908/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40908.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40908", "merged_at": "2021-04-21T12:53:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40908.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40908" }
https://api.github.com/repos/pandas-dev/pandas/issues/40909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40909/events
https://github.com/pandas-dev/pandas/pull/40909
856,404,901
MDExOlB1bGxSZXF1ZXN0NjEzOTg3NTIw
40,909
REF: re-use maybe_cast_result in Series.combine
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-12T22:23:22Z"
"2021-04-13T16:54:33Z"
"2021-04-13T15:25:30Z"
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/40909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40909/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40909.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40909", "merged_at": "2021-04-13T15:25:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40909.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40909" }
https://api.github.com/repos/pandas-dev/pandas/issues/40910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40910/events
https://github.com/pandas-dev/pandas/pull/40910
856,425,275
MDExOlB1bGxSZXF1ZXN0NjE0MDA0Njc1
40,910
Add type to arg of series/drop-duplicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/9518805?v=4", "events_url": "https://api.github.com/users/olgarithms/events{/privacy}", "followers_url": "https://api.github.com/users/olgarithms/followers", "following_url": "https://api.github.com/users/olgarithms/following{/other_user}", "gists_url": "https://api.github.com/users/olgarithms/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/olgarithms", "id": 9518805, "login": "olgarithms", "node_id": "MDQ6VXNlcjk1MTg4MDU=", "organizations_url": "https://api.github.com/users/olgarithms/orgs", "received_events_url": "https://api.github.com/users/olgarithms/received_events", "repos_url": "https://api.github.com/users/olgarithms/repos", "site_admin": false, "starred_url": "https://api.github.com/users/olgarithms/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/olgarithms/subscriptions", "type": "User", "url": "https://api.github.com/users/olgarithms" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-04-12T23:08:28Z"
"2021-05-22T16:04:59Z"
"2021-05-22T16:04:59Z"
CONTRIBUTOR
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 I noticed in https://github.com/pandas-dev/pandas/pull/40867 that keep didn't specify a type, so adding it 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/40910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40910/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40910.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40910", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40910.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40910" }
https://api.github.com/repos/pandas-dev/pandas/issues/40911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40911/events
https://github.com/pandas-dev/pandas/issues/40911
856,435,149
MDU6SXNzdWU4NTY0MzUxNDk=
40,911
pct_change and negative values
{ "avatar_url": "https://avatars.githubusercontent.com/u/5804732?v=4", "events_url": "https://api.github.com/users/botant/events{/privacy}", "followers_url": "https://api.github.com/users/botant/followers", "following_url": "https://api.github.com/users/botant/following{/other_user}", "gists_url": "https://api.github.com/users/botant/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/botant", "id": 5804732, "login": "botant", "node_id": "MDQ6VXNlcjU4MDQ3MzI=", "organizations_url": "https://api.github.com/users/botant/orgs", "received_events_url": "https://api.github.com/users/botant/received_events", "repos_url": "https://api.github.com/users/botant/repos", "site_admin": false, "starred_url": "https://api.github.com/users/botant/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/botant/subscriptions", "type": "User", "url": "https://api.github.com/users/botant" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
1
"2021-04-12T23:31:45Z"
"2021-10-20T10:05:00Z"
"2021-10-20T10:05:00Z"
NONE
null
### Problem description The behaviour of `pct_change` when there are negative numbers could be improved. ```{python} In [3]: df = pd.DataFrame([10, -10, 10]) In [4]: df.pct_change() Out[4]: 0 0 NaN 1 -2.0 2 -2.0 ``` There are basically two ways of calculating %change with negative numbers, depending on what you want. **1) Usual `(p_1 - p_0) / p_0` or `(p_1 / p_0) - 1`** This results in %changes that have correct dimension but *wrong* direction; %change and difference have different signs. On the other hand, these %changes can be compounded, as shown below: ```{python} In [12]: (df.pct_change().replace(np.NaN, 0) + 1).cumprod() * 10 Out[12]: 0 0 10.0 1 -10.0 2 10.0 ``` **2) Using absolute denominator `(p_1 - p_0) / abs(p_0)`** This results in %changes that have correct dimension and direction, but that cannot be compounded. This post explains it *really* well: https://math.stackexchange.com/a/3986352 Bloomberg, for example, reports %change like this. ### Suggestion There is no "one size fits all" here. However, I feel there is space for `pandas` to be proactive and alert the user that negative prices have certain implications. I would like to suggest the following small modification to `pct_change`: * Add an argument `calc_type` with 3 possible values: * `None`: current calculation + warning if negative values are found. * `"signed"`: current calculation. * `"absolute"`: calculation using absolute denominators. The advantage of this? To alert users that the current calculation may not be what they expect if the data has a stray negative number, and to force them to be explicit when that happens. One might say that "users should read the documentation" and that `pandas` should not validate your data for you, which is also correct. As a user, however, I would have been massively thankful if `pandas` had alerted me of the behaviour of `pct_change`. I imagine many people out there don't really think about this if they expect their data to be strictly positive. I myself never gave this too much thought until crude oil turned negative on 20-Mar-2020. ### Output of ``pd.show_versions()`` ```{python} In [1]: import pandas as pd In [2]: pd.show_versions() INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-71-generic Version : #79-Ubuntu SMP Wed Mar 24 10:56:57 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.2.3 numpy : 1.20.2 pytz : 2020.5 dateutil : 2.8.1 pip : 21.0.1 setuptools : 44.0.0 Cython : 0.29.21 pytest : 6.2.1 hypothesis : 6.0.1 sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.20.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : None tabulate : 0.8.7 xarray : 0.16.2 xlrd : None xlwt : None numba : 0.52.0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40911/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40912/events
https://github.com/pandas-dev/pandas/pull/40912
856,486,334
MDExOlB1bGxSZXF1ZXN0NjE0MDU2Njkz
40,912
TST: Add test to verify DataFrame's constructor doesn't convert Nones to strings on string columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4", "events_url": "https://api.github.com/users/cgarciae/events{/privacy}", "followers_url": "https://api.github.com/users/cgarciae/followers", "following_url": "https://api.github.com/users/cgarciae/following{/other_user}", "gists_url": "https://api.github.com/users/cgarciae/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cgarciae", "id": 5862228, "login": "cgarciae", "node_id": "MDQ6VXNlcjU4NjIyMjg=", "organizations_url": "https://api.github.com/users/cgarciae/orgs", "received_events_url": "https://api.github.com/users/cgarciae/received_events", "repos_url": "https://api.github.com/users/cgarciae/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cgarciae/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cgarciae/subscriptions", "type": "User", "url": "https://api.github.com/users/cgarciae" }
[ { "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" }, { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
closed
false
null
[]
null
3
"2021-04-13T01:31:14Z"
"2021-09-01T00:10:51Z"
"2021-09-01T00:10:51Z"
NONE
null
- [x] closes #32218 - [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 Adds a very simple test to verify that `None`s are not casted to strings as `"None"` inside the DataFrame's constructor for string columns. Questions: * Should the test be more general? * What is the proper location for the test?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40912/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40912.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40912", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40912.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40912" }
https://api.github.com/repos/pandas-dev/pandas/issues/40913
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40913/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40913/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40913/events
https://github.com/pandas-dev/pandas/issues/40913
856,490,372
MDU6SXNzdWU4NTY0OTAzNzI=
40,913
BUG: pandas styling doesn't display for all rows in large dataframes
{ "avatar_url": "https://avatars.githubusercontent.com/u/12875240?v=4", "events_url": "https://api.github.com/users/trenton3983/events{/privacy}", "followers_url": "https://api.github.com/users/trenton3983/followers", "following_url": "https://api.github.com/users/trenton3983/following{/other_user}", "gists_url": "https://api.github.com/users/trenton3983/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trenton3983", "id": 12875240, "login": "trenton3983", "node_id": "MDQ6VXNlcjEyODc1MjQw", "organizations_url": "https://api.github.com/users/trenton3983/orgs", "received_events_url": "https://api.github.com/users/trenton3983/received_events", "repos_url": "https://api.github.com/users/trenton3983/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trenton3983/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trenton3983/subscriptions", "type": "User", "url": "https://api.github.com/users/trenton3983" }
[ { "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": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
open
false
null
[]
null
6
"2021-04-13T01:42:24Z"
"2021-08-19T04:52:32Z"
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. # Update 2 - The issue seems to be Google Chrome and Microsoft Edge - Jupyter Lab in Firefox correctly displays all of the styled rows and correctly renders an output HTML file. - The question is then, what are the relevant settings in Chrome and Edge, or why doesn't this work in Chrome or Edge? # Original #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np from faker import Faker # conda install -c conda-forge faker or pip install Faker # for fake names fake = Faker() # test data np.random.seed(365) rows = 11000 # change 36 or 158 to test where the rows stop appearing vals = {f'val{i}': np.random.randint(1, 11, size=(rows)) for i in range(1, 36)} data = {'name': np.random.choice([fake.unique.name() for i in range(158)], size=rows), 'cat': np.random.randint(1, 4, size=(rows))} data.update(vals) df = pd.DataFrame(data) # used to create the mask for the background color mean = df.groupby('cat').mean().round(2) # calculate the mean for each name and cat cat_mean = df.groupby(['name', 'cat']).mean() def color(x): """Function to apply background color""" c1 = 'background-color: green' c = '' # compare columns mask1 = x.gt(mean) # DataFrame with same index and columns names as original filled empty strings df1 = pd.DataFrame(c, index=x.index, columns=x.columns) # modify values of df1 column by boolean mask df1.iloc[mask1] = c1 display(df1) return df1 # displays the notebook in Jupyter cat_mean.style.apply(color, axis=None) # In PyCharm saving rendered styler to file cm = cat_mean.style.apply(color, axis=None).set_precision(3).render() with open('cm_test.html', 'w') as f: f.write(cm) ``` #### Problem description - Given a large dataframe, in this case `474 rows x 35 columns`, the applied styling does not correctly display for all rows in Jupyter or if saving the file to HTML. - [![enter image description here][1]][1] - If the number of rows or columns increases beyond this size, then more rows aren't displayed properly - We can see from the styling map, that the rows are correctly mapped with a background color, but it isn't displayed. - [![enter image description here][2]][2] - If the number of rows or columns is reduced, then all of the rows display the correct styling. - `jupyterlab v3.0.11` and `pandas v1.2.3` - In `PyCharm 2021.1 (Professional Edition) Build #PY-211.6693.115, built on April 6, 2021` saving the redendered styler to a file has the same result, so this isn't just an issue with Jupyter. - This issue is reproducible on two different systems that I have tried. - If the shape is reduced to `471 rows × 35 columns` or `474 rows × 34 columns`, then all rows correctly display the highlighting. - Associated Stack Overflow [question][3]. #### Workaround ##### Split the DataFrame - It's dissatisfying, but splitting the DataFrame, and applying the style will work, since if reduces the overall size. ```python cat_mean.iloc[:237, :].style.apply(color, axis=None) cat_mean.iloc[237:, :].style.apply(color, axis=None) ``` ##### Save to Excel - All rows are displayed correctly with the highlight color when saving to Excel ```python test = cat_mean.style.apply(color, axis=None) test.to_excel('test.xlsx', engine='openpyxl') ``` #### Expected Output - All rows should display highlighting. #### Output1 of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e 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 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.3 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.3 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 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: 0.9.0 bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.9.0 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.5 tables : 3.6.1 tabulate : 0.8.9 xarray : None xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.1 </details> # Update 1 - The following options produced the same results as the original attempts - Standard python console creating HTML file - PyCharm creating HTML file - Jupyter Lab displaying styled dataframe in a cell #### Output2 of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.2.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.4 numpy : 1.20.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 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 : 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]: https://i.stack.imgur.com/iaq8J.png [2]: https://i.stack.imgur.com/3D0gy.png [3]: https://stackoverflow.com/q/67065785/7758804
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40913/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40913/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40914
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40914/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40914/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40914/events
https://github.com/pandas-dev/pandas/pull/40914
856,520,677
MDExOlB1bGxSZXF1ZXN0NjE0MDg0NDA4
40,914
ENH: Nullable integer/boolean/floating support in lib inferencing functions
{ "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": "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-13T03:00:36Z"
"2021-05-29T17:55:11Z"
"2021-05-05T12:46:39Z"
MEMBER
null
Precursor for #40687
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40914/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40914/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40914.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40914", "merged_at": "2021-05-05T12:46:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40914.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40914" }
https://api.github.com/repos/pandas-dev/pandas/issues/40915
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40915/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40915/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40915/events
https://github.com/pandas-dev/pandas/issues/40915
856,521,097
MDU6SXNzdWU4NTY1MjEwOTc=
40,915
BUG: tz_localize gives incorrect shift_forward value in some European timezones
{ "avatar_url": "https://avatars.githubusercontent.com/u/546210?v=4", "events_url": "https://api.github.com/users/Liam3851/events{/privacy}", "followers_url": "https://api.github.com/users/Liam3851/followers", "following_url": "https://api.github.com/users/Liam3851/following{/other_user}", "gists_url": "https://api.github.com/users/Liam3851/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Liam3851", "id": 546210, "login": "Liam3851", "node_id": "MDQ6VXNlcjU0NjIxMA==", "organizations_url": "https://api.github.com/users/Liam3851/orgs", "received_events_url": "https://api.github.com/users/Liam3851/received_events", "repos_url": "https://api.github.com/users/Liam3851/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Liam3851/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Liam3851/subscriptions", "type": "User", "url": "https://api.github.com/users/Liam3851" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
open
false
null
[]
null
2
"2021-04-13T03:01:39Z"
"2021-04-13T05:57:52Z"
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python In [11]: pd.to_datetime('2021-03-28 01:30').tz_localize('Europe/London', nonexistent='shift_forward') Out[11]: Timestamp('2021-03-28 03:00:00+0100', tz='Europe/London') In [12]: pd.to_datetime('2021-03-28 01:30').tz_localize('Europe/London', nonexistent='shift_forward') - pd.Timedelta(60, 'm') Out[12]: Timestamp('2021-03-28 02:00:00+0100', tz='Europe/London') In [13]: pd.to_datetime('2021-03-28 01:30').tz_localize('Europe/London', nonexistent='shift_forward') - pd.Timedelta(61, 'm') Out[13]: Timestamp('2021-03-28 00:59:00+0000', tz='Europe/London') ``` #### Problem description When attempting to localize a non-existent time in the Europe/London timezone using the nonexistent='shift_forward', parameter, the resulting time is 03:00 summer time-- even though the time transition skips from 01:00 AM UTC to 02:00 AM summer time. The issue appears to occur in European timezones that are in UTC when the time is not summer time (i.e. London, Dublin, and Lisbon). Timezones that start at UTC+1 and have their summer time conversions from 2 AM-3 AM work properly. ```python In [23]: pd.to_datetime('2021-03-28 02:30').tz_localize('Europe/Paris', nonexistent='shift_forward') Out[23]: Timestamp('2021-03-28 03:00:00+0200', tz='Europe/Paris') In [24]: pd.to_datetime('2021-03-28 01:30').tz_localize('Europe/Dublin', nonexistent='shift_forward') Out[24]: Timestamp('2021-03-28 03:00:00+0100', tz='Europe/Dublin') In [25]: pd.to_datetime('2021-03-28 01:30').tz_localize('Europe/Lisbon', nonexistent='shift_forward') Out[25]: Timestamp('2021-03-28 03:00:00+0100', tz='Europe/Lisbon') In [26]: pd.to_datetime('2021-03-28 02:30').tz_localize('Europe/Paris', nonexistent='shift_forward') Out[26]: Timestamp('2021-03-28 03:00:00+0200', tz='Europe/Paris') In [27]: pd.to_datetime('2021-03-28 02:30').tz_localize('Europe/Stockholm', nonexistent='shift_forward') Out[27]: Timestamp('2021-03-28 03:00:00+0200', tz='Europe/Stockholm') ``` #### Expected Output Per the documentation localizing with nonexistent='shift_forward' should "shift the nonexistent time forward to the closest existing time". In this case the closest existing time in Europe/London to 2021-03-28 01:30 would be 2021-03-28 02:00+0100. ```python In [11]: pd.to_datetime('2021-03-28 01:30').tz_localize('Europe/London', nonexistent='shift_forward') Out[11]: Timestamp('2021-03-28 02:00:00+0100', tz='Europe/London') ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d4757b4deb851bb44ab6bb20cdc404fa13fffcf 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 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.3.0.dev0+1297.g7d4757b4de numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 49.6.0.post20210108 Cython : 0.29.22 pytest : 6.2.2 hypothesis : 6.8.3 sphinx : 3.5.3 blosc : None feather : None xlsxwriter : 1.3.8 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.7 fastparquet : 0.5.0 gcsfs : None matplotlib : 3.4.0 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : 0.5.2 scipy : 1.6.2 sqlalchemy : 1.4.3 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.17.0 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40915/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40915/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40916
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40916/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40916/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40916/events
https://github.com/pandas-dev/pandas/issues/40916
856,530,454
MDU6SXNzdWU4NTY1MzA0NTQ=
40,916
DOC: How to split a PR
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
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-04-13T03:24:52Z"
"2021-07-10T20:41:37Z"
null
MEMBER
null
#### Location of the documentation https://pandas.pydata.org/docs/dev/development/contributing.html#updating-your-pull-request #### Documentation problem It is somewhat common to send in a large pull request for review and have a maintainer ask to split a large pull request up into several precursor pull requests. However, the process of doing so can be somewhat tricky, so it should be mentioned in the contributing docs. #### Suggested fix for documentation Add to the contributing docs how to split up a PR. Maybe use this as an example. (Am writing this from memory, might have errors) ``` git branch # * feature-1 # master git checkout master git checkout -b pre-cursor-to-feature-1 # on pre-cursor-to-feature-1 now git checkout feature-1 /path/to/first/part/precursor/changes git commit -m "Pre-cursor for feature-1 # After pre-cursor is merged(on branch feature-1 now) git branch # * feature-1 # master git pull upstream master # If there are conflicts and you want to take the version in master. git checkout --theirs path/to/files ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40916/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40916/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40917
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40917/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40917/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40917/events
https://github.com/pandas-dev/pandas/issues/40917
856,701,994
MDU6SXNzdWU4NTY3MDE5OTQ=
40,917
RLS: 1.2.5
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "006b75", "default": false, "description": null, "id": 131473665, "name": "Release", "node_id": "MDU6TGFiZWwxMzE0NzM2NjU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
20
"2021-04-13T08:08:09Z"
"2021-06-23T08:13:15Z"
"2021-06-23T08:13:15Z"
MEMBER
null
Tracking issue for the 1.2.5 release. https://github.com/pandas-dev/pandas/milestone/85 Currently scheduled for May 10, 2021 List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40917/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40917/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40918
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40918/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40918/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40918/events
https://github.com/pandas-dev/pandas/issues/40918
856,743,459
MDU6SXNzdWU4NTY3NDM0NTk=
40,918
BUG: Load ORC-format data failed when pandas version>1.2.0.dev0
{ "avatar_url": "https://avatars.githubusercontent.com/u/16681550?v=4", "events_url": "https://api.github.com/users/amznero/events{/privacy}", "followers_url": "https://api.github.com/users/amznero/followers", "following_url": "https://api.github.com/users/amznero/following{/other_user}", "gists_url": "https://api.github.com/users/amznero/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amznero", "id": 16681550, "login": "amznero", "node_id": "MDQ6VXNlcjE2NjgxNTUw", "organizations_url": "https://api.github.com/users/amznero/orgs", "received_events_url": "https://api.github.com/users/amznero/received_events", "repos_url": "https://api.github.com/users/amznero/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amznero/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amznero/subscriptions", "type": "User", "url": "https://api.github.com/users/amznero" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-13T08:54:22Z"
"2021-04-21T12:41:02Z"
"2021-04-21T12:41:02Z"
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. https://github.com/pandas-dev/pandas/blob/master/pandas/io/orc.py#L15-L54 --- #### Code Sample, a copy-pastable example ```python ... import pandas as pd orc_data = pd.read_orc(orc_file_path) ``` #### Problem description Pandas uses [PyArrow](https://arrow.apache.org/docs/python) package to load ORC/Parquet data. For the orc data format, it will use `pyarrow.orc.ORCFile` to read data ([orc.py](https://github.com/pandas-dev/pandas/blob/master/pandas/io/orc.py#L53)), but the PyArrow does not declare `orc` in [\_\_init\_\_.py](https://github.com/apache/arrow/blob/master/python/pyarrow/__init__.py) file, so pandas will raise an AttributeError: module 'pyarrow' has no attribute 'orc' ![image](https://user-images.githubusercontent.com/16681550/114521032-9da66800-9c74-11eb-8f03-11865f111be9.png) This bug will occur if the Pandas version is greater than v1.2.0.dev0(after [commit-6d1541e](https://github.com/pandas-dev/pandas/commit/6d1541e1782a7b94797d5432922e64a97934cfa4)). Before that, `pandas/io/orc.py` will declare `import pyarrow.orc` before uses pyarrow to load orc data([v1.1.5/pandas/io.orc.py/](https://github.com/pandas-dev/pandas/blob/v1.1.5/pandas/io/orc.py#L51)). --- Testing environment: - Ubuntu 18.04 - python 3.7 - pandas v1.2.1 - pyarrow v3.0.0 (install via pip)(I haven't installed pyarrow via Conda for testing yet.)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40918/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40918/timeline
null
null
null