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/42420
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42420/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42420/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42420/events
https://github.com/pandas-dev/pandas/issues/42420
938,493,919
MDU6SXNzdWU5Mzg0OTM5MTk=
42,420
DOC: Inconsistency in Setting Up Dev Env
{ "avatar_url": "https://avatars.githubusercontent.com/u/63334933?v=4", "events_url": "https://api.github.com/users/daviddelord/events{/privacy}", "followers_url": "https://api.github.com/users/daviddelord/followers", "following_url": "https://api.github.com/users/daviddelord/following{/other_user}", "gists_url": "https://api.github.com/users/daviddelord/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/daviddelord", "id": 63334933, "login": "daviddelord", "node_id": "MDQ6VXNlcjYzMzM0OTMz", "organizations_url": "https://api.github.com/users/daviddelord/orgs", "received_events_url": "https://api.github.com/users/daviddelord/received_events", "repos_url": "https://api.github.com/users/daviddelord/repos", "site_admin": false, "starred_url": "https://api.github.com/users/daviddelord/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/daviddelord/subscriptions", "type": "User", "url": "https://api.github.com/users/daviddelord" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
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" }
6
"2021-07-07T05:14:12Z"
"2021-07-11T19:15:04Z"
"2021-07-11T19:15:04Z"
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/dev/development/contributing_environment.html#installing-a-c-compiler **Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/). #### Documentation problem > You will need Build Tools for Visual Studio 2017. > > Warning > > You DO NOT need to install Visual Studio 2019. You only need “Build Tools for Visual Studio 2019” #### Suggested fix for documentation Someone should update. This is confusing for me because I'm trying to set one up.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42420/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42420/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42421
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42421/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42421/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42421/events
https://github.com/pandas-dev/pandas/issues/42421
938,583,757
MDU6SXNzdWU5Mzg1ODM3NTc=
42,421
ENH: pd.date_range for 9am each day between two pd.Timestamp objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/632049?v=4", "events_url": "https://api.github.com/users/cjw296/events{/privacy}", "followers_url": "https://api.github.com/users/cjw296/followers", "following_url": "https://api.github.com/users/cjw296/following{/other_user}", "gists_url": "https://api.github.com/users/cjw296/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cjw296", "id": 632049, "login": "cjw296", "node_id": "MDQ6VXNlcjYzMjA0OQ==", "organizations_url": "https://api.github.com/users/cjw296/orgs", "received_events_url": "https://api.github.com/users/cjw296/received_events", "repos_url": "https://api.github.com/users/cjw296/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cjw296/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cjw296/subscriptions", "type": "User", "url": "https://api.github.com/users/cjw296" }
[ { "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": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "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
[]
{ "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" }
4
"2021-07-07T07:32:47Z"
"2021-08-21T04:12:38Z"
null
CONTRIBUTOR
null
#### Is your feature request related to a problem? What I have: ``` pd.Timestamp('2021-07-05 08:10:11') pd.Timestamp('2021-07-07 12:13:14') ``` What I'm looking for: ``` [pd.Timestamp('2021-07-05 09:00:00'), pd.Timestamp('2021-07-06 09:00:00'), pd.Timestamp('2021-07-07 09:00:00')] ``` #### Describe the solution you'd like It feels like I should be able to do this with some combination of of `pd.date_range` and `pd.offsets`, but I can't find the right combination. Given that 9am is the standard meteorological time point, I'm hoping someone has a nice solution for this already! If it's possible and graceful, this is just a documentation issue I'm happy to put a PR in for... #### alternatives / additional context This is way more fiddly that I expected, I've started a gist to collect current possible implementations along with test cases to verify they work: https://gist.github.com/cjw296/73af04f7a4dcbc39f2ec01384bf5aa90 I've also thrown a question up on StackOverflow in case I'm just missing something obvious: https://stackoverflow.com/questions/68267555/pd-date-range-for-9am-each-day-between-two-ps-timestamp-objects
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42421/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42421/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42422
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42422/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42422/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42422/events
https://github.com/pandas-dev/pandas/pull/42422
938,764,808
MDExOlB1bGxSZXF1ZXN0Njg1MDg4NTgz
42,422
TYP: clean for PY3.8 (final)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": 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-07-07T10:57:29Z"
"2021-07-19T13:56:25Z"
"2021-07-14T23:42: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/42422/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42422/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42422.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42422", "merged_at": "2021-07-14T23:42:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42422.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42422" }
https://api.github.com/repos/pandas-dev/pandas/issues/42423
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42423/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42423/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42423/events
https://github.com/pandas-dev/pandas/issues/42423
938,850,112
MDU6SXNzdWU5Mzg4NTAxMTI=
42,423
BUG: Replacing NaN with None in Pandas 1.3 does not work
{ "avatar_url": "https://avatars.githubusercontent.com/u/1706695?v=4", "events_url": "https://api.github.com/users/pvieito/events{/privacy}", "followers_url": "https://api.github.com/users/pvieito/followers", "following_url": "https://api.github.com/users/pvieito/following{/other_user}", "gists_url": "https://api.github.com/users/pvieito/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pvieito", "id": 1706695, "login": "pvieito", "node_id": "MDQ6VXNlcjE3MDY2OTU=", "organizations_url": "https://api.github.com/users/pvieito/orgs", "received_events_url": "https://api.github.com/users/pvieito/received_events", "repos_url": "https://api.github.com/users/pvieito/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pvieito/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pvieito/subscriptions", "type": "User", "url": "https://api.github.com/users/pvieito" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" } ]
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" }
9
"2021-07-07T12:40:11Z"
"2021-08-07T00:02:51Z"
"2021-07-10T14:26:58Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. #### Code Sample, a copy-pastable example #### Pandas 1.2 ```python >>> import pandas as pd >>> import numpy as np >>> df = pd.DataFrame([0.5, np.nan]) >>> df.where(pd.notnull(df), None) 0 0 0.5 1 None ``` #### Pandas 1.3 ```python >>> import pandas as pd >>> import numpy as np >>> df = pd.DataFrame([0.5, np.nan]) >>> df.where(pd.notnull(df), None) 0 0 0.5 1 NaN ``` #### Problem description Replacing NaN values with None (or any other Python object) should work as in previous Pandas versions. #### Expected Output ```python >>> import pandas as pd >>> import numpy as np >>> df = pd.DataFrame([0.5, np.nan]) >>> df.where(pd.notnull(df), None) 0 0 0.5 1 None ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.8.10.final.0 python-bits : 64 OS : Darwin OS-release : 21.0.0 Version : Darwin Kernel Version 21.0.0: Sun Jun 20 18:43:49 PDT 2021; root:xnu-8011.0.0.121.4~2/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : es_ES.UTF-8 LOCALE : es_ES.UTF-8 pandas : 1.3.0 numpy : 1.18.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 57.1.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.20.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.3.3 sqlalchemy : 1.4.20 tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : None </details>
{ "+1": 5, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 5, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42423/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42423/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42424
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42424/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42424/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42424/events
https://github.com/pandas-dev/pandas/issues/42424
938,855,667
MDU6SXNzdWU5Mzg4NTU2Njc=
42,424
BUG: creating DF from series with non exact categorical indices created from pd.cut
{ "avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4", "events_url": "https://api.github.com/users/hwchase17/events{/privacy}", "followers_url": "https://api.github.com/users/hwchase17/followers", "following_url": "https://api.github.com/users/hwchase17/following{/other_user}", "gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hwchase17", "id": 11986836, "login": "hwchase17", "node_id": "MDQ6VXNlcjExOTg2ODM2", "organizations_url": "https://api.github.com/users/hwchase17/orgs", "received_events_url": "https://api.github.com/users/hwchase17/received_events", "repos_url": "https://api.github.com/users/hwchase17/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions", "type": "User", "url": "https://api.github.com/users/hwchase17" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" }, { "color": "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/8259394?v=4", "events_url": "https://api.github.com/users/Sheogorath27/events{/privacy}", "followers_url": "https://api.github.com/users/Sheogorath27/followers", "following_url": "https://api.github.com/users/Sheogorath27/following{/other_user}", "gists_url": "https://api.github.com/users/Sheogorath27/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Sheogorath27", "id": 8259394, "login": "Sheogorath27", "node_id": "MDQ6VXNlcjgyNTkzOTQ=", "organizations_url": "https://api.github.com/users/Sheogorath27/orgs", "received_events_url": "https://api.github.com/users/Sheogorath27/received_events", "repos_url": "https://api.github.com/users/Sheogorath27/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Sheogorath27/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sheogorath27/subscriptions", "type": "User", "url": "https://api.github.com/users/Sheogorath27" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8259394?v=4", "events_url": "https://api.github.com/users/Sheogorath27/events{/privacy}", "followers_url": "https://api.github.com/users/Sheogorath27/followers", "following_url": "https://api.github.com/users/Sheogorath27/following{/other_user}", "gists_url": "https://api.github.com/users/Sheogorath27/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Sheogorath27", "id": 8259394, "login": "Sheogorath27", "node_id": "MDQ6VXNlcjgyNTkzOTQ=", "organizations_url": "https://api.github.com/users/Sheogorath27/orgs", "received_events_url": "https://api.github.com/users/Sheogorath27/received_events", "repos_url": "https://api.github.com/users/Sheogorath27/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Sheogorath27/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sheogorath27/subscriptions", "type": "User", "url": "https://api.github.com/users/Sheogorath27" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
7
"2021-07-07T12:46:37Z"
"2021-08-30T16:51:05Z"
"2021-08-30T16:50:38Z"
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 ser = pd.Series(range(0,100)) ser1 = pd.cut(ser, 10).value_counts().head(5) ser2 = pd.cut(ser, 10).value_counts().tail(5) pd.DataFrame({'1': ser1, '2': ser2}) ``` #### Problem description as of 1.3.0, this raises the following error. previously, this would run and produce the expected output (see below). ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-ad7564e1a27b> in <module> 3 ser1 = pd.cut(ser, 10).value_counts().head(5) 4 ser2 = pd.cut(ser, 10).value_counts().tail(5) ----> 5 pd.DataFrame({'1': ser1, '2': ser2}) ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/frame.py in __init__(self, data, index, columns, dtype, copy) 612 elif isinstance(data, dict): 613 # GH#38939 de facto copy defaults to False only in non-dict cases --> 614 mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) 615 elif isinstance(data, ma.MaskedArray): 616 import numpy.ma.mrecords as mrecords ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/internals/construction.py in dict_to_mgr(data, index, columns, dtype, typ, copy) 460 # TODO: can we get rid of the dt64tz special case above? 461 --> 462 return arrays_to_mgr( 463 arrays, data_names, index, columns, dtype=dtype, typ=typ, consolidate=copy 464 ) ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/internals/construction.py in arrays_to_mgr(arrays, arr_names, index, columns, dtype, verify_integrity, typ, consolidate) 120 121 # don't force copy because getting jammed in an ndarray anyway --> 122 arrays = _homogenize(arrays, index, dtype) 123 124 else: ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/internals/construction.py in _homogenize(data, index, dtype) 566 # Forces alignment. No need to copy data since we 567 # are putting it into an ndarray later --> 568 val = val.reindex(index, copy=False) 569 570 val = val._values ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/series.py in reindex(self, index, **kwargs) 4577 ) 4578 def reindex(self, index=None, **kwargs): -> 4579 return super().reindex(index=index, **kwargs) 4580 4581 @deprecate_nonkeyword_arguments(version=None, allowed_args=["self", "labels"]) ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/generic.py in reindex(self, *args, **kwargs) 4807 4808 # perform the reindex on the axes -> 4809 return self._reindex_axes( 4810 axes, level, limit, tolerance, method, fill_value, copy 4811 ).__finalize__(self, method="reindex") ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/generic.py in _reindex_axes(self, axes, level, limit, tolerance, method, fill_value, copy) 4823 4824 ax = self._get_axis(a) -> 4825 new_index, indexer = ax.reindex( 4826 labels, level=level, limit=limit, tolerance=tolerance, method=method 4827 ) ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/indexes/category.py in reindex(self, target, method, level, limit, tolerance) 422 # coerce to a regular index here! 423 result = Index(np.array(self), name=self.name) --> 424 new_target, indexer, _ = result._reindex_non_unique(target) 425 else: 426 ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/indexes/base.py in _reindex_non_unique(self, target) 3865 return self[:0], np.array([], dtype=np.intp), None 3866 -> 3867 indexer, missing = self.get_indexer_non_unique(target) 3868 check = indexer != -1 3869 new_labels = self.take(indexer[check]) ~/workplace/ri/rime/python/rime/.venv/lib/python3.8/site-packages/pandas/core/indexes/interval.py in get_indexer_non_unique(self, target) 692 # because IntervalIndex does partial-int indexing 693 target = self._maybe_convert_i8(target) --> 694 indexer, missing = self._engine.get_indexer_non_unique(target.values) 695 696 return ensure_platform_int(indexer), ensure_platform_int(missing) pandas/_libs/intervaltree.pxi in pandas._libs.interval.IntervalTree.__pyx_fused_cpdef() TypeError: No matching signature found ``` #### Expected Output ``` 1 2 (-0.099, 9.9] 10.0 NaN (9.9, 19.8] 10.0 NaN (19.8, 29.7] 10.0 NaN (29.7, 39.6] 10.0 NaN (39.6, 49.5] 10.0 NaN (49.5, 59.4] NaN 10.0 (59.4, 69.3] NaN 10.0 (69.3, 79.2] NaN 10.0 (79.2, 89.1] NaN 10.0 (89.1, 99.0] NaN 10.0 ``` this expected output behavior is better imo because it is more consistent with how this would work for other types of categorical indices. for example: ``` ser1 = pd.Series([0,1,2,], index=pd.CategoricalIndex(['a', 'b', 'c'], categories = ['a', 'b', 'c', 'd', 'e'])) ser2 = pd.Series([2,4], index=pd.CategoricalIndex(['d', 'e'], categories = ['a', 'b', 'c', 'd', 'e'])) pd.DataFrame({'1': ser1, '2': ser2}) ``` does NOT error. therefor it does not seem that the desired behavior is to error on non-overlapping categorical indices #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.8.6.final.0 python-bits : 64 OS : Darwin OS-release : 20.3.0 Version : Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 57.0.0 Cython : 3.0a6 pytest : 6.2.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.23.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : 2021.06.0 fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : 2021.06.0 scipy : 1.6.3 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/42424/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42424/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42425
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42425/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42425/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42425/events
https://github.com/pandas-dev/pandas/pull/42425
938,857,604
MDExOlB1bGxSZXF1ZXN0Njg1MTY1OTkx
42,425
BUG: pd.cut with duplicate index Series lowest included
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "9aace2", "default": false, "description": "cut, qcut", "id": 1639305834, "name": "cut", "node_id": "MDU6TGFiZWwxNjM5MzA1ODM0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut" } ]
closed
false
null
[]
null
2
"2021-07-07T12:48:51Z"
"2021-07-08T14:35:46Z"
"2021-07-08T14:35:46Z"
CONTRIBUTOR
null
- [x] closes #42185 - [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/42425/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42425/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42425.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42425", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42425.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42425" }
https://api.github.com/repos/pandas-dev/pandas/issues/42426
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42426/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42426/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42426/events
https://github.com/pandas-dev/pandas/issues/42426
938,982,925
MDU6SXNzdWU5Mzg5ODI5MjU=
42,426
Unclear warning message (SettingWithCopyWarning)
{ "avatar_url": "https://avatars.githubusercontent.com/u/78850521?v=4", "events_url": "https://api.github.com/users/Wallerand-Artefact/events{/privacy}", "followers_url": "https://api.github.com/users/Wallerand-Artefact/followers", "following_url": "https://api.github.com/users/Wallerand-Artefact/following{/other_user}", "gists_url": "https://api.github.com/users/Wallerand-Artefact/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wallerand-Artefact", "id": 78850521, "login": "Wallerand-Artefact", "node_id": "MDQ6VXNlcjc4ODUwNTIx", "organizations_url": "https://api.github.com/users/Wallerand-Artefact/orgs", "received_events_url": "https://api.github.com/users/Wallerand-Artefact/received_events", "repos_url": "https://api.github.com/users/Wallerand-Artefact/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wallerand-Artefact/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wallerand-Artefact/subscriptions", "type": "User", "url": "https://api.github.com/users/Wallerand-Artefact" }
[ { "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" }, { "color": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" }, { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
open
false
null
[]
null
0
"2021-07-07T14:57:48Z"
"2021-08-21T04:15:19Z"
null
NONE
null
Hi, Very often when manipulating pandas DataFrames I had a SettingWithCopyWarning and I did not understand why because the warning message was telling me to use the syntax .loc[row_indexer,col_indexer] = value , which I was already using ! The issue actually had nothing to do with the .loc syntax but with the fact that the dataframe I was trying to modify was created by applying a filter on another dataframe (something like : df1 = df0[df0.column_x == value_x]), therefore there was an ambiguity on whether the original dataframe should be modified or not. In my case I did not want to modify df0 so the clean way of creating df1 was df1 = df0[df0.column_x == value_x].copy(), which solved the issue and I did not get the warning anymore. I think this a very common issue, this is why, in my opinion, it could be a nice idea to include in the warning message that if the issue is not coming from the .loc syntax, it is likely that it comes from the fact that the concerned dataframe is probably a filtered copy of another dataframe and that adding .copy() when defining this particular dataframe might solve the issue. I hope my message was clear enough, otherwise I can try to explain it better if necessary. Have a good day, Wallerand
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42426/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42426/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42427
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42427/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42427/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42427/events
https://github.com/pandas-dev/pandas/pull/42427
938,992,023
MDExOlB1bGxSZXF1ZXN0Njg1MjgwNTcy
42,427
DOC: Add more instructions for updating the whatsnew
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-07-07T15:07:11Z"
"2021-10-19T03:46:06Z"
"2021-07-08T13:09:36Z"
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
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42427/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42427/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42427.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42427", "merged_at": "2021-07-08T13:09:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42427.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42427" }
https://api.github.com/repos/pandas-dev/pandas/issues/42428
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42428/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42428/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42428/events
https://github.com/pandas-dev/pandas/pull/42428
939,033,494
MDExOlB1bGxSZXF1ZXN0Njg1MzE2MTIw
42,428
TYP: dtype specializations for np.ndarray in algos.pyi (part)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
8
"2021-07-07T15:52:33Z"
"2021-08-24T16:35:55Z"
"2021-08-24T12:02:41Z"
MEMBER
null
cc @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42428/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42428/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42428.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42428", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42428.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42428" }
https://api.github.com/repos/pandas-dev/pandas/issues/42429
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42429/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42429/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42429/events
https://github.com/pandas-dev/pandas/issues/42429
939,038,433
MDU6SXNzdWU5MzkwMzg0MzM=
42,429
BUG: .dt.isocalendar().week returns unexpected dtype (UInt32)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1648870?v=4", "events_url": "https://api.github.com/users/outa/events{/privacy}", "followers_url": "https://api.github.com/users/outa/followers", "following_url": "https://api.github.com/users/outa/following{/other_user}", "gists_url": "https://api.github.com/users/outa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/outa", "id": 1648870, "login": "outa", "node_id": "MDQ6VXNlcjE2NDg4NzA=", "organizations_url": "https://api.github.com/users/outa/orgs", "received_events_url": "https://api.github.com/users/outa/received_events", "repos_url": "https://api.github.com/users/outa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/outa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/outa/subscriptions", "type": "User", "url": "https://api.github.com/users/outa" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "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-07-07T15:58:16Z"
"2021-07-09T10:19:14Z"
"2021-07-09T10:19: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 data = {'date': pd.date_range('2021-07-01', freq='D', periods=7)} df = pd.DataFrame(data) weeknumbers = df.date.dt.isocalendar().week weeknumbers 0 26 1 26 2 26 3 26 4 27 5 27 6 27 Name: week, dtype: UInt32 ``` #### Problem description This returns dtype UInt32, with `weeknumbers.values` being an "IntegerArray" from pandas. I am not sure if this is intended, but I discovered this because I replaced the deprecated `dt.weekofyear` with `dt.isocalendar().week` and then had `weeknumbers.values.tolist()` at a later point in my code which results in an AttributeError. #### Expected Output I would have expected the dtype to be int64, or, more importanty, the the `.values` being a numpy array, so that `.values.tolist()` works as expected. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.9.5.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-59-generic Version : #66-Ubuntu SMP Thu Jun 17 00:46:01 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 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/42429/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42429/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42430
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42430/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42430/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42430/events
https://github.com/pandas-dev/pandas/issues/42430
939,072,047
MDU6SXNzdWU5MzkwNzIwNDc=
42,430
BUG: 1D slices over extension types turn into N-dimensional slices over ExtensionArrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/12436991?v=4", "events_url": "https://api.github.com/users/frreiss/events{/privacy}", "followers_url": "https://api.github.com/users/frreiss/followers", "following_url": "https://api.github.com/users/frreiss/following{/other_user}", "gists_url": "https://api.github.com/users/frreiss/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frreiss", "id": 12436991, "login": "frreiss", "node_id": "MDQ6VXNlcjEyNDM2OTkx", "organizations_url": "https://api.github.com/users/frreiss/orgs", "received_events_url": "https://api.github.com/users/frreiss/received_events", "repos_url": "https://api.github.com/users/frreiss/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frreiss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frreiss/subscriptions", "type": "User", "url": "https://api.github.com/users/frreiss" }
[ { "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
15
"2021-07-07T16:39:42Z"
"2021-08-02T08:16:43Z"
"2021-07-31T01:01:48Z"
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 class LoggingStringArray(pd.arrays.StringArray): """Extend StringArray to log arguments to __getitem__""" def __getitem__(self, item): print(f"Argument to __getitem__ is '{item}'") return super().__getitem__(item) df = pd.DataFrame({"col1": LoggingStringArray(np.array(["hello", "world"], dtype=object))}) _ = df.iloc[:1] ``` Expected output: ``` Argument to __getitem__ is 'slice(None, 1, None)' ``` Actual output: ``` Argument to __getitem__ is '(Ellipsis, slice(None, 1, None))' ``` #### Problem description If a DataFrame contains extension types, the block manager turns a 1D slice in the form `DataFrame.iloc[slice(x, y, z)]` into an N-dimensional slice over the ExtensionArray of the form `__getitem__((Ellipsis, slice(x, y, z))` . This problem breaks the `__getitem__()` method on one of our extension types in [Text Extensions for Pandas](https://github.com/CODAIT/text-extensions-for-pandas). The `__getitem__` methods in Pandas' built-in extension types happens to work when fed this kind of n-dimensional slice --- they just ignore the `Ellipsis` in the first position of the tuple. But I don't think they're supposed to accept that type of input. The root cause is the new method `Block.getitem_block_index()`, added during some performance optimizations introduced in pandas-dev/pandas#40353: ```python def getitem_block_index(self, slicer: slice) -> Block: """ Perform __getitem__-like specialized to slicing along index. Assumes self.ndim == 2 """ # error: Invalid index type "Tuple[ellipsis, slice]" for # "Union[ndarray, ExtensionArray]"; expected type "Union[int, slice, ndarray]" new_values = self.values[..., slicer] # type: ignore[index] return type(self)(new_values, self._mgr_locs, ndim=self.ndim) ``` This method assumes that the contents of the block are 2-dimensional. The `ExtensionBlock` class inherits this method from `EABackedBlock`, which inherits it from `Block`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.10.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.4 hypothesis : None sphinx : 4.0.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.25.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.1 pyxlsb : None s3fs : None scipy : 1.7.0 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42430/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42430/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42431
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42431/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42431/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42431/events
https://github.com/pandas-dev/pandas/issues/42431
939,074,233
MDU6SXNzdWU5MzkwNzQyMzM=
42,431
QST: Subclassed lists are not allowed as indexers of dfs in v1.3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1188067?v=4", "events_url": "https://api.github.com/users/pwwang/events{/privacy}", "followers_url": "https://api.github.com/users/pwwang/followers", "following_url": "https://api.github.com/users/pwwang/following{/other_user}", "gists_url": "https://api.github.com/users/pwwang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pwwang", "id": 1188067, "login": "pwwang", "node_id": "MDQ6VXNlcjExODgwNjc=", "organizations_url": "https://api.github.com/users/pwwang/orgs", "received_events_url": "https://api.github.com/users/pwwang/received_events", "repos_url": "https://api.github.com/users/pwwang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pwwang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pwwang/subscriptions", "type": "User", "url": "https://api.github.com/users/pwwang" }
[ { "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-07-07T16:42:45Z"
"2021-07-07T17:08:26Z"
"2021-07-07T17:08:26Z"
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 **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 >>> from pandas import DataFrame >>> df = DataFrame(dict(x=[1,2,3])) >>> class MyList(list): ... ... ... >>> >>> >>> key = MyList(['x']) >>> key ['x'] >>> >>> df[key] Traceback (most recent call last): File "<input>", line 1, in <module> df[key] File "/.../python3.7/site-packages/pandas/core/frame.py", line 3445, in __getitem__ if com.is_bool_indexer(key): File "/...python3.7/site-packages/pandas/core/common.py", line 146, in is_bool_indexer return len(key) > 0 and lib.is_bool_list(key) TypeError: Argument 'obj' has incorrect type (expected list, got MyList) ``` This works in `v1.2.*`. It is mentioned in the docstring of `is_bool_indexer` that > with ``_is_boolean`` set are considered boolean indexers. But I had no luck with that property being set with `MyList`. Not sure if this is an intended change or not. I did find any documentation for 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/42431/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42431/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42432
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42432/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42432/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42432/events
https://github.com/pandas-dev/pandas/pull/42432
939,078,741
MDExOlB1bGxSZXF1ZXN0Njg1MzU0Njcz
42,432
Backport PR #42419 on branch 1.3.x (CI: update vm image version for Azure)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
3
"2021-07-07T16:48:57Z"
"2021-07-07T19:54:55Z"
"2021-07-07T19:54:54Z"
NONE
null
Backport PR #42419: CI: update vm image version for Azure
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42432/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42432/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42432.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42432", "merged_at": "2021-07-07T19:54:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42432.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42432" }
https://api.github.com/repos/pandas-dev/pandas/issues/42433
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42433/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42433/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42433/events
https://github.com/pandas-dev/pandas/issues/42433
939,092,483
MDU6SXNzdWU5MzkwOTI0ODM=
42,433
BUG: `list` subclass objects don't work as indexers for data frames in 1.3.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/1188067?v=4", "events_url": "https://api.github.com/users/pwwang/events{/privacy}", "followers_url": "https://api.github.com/users/pwwang/followers", "following_url": "https://api.github.com/users/pwwang/following{/other_user}", "gists_url": "https://api.github.com/users/pwwang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pwwang", "id": 1188067, "login": "pwwang", "node_id": "MDQ6VXNlcjExODgwNjc=", "organizations_url": "https://api.github.com/users/pwwang/orgs", "received_events_url": "https://api.github.com/users/pwwang/received_events", "repos_url": "https://api.github.com/users/pwwang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pwwang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pwwang/subscriptions", "type": "User", "url": "https://api.github.com/users/pwwang" }
[ { "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": "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-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-07T17:07:16Z"
"2021-07-12T00:29:58Z"
"2021-07-12T00:29:58Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python from pandas import DataFrame df = DataFrame(dict(x=[1,2,3])) class MyList(list): ... key = MyList(['x']) print(df[key]) ``` ``` Traceback (most recent call last): File "<input>", line 1, in <module> df[key] File "/.../python3.7/site-packages/pandas/core/frame.py", line 3445, in __getitem__ if com.is_bool_indexer(key): File "/.../python3.7/site-packages/pandas/core/common.py", line 146, in is_bool_indexer return len(key) > 0 and lib.is_bool_list(key) TypeError: Argument 'obj' has incorrect type (expected list, got MyList) ``` #### Problem description This works in `v1.2.*`. This because: https://github.com/pandas-dev/pandas/blob/f00ed8f47020034e752baf0250483053340971b0/pandas/core/frame.py#L3445-L3446 doesn't bypass list subclasses so that `MyList` objects are not treated as a collection of keys. If we step in: https://github.com/pandas-dev/pandas/blob/f00ed8f47020034e752baf0250483053340971b0/pandas/core/common.py#L144-L146 Compared to `v1.2.5`: https://github.com/pandas-dev/pandas/blob/7c48ff4409c622c582c56a5702373f726de08e96/pandas/core/common.py#L119-L124 A possible solution would be: ```diff elif isinstance(key, list): # check if np.array(key).dtype would be bool + try: - return len(key) > 0 and lib.is_bool_list(key) + return len(key) > 0 and lib.is_bool_list(key) + except TypeError: + return False ``` #### Expected Output Print out the data frame `df`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.8.final.0 python-bits : 64 OS : Linux OS-release : 4.4.0-19041-Microsoft Version : #488-Microsoft Mon Sep 01 13:43:00 PST 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2020.4 dateutil : 2.8.1 pip : 19.3.1 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : 1.3.20 tables : None tabulate : 0.8.6 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/42433/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42433/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42434
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42434/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42434/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42434/events
https://github.com/pandas-dev/pandas/issues/42434
939,108,178
MDU6SXNzdWU5MzkxMDgxNzg=
42,434
BUG: DataFrame.sort_values doesn't validate type of ascendind
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "color": "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
null
2
"2021-07-07T17:27:59Z"
"2021-07-07T18:31:23Z"
"2021-07-07T18:31:23Z"
MEMBER
null
xref #42358 See the next code (and `ascending` provided as a string, not boolean): ```python >>> pandas.DataFrame({'col': [3, 1, 2]}).sort_values(by='col', ascending='False') col 1 1 2 2 0 3 ``` This should fail in the same way as in `Series`: ```python >>> pandas.Series([3, 1, 2]).sort_values(ascending='False') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-3-f05e80474e4f> in <module> ----> 1 pandas.Series([3, 1, 2]).sort_values(ascending='False') ~/miniconda3/envs/ibis-dev/lib/python3.7/site-packages/pandas/core/series.py in sort_values(self, axis, ascending, inplace, kind, na_position, ignore_index, key) 3254 3255 if not is_bool(ascending): -> 3256 raise ValueError("ascending must be boolean") 3257 3258 if na_position not in ["first", "last"]: ValueError: ascending must be boolean ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42434/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42434/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42435
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42435/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42435/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42435/events
https://github.com/pandas-dev/pandas/pull/42435
939,146,880
MDExOlB1bGxSZXF1ZXN0Njg1NDEzMjMx
42,435
BUG: .loc failing to drop first level
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-07T18:21:01Z"
"2021-07-08T16:21:51Z"
"2021-07-08T12:58:05Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry This does not fix any of the existing GH issues for dropping of levels.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42435/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42435/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42435.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42435", "merged_at": "2021-07-08T12:58:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42435.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42435" }
https://api.github.com/repos/pandas-dev/pandas/issues/42436
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42436/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42436/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42436/events
https://github.com/pandas-dev/pandas/pull/42436
939,227,133
MDExOlB1bGxSZXF1ZXN0Njg1NDgxNzA5
42,436
CLN: clean doc validation script
{ "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": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-07-07T20:14:40Z"
"2021-07-08T13:23:21Z"
"2021-07-08T13:00:43Z"
MEMBER
null
precursor of #41456
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42436/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42436/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42436.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42436", "merged_at": "2021-07-08T13:00:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42436.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42436" }
https://api.github.com/repos/pandas-dev/pandas/issues/42437
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42437/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42437/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42437/events
https://github.com/pandas-dev/pandas/issues/42437
939,240,234
MDU6SXNzdWU5MzkyNDAyMzQ=
42,437
BUG: Assigning extension array value to series of dtype object fails if element type is array-like
{ "avatar_url": "https://avatars.githubusercontent.com/u/12436991?v=4", "events_url": "https://api.github.com/users/frreiss/events{/privacy}", "followers_url": "https://api.github.com/users/frreiss/followers", "following_url": "https://api.github.com/users/frreiss/following{/other_user}", "gists_url": "https://api.github.com/users/frreiss/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frreiss", "id": 12436991, "login": "frreiss", "node_id": "MDQ6VXNlcjEyNDM2OTkx", "organizations_url": "https://api.github.com/users/frreiss/orgs", "received_events_url": "https://api.github.com/users/frreiss/received_events", "repos_url": "https://api.github.com/users/frreiss/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frreiss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frreiss/subscriptions", "type": "User", "url": "https://api.github.com/users/frreiss" }
[ { "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 47, "created_at": "2021-10-16T17:29:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-11-28T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/91", "id": 7259169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels", "node_id": "MI_kwDOAA0YD84AbsQh", "number": 91, "open_issues": 23, "state": "open", "title": "1.3.5", "updated_at": "2021-11-21T13:42:45Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91" }
7
"2021-07-07T20:31:58Z"
"2021-10-16T19:04:53Z"
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 import pandas as pd from pandas.api.extensions import ExtensionArray, ExtensionDtype class StubDtype(ExtensionDtype): """Extension dtype whose elements are something that numpy.asarray() will turn into an array (in this case a tuple)""" def __init__(self): pass @property def type(self): return tuple @property def name(self) -> str: return "StubDtype" @classmethod def construct_array_type(cls): return StubExtensionArray() class StubExtensionArray(ExtensionArray): """Just enough of an extension array to run the four lines of code that follow.""" @property def dtype(self): return StubDtype() def copy(self): return StubExtensionArray() def __len__(self): return 5 def __getitem__(self, key): # Every position in the array has the tuple (1, 2, 3) return (1, 2, 3) data = StubExtensionArray() series1 = pd.Series(data, name="data") series2 = pd.Series(index=series1.index, dtype=object, name="data") series2.loc[series1.index] = data ``` Output: ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-168-cfd127e7fa55> in <module> 41 series1 = pd.Series(data, name="data") 42 series2 = pd.Series(index=series1.index, dtype=object, name="data") ---> 43 series2.loc[series1.index] = data ~/opt/miniconda3/envs/pd/lib/python3.7/site-packages/pandas/core/indexing.py in __setitem__(self, key, value) 721 722 iloc = self if self.name == "iloc" else self.obj.iloc --> 723 iloc._setitem_with_indexer(indexer, value, self.name) 724 725 def _validate_key(self, key, axis: int): ~/opt/miniconda3/envs/pd/lib/python3.7/site-packages/pandas/core/indexing.py in _setitem_with_indexer(self, indexer, value, name) 1730 self._setitem_with_indexer_split_path(indexer, value, name) 1731 else: -> 1732 self._setitem_single_block(indexer, value, name) 1733 1734 def _setitem_with_indexer_split_path(self, indexer, value, name: str): ~/opt/miniconda3/envs/pd/lib/python3.7/site-packages/pandas/core/indexing.py in _setitem_single_block(self, indexer, value, name) 1966 1967 # actually do the set -> 1968 self.obj._mgr = self.obj._mgr.setitem(indexer=indexer, value=value) 1969 self.obj._maybe_update_cacher(clear=True) 1970 ~/opt/miniconda3/envs/pd/lib/python3.7/site-packages/pandas/core/internals/managers.py in setitem(self, indexer, value) 353 354 def setitem(self: T, indexer, value) -> T: --> 355 return self.apply("setitem", indexer=indexer, value=value) 356 357 def putmask(self, mask, new, align: bool = True): ~/opt/miniconda3/envs/pd/lib/python3.7/site-packages/pandas/core/internals/managers.py in apply(self, f, align_keys, ignore_failures, **kwargs) 325 applied = b.apply(f, **kwargs) 326 else: --> 327 applied = getattr(b, f)(**kwargs) 328 except (TypeError, NotImplementedError): 329 if not ignore_failures: ~/opt/miniconda3/envs/pd/lib/python3.7/site-packages/pandas/core/internals/blocks.py in setitem(self, indexer, value) 965 values[indexer] = value.to_numpy(value.dtype.numpy_dtype) 966 else: --> 967 values[indexer] = np.asarray(value) 968 969 # if we are an exact match (ex-broadcasting), ValueError: shape mismatch: value array of shape (5,3) could not be broadcast to indexing result of shape (5,) ``` #### Problem description If the user creates a Series of dtype `object` and attempts to set the value of that Series with an extension array, the block manager will first pass the extension array through `np.asarray()` and then assign the block's values to the ndarray returned by `np.asarray()` (See code [here](https://github.com/pandas-dev/pandas/blob/0a9cfcf8da8d64aeca2574aa5d7caa9dcd3f1779/pandas/core/internals/blocks.py#L967)). This logic assumes that `np.asarray()` will always return a 1D array. However, `np.asarray()` is not guaranteed to return a 1D array; if the items of the argument to `np.asarray()` are array-like, `np.asarray()` will iterate over them and generate an array with 2 or more dimensions. This 2- or-more-dimensional array can't be assigned to the series, and Pandas throws the error "ValueError: shape mismatch...". This problem is affecting the TensorArray extension type in [Text Extensions for Pandas](https://github.com/CODAIT/text-extensions-for-pandas), because the elements of a TensorArray are tensors. The example code above shows a simpler case where the items of the extension array are Python tuples. In general, any item type that `np.asarray()` converts to an array of one or more dimensions will have this problem. #### Expected Output The above code should fill `series2` with the individual objects at each of the positions in the extension array. In the case of the example code above, that means that each element of `series2` should contain the Python tuple `(1, 2, 3)`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.10.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.4 hypothesis : None sphinx : 4.0.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.25.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.1 pyxlsb : None s3fs : None scipy : 1.7.0 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/42437/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42437/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42438
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42438/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42438/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42438/events
https://github.com/pandas-dev/pandas/pull/42438
939,240,818
MDExOlB1bGxSZXF1ZXN0Njg1NDkzMDMx
42,438
Fix Formatting Issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/63334933?v=4", "events_url": "https://api.github.com/users/daviddelord/events{/privacy}", "followers_url": "https://api.github.com/users/daviddelord/followers", "following_url": "https://api.github.com/users/daviddelord/following{/other_user}", "gists_url": "https://api.github.com/users/daviddelord/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/daviddelord", "id": 63334933, "login": "daviddelord", "node_id": "MDQ6VXNlcjYzMzM0OTMz", "organizations_url": "https://api.github.com/users/daviddelord/orgs", "received_events_url": "https://api.github.com/users/daviddelord/received_events", "repos_url": "https://api.github.com/users/daviddelord/repos", "site_admin": false, "starred_url": "https://api.github.com/users/daviddelord/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/daviddelord/subscriptions", "type": "User", "url": "https://api.github.com/users/daviddelord" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-07-07T20:32:45Z"
"2021-07-08T13:09:00Z"
"2021-07-08T13:08:56Z"
CONTRIBUTOR
null
closes #42371 ![image](https://user-images.githubusercontent.com/63334933/124824875-c95d8500-df27-11eb-97a5-42cdb10f6404.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42438/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42438/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42438.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42438", "merged_at": "2021-07-08T13:08:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42438.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42438" }
https://api.github.com/repos/pandas-dev/pandas/issues/42439
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42439/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42439/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42439/events
https://github.com/pandas-dev/pandas/pull/42439
939,258,186
MDExOlB1bGxSZXF1ZXN0Njg1NTA3MTQ1
42,439
DOC: Refactor Numba enhancing performance and add parallelism caveat
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "5319e7", "default": false, "description": "numba-accelerated operations", "id": 2138993554, "name": "numba", "node_id": "MDU6TGFiZWwyMTM4OTkzNTU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
4
"2021-07-07T20:58:17Z"
"2021-07-12T00:38:57Z"
"2021-07-12T00:30:46Z"
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
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42439/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42439/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42439.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42439", "merged_at": "2021-07-12T00:30:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42439.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42439" }
https://api.github.com/repos/pandas-dev/pandas/issues/42440
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42440/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42440/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42440/events
https://github.com/pandas-dev/pandas/pull/42440
939,354,991
MDExOlB1bGxSZXF1ZXN0Njg1NTkwNzAw
42,440
BUG: MultiIndex.get_loc re-raise TypeError as KeyError
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
"2021-07-08T00:16:25Z"
"2021-07-25T14:41:18Z"
"2021-07-25T14:19:26Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42440/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42440/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42440.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42440", "merged_at": "2021-07-25T14:19:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42440.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42440" }
https://api.github.com/repos/pandas-dev/pandas/issues/42442
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42442/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42442/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42442/events
https://github.com/pandas-dev/pandas/issues/42442
939,628,073
MDU6SXNzdWU5Mzk2MjgwNzM=
42,442
BUG: Grouped Rolling Var and Std does not work with closed="left"
{ "avatar_url": "https://avatars.githubusercontent.com/u/9725296?v=4", "events_url": "https://api.github.com/users/benHeid/events{/privacy}", "followers_url": "https://api.github.com/users/benHeid/followers", "following_url": "https://api.github.com/users/benHeid/following{/other_user}", "gists_url": "https://api.github.com/users/benHeid/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benHeid", "id": 9725296, "login": "benHeid", "node_id": "MDQ6VXNlcjk3MjUyOTY=", "organizations_url": "https://api.github.com/users/benHeid/orgs", "received_events_url": "https://api.github.com/users/benHeid/received_events", "repos_url": "https://api.github.com/users/benHeid/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benHeid/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benHeid/subscriptions", "type": "User", "url": "https://api.github.com/users/benHeid" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-07-08T08:50:58Z"
"2021-07-28T01:54:46Z"
"2021-07-28T01:54:46Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### ```python import pandas as pd df = pd.DataFrame([1, 2, 3, 4, 5, 6, 7, 8]) df.groupby([1,2,1,2,1,2,1,2]).rolling(2, closed="left").var(0) Output: 0 1 0 NaN 2 NaN 4 1.0 6 1.0 2 1 NaN 3 NaN 5 NaN 7 NaN ``` #### Problem description It seems that the rolling variance is only calculated on the first group. #### Expected Output ```python 0 1 0 NaN 2 NaN 4 1.0 6 1.0 2 1 NaN 3 NaN 5 1.0 7 1.0 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.3.0 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20201009 Cython : None pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.3 sqlalchemy : None tables : None tabulate : 0.8.9 xarray : 0.18.2 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/42442/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42442/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42443
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42443/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42443/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42443/events
https://github.com/pandas-dev/pandas/issues/42443
939,652,195
MDU6SXNzdWU5Mzk2NTIxOTU=
42,443
BUG: NaN cannot be detected
{ "avatar_url": "https://avatars.githubusercontent.com/u/26964756?v=4", "events_url": "https://api.github.com/users/sunpei-zju/events{/privacy}", "followers_url": "https://api.github.com/users/sunpei-zju/followers", "following_url": "https://api.github.com/users/sunpei-zju/following{/other_user}", "gists_url": "https://api.github.com/users/sunpei-zju/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sunpei-zju", "id": 26964756, "login": "sunpei-zju", "node_id": "MDQ6VXNlcjI2OTY0NzU2", "organizations_url": "https://api.github.com/users/sunpei-zju/orgs", "received_events_url": "https://api.github.com/users/sunpei-zju/received_events", "repos_url": "https://api.github.com/users/sunpei-zju/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sunpei-zju/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sunpei-zju/subscriptions", "type": "User", "url": "https://api.github.com/users/sunpei-zju" }
[ { "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" }, { "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": 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-07-08T09:18:04Z"
"2021-07-11T16:10:57Z"
"2021-07-09T15:47:46Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **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 import numpy as np pd.DataFrame([np.random.randn(10)]).rolling(window=5,axis=1).mean().isna() ``` #### Problem description The NaN cannot be detected by pandas, it is just a toy example above. The result was: ```Python 0 1 2 3 4 5 6 7 8 9 0 False False False False False False False False False False ``` #### Expected Output I believe that the desired result should be: ```Python 0 1 2 3 4 5 6 7 8 9 0 True True True True False False False False False False ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.8.8.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 machine : arm64 processor : arm byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.3.0 numpy : 1.18.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1 setuptools : 49.6.0.post20210108 Cython : 0.29.23 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 : 3.4.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42443/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42443/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42444
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42444/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42444/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42444/events
https://github.com/pandas-dev/pandas/pull/42444
939,819,461
MDExOlB1bGxSZXF1ZXN0Njg1OTgwMzQ1
42,444
Backport PR #42338 on branch 1.3.x (PERF/REGR: revert #41785)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-08T12:42:59Z"
"2021-07-08T14:38:14Z"
"2021-07-08T14:38:14Z"
NONE
null
Backport PR #42338: PERF/REGR: revert #41785
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42444/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42444/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42444.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42444", "merged_at": "2021-07-08T14:38:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42444.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42444" }
https://api.github.com/repos/pandas-dev/pandas/issues/42445
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42445/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42445/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42445/events
https://github.com/pandas-dev/pandas/pull/42445
939,844,266
MDExOlB1bGxSZXF1ZXN0Njg2MDAxODU3
42,445
Backport PR #42386 on branch 1.3.x (DOC fix the incorrect doc style in 1.2.1)
{ "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-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-08T13:11:12Z"
"2021-07-08T14:38:29Z"
"2021-07-08T14:38:29Z"
NONE
null
Backport PR #42386: DOC fix the incorrect doc style in 1.2.1
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42445/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42445/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42445.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42445", "merged_at": "2021-07-08T14:38:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42445.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42445" }
https://api.github.com/repos/pandas-dev/pandas/issues/42446
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42446/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42446/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42446/events
https://github.com/pandas-dev/pandas/issues/42446
939,887,645
MDU6SXNzdWU5Mzk4ODc2NDU=
42,446
option dtype in pandas.read_csv does not work properly for mulilevel columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/52567084?v=4", "events_url": "https://api.github.com/users/jottbele/events{/privacy}", "followers_url": "https://api.github.com/users/jottbele/followers", "following_url": "https://api.github.com/users/jottbele/following{/other_user}", "gists_url": "https://api.github.com/users/jottbele/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jottbele", "id": 52567084, "login": "jottbele", "node_id": "MDQ6VXNlcjUyNTY3MDg0", "organizations_url": "https://api.github.com/users/jottbele/orgs", "received_events_url": "https://api.github.com/users/jottbele/received_events", "repos_url": "https://api.github.com/users/jottbele/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jottbele/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jottbele/subscriptions", "type": "User", "url": "https://api.github.com/users/jottbele" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4", "events_url": "https://api.github.com/users/jmcomie/events{/privacy}", "followers_url": "https://api.github.com/users/jmcomie/followers", "following_url": "https://api.github.com/users/jmcomie/following{/other_user}", "gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmcomie", "id": 1904716, "login": "jmcomie", "node_id": "MDQ6VXNlcjE5MDQ3MTY=", "organizations_url": "https://api.github.com/users/jmcomie/orgs", "received_events_url": "https://api.github.com/users/jmcomie/received_events", "repos_url": "https://api.github.com/users/jmcomie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions", "type": "User", "url": "https://api.github.com/users/jmcomie" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4", "events_url": "https://api.github.com/users/jmcomie/events{/privacy}", "followers_url": "https://api.github.com/users/jmcomie/followers", "following_url": "https://api.github.com/users/jmcomie/following{/other_user}", "gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmcomie", "id": 1904716, "login": "jmcomie", "node_id": "MDQ6VXNlcjE5MDQ3MTY=", "organizations_url": "https://api.github.com/users/jmcomie/orgs", "received_events_url": "https://api.github.com/users/jmcomie/received_events", "repos_url": "https://api.github.com/users/jmcomie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions", "type": "User", "url": "https://api.github.com/users/jmcomie" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
7
"2021-07-08T13:55:35Z"
"2021-07-15T04:20:24Z"
"2021-07-15T04:20:24Z"
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. 1.2.2 --- **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 import pandas as pd df= pd.DataFrame({ ('A', 'int16'): pd.Series([1, 2, 3, 4], dtype='int16'), ('A', 'int32'): pd.Series([132, 232, 332, 432], dtype='int32'), ('B', 'float32'): pd.Series([1.01, 1.02, 1.03, 1.04], dtype='float32'), ('B', 'int16'): pd.Series([21, 22, 23, 24], dtype='int16')}) print(df) df.to_csv('test_df.csv') print(df.dtypes) # full column name tuples with level 0/1 labels don't work df_new= pd.read_csv( 'test_df.csv', header=list(range(2)), dtype = { ('A', 'int16'): 'int16', ('A', 'int32'): 'int32' }) print(df_new.dtypes) See my SO article for more detailed infos: [https://stackoverflow.com/questions/54699527/dtype-is-ignored-when-using-multilevel-columns](url) #### Problem description Although the data types where passed in read_csv, they are not applied. dtype in read_csv only seems to work for column names that contain only one level. For Multilevel columns it generally does not seem to work. #### Expected Output Unnamed: 0_level_0 Unnamed: 0_level_1 int64 A int16 int16 int32 int32 B float32 float64 int16 int64 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7d32926db8f7541c356066dcadabf854487738de python : 3.7.9.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-77-generic Version : #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.2.2 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : 0.29.23 pytest : 6.2.2 hypothesis : None sphinx : 4.0.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : 1.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : None xlwt : None numba : 0.51.2 </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/42446/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42446/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42447
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42447/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42447/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42447/events
https://github.com/pandas-dev/pandas/issues/42447
939,891,042
MDU6SXNzdWU5Mzk4OTEwNDI=
42,447
DOC: Readme.md file have some grammatical errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4", "events_url": "https://api.github.com/users/Varun270/events{/privacy}", "followers_url": "https://api.github.com/users/Varun270/followers", "following_url": "https://api.github.com/users/Varun270/following{/other_user}", "gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Varun270", "id": 75975268, "login": "Varun270", "node_id": "MDQ6VXNlcjc1OTc1MjY4", "organizations_url": "https://api.github.com/users/Varun270/orgs", "received_events_url": "https://api.github.com/users/Varun270/received_events", "repos_url": "https://api.github.com/users/Varun270/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varun270/subscriptions", "type": "User", "url": "https://api.github.com/users/Varun270" }
[ { "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": "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
7
"2021-07-08T13:58:59Z"
"2021-07-09T07:33:46Z"
"2021-07-09T07:33:46Z"
CONTRIBUTOR
null
#### Location of the documentation README.md file #### Documentation problem There are some unwanted commas and colons with grammatical error #### Suggested fix for documentation The fix is easy just have to grammatically correct the README file.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42447/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42447/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42448
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42448/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42448/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42448/events
https://github.com/pandas-dev/pandas/pull/42448
939,925,123
MDExOlB1bGxSZXF1ZXN0Njg2MDcyMjY1
42,448
BUG: Issue with pd.cut on Series with duplicate index
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "color": "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" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
"2021-07-08T14:33:11Z"
"2021-07-28T03:41:52Z"
"2021-07-28T01:01:42Z"
CONTRIBUTOR
null
- [x] closes #42185 - [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 Creating a new PR. I had messed up the earlier one by mistake.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42448/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42448/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42448.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42448", "merged_at": "2021-07-28T01:01:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42448.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42448" }
https://api.github.com/repos/pandas-dev/pandas/issues/42449
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42449/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42449/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42449/events
https://github.com/pandas-dev/pandas/pull/42449
940,107,534
MDExOlB1bGxSZXF1ZXN0Njg2MjI4MzM2
42,449
REGR: DataFrame.agg with axis=1, EA dtype, and duplicate index
{ "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": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
9
"2021-07-08T18:16:08Z"
"2021-07-10T14:38:05Z"
"2021-07-09T13:09:08Z"
MEMBER
null
- [x] closes #42380 - [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 The issue in transpose was a bug that was introduced in 1.0.0, but induced a regression in 1.3.0 due to its use in `DataFrame.agg`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42449/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42449/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42449.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42449", "merged_at": "2021-07-09T13:09:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42449.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42449" }
https://api.github.com/repos/pandas-dev/pandas/issues/42450
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42450/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42450/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42450/events
https://github.com/pandas-dev/pandas/issues/42450
940,122,978
MDU6SXNzdWU5NDAxMjI5Nzg=
42,450
BUG: unstack after loc produces unexpected index order
{ "avatar_url": "https://avatars.githubusercontent.com/u/24900912?v=4", "events_url": "https://api.github.com/users/snovaisg/events{/privacy}", "followers_url": "https://api.github.com/users/snovaisg/followers", "following_url": "https://api.github.com/users/snovaisg/following{/other_user}", "gists_url": "https://api.github.com/users/snovaisg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/snovaisg", "id": 24900912, "login": "snovaisg", "node_id": "MDQ6VXNlcjI0OTAwOTEy", "organizations_url": "https://api.github.com/users/snovaisg/orgs", "received_events_url": "https://api.github.com/users/snovaisg/received_events", "repos_url": "https://api.github.com/users/snovaisg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/snovaisg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snovaisg/subscriptions", "type": "User", "url": "https://api.github.com/users/snovaisg" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "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": "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
5
"2021-07-08T18:38:04Z"
"2021-08-21T04:16:19Z"
"2021-08-21T04:16:18Z"
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 idx = pd.IndexSlice df = pd.DataFrame({'x':[1,2,3], 'y':['a','b','c'], 'z':['a*','b*','c*'] }).set_index(['y','z']) new_y_order = ['c', 'b', 'a'] new_df = df.loc[idx[new_y_order,:],:].unstack('z') # <- this produces the unexpected behaviour. print(new_df) # x # z a* b* c* # y # a 1.0 NaN NaN # b NaN 2.0 NaN # c NaN NaN 3.0 ``` #### Problem description Changing the order of `df`'s index using `loc` and calling `unstack` on the 2º index level, results in a dataframe whose index order unexpectedly remains the same as the initial index. However, the new index' order should follow `new_y_order`. Additional notes: - This behaviour happens only when all index elements are preserved when changing their order. In other words, If `new_y_order` contains fewer elements than `y`, then calling unstack would behave as expected. - This unexpected behaviour happens even if we store the `.loc` reordering using `.copy()`, before applying `.unstack`. The DataFrame somehow remembers the initial index order it had. #### Expected Output ```python print(new_df) # x # z c* b* a* # y # c 3.0 NaN NaN # b NaN 2.0 NaN # a NaN NaN 1.0 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.8.1.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.3.0 numpy : 1.19.2 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.21.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.1 sqlalchemy : None tables : None tabulate : 0.8.9 xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42450/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42450/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42451
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42451/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42451/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42451/events
https://github.com/pandas-dev/pandas/pull/42451
940,133,422
MDExOlB1bGxSZXF1ZXN0Njg2MjUwNTg4
42,451
CI: Sync all 3.9 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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
5
"2021-07-08T18:54:12Z"
"2021-07-13T20:41:30Z"
"2021-07-09T13:58:43Z"
MEMBER
null
- [x] closes #37826 IIUC, all the 3.9 builds(except numpydev) should have all dependencies.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42451/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42451/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42451.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42451", "merged_at": "2021-07-09T13:58:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42451.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42451" }
https://api.github.com/repos/pandas-dev/pandas/issues/42452
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42452/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42452/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42452/events
https://github.com/pandas-dev/pandas/issues/42452
940,316,394
MDU6SXNzdWU5NDAzMTYzOTQ=
42,452
BUG: pandas EWM fails silently if data types are float32 instead of float64
{ "avatar_url": "https://avatars.githubusercontent.com/u/3850216?v=4", "events_url": "https://api.github.com/users/PCerles/events{/privacy}", "followers_url": "https://api.github.com/users/PCerles/followers", "following_url": "https://api.github.com/users/PCerles/following{/other_user}", "gists_url": "https://api.github.com/users/PCerles/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PCerles", "id": 3850216, "login": "PCerles", "node_id": "MDQ6VXNlcjM4NTAyMTY=", "organizations_url": "https://api.github.com/users/PCerles/orgs", "received_events_url": "https://api.github.com/users/PCerles/received_events", "repos_url": "https://api.github.com/users/PCerles/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PCerles/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PCerles/subscriptions", "type": "User", "url": "https://api.github.com/users/PCerles" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" } ]
{ "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" }
6
"2021-07-09T00:33:20Z"
"2021-08-04T04:23:26Z"
"2021-08-04T04:23:26Z"
CONTRIBUTOR
null
- [X ] I have checked that this issue has not already been reported. - [ X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd kk = pd.DataFrame(np.random.rand(20, 3)) kk = kk.astype(np.float32) print(kk.ewm(alpha=0.5, axis=1).mean().shape) # (20, 0) kk = kk.astype(np.float64) print(kk.ewm(alpha=0.5, axis=1).mean().shape) # (20, 3) ``` #### Problem description This should not depend on dtypes. #### Expected Output #### Output of ``pd.show_versions()`` <details> commit : 7c48ff4409c622c582c56a5702373f726de08e96 python : 3.7.10.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.5 numpy : 1.17.4 pytz : 2020.1 dateutil : 2.8.1 pip : 21.1.2 setuptools : 57.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 : 2.8.5 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.23.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.4.1 gcsfs : None matplotlib : 3.3.4 numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : 0.17.1 pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : 1.3.19 tables : None tabulate : 0.8.9 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.53.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42452/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42452/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42453
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42453/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42453/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42453/events
https://github.com/pandas-dev/pandas/pull/42453
940,429,172
MDExOlB1bGxSZXF1ZXN0Njg2NTAxNjgx
42,453
BUG: TypeError when shifting DataFrame created by concatenation of slices and fills with values
{ "avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4", "events_url": "https://api.github.com/users/wjsi/events{/privacy}", "followers_url": "https://api.github.com/users/wjsi/followers", "following_url": "https://api.github.com/users/wjsi/following{/other_user}", "gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wjsi", "id": 8284922, "login": "wjsi", "node_id": "MDQ6VXNlcjgyODQ5MjI=", "organizations_url": "https://api.github.com/users/wjsi/orgs", "received_events_url": "https://api.github.com/users/wjsi/received_events", "repos_url": "https://api.github.com/users/wjsi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wjsi/subscriptions", "type": "User", "url": "https://api.github.com/users/wjsi" }
[ { "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": "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-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
6
"2021-07-09T05:24:12Z"
"2021-07-28T01:06:28Z"
"2021-07-27T19:58:53Z"
CONTRIBUTOR
null
- [x] closes #42719 - [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/42453/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42453/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42453.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42453", "merged_at": "2021-07-27T19:58:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42453.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42453" }
https://api.github.com/repos/pandas-dev/pandas/issues/42454
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42454/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42454/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42454/events
https://github.com/pandas-dev/pandas/pull/42454
940,434,710
MDExOlB1bGxSZXF1ZXN0Njg2NTA2Mjk2
42,454
Fixed Issue #42447
{ "avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4", "events_url": "https://api.github.com/users/Varun270/events{/privacy}", "followers_url": "https://api.github.com/users/Varun270/followers", "following_url": "https://api.github.com/users/Varun270/following{/other_user}", "gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Varun270", "id": 75975268, "login": "Varun270", "node_id": "MDQ6VXNlcjc1OTc1MjY4", "organizations_url": "https://api.github.com/users/Varun270/orgs", "received_events_url": "https://api.github.com/users/Varun270/received_events", "repos_url": "https://api.github.com/users/Varun270/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varun270/subscriptions", "type": "User", "url": "https://api.github.com/users/Varun270" }
[]
closed
false
null
[]
null
1
"2021-07-09T05:37:12Z"
"2021-07-09T07:33:22Z"
"2021-07-09T07:33:22Z"
CONTRIBUTOR
null
- [🗸 ] closes #42447 - [ ] 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/42454/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42454/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42454.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42454", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42454.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42454" }
https://api.github.com/repos/pandas-dev/pandas/issues/42455
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42455/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42455/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42455/events
https://github.com/pandas-dev/pandas/issues/42455
940,461,381
MDU6SXNzdWU5NDA0NjEzODE=
42,455
BUG: Pandas `string` dtype reverts to `object` dtype when initialising index
{ "avatar_url": "https://avatars.githubusercontent.com/u/48900197?v=4", "events_url": "https://api.github.com/users/mlee94/events{/privacy}", "followers_url": "https://api.github.com/users/mlee94/followers", "following_url": "https://api.github.com/users/mlee94/following{/other_user}", "gists_url": "https://api.github.com/users/mlee94/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mlee94", "id": 48900197, "login": "mlee94", "node_id": "MDQ6VXNlcjQ4OTAwMTk3", "organizations_url": "https://api.github.com/users/mlee94/orgs", "received_events_url": "https://api.github.com/users/mlee94/received_events", "repos_url": "https://api.github.com/users/mlee94/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mlee94/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mlee94/subscriptions", "type": "User", "url": "https://api.github.com/users/mlee94" }
[ { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "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": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
2
"2021-07-09T06:29:25Z"
"2021-07-15T01:17:39Z"
"2021-07-15T01:17:39Z"
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. 1. ``` In [2]: pd.Index(['A', 'B', 'C', 'D'], dtype=pd.StringDtype()).dtype Out[2]: dtype('O') In [3]: pd.Index([1, 2, 3, 4], dtype=int).dtype Out[3]: dtype('int64') ``` 2. <details> <summary>Output pd.show_versions()</summary> ``` INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 58 Stepping 0, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.3.0 numpy : 1.19.5 pytz : 2020.5 dateutil : 2.8.1 pip : 21.0 setuptools : 49.6.0.post20210108 Cython : None pytest : 6.2.1 hypothesis : None sphinx : 3.5.4 blosc : None feather : None xlsxwriter : 1.3.9 lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 2021.05.0 fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.3 tables : None tabulate : 0.8.9 xarray : 0.16.2 xlrd : None xlwt : None numba : 0.53.1 ``` </details> 3. I don't think the dtype should change here. Seems to be okay for other dtypes apart from strings.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42455/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42455/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42456
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42456/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42456/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42456/events
https://github.com/pandas-dev/pandas/issues/42456
940,475,397
MDU6SXNzdWU5NDA0NzUzOTc=
42,456
BUG: Regression on DataFrame.from_records
{ "avatar_url": "https://avatars.githubusercontent.com/u/4403130?v=4", "events_url": "https://api.github.com/users/felixdivo/events{/privacy}", "followers_url": "https://api.github.com/users/felixdivo/followers", "following_url": "https://api.github.com/users/felixdivo/following{/other_user}", "gists_url": "https://api.github.com/users/felixdivo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/felixdivo", "id": 4403130, "login": "felixdivo", "node_id": "MDQ6VXNlcjQ0MDMxMzA=", "organizations_url": "https://api.github.com/users/felixdivo/orgs", "received_events_url": "https://api.github.com/users/felixdivo/received_events", "repos_url": "https://api.github.com/users/felixdivo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/felixdivo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixdivo/subscriptions", "type": "User", "url": "https://api.github.com/users/felixdivo" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
4
"2021-07-09T06:54:18Z"
"2021-07-26T22:29:04Z"
"2021-07-26T22:29:04Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python from numpy import empty, array from pandas import DataFrame structured_dtype = [('prop', int)] # Does NOT work any more result = empty((0, len(structured_dtype))) structured_array = array(result, dtype=structured_dtype) DataFrame.from_records(structured_array) ``` Triggers: `ValueError: If using all scalar values, you must pass an index`. #### Problem description This previously worked on Pandas version 1.2.5. #### Expected Output No exception. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-77-generic Version : #86-Ubuntu SMP Thu Jun 17 02:35:03 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 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 57.0.0 Cython : None pytest : 6.2.4 hypothesis : 6.14.0 sphinx : 4.0.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.0 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42456/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42456/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42457
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42457/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42457/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42457/events
https://github.com/pandas-dev/pandas/pull/42457
940,561,578
MDExOlB1bGxSZXF1ZXN0Njg2NjEzODQz
42,457
BUG: df.astype changes order of dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[]
closed
false
null
[]
null
0
"2021-07-09T08:52:55Z"
"2021-08-11T04:34:14Z"
"2021-07-09T10:06:45Z"
CONTRIBUTOR
null
- [x] closes #42396 - [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/42457/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42457/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42457.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42457", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42457.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42457" }
https://api.github.com/repos/pandas-dev/pandas/issues/42458
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42458/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42458/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42458/events
https://github.com/pandas-dev/pandas/issues/42458
940,607,862
MDU6SXNzdWU5NDA2MDc4NjI=
42,458
BUG: `to_xml` raises `KeyError` for `index=False` when the index does not start at zero
{ "avatar_url": "https://avatars.githubusercontent.com/u/60873230?v=4", "events_url": "https://api.github.com/users/stephan-hesselmann-by/events{/privacy}", "followers_url": "https://api.github.com/users/stephan-hesselmann-by/followers", "following_url": "https://api.github.com/users/stephan-hesselmann-by/following{/other_user}", "gists_url": "https://api.github.com/users/stephan-hesselmann-by/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stephan-hesselmann-by", "id": 60873230, "login": "stephan-hesselmann-by", "node_id": "MDQ6VXNlcjYwODczMjMw", "organizations_url": "https://api.github.com/users/stephan-hesselmann-by/orgs", "received_events_url": "https://api.github.com/users/stephan-hesselmann-by/received_events", "repos_url": "https://api.github.com/users/stephan-hesselmann-by/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stephan-hesselmann-by/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stephan-hesselmann-by/subscriptions", "type": "User", "url": "https://api.github.com/users/stephan-hesselmann-by" }
[ { "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": "1d76db", "default": false, "description": "read_xml, to_xml", "id": 2707590670, "name": "IO XML", "node_id": "MDU6TGFiZWwyNzA3NTkwNjcw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20XML" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
1
"2021-07-09T09:52:38Z"
"2021-07-12T21:17:34Z"
"2021-07-12T21:17:34Z"
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 import pandas as pd records = {"col1": [1, 2], "col2": [3, 4]} df = pd.DataFrame(data=records) df.index = range(1, 3) # if this line is commented out it works as expected xml = df.to_xml(index=False) print(xml) ``` #### Problem description This code snipped should not raise a `KeyError`. The index should be ignored regardless of its content. Traceback: ``` Traceback (most recent call last): File "/Users/xxx/xml.py", line 7, in <module> xml = df.to_xml(index=False) File "/Users/xxx/pandas/core/frame.py", line 2967, in to_xml xml_formatter = TreeBuilder( File "/Users/xxx/pandas/io/formats/xml.py", line 458, in __init__ self.handle_indexes() File "/Users/xxx/pandas/io/formats/xml.py", line 199, in handle_indexes x for x in self.frame_dicts[0].keys() if x not in self.orig_cols KeyError: 0 ``` #### Expected Output ```xml <?xml version='1.0' encoding='utf-8'?> <data> <row> <col1>1</col1> <col2>3</col2> </row> <row> <col1>2</col1> <col2>4</col2> </row> </data> ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.9.6.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : None Cython : None pytest : 6.2.4 hypothesis : None sphinx : 4.0.3 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 2021.06.1 fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.1 pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.4.15 tables : None tabulate : 0.8.9 xarray : None xlrd : None xlwt : None numba : None 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/42458/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42458/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42459
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42459/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42459/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42459/events
https://github.com/pandas-dev/pandas/pull/42459
940,737,106
MDExOlB1bGxSZXF1ZXN0Njg2NzY1MTE1
42,459
BUG: Mitigate division with zero in roll_var
{ "avatar_url": "https://avatars.githubusercontent.com/u/9725296?v=4", "events_url": "https://api.github.com/users/benHeid/events{/privacy}", "followers_url": "https://api.github.com/users/benHeid/followers", "following_url": "https://api.github.com/users/benHeid/following{/other_user}", "gists_url": "https://api.github.com/users/benHeid/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benHeid", "id": 9725296, "login": "benHeid", "node_id": "MDQ6VXNlcjk3MjUyOTY=", "organizations_url": "https://api.github.com/users/benHeid/orgs", "received_events_url": "https://api.github.com/users/benHeid/received_events", "repos_url": "https://api.github.com/users/benHeid/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benHeid/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benHeid/subscriptions", "type": "User", "url": "https://api.github.com/users/benHeid" }
[ { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
8
"2021-07-09T12:51:27Z"
"2021-07-28T01:54:50Z"
"2021-07-28T01:54:46Z"
CONTRIBUTOR
null
- [ ] closes #42442 - [ ] 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/42459/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42459/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42459.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42459", "merged_at": "2021-07-28T01:54:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42459.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42459" }
https://api.github.com/repos/pandas-dev/pandas/issues/42460
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42460/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42460/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42460/events
https://github.com/pandas-dev/pandas/pull/42460
940,751,174
MDExOlB1bGxSZXF1ZXN0Njg2Nzc2ODg2
42,460
Backport PR #42449 on branch 1.3.x (REGR: DataFrame.agg with axis=1, EA dtype, and duplicate index)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-09T13:09:33Z"
"2021-07-09T14:10:06Z"
"2021-07-09T14:10:06Z"
NONE
null
Backport PR #42449: REGR: DataFrame.agg with axis=1, EA dtype, and duplicate 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/42460/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42460/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42460.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42460", "merged_at": "2021-07-09T14:10:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42460.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42460" }
https://api.github.com/repos/pandas-dev/pandas/issues/42461
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42461/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42461/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42461/events
https://github.com/pandas-dev/pandas/issues/42461
940,792,435
MDU6SXNzdWU5NDA3OTI0MzU=
42,461
BUG: The difference in behaviour of indexing between 1.2.4 and 1.3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/6242032?v=4", "events_url": "https://api.github.com/users/xiki-tempula/events{/privacy}", "followers_url": "https://api.github.com/users/xiki-tempula/followers", "following_url": "https://api.github.com/users/xiki-tempula/following{/other_user}", "gists_url": "https://api.github.com/users/xiki-tempula/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xiki-tempula", "id": 6242032, "login": "xiki-tempula", "node_id": "MDQ6VXNlcjYyNDIwMzI=", "organizations_url": "https://api.github.com/users/xiki-tempula/orgs", "received_events_url": "https://api.github.com/users/xiki-tempula/received_events", "repos_url": "https://api.github.com/users/xiki-tempula/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xiki-tempula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xiki-tempula/subscriptions", "type": "User", "url": "https://api.github.com/users/xiki-tempula" }
[ { "color": "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": "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-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
6
"2021-07-09T13:59:48Z"
"2021-07-12T00:29:57Z"
"2021-07-12T00:29:57Z"
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. --- I have some code that I used to extract the index columns as data frame, which worked in pandas 1.2.4 but not in 1.3.0. I have read what's new (https://pandas.pydata.org/pandas-docs/version/1.3.0/whatsnew/v1.3.0.html). To my best knowledge, this seems to be an undocumented change. I wonder if I can get some advice on how to make the code work for both 1.2 and 1.3 and potentially 1.4. #### Code Sample, a copy-pastable example ```python # To extract the index columns col = df.reset_index()[df.index.names[:]] ``` #### Problem description Say if we have a data frame. ```python >>> d = {'col1': [1, 2], 'col2': [3, 4]} >>> df = pd.DataFrame(data=d) >>> df = df.set_index('col1') >>> df col2 col1 1 3 2 4 ``` #### Expected Output For pandas == 1.2.4, ```python >>> df.reset_index()[df.index.names[:]] col1 0 1 1 2 ``` For pandas >= 1.3.0, ```python >>> df.reset_index()[df.index.names[:]] Traceback (most recent call last): File "<input>", line 1, in <module> File "~/GitHub/pandas/pandas/core/frame.py", line 3444, in __getitem__ if com.is_bool_indexer(key): File "~/GitHub/pandas/pandas/core/common.py", line 147, in is_bool_indexer return len(key) > 0 and lib.is_bool_list(key) TypeError: Argument 'obj' has incorrect type (expected list, got FrozenList) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42461/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42461/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42462
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42462/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42462/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42462/events
https://github.com/pandas-dev/pandas/issues/42462
940,847,448
MDU6SXNzdWU5NDA4NDc0NDg=
42,462
read_excel() modifies provided types dict when accessing file with duplicate column
{ "avatar_url": "https://avatars.githubusercontent.com/u/47477903?v=4", "events_url": "https://api.github.com/users/cdol/events{/privacy}", "followers_url": "https://api.github.com/users/cdol/followers", "following_url": "https://api.github.com/users/cdol/following{/other_user}", "gists_url": "https://api.github.com/users/cdol/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cdol", "id": 47477903, "login": "cdol", "node_id": "MDQ6VXNlcjQ3NDc3OTAz", "organizations_url": "https://api.github.com/users/cdol/orgs", "received_events_url": "https://api.github.com/users/cdol/received_events", "repos_url": "https://api.github.com/users/cdol/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cdol/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cdol/subscriptions", "type": "User", "url": "https://api.github.com/users/cdol" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
1
"2021-07-09T15:06:25Z"
"2021-08-04T21:55:15Z"
"2021-08-04T21:55:15Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. _test.xlsx :_ | a | a | b | c | |---|---|---|---| | 1 | 1 | b1| c1| | 2 | 2 | b2| c2| | 3 | 3 | b3| c3| ``` import pandas as pd types_dict = {'a': str, 'b': str, 'c': str, } if __name__ == "__main__": df = pd.read_excel('./test.xlsx', dtype=type_dict) print(list(type_dict.keys())) ``` ``` >> ['a', 'b', 'c', 'a.1'] ``` **Bug/Issue description:** When using dtype loading a .xlsx-file with a duplicate column into a dataframe modifies the provided types_dict / adds entries for duplicate columns. It seems to me like the modification of the types_dict is an unwanted side effect.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42462/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42462/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42463
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42463/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42463/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42463/events
https://github.com/pandas-dev/pandas/issues/42463
940,866,696
MDU6SXNzdWU5NDA4NjY2OTY=
42,463
BUG: Constructing a df using 2D numpy arrays raises misleading error
{ "avatar_url": "https://avatars.githubusercontent.com/u/13983198?v=4", "events_url": "https://api.github.com/users/loodvn/events{/privacy}", "followers_url": "https://api.github.com/users/loodvn/followers", "following_url": "https://api.github.com/users/loodvn/following{/other_user}", "gists_url": "https://api.github.com/users/loodvn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/loodvn", "id": 13983198, "login": "loodvn", "node_id": "MDQ6VXNlcjEzOTgzMTk4", "organizations_url": "https://api.github.com/users/loodvn/orgs", "received_events_url": "https://api.github.com/users/loodvn/received_events", "repos_url": "https://api.github.com/users/loodvn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/loodvn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/loodvn/subscriptions", "type": "User", "url": "https://api.github.com/users/loodvn" }
[ { "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-07-09T15:30:48Z"
"2021-07-28T12:37:39Z"
"2021-07-28T12:37:39Z"
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 >>> import numpy as np >>> a = [[1], [2]] >>> pd.DataFrame({'a': np.array(a), 'b': np.array(a)}) ValueError: If using all scalar values, you must pass an index ``` #### Problem description Hey all! Thanks for the library, I use pandas on a daily basis. When attempting to create a DataFrame with a 2-dimensional numpy array as input, a misleading `ValueError: If using all scalar values, you must pass an index` is raised instead of raising an expected `ValueError: Data must be 1-dimensional`. This behaviour changes slightly if there is more than one array: ```python >>> import pandas as pd >>> import numpy as np >>> a = [[1], [2]] >>> pd.DataFrame({'a': a, 'b': a}) # No error, both nested lists pass validation and index is extracted a b 0 [1] [1] 1 [2] [2] >>> pd.DataFrame({'a': np.array(a), 'b': a}) # Expected behaviour, the nested list passes the check at pd.core.internals.construction._extract_index ValueError: Data must be 1-dimensional >>> pd.DataFrame({'a': np.array(a), 'b': np.array(a)}) ValueError: If using all scalar values, you must pass an index ``` I suspect this may have something to do with the check at https://github.com/pandas-dev/pandas/blob/386bad4c900ed09c1b664a341e3081851694ddbc/pandas/core/internals/construction.py#L620 not being exhaustive and/or that the shape validation only happens after this index creation step. #### Expected Output ```python >>> pd.DataFrame({'a': np.array(a), 'b': np.array(a)}) ValueError: Data must be 1-dimensional ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.104+ Version : #1 SMP Sat Jun 5 09:50:34 PDT 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.19.5 pytz : 2018.9 dateutil : 2.8.1 pip : 19.3.1 setuptools : 57.0.0 Cython : 0.29.23 pytest : 3.6.4 hypothesis : None sphinx : 1.8.5 blosc : None feather : 0.4.1 xlsxwriter : None lxml.etree : 4.2.6 html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 5.5.0 pandas_datareader: 0.9.0 bs4 : 4.6.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.3 odfpy : None openpyxl : 2.5.9 pandas_gbq : 0.13.3 pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.4.20 tables : 3.4.4 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 1.1.0 xlwt : 1.3.0 numba : 0.51.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42463/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42463/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42464
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42464/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42464/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42464/events
https://github.com/pandas-dev/pandas/pull/42464
940,877,642
MDExOlB1bGxSZXF1ZXN0Njg2ODgzNzky
42,464
BUG: `to_xml` with `index=False` and offset input index
{ "avatar_url": "https://avatars.githubusercontent.com/u/60873230?v=4", "events_url": "https://api.github.com/users/stephan-hesselmann-by/events{/privacy}", "followers_url": "https://api.github.com/users/stephan-hesselmann-by/followers", "following_url": "https://api.github.com/users/stephan-hesselmann-by/following{/other_user}", "gists_url": "https://api.github.com/users/stephan-hesselmann-by/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stephan-hesselmann-by", "id": 60873230, "login": "stephan-hesselmann-by", "node_id": "MDQ6VXNlcjYwODczMjMw", "organizations_url": "https://api.github.com/users/stephan-hesselmann-by/orgs", "received_events_url": "https://api.github.com/users/stephan-hesselmann-by/received_events", "repos_url": "https://api.github.com/users/stephan-hesselmann-by/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stephan-hesselmann-by/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stephan-hesselmann-by/subscriptions", "type": "User", "url": "https://api.github.com/users/stephan-hesselmann-by" }
[ { "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": "1d76db", "default": false, "description": "read_xml, to_xml", "id": 2707590670, "name": "IO XML", "node_id": "MDU6TGFiZWwyNzA3NTkwNjcw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20XML" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
4
"2021-07-09T15:45:30Z"
"2021-07-30T12:34:46Z"
"2021-07-12T21:17:34Z"
CONTRIBUTOR
null
Fixes #42458 It was assumed that the index contains the element `0`. This led to a defect when the index of the input Dataframe has an offset, which is a common use case when streaming Dataframes via generators. This fix consists of not relying on accessing the `0` element of `frame_dicts`. - [x] closes #42458 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42464/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42464/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42464.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42464", "merged_at": "2021-07-12T21:17:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42464.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42464" }
https://api.github.com/repos/pandas-dev/pandas/issues/42465
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42465/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42465/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42465/events
https://github.com/pandas-dev/pandas/pull/42465
940,917,715
MDExOlB1bGxSZXF1ZXN0Njg2OTE2NDM0
42,465
BUG: MultiIndex.get_loc with string key on DatetimeIndex level
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-07-09T16:41:54Z"
"2021-07-16T04:48:57Z"
"2021-07-16T00:23:06Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42465/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42465/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42465.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42465", "merged_at": "2021-07-16T00:23:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42465.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42465" }
https://api.github.com/repos/pandas-dev/pandas/issues/42466
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42466/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42466/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42466/events
https://github.com/pandas-dev/pandas/issues/42466
940,927,007
MDU6SXNzdWU5NDA5MjcwMDc=
42,466
BUG: 1.3.0 styler.render() throws exception when using highlight_max/highlight_min (code worked with pandas 1.2.5)
{ "avatar_url": "https://avatars.githubusercontent.com/u/414652?v=4", "events_url": "https://api.github.com/users/rendner/events{/privacy}", "followers_url": "https://api.github.com/users/rendner/followers", "following_url": "https://api.github.com/users/rendner/following{/other_user}", "gists_url": "https://api.github.com/users/rendner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rendner", "id": 414652, "login": "rendner", "node_id": "MDQ6VXNlcjQxNDY1Mg==", "organizations_url": "https://api.github.com/users/rendner/orgs", "received_events_url": "https://api.github.com/users/rendner/received_events", "repos_url": "https://api.github.com/users/rendner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rendner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rendner/subscriptions", "type": "User", "url": "https://api.github.com/users/rendner" }
[ { "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
6
"2021-07-09T16:56:27Z"
"2021-07-10T17:10:09Z"
"2021-07-10T13:25:34Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample These are minimal examples which throw an exception. The same problem exist when you use `highlight_min` instead of `highlight_max`. ```python import pandas as pd # throws a TypeError("'>=' not supported between instances of 'int' and 'str'") # pd.DataFrame({'col_0': [0, 'a']}).style.highlight_max().render() # throws a TypeError("'>=' not supported between instances of 'Timestamp' and 'int'") # pd.DataFrame({'col_0': [pd.to_datetime('1/1/2000'), 0]}).style.highlight_max().render() # throws a ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()') pd.DataFrame({'col_0': [pd.period_range(start='2000-01-01', end='2000-01-02')]}).style.highlight_max().render() ``` #### Problem description All examples worked in pandas 1.2.5 without throwing an exception. #### Expected Output The code doesn't throw an exception. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-77-generic Version : #86-Ubuntu SMP Thu Jun 17 02:35:03 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 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.2 setuptools : 57.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 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/42466/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42466/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42467
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42467/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42467/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42467/events
https://github.com/pandas-dev/pandas/pull/42467
940,934,715
MDExOlB1bGxSZXF1ZXN0Njg2OTMwMTc5
42,467
CI: Don't auto-cancel on master
{ "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" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-07-09T17:08:13Z"
"2021-07-19T16:51:58Z"
"2021-07-12T13:06:01Z"
MEMBER
null
- [ ] closes #42076 - [ ] 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 haven't tested that this skips the cancel on master branch, only that it cancels already running workflows on PRs(e.g. https://github.com/lithomas1/pandas/pull/3). So, be ready to revert if needed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42467/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42467/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42467.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42467", "merged_at": "2021-07-12T13:06:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42467.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42467" }
https://api.github.com/repos/pandas-dev/pandas/issues/42468
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42468/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42468/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42468/events
https://github.com/pandas-dev/pandas/pull/42468
940,950,956
MDExOlB1bGxSZXF1ZXN0Njg2OTQzMjc1
42,468
Add Logging error message to easy debug
{ "avatar_url": "https://avatars.githubusercontent.com/u/5876946?v=4", "events_url": "https://api.github.com/users/maycuatroi/events{/privacy}", "followers_url": "https://api.github.com/users/maycuatroi/followers", "following_url": "https://api.github.com/users/maycuatroi/following{/other_user}", "gists_url": "https://api.github.com/users/maycuatroi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/maycuatroi", "id": 5876946, "login": "maycuatroi", "node_id": "MDQ6VXNlcjU4NzY5NDY=", "organizations_url": "https://api.github.com/users/maycuatroi/orgs", "received_events_url": "https://api.github.com/users/maycuatroi/received_events", "repos_url": "https://api.github.com/users/maycuatroi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/maycuatroi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maycuatroi/subscriptions", "type": "User", "url": "https://api.github.com/users/maycuatroi" }
[]
closed
false
null
[]
null
4
"2021-07-09T17:34:26Z"
"2021-07-11T19:19:04Z"
"2021-07-11T19:19:04Z"
NONE
null
Add a Logging error message to debug easier. ![image](https://user-images.githubusercontent.com/5876946/125116176-83b2df00-e116-11eb-8567-bf12ec2cddc7.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42468/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42468/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42468.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42468", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42468.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42468" }
https://api.github.com/repos/pandas-dev/pandas/issues/42469
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42469/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42469/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42469/events
https://github.com/pandas-dev/pandas/pull/42469
941,006,913
MDExOlB1bGxSZXF1ZXN0Njg2OTkwMDEz
42,469
REGR: indexing with list subclass
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "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-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
2
"2021-07-09T19:14:29Z"
"2021-07-13T09:52:29Z"
"2021-07-12T00:29:58Z"
MEMBER
null
- [x] closes #42461 - [x] closes #42433 - [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/42469/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42469/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42469.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42469", "merged_at": "2021-07-12T00:29:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42469.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42469" }
https://api.github.com/repos/pandas-dev/pandas/issues/42470
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42470/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42470/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42470/events
https://github.com/pandas-dev/pandas/pull/42470
941,026,955
MDExOlB1bGxSZXF1ZXN0Njg3MDA2ODA0
42,470
DOC: GH42420 Fix typo in windows C compiler install guide
{ "avatar_url": "https://avatars.githubusercontent.com/u/5993632?v=4", "events_url": "https://api.github.com/users/AlessandroBisiani/events{/privacy}", "followers_url": "https://api.github.com/users/AlessandroBisiani/followers", "following_url": "https://api.github.com/users/AlessandroBisiani/following{/other_user}", "gists_url": "https://api.github.com/users/AlessandroBisiani/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlessandroBisiani", "id": 5993632, "login": "AlessandroBisiani", "node_id": "MDQ6VXNlcjU5OTM2MzI=", "organizations_url": "https://api.github.com/users/AlessandroBisiani/orgs", "received_events_url": "https://api.github.com/users/AlessandroBisiani/received_events", "repos_url": "https://api.github.com/users/AlessandroBisiani/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlessandroBisiani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlessandroBisiani/subscriptions", "type": "User", "url": "https://api.github.com/users/AlessandroBisiani" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
7
"2021-07-09T19:52:33Z"
"2021-07-13T20:23:48Z"
"2021-07-11T19:15:04Z"
CONTRIBUTOR
null
Closes #42420
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42470/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42470/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42470.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42470", "merged_at": "2021-07-11T19:15:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42470.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42470" }
https://api.github.com/repos/pandas-dev/pandas/issues/42471
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42471/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42471/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42471/events
https://github.com/pandas-dev/pandas/issues/42471
941,063,954
MDU6SXNzdWU5NDEwNjM5NTQ=
42,471
BUG: read_json converts Numeric Strings to Numbers
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
open
false
null
[]
null
2
"2021-07-09T21:03:40Z"
"2021-08-21T04:16:52Z"
null
MEMBER
null
```python >>> pd.read_json("""{"a": ["01", "02", "03"]}""") a 0 1 1 2 2 3 ``` These are well defined by JSON to be alphanumeric strings and not integers, so its a bit unfortunate that these get cast. Expected Output: ```python >>> pd.read_json("""{"a": ["01", "02", "03"]}""") a 0 01 1 02 2 03 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42471/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42471/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42472
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42472/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42472/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42472/events
https://github.com/pandas-dev/pandas/pull/42472
941,080,119
MDExOlB1bGxSZXF1ZXN0Njg3MDUxNjg3
42,472
CLN TST: Refactor `Styler.bar` tests through parametrisation
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-07-09T21:39:23Z"
"2021-07-12T08:58:54Z"
"2021-07-12T01:30:00Z"
CONTRIBUTOR
null
`Styler.bar` tests are refactored to avoid code duplication and enhance the testing process to cover a wider array of scenarios with simpler code. Summary of removed tests and their replacement coverage: Original Test | Replaced By | Parameters | --- | --- | --- | test_bar_align_left | test_align_positive_cases <br> test_numerics <br> test_colors_mixed | align=left | test_bar_align_left_0points | test_align_axis | axis=[index,columns] <br> align=left | test_bar_align_mid_pos_and_neg | test_align_mixed_cases <br> test_colors_mixed | align=mid | test_bar_align_mid_all_pos | test_align_positive_cases | align=mid | test_bar_align_mid_all_neg | test_align_negative_cases | align=mid | test_bar_align_zero_pos_and_neg | test_align_mixed_cases <br> test_colors_mixed | align=zero | test_bar_align_left_axis_none | test_align_axis | align=left <br> axis=None | test_bar_align_zero_axis_none | test_align_axis | align=zero <br> axis=None | test_bar_align_mid_axis_none | test_align_axis | align=mid <br> axis=None |
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42472/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42472/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42472.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42472", "merged_at": "2021-07-12T01:30:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42472.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42472" }
https://api.github.com/repos/pandas-dev/pandas/issues/42473
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42473/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42473/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42473/events
https://github.com/pandas-dev/pandas/pull/42473
941,094,071
MDExOlB1bGxSZXF1ZXN0Njg3MDYzNDg4
42,473
REGR: isin with nullable types with missing values raising
{ "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": "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": "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": "fef2c0", "default": false, "description": "isin method", "id": 2468482981, "name": "isin", "node_id": "MDU6TGFiZWwyNDY4NDgyOTgx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/isin" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
6
"2021-07-09T22:12:40Z"
"2021-07-16T09:28:11Z"
"2021-07-14T18:19:05Z"
MEMBER
null
- [x] closes #39844 - [x] closes #42405 - [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 Didn't look like there was a consensus reached on NA propagation in #39844, this should maintain the behavior from 1.2.x of not propagating and just fix the regression
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42473/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42473/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42473.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42473", "merged_at": "2021-07-14T18:19:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42473.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42473" }
https://api.github.com/repos/pandas-dev/pandas/issues/42474
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42474/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42474/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42474/events
https://github.com/pandas-dev/pandas/pull/42474
941,134,871
MDExOlB1bGxSZXF1ZXN0Njg3MDk3ODE1
42,474
[NOMERGE] Test object array copying
{ "avatar_url": "https://avatars.githubusercontent.com/u/24586651?v=4", "events_url": "https://api.github.com/users/irgolic/events{/privacy}", "followers_url": "https://api.github.com/users/irgolic/followers", "following_url": "https://api.github.com/users/irgolic/following{/other_user}", "gists_url": "https://api.github.com/users/irgolic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/irgolic", "id": 24586651, "login": "irgolic", "node_id": "MDQ6VXNlcjI0NTg2NjUx", "organizations_url": "https://api.github.com/users/irgolic/orgs", "received_events_url": "https://api.github.com/users/irgolic/received_events", "repos_url": "https://api.github.com/users/irgolic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/irgolic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/irgolic/subscriptions", "type": "User", "url": "https://api.github.com/users/irgolic" }
[]
closed
false
null
[]
null
0
"2021-07-10T00:36:01Z"
"2021-07-10T02:00:58Z"
"2021-07-10T02:00:58Z"
CONTRIBUTOR
null
In an effort to debug what's wrong with https://github.com/pandas-dev/pandas/pull/39272/, I'm opening a separate pull request with some tests to run on Azure pipelines. I can't reproduce these test fails locally with `environment.yml` or a docker developer environment. `test_1d_object_array_does_not_copy` DIDN'T fail a little over a month ago (when I'd started writing the PR), so I'll be bisecting back to see when it happened.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42474/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42474/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42474.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42474", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42474.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42474" }
https://api.github.com/repos/pandas-dev/pandas/issues/42475
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42475/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42475/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42475/events
https://github.com/pandas-dev/pandas/pull/42475
941,139,993
MDExOlB1bGxSZXF1ZXN0Njg3MTAxOTM4
42,475
PERF/REGR: astype changing order of some 2d data
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
5
"2021-07-10T01:04:35Z"
"2021-07-14T00:36:35Z"
"2021-07-13T21:18:24Z"
MEMBER
null
- [x] closes #42396 - [x] closes #38592 - [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 just lets `numpy` stick with the default of `order="C"` for both `ravel` and `reshape` so no reordering occurs. Benchmarks: ``` before after ratio [87d78559] [0c9d5496] <master> <regr_astype> - 9.34±0.7ms 4.95±0.9ms 0.53 stat_ops.FrameOps.time_op('kurt', 'int', 1) - 5.08±0.8ms 2.63±0.1ms 0.52 stat_ops.FrameOps.time_op('skew', 'Int64', 0) - 4.46±0.2ms 2.25±0.3ms 0.50 stat_ops.FrameOps.time_op('std', 'int', 1) - 5.76±0.2ms 2.73±0.6ms 0.47 stat_ops.FrameOps.time_op('var', 'int', 1) - 11.5±0.7ms 5.09±0.3ms 0.44 stat_ops.FrameOps.time_op('sem', 'int', 0) - 1.36±0.2ms 600±50μs 0.44 stat_ops.FrameOps.time_op('prod', 'int', 0) - 17.5±5ms 7.60±0.7ms 0.43 stat_ops.FrameOps.time_op('skew', 'int', 1) - 8.64±0.7ms 3.37±0.4ms 0.39 stat_ops.FrameOps.time_op('kurt', 'int', 0) - 9.03±0.6ms 3.21±0.2ms 0.36 stat_ops.FrameOps.time_op('skew', 'int', 0) - 9.49±0.6ms 3.27±0.4ms 0.34 stat_ops.FrameOps.time_op('mad', 'int', 0) - 1.31±0.08ms 420±20μs 0.32 stat_ops.FrameOps.time_op('sum', 'int', 1) - 5.87±0.5ms 1.87±0.5ms 0.32 stat_ops.FrameOps.time_op('var', 'int', 0) - 1.49±0.09ms 467±20μs 0.31 stat_ops.FrameOps.time_op('sum', 'int', 0) - 4.44±0.3ms 1.39±0.1ms 0.31 stat_ops.FrameOps.time_op('std', 'int', 0) - 1.90±0.06ms 569±70μs 0.30 stat_ops.FrameOps.time_op('mean', 'int', 0) - 1.22±0.1ms 346±4μs 0.28 stat_ops.FrameOps.time_op('prod', 'int', 1) - 1.86±0.1ms 519±60μs 0.28 stat_ops.FrameOps.time_op('mean', 'int', 1) ``` Will look to come up with a benchmark hitting this regression more squarely (which would help test if a more clever contiguity approach than always defaulting to "C" can improve performance). EDIT: after regression is fixed, might be worth looking into reinstating something like the original approach. Some timings show performance benefit we lose here: ``` In [1]: import numpy as np In [2]: import pandas as pd In [3]: data = np.ones((2000, 2000), order="F") In [4]: df = pd.DataFrame(data) In [5]: %timeit df.astype(np.int32) 5.63 ms ± 114 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # this pr 5.7 ms ± 115 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # master In [6]: data = np.ones((2000, 2000), order="C") In [7]: df = pd.DataFrame(data) In [8]: %timeit df.astype(np.int32) 26.8 ms ± 313 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # this pr 5.63 ms ± 77.1 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # master ``` EDIT: This slowdown comes down to the ravel copying because of contiguity that doesn't match. Let me know if it's better to try to fix the slowdown shown above in this pr or to leave as a followup for 1.4
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42475/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42475/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42475.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42475", "merged_at": "2021-07-13T21:18:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42475.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42475" }
https://api.github.com/repos/pandas-dev/pandas/issues/42476
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42476/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42476/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42476/events
https://github.com/pandas-dev/pandas/pull/42476
941,150,759
MDExOlB1bGxSZXF1ZXN0Njg3MTEwMzQy
42,476
BUG: string slicing on MultiIndex DatetimeIndex level
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
"2021-07-10T02:13:27Z"
"2021-07-15T04:39:19Z"
"2021-07-15T04:19:59Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Original motivation was to get rid of _get_partial_string_timestamp_match_key.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42476/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42476/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42476.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42476", "merged_at": "2021-07-15T04:19:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42476.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42476" }
https://api.github.com/repos/pandas-dev/pandas/issues/42477
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42477/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42477/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42477/events
https://github.com/pandas-dev/pandas/issues/42477
941,187,340
MDU6SXNzdWU5NDExODczNDA=
42,477
1.3.0 PerformanceWarning: DataFrame is highly fragmented.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5024695?v=4", "events_url": "https://api.github.com/users/xmatthias/events{/privacy}", "followers_url": "https://api.github.com/users/xmatthias/followers", "following_url": "https://api.github.com/users/xmatthias/following{/other_user}", "gists_url": "https://api.github.com/users/xmatthias/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xmatthias", "id": 5024695, "login": "xmatthias", "node_id": "MDQ6VXNlcjUwMjQ2OTU=", "organizations_url": "https://api.github.com/users/xmatthias/orgs", "received_events_url": "https://api.github.com/users/xmatthias/received_events", "repos_url": "https://api.github.com/users/xmatthias/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xmatthias/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xmatthias/subscriptions", "type": "User", "url": "https://api.github.com/users/xmatthias" }
[ { "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": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
3
"2021-07-10T06:38:11Z"
"2021-07-23T01:02:26Z"
"2021-07-23T01:02:26Z"
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 Minimal sample ```python import pandas as pd import numpy as np df = pd.DataFrame({'a': np.random.randint(0, 100, size=55), 'b': np.random.randint(0, 100, size=55)}) # Assign > 100 new columns to the dataframe for i in range(0, 100): df.loc[:, f'n_{i}'] = np.random.randint(0, 100, size=55) # Alternative assignment - triggers Performancewarnings here already. # df[f'n_{i}'] = np.random.randint(0, 100, size=55) df1 = df.copy() # Triggers performance warning again df1['c'] = np.random.randint(0, 100, size=55) # Visualize blocks print(df._data.nblocks) print(df1._data.nblocks) ``` #### Problem description Since pandas 1.3.0, the above minimal sample code produces the output of a Performance warning. While i think i understand the warning - i don't understand how to mitigate it (the docs don't contain help i could find for this - and the proposed solution (`copy()` does not seem to work. ``` PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling `frame.insert` many times, which has poor performance. Consider using pd.concat instead. To get a de-fragmented frame, use `newframe = frame.copy()` ``` While this for sure isn't an ideal scenario (assignment of single columns one after the other), i also don't see how this can be changed in our usecase. The proposed `df.copy()` does not mitigate the warning - and the block count remains the same. Based on my understanding, using `df.loc[:, 'colname'] = ` is the recommended way to assign new columns. This does create a new block for every insert - and `df.copy()` (which is proposed in the error) does not consolidate the blocks into 1 block - which means the error can't really be mitigated. Strangely enough - the behaviour of `df['colname] =` and `df.loc[:, 'colname'] = ` is not identical - with the first triggering the PerformanceWarning - and the 2nd not triggering the warning (although the problem is still there in the background). So this leaves me with a few questions * How should the above scenario correctly handle inserts to keep performance and avoid this error? * how can the dataframe be effectively consolidated (the proposed `frame.copy()` in the error does not do that) #### Expected Output #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.9.2.final.0 python-bits : 64 OS : Linux OS-release : 5.12.11-arch1-1 Version : #1 SMP PREEMPT Wed, 16 Jun 2021 15:25:28 +0000 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.utf8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 57.0.0 Cython : None pytest : 6.2.4 hypothesis : None sphinx : None blosc : 1.10.4 feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : 1.0.2 psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 3.0.1 IPython : 7.21.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.0 sqlalchemy : 1.4.20 tables : 3.6.1 tabulate : 0.8.9 xarray : None xlrd : None xlwt : None numba : None ``` </details>
{ "+1": 8, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 8, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42477/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42477/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42478
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42478/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42478/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42478/events
https://github.com/pandas-dev/pandas/pull/42478
941,196,532
MDExOlB1bGxSZXF1ZXN0Njg3MTQ0MTg4
42,478
TST: verify numpy.ravel works on a list of DataFrames with specified column names (#26247)
{ "avatar_url": "https://avatars.githubusercontent.com/u/12675558?v=4", "events_url": "https://api.github.com/users/usersblock/events{/privacy}", "followers_url": "https://api.github.com/users/usersblock/followers", "following_url": "https://api.github.com/users/usersblock/following{/other_user}", "gists_url": "https://api.github.com/users/usersblock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/usersblock", "id": 12675558, "login": "usersblock", "node_id": "MDQ6VXNlcjEyNjc1NTU4", "organizations_url": "https://api.github.com/users/usersblock/orgs", "received_events_url": "https://api.github.com/users/usersblock/received_events", "repos_url": "https://api.github.com/users/usersblock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/usersblock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/usersblock/subscriptions", "type": "User", "url": "https://api.github.com/users/usersblock" }
[ { "color": "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" }, { "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
[]
null
6
"2021-07-10T07:41:43Z"
"2021-07-12T20:27:08Z"
"2021-07-11T18:33:07Z"
CONTRIBUTOR
null
- [x] closes #26247 - [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 Inserted test to verify that np.ravel can be used on DataFrames with specified 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/42478/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42478/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42478.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42478", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42478.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42478" }
https://api.github.com/repos/pandas-dev/pandas/issues/42479
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42479/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42479/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42479/events
https://github.com/pandas-dev/pandas/issues/42479
941,294,532
MDU6SXNzdWU5NDEyOTQ1MzI=
42,479
ENH: Too much faf getting csv_reader to work.
{ "avatar_url": "https://avatars.githubusercontent.com/u/4048422?v=4", "events_url": "https://api.github.com/users/root-11/events{/privacy}", "followers_url": "https://api.github.com/users/root-11/followers", "following_url": "https://api.github.com/users/root-11/following{/other_user}", "gists_url": "https://api.github.com/users/root-11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/root-11", "id": 4048422, "login": "root-11", "node_id": "MDQ6VXNlcjQwNDg0MjI=", "organizations_url": "https://api.github.com/users/root-11/orgs", "received_events_url": "https://api.github.com/users/root-11/received_events", "repos_url": "https://api.github.com/users/root-11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/root-11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/root-11/subscriptions", "type": "User", "url": "https://api.github.com/users/root-11" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
7
"2021-07-10T17:46:07Z"
"2021-10-17T19:36:17Z"
"2021-10-17T19:15:45Z"
NONE
null
#### Is your feature request related to a problem? the [csv_reader](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html) has many features, but getting the settings right is quite a pain. I look after a corporate data analysis platform and found that the largest waste of time over a due course of 76000 engineering hours came from figuring out how to import the data. To back this with some numbers I find from 1.5Tb of zipped csv data (billions of rows of data): - Reattempts for engineers to upload the same file with different encoding: 4.1x (Poisson distributed). - CSV imports that are accepted by the engineer: 95/105 - Correct inference of datetime: 2 / 396 cols with name date, time or datetime (in 17 languages) ***Reading CSV files has been treated as an encoding problem. It evidently isn't. It's a pattern recognition problem.*** Existing csv-readers and file sniffers fail because they: - don't detect encoding correctly or work on bad encoding. - typically only read the first line after the headers. - don't handle text escapes during column detection. - `dateutils` parser only evaluates a single value and will always say that 1.2.2012 is mm.dd.yyyy despite that the next value might be 29.2.2012 (I've got plenty of tests with that problem). Here's an ugly example: `Birthdate, (Family\nnames), Father, Mother, Child, known for\n1879-4-14, Einstein, Hermann, Pauline, Albert,"\nGeneral relativity,\nSpecial relativity,\nPhotoelectric effect"` That should be (including some text escape): |Birthdate| (Family<br>names)| Father | Mother | Child | known for | |---|---|---|---|---|---| |1879-4-14| Einstein| Hermann| Pauline| Albert| General relativity,<br>Special relativity,<br>Photoelectric effect| #### Describe the solution you'd like I would like to add a non-breaking package to pandas, so that to pandas csv_reader can receive the keyword "analyse" and ignore the default keywords. When `pandas.csv_reader(somepath, analyse=True)` is called, the keyword will trigger the usage of a function in the top of the file_reader that will: - Detect the encoding using one of the ~300 python accepted [encodings](https://github.com/Ousret/charset_normalizer/blob/51af624b59a7f1a1aaa36f9ae71bee4364e39409/charset_normalizer/constant.py#L310) - analyse the file, - return the correct formats to pandas as **kwargs If the function is external to pandas, it could be used as: ``` import pandas as pd import csv_analyze df = pandas.csv_reader(somepath, **csv_analyze(somepath)) ``` I can imagine additional output that pandas could react to, such as more detailed information from the analysis: ``` d = csv_analyze(path) d {"encoding": {"depth": 10043, # characters checked. 'cp855': 10043, # meaning 10043/10043 = 100% characters match. 'utf_8_sig': 12, # meaning decode error after 12th character. 'utf-8': 5, "....."}, "text_escape": [False, True, False, False, True], "column_names": ["Birthdate", "(Family\nnames)", "Father", "Mother ", "Child", "known for"], "datatypes": ["date", "str", "str", "str", "str"], "metadata": [ # in order like columns, with list of probabilities for each type. {"date": {'yyyy-mm-dd': (100, 100), 'mm-dd-yyyy': (0, 100), "....": (0, 0)}, "time": 0, "datetime": 0, "str": "pass", "int": 0, "float": 0}, {"date": ValueError, "time": ValueError, "datetime": ValueError, "str": (100, 100), "int": ValueError, "float": ValueError}, {"date": ValueError, "time": ValueError, "datetime": ValueError, "str": (100, 100), "int": ValueError, "float": ValueError}, {"date": ValueError, "time": ValueError, "datetime": ValueError, "str": (100, 100), "int": ValueError, "float": ValueError}, {"date": ValueError, "time": ValueError, "datetime": ValueError, "str": (100, 100), "int": ValueError, "float": ValueError} ] } ``` #### API breaking implications An additional keyword will probably not break much. `csv_reader` already has 52 keywords. #### Describe alternatives you've considered Create a package and have the option for pandas: ``` import pandas as pd import csv_analyze d = csv_analyze(somepath) pandas.csv_reader(somepath, **d['pandas']) ``` Keeping the package external will be the pain-point if there is be a disconnect between the pd.csv_reader `kwargs` and the dict that `csv_analyze` returns. #### Additional context The strings I've encountered in csv data are: SEPARATORS #,###.##### last non-digit character indicates decimal, preceding different characters are thousand separators. #.###,##### Examples: ``` 4 294 967 295,000 Canadian (English and French), Danish, Finnish, French, German 4.294.967.295,000 Italian, Norwegian, Spanish, 4 294 967 295,000 Swedish 4,294,967,295.000 GB-English, US-English, Thai ``` (full treaty on: https://en.wikipedia.org/wiki/Decimal_separator) However, notice that Hindi uses a 2-digit grouping, except for the 3-digit grouping for denoting hundreds: 12,34,56,789.00 SCIENTIFIC NOTATION ###E### integer before and after E ###e### #.####E### floating point before, integer after E #.####e### ###.###N <=3 digit float, followed by N belongs to (K,M,G/B, T,E,P) for kilo, mega, giga/bill, tera, exa,... POSITIVE/NEGATIVE Negative numbers can have tailing minus ``` 527- -527 (527) [527] ``` ADDITIONAL SIGNS The same applies for percentages: 98%, 98 %, 98 pct, %98 And for currencies: $100.00, kr100,00 NON-LATIN numbers NUMBER FORMATTING Script Digits Used Latin 0 1 2 3 4 5 6 7 8 9 Arabic ٠‎ ١‎ ٢‎ ٣‎ ٤‎ ٥‎ ٦‎ ٧‎ ٨‎ ٩ Chinese / Japanese 〇 一 二 三 四 五 六 七 八 九 十… Hebrew א ,ב ,ג, ד, ה, ו, ז, ח ,ט… Korean 일 이 삼 사 오 육 칠 팔 구… The Korean regularly uses both a Sino-Korean system and a native Korean system. Everything that can be counted will use one of the two systems, but seldom both. 하나 둘 셋 넷 다섯 여섯 일곱 여덟 아홉…. Bengla ০ ১ ২ ৩ ৪ ৫ ৬ ৭ ৮ ৯ Devanagari (script used to write Hindi,Marathi, and other languages) ० १ २ ३ ४ ५ ६ ७ ८ ९ Gujarati ૦ ૧ ૨ ૩ ૪ ૫ ૬ ૭ ૮ ૯ Gurmukhi (one of the scripts used to write Punjabi) ੦ ੧ ੨ ੩ ੪ ੫ ੬ ੭ ੮ ੯ Kannada ೦ ೧ ೨ ೩ ೪ ೫ ೬ ೭ ೮ ೯ Malayalam ൦ ൧ ൨ ൩ ൪ ൫ ൬ ൭ ൮ ൯ Odia ୦ ୧ ୨ ୩ ୪ ୫ ୬ ୭ ୮ ୯ Tamil ௦ ௧ ௨ ௩ ௪ ௫ ௬ ௭ ௮ ௯ Telugu ౦ ౧ ౨ ౩ ౪ ౫ ౬ ౭ ౮ ౯ Thai ๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙ Tibetan ༠ ༡ ༢ ༣ ༤ ༥ ༦ ༧ ༨ ༩ FLOATING POINT the floating point precision issue (which in particular haunts anyone who reads long barcodes that aren't imported as integers): ``` val = "0.3066101993807095471566981359501369297504425048828125" print(float(val)) 0.30661019938070955 ``` NOT A NUMBER ``` "", "#N/A", "#N/A N/A", "#NA", "-1.#IND", "-1.#QNAN", "-NaN", "-nan", "1.#IND", "1.#QNAN", "<NA>", "N/A", "NA", "NULL", "NaN", "n/a", "nan", "null". "-", "--", "###" ``` Similar variation appears in datetime locale: ``` yyyy-mm-dd Canadian (English and French), Danish, German, Swedish dd.mm.yyyy Finnish dd.mm.yy Italian, Norwegian dd-mm-yy Spanish dd/mm/yy GB-English mm-dd-yy US-English dd/mm/yyyy Thai ``` And so for time: ``` 23:59 Canadian 23.59 Finnish 23.59 Uhr German Kl 23.59 Norwegian 11:59 PM Thai 11.59 PM UK english ``` TEXT ESCAPE Finally we also see newline characters in headers which the csv-reader cannot deal with. To detect the correct format of the example below multiple lines have to be read and the internal between newline and separators. These will also have to be text and bracket escaped. `Birthdate, (Family\nnames), Father, Mother, Child, known for\n1879-4-14, Einstein, Hermann, Pauline, Albert,"\nGeneral relativity,\nSpecial relativity,\nPhotoelectric effect"` See table in introduction as `ugly example` LINEBREAK very old files can have linebreaks \r \r\n or \n
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42479/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42479/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42480
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42480/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42480/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42480/events
https://github.com/pandas-dev/pandas/pull/42480
941,353,802
MDExOlB1bGxSZXF1ZXN0Njg3MjYwNjU0
42,480
REF: implement MultiIndex._get_indexer_level_0
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-11T01:42:25Z"
"2021-07-12T14:39:08Z"
"2021-07-12T13:06:38Z"
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/42480/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42480/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42480.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42480", "merged_at": "2021-07-12T13:06:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42480.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42480" }
https://api.github.com/repos/pandas-dev/pandas/issues/42481
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42481/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42481/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42481/events
https://github.com/pandas-dev/pandas/issues/42481
941,436,573
MDU6SXNzdWU5NDE0MzY1NzM=
42,481
BUG: pd.Series.rename does not return None with inplace=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/57575138?v=4", "events_url": "https://api.github.com/users/Omerdan03/events{/privacy}", "followers_url": "https://api.github.com/users/Omerdan03/followers", "following_url": "https://api.github.com/users/Omerdan03/following{/other_user}", "gists_url": "https://api.github.com/users/Omerdan03/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Omerdan03", "id": 57575138, "login": "Omerdan03", "node_id": "MDQ6VXNlcjU3NTc1MTM4", "organizations_url": "https://api.github.com/users/Omerdan03/orgs", "received_events_url": "https://api.github.com/users/Omerdan03/received_events", "repos_url": "https://api.github.com/users/Omerdan03/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Omerdan03/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Omerdan03/subscriptions", "type": "User", "url": "https://api.github.com/users/Omerdan03" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" }, { "color": "e99695", "default": false, "description": "", "id": 3498152761, "name": "rename", "node_id": "LA_kwDOAA0YD87QgZM5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/rename" }, { "color": "4530B5", "default": false, "description": "Relating to inplace parameter or equivalent", "id": 3498153567, "name": "inplace", "node_id": "LA_kwDOAA0YD87QgZZf", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/inplace" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
"2021-07-11T11:56:41Z"
"2021-10-29T02:13:05Z"
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 ser = pd.Series([1,2,3], name='ser1') f = ser.rename('ser2', inplace=True) ``` #### Problem description f should be None like other inplace functionality. instead f is Series object. [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> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.6.10.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-59-generic Version : #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.19.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.9 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 0.9.0 fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.53.1
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42481/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42481/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42482
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42482/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42482/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42482/events
https://github.com/pandas-dev/pandas/issues/42482
941,454,648
MDU6SXNzdWU5NDE0NTQ2NDg=
42,482
BUG: groupby with sort=False not respected for categorical data
{ "avatar_url": "https://avatars.githubusercontent.com/u/992522?v=4", "events_url": "https://api.github.com/users/dangillet/events{/privacy}", "followers_url": "https://api.github.com/users/dangillet/followers", "following_url": "https://api.github.com/users/dangillet/following{/other_user}", "gists_url": "https://api.github.com/users/dangillet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dangillet", "id": 992522, "login": "dangillet", "node_id": "MDQ6VXNlcjk5MjUyMg==", "organizations_url": "https://api.github.com/users/dangillet/orgs", "received_events_url": "https://api.github.com/users/dangillet/received_events", "repos_url": "https://api.github.com/users/dangillet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dangillet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dangillet/subscriptions", "type": "User", "url": "https://api.github.com/users/dangillet" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "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
2
"2021-07-11T13:36:06Z"
"2021-08-21T04:19:22Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python In [1]: import numpy as np ...: import pandas as pd In [2]: months = ['Jan', 'Feb', 'Mar', 'Apr'] ...: colors = ['Red', 'Green', 'Blue'] ...: directions = ['Up', 'Down'] In [3]: df = pd.DataFrame( ...: np.random.random(24), ...: index=pd.MultiIndex.from_product([months, pd.CategoricalIndex(colors), directions], names=['month', 'color', 'direction']), ...: columns=['value'] ...: ) In [4]: df.groupby(['month', 'color'], sort=False).sum() Out[4]: value month color Apr Blue 1.369042 Green 1.430864 Red 0.346581 Feb Blue 1.068234 Green 0.888100 Red 0.708154 Jan Blue 1.119714 Green 0.731628 Red 0.624529 Mar Blue 0.605137 Green 1.400212 Red 0.871417 ``` #### Problem description When grouping two columns with categorical data and using `sort=False`, the groups are sorted anyway. If the index was not Categorical, then the output is not sorted as expected. #### Expected Output I was hoping to get this output ```python Jan Red 0.624529 Green 0.731628 Blue 1.119714 Feb Red 0.708154 Green 0.888100 Blue 1.068234 Mar Red 0.871417 Green 1.400212 Blue 0.605137 Apr Red 0.346581 Green 1.430864 Blue 1.369042 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.11.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-77-generic Version : #86-Ubuntu SMP Thu Jun 17 02:35:03 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.3.0 numpy : 1.17.5 pytz : 2020.1 dateutil : 2.8.1 pip : 21.1.2 setuptools : 41.2.0 Cython : 0.29.21 pytest : 6.1.1 hypothesis : None sphinx : 3.3.1 blosc : 1.8.3 feather : None xlsxwriter : None lxml.etree : 4.4.3 html5lib : None pymysql : None psycopg2 : 2.7.7 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.14.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.4.1 gcsfs : None matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : 0.51.2 </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/42482/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42482/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42483
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42483/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42483/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42483/events
https://github.com/pandas-dev/pandas/pull/42483
941,477,243
MDExOlB1bGxSZXF1ZXN0Njg3MzUzMzM0
42,483
ENH: Styler.bar height control
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-07-11T15:29:21Z"
"2021-07-13T13:40:08Z"
"2021-07-13T12:02:03Z"
CONTRIBUTOR
null
- [x] closes #36419 - [x] tests added / passed - [x] whatsnew entry I originally thought the issue was too complicated to code for such a small feature, but turns out it was only one or two lines of coding, so I added it in. Quite a nice addition for visualisations I think. ![Screen Shot 2021-07-11 at 17 23 59](https://user-images.githubusercontent.com/24256554/125200903-309f7000-e26d-11eb-8ae8-1b12d83523e4.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42483/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42483/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42483.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42483", "merged_at": "2021-07-13T12:02:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42483.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42483" }
https://api.github.com/repos/pandas-dev/pandas/issues/42484
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42484/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42484/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42484/events
https://github.com/pandas-dev/pandas/pull/42484
941,506,298
MDExOlB1bGxSZXF1ZXN0Njg3Mzc1MzM5
42,484
Improve boolean indexing docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/29613918?v=4", "events_url": "https://api.github.com/users/madisonestabrook/events{/privacy}", "followers_url": "https://api.github.com/users/madisonestabrook/followers", "following_url": "https://api.github.com/users/madisonestabrook/following{/other_user}", "gists_url": "https://api.github.com/users/madisonestabrook/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/madisonestabrook", "id": 29613918, "login": "madisonestabrook", "node_id": "MDQ6VXNlcjI5NjEzOTE4", "organizations_url": "https://api.github.com/users/madisonestabrook/orgs", "received_events_url": "https://api.github.com/users/madisonestabrook/received_events", "repos_url": "https://api.github.com/users/madisonestabrook/repos", "site_admin": false, "starred_url": "https://api.github.com/users/madisonestabrook/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/madisonestabrook/subscriptions", "type": "User", "url": "https://api.github.com/users/madisonestabrook" }
[ { "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": "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
2
"2021-07-11T18:12:17Z"
"2021-08-17T02:46:38Z"
"2021-08-17T02:46:38Z"
NONE
null
- [ X] closes #42384 - [ 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/42484/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42484/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42484.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42484", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42484.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42484" }
https://api.github.com/repos/pandas-dev/pandas/issues/42485
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42485/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42485/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42485/events
https://github.com/pandas-dev/pandas/pull/42485
941,512,241
MDExOlB1bGxSZXF1ZXN0Njg3Mzc5ODk0
42,485
REF: implement Index._get_indexer_strict
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
"2021-07-11T18:50:11Z"
"2021-07-16T04:51:39Z"
"2021-07-15T23:54:03Z"
MEMBER
null
- [ ] closes #xxxx - [ ] 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 xref #27181, a couple more steps to get that all the way accomplished
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42485/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42485/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42485.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42485", "merged_at": "2021-07-15T23:54:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42485.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42485" }
https://api.github.com/repos/pandas-dev/pandas/issues/42486
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42486/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42486/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42486/events
https://github.com/pandas-dev/pandas/pull/42486
941,515,286
MDExOlB1bGxSZXF1ZXN0Njg3MzgyMDQx
42,486
REGR: to_dict(orient={"records", "split", "dict"}) slowdown
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
7
"2021-07-11T19:09:07Z"
"2021-07-12T12:46:59Z"
"2021-07-12T12:43:43Z"
MEMBER
null
- [x] closes #42352 - [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 Regression was due to each scalar value hitting `is_datetime_or_timedelta_dtype` -> `_is_dtype_type` where it falls most of the way through.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42486/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42486/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42486.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42486", "merged_at": "2021-07-12T12:43:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42486.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42486" }
https://api.github.com/repos/pandas-dev/pandas/issues/42487
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42487/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42487/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42487/events
https://github.com/pandas-dev/pandas/pull/42487
941,526,650
MDExOlB1bGxSZXF1ZXN0Njg3MzkwNjY5
42,487
CI: add back xfail for flaky chunksize test
{ "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": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "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-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
3
"2021-07-11T20:26:37Z"
"2021-07-12T02:21:56Z"
"2021-07-12T01:28:46Z"
MEMBER
null
This reverts the part of #42174 that (optimistically it turns out) removed the xfail for a `ResourceWarning` with the python parser.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42487/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42487/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42487.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42487", "merged_at": "2021-07-12T01:28:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42487.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42487" }
https://api.github.com/repos/pandas-dev/pandas/issues/42488
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42488/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42488/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42488/events
https://github.com/pandas-dev/pandas/pull/42488
941,560,388
MDExOlB1bGxSZXF1ZXN0Njg3NDE3MDAz
42,488
TYP: npt.NDarray
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-07-12T00:07:44Z"
"2021-07-14T15:15:57Z"
"2021-07-14T07:50:10Z"
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 cc @simonjayhawkins
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42488/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42488/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42488.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42488", "merged_at": "2021-07-14T07:50:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42488.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42488" }
https://api.github.com/repos/pandas-dev/pandas/issues/42489
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42489/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42489/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42489/events
https://github.com/pandas-dev/pandas/pull/42489
941,566,544
MDExOlB1bGxSZXF1ZXN0Njg3NDIyMjQy
42,489
Backport PR #42469 on branch 1.3.x (REGR: indexing with list subclass)
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-12T00:30:34Z"
"2021-07-12T01:26:47Z"
"2021-07-12T01:26:47Z"
NONE
null
Backport PR #42469: REGR: indexing with list subclass
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42489/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42489/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42489.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42489", "merged_at": "2021-07-12T01:26:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42489.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42489" }
https://api.github.com/repos/pandas-dev/pandas/issues/42490
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42490/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42490/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42490/events
https://github.com/pandas-dev/pandas/pull/42490
941,566,637
MDExOlB1bGxSZXF1ZXN0Njg3NDIyMzIx
42,490
Backport PR #42439 on branch 1.3.x (DOC: Refactor Numba enhancing performance and add parallelism caveat)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "5319e7", "default": false, "description": "numba-accelerated operations", "id": 2138993554, "name": "numba", "node_id": "MDU6TGFiZWwyMTM4OTkzNTU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-12T00:30:54Z"
"2021-07-12T01:27:14Z"
"2021-07-12T01:27:14Z"
NONE
null
Backport PR #42439: DOC: Refactor Numba enhancing performance and add parallelism caveat
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42490/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42490/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42490.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42490", "merged_at": "2021-07-12T01:27:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42490.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42490" }
https://api.github.com/repos/pandas-dev/pandas/issues/42491
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42491/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42491/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42491/events
https://github.com/pandas-dev/pandas/pull/42491
941,587,276
MDExOlB1bGxSZXF1ZXN0Njg3NDM5Nzcw
42,491
Backport PR #42487 on branch 1.3.x (CI: add back xfail for flaky chunksize test)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "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-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-12T01:28:55Z"
"2021-07-12T12:44:12Z"
"2021-07-12T12:44:11Z"
NONE
null
Backport PR #42487: CI: add back xfail for flaky chunksize 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/42491/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42491/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42491.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42491", "merged_at": "2021-07-12T12:44:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42491.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42491" }
https://api.github.com/repos/pandas-dev/pandas/issues/42492
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42492/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42492/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42492/events
https://github.com/pandas-dev/pandas/issues/42492
941,717,655
MDU6SXNzdWU5NDE3MTc2NTU=
42,492
DOC: Add updated docstring for examples of `by` argument in `df.plot.hist` and `df.plot.box`
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "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/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-12T06:29:12Z"
"2021-07-28T01:06:32Z"
"2021-07-28T01:06:32Z"
MEMBER
null
This is a follow-up of #28373
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42492/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42492/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42493
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42493/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42493/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42493/events
https://github.com/pandas-dev/pandas/pull/42493
941,745,695
MDExOlB1bGxSZXF1ZXN0Njg3NTczNzQz
42,493
⬆️ 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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-12T07:12:35Z"
"2021-07-12T13:42:33Z"
"2021-07-12T13:04:45Z"
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.13.0-py2.py3-none-any.whl (190 kB) Collecting cfgv>=2.0.0 Downloading cfgv-3.3.0-py2.py3-none-any.whl (7.3 kB) Collecting pyyaml>=5.1 Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB) Collecting identify>=1.0.0 Downloading identify-2.2.11-py2.py3-none-any.whl (98 kB) Collecting toml Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting virtualenv>=20.0.8 Downloading virtualenv-20.4.7-py2.py3-none-any.whl (7.2 MB) Collecting nodeenv>=0.11.1 Using cached nodeenv-1.6.0-py2.py3-none-any.whl (21 kB) Collecting filelock<4,>=3.0.0 Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting six<2,>=1.9.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting appdirs<2,>=1.4.3 Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting distlib<1,>=0.3.1 Downloading distlib-0.3.2-py2.py3-none-any.whl (338 kB) Installing collected packages: six, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit Successfully installed appdirs-1.4.4 cfgv-3.3.0 distlib-0.3.2 filelock-3.0.12 identify-2.2.11 nodeenv-1.6.0 pre-commit-2.13.0 pyyaml-5.4.1 six-1.16.0 toml-0.10.2 virtualenv-20.4.7 ``` </details> <details> <summary><em>pre-commit autoupdate || (exit 0);</em></summary> ```Shell Updating https://github.com/MarcoGorelli/absolufy-imports ... already up to date. Updating https://github.com/python/black ... [INFO] Initializing environment for 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 ... already up to date. Updating https://github.com/cpplint/cpplint ... [INFO] Initializing environment for https://github.com/cpplint/cpplint. already up to date. Updating https://gitlab.com/pycqa/flake8 ... already up to date. Updating https://github.com/PyCQA/isort ... [INFO] Initializing environment for https://github.com/PyCQA/isort. updating 5.9.1 -> 5.9.2. Updating https://github.com/asottile/pyupgrade ... [INFO] Initializing environment for https://github.com/asottile/pyupgrade. updating v2.20.0 -> v2.21.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] 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/cpplint/cpplint. [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... absolufy-imports...............................................................................Passed black..........................................................................................Passed codespell......................................................................................Passed Debug Statements (Python)......................................................................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 Unwanted patterns..............................................................................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 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/42493/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42493/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42493.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42493", "merged_at": "2021-07-12T13:04:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42493.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42493" }
https://api.github.com/repos/pandas-dev/pandas/issues/42494
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42494/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42494/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42494/events
https://github.com/pandas-dev/pandas/pull/42494
941,786,228
MDExOlB1bGxSZXF1ZXN0Njg3NjA3OTMw
42,494
Improved docstring and return type hints for `to_datetime`
{ "avatar_url": "https://avatars.githubusercontent.com/u/3236794?v=4", "events_url": "https://api.github.com/users/smarie/events{/privacy}", "followers_url": "https://api.github.com/users/smarie/followers", "following_url": "https://api.github.com/users/smarie/following{/other_user}", "gists_url": "https://api.github.com/users/smarie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smarie", "id": 3236794, "login": "smarie", "node_id": "MDQ6VXNlcjMyMzY3OTQ=", "organizations_url": "https://api.github.com/users/smarie/orgs", "received_events_url": "https://api.github.com/users/smarie/received_events", "repos_url": "https://api.github.com/users/smarie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smarie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smarie/subscriptions", "type": "User", "url": "https://api.github.com/users/smarie" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "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
14
"2021-07-12T08:05:57Z"
"2021-10-28T15:05:55Z"
null
CONTRIBUTOR
null
Improved (still not ideal) fix for #42229 (datetime parsing behaviour in case of multiple time offsets due to daylight-savings in timezones) following https://github.com/pandas-dev/pandas/pull/42244 See also https://github.com/pandas-dev/pandas/issues/42229#issuecomment-870009579
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42494/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42494/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42494.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42494", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42494.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42494" }
https://api.github.com/repos/pandas-dev/pandas/issues/42495
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42495/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42495/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42495/events
https://github.com/pandas-dev/pandas/pull/42495
941,786,573
MDExOlB1bGxSZXF1ZXN0Njg3NjA4MjE3
42,495
Omerdan03 bug pd.series.rename #42481
{ "avatar_url": "https://avatars.githubusercontent.com/u/57575138?v=4", "events_url": "https://api.github.com/users/Omerdan03/events{/privacy}", "followers_url": "https://api.github.com/users/Omerdan03/followers", "following_url": "https://api.github.com/users/Omerdan03/following{/other_user}", "gists_url": "https://api.github.com/users/Omerdan03/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Omerdan03", "id": 57575138, "login": "Omerdan03", "node_id": "MDQ6VXNlcjU3NTc1MTM4", "organizations_url": "https://api.github.com/users/Omerdan03/orgs", "received_events_url": "https://api.github.com/users/Omerdan03/received_events", "repos_url": "https://api.github.com/users/Omerdan03/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Omerdan03/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Omerdan03/subscriptions", "type": "User", "url": "https://api.github.com/users/Omerdan03" }
[ { "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": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" }, { "color": "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-07-12T08:06:20Z"
"2021-08-17T02:48:43Z"
"2021-08-17T02:48:43Z"
NONE
null
- [ ] closes #42481 - [ ] 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 https://github.com/pandas-dev/pandas/issues/42481
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42495/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42495/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42495.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42495", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42495.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42495" }
https://api.github.com/repos/pandas-dev/pandas/issues/42496
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42496/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42496/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42496/events
https://github.com/pandas-dev/pandas/pull/42496
941,834,794
MDExOlB1bGxSZXF1ZXN0Njg3NjQ4NzUx
42,496
CLN: renamed a test file
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-12T09:04:06Z"
"2021-07-12T13:45:40Z"
"2021-07-12T13:04:10Z"
CONTRIBUTOR
null
renamed a file called `test_align` since it tests `Styler.bar()` method in its entirety and not only the `align` 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/42496/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42496/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42496.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42496", "merged_at": "2021-07-12T13:04:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42496.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42496" }
https://api.github.com/repos/pandas-dev/pandas/issues/42497
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42497/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42497/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42497/events
https://github.com/pandas-dev/pandas/issues/42497
941,870,192
MDU6SXNzdWU5NDE4NzAxOTI=
42,497
BUG: Unable to multi column "complex" dates (file structure not yet supported)
{ "avatar_url": "https://avatars.githubusercontent.com/u/59912404?v=4", "events_url": "https://api.github.com/users/fugkco/events{/privacy}", "followers_url": "https://api.github.com/users/fugkco/followers", "following_url": "https://api.github.com/users/fugkco/following{/other_user}", "gists_url": "https://api.github.com/users/fugkco/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fugkco", "id": 59912404, "login": "fugkco", "node_id": "MDQ6VXNlcjU5OTEyNDA0", "organizations_url": "https://api.github.com/users/fugkco/orgs", "received_events_url": "https://api.github.com/users/fugkco/received_events", "repos_url": "https://api.github.com/users/fugkco/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fugkco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fugkco/subscriptions", "type": "User", "url": "https://api.github.com/users/fugkco" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
null
0
"2021-07-12T09:44:53Z"
"2021-08-21T04:20:12Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python from io import StringIO import pandas as pd data = """Date,Time,Value date,Product,ISIN,Description,FX,Change,,Balance,,Order Id 08-07-2021,04:33,07-07-2021,AAPL,,Dividend,,USD,0.97,USD,0.82, 09-07-2021,16:05,09-07-2021,Interest,LU0904784781,Buy 0.59 at 1 GBP,,,,GBP,109.53,""" fields_en = ( 'Date', 'Time', 'Value date', 'Product', 'ISIN', 'Description', 'FX', 'c_change', 'Change', # unknown 'c_balance', 'Balance', # unknown 'Order Id' ) def format_datetime(x): return pd.to_datetime(x, format='%d-%m-%Y %H:%M') if __name__ == '__main__': lines = data.splitlines(True) header = lines[0] del lines[0] lines = [header] + list(reversed(lines)) df = pd.read_csv( StringIO(''.join(lines)), encoding='utf-8', header=0, names=fields_en, parse_dates={'datetime': ['Date', 'Time']}, date_parser=format_datetime, ) ``` #### Problem description The above script produces following stack trace: ``` Traceback (most recent call last): File "/home/fugkco/tmp/beancount-degiro/venv/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 488, in _read return parser.read(nrows) File "/home/fugkco/tmp/beancount-degiro/venv/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1047, in read index, columns, col_dict = self._engine.read(nrows) File "/home/fugkco/tmp/beancount-degiro/venv/lib/python3.9/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 260, in read raise NotImplementedError("file structure not yet supported") NotImplementedError: file structure not yet supported ``` What's really odd is that adding a single new line at the end of this data, seems to fix the issue, i.e.: ``` data = """Date,Time,Value date,Product,ISIN,Description,FX,Change,,Balance,,Order Id 08-07-2021,04:33,07-07-2021,AAPL,,Dividend,,USD,0.97,USD,0.82, 09-07-2021,16:05,09-07-2021,Interest,LU0904784781,Buy 0.59 at 1 GBP,,,,GBP,109.53, """ ``` Does not produce the same exception. After investigating using a debugger, it seems that for reason I do not understand, not having the new line causes `_reader.leading_cols` to contain more than 0 columns, causing it to go into [this branch](https://github.com/pandas-dev/pandas/blob/d113a3ba559bccf285565aa934eefa2c2b5d0677/pandas/io/parsers/c_parser_wrapper.py#L258-L260). This seems odd behaviour, and it sounds to me like having a single newline or not at the end of the file shouldn't make a difference in the output. #### Expected Output No errors #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.9.5.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-7620-generic Version : #21~1624379747~21.04~3abeff8-Ubuntu SMP Wed Jun 23 02:34:03 UTC machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 20.3.4 setuptools : 44.1.1 Cython : None pytest : 6.2.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 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 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/42497/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42497/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42498
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42498/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42498/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42498/events
https://github.com/pandas-dev/pandas/pull/42498
941,882,226
MDExOlB1bGxSZXF1ZXN0Njg3Njg5NDE2
42,498
TYP/CLN: implicit re-export
{ "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": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-12T09:59:24Z"
"2021-07-12T13:21:29Z"
"2021-07-12T13:19:11Z"
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/42422#discussion_r665268898
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42498/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42498/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42498.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42498", "merged_at": "2021-07-12T13:19:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42498.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42498" }
https://api.github.com/repos/pandas-dev/pandas/issues/42499
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42499/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42499/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42499/events
https://github.com/pandas-dev/pandas/issues/42499
941,913,210
MDU6SXNzdWU5NDE5MTMyMTA=
42,499
ENH: Pandas ewm with fixed window / offset
{ "avatar_url": "https://avatars.githubusercontent.com/u/26452178?v=4", "events_url": "https://api.github.com/users/nrcjea001/events{/privacy}", "followers_url": "https://api.github.com/users/nrcjea001/followers", "following_url": "https://api.github.com/users/nrcjea001/following{/other_user}", "gists_url": "https://api.github.com/users/nrcjea001/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nrcjea001", "id": 26452178, "login": "nrcjea001", "node_id": "MDQ6VXNlcjI2NDUyMTc4", "organizations_url": "https://api.github.com/users/nrcjea001/orgs", "received_events_url": "https://api.github.com/users/nrcjea001/received_events", "repos_url": "https://api.github.com/users/nrcjea001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nrcjea001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nrcjea001/subscriptions", "type": "User", "url": "https://api.github.com/users/nrcjea001" }
[ { "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" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
open
false
null
[]
null
0
"2021-07-12T10:31:35Z"
"2021-08-21T04:20:44Z"
null
NONE
null
**Problem & Proposed feature** Pandas ewm function works similar to the pandas expanding function in that it rolls over the whole dataframe. In my case however, I need to specify a fixed window or offset over which the ewm function is applied. In other words, an ewm function with a cutoff that would work similar to the 'window' parameter in the pandas rolling function. **Alternatives considered** My workaround to the problem is as follows (however extremely inefficient): ``` df = pd.DataFrame({'a': np.random.randint(5, size=24), 'b': ["S", "A"] * 12, 'c': pd.date_range(start='1/1/2018', end='12/12/2018', freq='15D')}) df.groupby('b').rolling('60d', on='c')['a'].apply(lambda x: x.ewm(halflife='15d', times=x.index).mean().tail(1)) ``` In the example above, I am trying to do an exponentially-weighted moving average, where decay is specified in terms of halflife on a datetime column. The rolling apply ensures that the maximum offset is '60d' which is the feature I propose to be added directly in the ewm function. So in summary, I propose a window parameter to be introduced to the ewm function which limits the ewm calculation to a fixed window or offset.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42499/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42499/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42500
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42500/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42500/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42500/events
https://github.com/pandas-dev/pandas/pull/42500
941,914,634
MDExOlB1bGxSZXF1ZXN0Njg3NzE3MDE2
42,500
TYP/CLN: update setup.cfg
{ "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": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-12T10:33:21Z"
"2021-07-12T13:15:12Z"
"2021-07-12T13:03:45Z"
MEMBER
null
in #36092 a combination of a false positive from numpy and a mypy error outputing a Note for an ignored error meant that to get mypy green setup.cfg was modified. can now be removed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42500/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42500/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42500.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42500", "merged_at": "2021-07-12T13:03:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42500.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42500" }
https://api.github.com/repos/pandas-dev/pandas/issues/42501
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42501/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42501/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42501/events
https://github.com/pandas-dev/pandas/issues/42501
941,970,521
MDU6SXNzdWU5NDE5NzA1MjE=
42,501
BUG: extraneous copy of extension arrays in v1.3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/291289?v=4", "events_url": "https://api.github.com/users/gsakkis/events{/privacy}", "followers_url": "https://api.github.com/users/gsakkis/followers", "following_url": "https://api.github.com/users/gsakkis/following{/other_user}", "gists_url": "https://api.github.com/users/gsakkis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gsakkis", "id": 291289, "login": "gsakkis", "node_id": "MDQ6VXNlcjI5MTI4OQ==", "organizations_url": "https://api.github.com/users/gsakkis/orgs", "received_events_url": "https://api.github.com/users/gsakkis/received_events", "repos_url": "https://api.github.com/users/gsakkis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gsakkis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gsakkis/subscriptions", "type": "User", "url": "https://api.github.com/users/gsakkis" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4", "events_url": "https://api.github.com/users/jmcomie/events{/privacy}", "followers_url": "https://api.github.com/users/jmcomie/followers", "following_url": "https://api.github.com/users/jmcomie/following{/other_user}", "gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmcomie", "id": 1904716, "login": "jmcomie", "node_id": "MDQ6VXNlcjE5MDQ3MTY=", "organizations_url": "https://api.github.com/users/jmcomie/orgs", "received_events_url": "https://api.github.com/users/jmcomie/received_events", "repos_url": "https://api.github.com/users/jmcomie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions", "type": "User", "url": "https://api.github.com/users/jmcomie" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4", "events_url": "https://api.github.com/users/jmcomie/events{/privacy}", "followers_url": "https://api.github.com/users/jmcomie/followers", "following_url": "https://api.github.com/users/jmcomie/following{/other_user}", "gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmcomie", "id": 1904716, "login": "jmcomie", "node_id": "MDQ6VXNlcjE5MDQ3MTY=", "organizations_url": "https://api.github.com/users/jmcomie/orgs", "received_events_url": "https://api.github.com/users/jmcomie/received_events", "repos_url": "https://api.github.com/users/jmcomie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions", "type": "User", "url": "https://api.github.com/users/jmcomie" } ]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
12
"2021-07-12T11:39:24Z"
"2021-08-11T12:55:41Z"
"2021-08-11T12:55:41Z"
NONE
null
#### Code Sample, a copy-pastable example ```python import pandas as pd from pandas.core.arrays.integer import coerce_to_array class IntegerArrayNoCopy(pd.core.arrays.IntegerArray): @classmethod def _from_sequence(cls, scalars, *, dtype=None, copy=False): values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy) return IntegerArrayNoCopy(values, mask) def copy(self): raise NotImplementedError class Int16DtypeNoCopy(pd.Int16Dtype): @classmethod def construct_array_type(cls): return IntegerArrayNoCopy if __name__ == '__main__': df = pd.DataFrame({"col": [1, 4, None, 5]}, dtype=object) print(df.dtypes) df = df.astype({"col": Int16DtypeNoCopy()}, copy=False) print(df.dtypes) print(df) ``` #### Problem description In 1.3.0, `astype` attempts to create an extension array copy even when explicitly passed `copy=False`: ``` Traceback (most recent call last): File "test_astype.py", line 24, in <module> df = df.astype({"col": Int16DtypeNoCopy()}, copy=False) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/generic.py", line 5814, in astype result = concat(results, axis=1, copy=False) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, **kwargs) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 307, in concat return op.get_result() File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 508, in get_result df = cons(data, index=index) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/frame.py", line 614, in __init__ mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/internals/construction.py", line 458, in dict_to_mgr for x in arrays File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/internals/construction.py", line 458, in <listcomp> for x in arrays File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/generic.py", line 5924, in copy data = self._mgr.copy(deep=deep) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 595, in copy res = self.apply("copy", deep=deep) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 327, in apply applied = getattr(b, f)(**kwargs) File "/home/gsk/miniconda/envs/pdenv/lib/python3.7/site-packages/pandas/core/internals/blocks.py", line 651, in copy values = values.copy() File "test_astype.py", line 13, in copy raise NotImplementedError NotImplementedError ``` #### Expected Output 1.2.5 works as expected (at least for this example): ``` col object dtype: object col Int16 dtype: object col 0 1 1 4 2 <NA> 3 5 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.10.final.0 python-bits : 64 OS : Linux OS-release : 5.10.0-1029-oem Version : #30-Ubuntu SMP Fri May 28 23:53:50 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 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.7.0 jinja2 : 2.11.3 IPython : 7.20.0 fsspec : 2021.04.0 fastparquet : 0.5.0 matplotlib : 3.4.1 pyarrow : 4.0.1 s3fs : 2021.04.0 scipy : 1.6.0 xarray : 0.17.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/42501/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42501/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42502
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42502/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42502/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42502/events
https://github.com/pandas-dev/pandas/pull/42502
942,022,655
MDExOlB1bGxSZXF1ZXN0Njg3ODA5OTgy
42,502
Backport PR #42486 on branch 1.3.x (REGR: to_dict(orient={"records", "split", "dict"}) slowdown)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-12T12:43:54Z"
"2021-07-12T13:38:03Z"
"2021-07-12T13:38:03Z"
NONE
null
Backport PR #42486: REGR: to_dict(orient={"records", "split", "dict"}) slowdown
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42502/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42502/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42502.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42502", "merged_at": "2021-07-12T13:38:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42502.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42502" }
https://api.github.com/repos/pandas-dev/pandas/issues/42503
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42503/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42503/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42503/events
https://github.com/pandas-dev/pandas/pull/42503
942,041,730
MDExOlB1bGxSZXF1ZXN0Njg3ODI2MDI2
42,503
ENH - Improved error message for interpolating IntegerArrays (#41565)
{ "avatar_url": "https://avatars.githubusercontent.com/u/4079295?v=4", "events_url": "https://api.github.com/users/AartGoossens/events{/privacy}", "followers_url": "https://api.github.com/users/AartGoossens/followers", "following_url": "https://api.github.com/users/AartGoossens/following{/other_user}", "gists_url": "https://api.github.com/users/AartGoossens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AartGoossens", "id": 4079295, "login": "AartGoossens", "node_id": "MDQ6VXNlcjQwNzkyOTU=", "organizations_url": "https://api.github.com/users/AartGoossens/orgs", "received_events_url": "https://api.github.com/users/AartGoossens/received_events", "repos_url": "https://api.github.com/users/AartGoossens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AartGoossens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AartGoossens/subscriptions", "type": "User", "url": "https://api.github.com/users/AartGoossens" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" }, { "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
2
"2021-07-12T13:05:31Z"
"2021-09-14T03:23:43Z"
"2021-09-14T03:23:43Z"
NONE
null
- [X] closes #41565 ~~- [ ] 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 This PR improves the error message when trying to interpolate dtype integer with method="linear", as discussed in #41565.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42503/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42503/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42503.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42503", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42503.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42503" }
https://api.github.com/repos/pandas-dev/pandas/issues/42504
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42504/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42504/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42504/events
https://github.com/pandas-dev/pandas/pull/42504
942,116,665
MDExOlB1bGxSZXF1ZXN0Njg3ODkwMjk5
42,504
TST CLN: Styler bar tests cleanup 2/3
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
"2021-07-12T14:20:40Z"
"2021-07-12T16:55:09Z"
"2021-07-12T16:54:51Z"
CONTRIBUTOR
null
cleanup 2/3 of `style/test_bar.py`. Parametrises the tests for `vmin/vmax` clipping and widening, to test with different combinations of `align`. Also adds fixtures for existing tests in the file.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42504/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42504/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42504.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42504", "merged_at": "2021-07-12T16:54:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42504.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42504" }
https://api.github.com/repos/pandas-dev/pandas/issues/42505
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42505/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42505/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42505/events
https://github.com/pandas-dev/pandas/issues/42505
942,144,327
MDU6SXNzdWU5NDIxNDQzMjc=
42,505
BUG: Regression - AmbiguousTimeError creating DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/111939?v=4", "events_url": "https://api.github.com/users/kenahoo/events{/privacy}", "followers_url": "https://api.github.com/users/kenahoo/followers", "following_url": "https://api.github.com/users/kenahoo/following{/other_user}", "gists_url": "https://api.github.com/users/kenahoo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kenahoo", "id": 111939, "login": "kenahoo", "node_id": "MDQ6VXNlcjExMTkzOQ==", "organizations_url": "https://api.github.com/users/kenahoo/orgs", "received_events_url": "https://api.github.com/users/kenahoo/received_events", "repos_url": "https://api.github.com/users/kenahoo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kenahoo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kenahoo/subscriptions", "type": "User", "url": "https://api.github.com/users/kenahoo" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 47, "created_at": "2021-10-16T17:29:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-11-28T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/91", "id": 7259169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels", "node_id": "MI_kwDOAA0YD84AbsQh", "number": 91, "open_issues": 23, "state": "open", "title": "1.3.5", "updated_at": "2021-11-21T13:42:45Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91" }
14
"2021-07-12T14:50:03Z"
"2021-11-20T21:12:08Z"
"2021-11-20T21:12:08Z"
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 Pandas 1.25: ```python import pandas as pd dt = pd.to_datetime('2019-11-03 01:00:00-0700').tz_convert('America/Los_Angeles') pd.DataFrame({'dt': dt, 'value': [1]}) # dt value # 0 2019-11-03 01:00:00-07:00 1 ``` Pandas 1.3: ```python import pandas as pd dt = pd.to_datetime('2019-11-03 01:00:00-0700').tz_convert('America/Los_Angeles') pd.DataFrame({'dt': dt, 'value': [1]}) # File "pandas/_libs/tslibs/tzconversion.pyx", line 284, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc # pytz.exceptions.AmbiguousTimeError: Cannot infer dst time from 2019-11-03 01:00:00, try using the 'ambiguous' argument ``` #### Problem description The `dt` object already has a timezone attribute, so it shouldn't be converting/inferring at all. #### Expected Output 1.25 and 1.3.0 should have the same output. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f00ed8f47020034e752baf0250483053340971b0 python : 3.7.3.final.0 python-bits : 64 OS : Darwin OS-release : 20.5.0 Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.0 numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.2 setuptools : 57.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.0 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/42505/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42505/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42506
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42506/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42506/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42506/events
https://github.com/pandas-dev/pandas/issues/42506
942,147,458
MDU6SXNzdWU5NDIxNDc0NTg=
42,506
BUG: can't import pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/52776421?v=4", "events_url": "https://api.github.com/users/topekekere/events{/privacy}", "followers_url": "https://api.github.com/users/topekekere/followers", "following_url": "https://api.github.com/users/topekekere/following{/other_user}", "gists_url": "https://api.github.com/users/topekekere/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topekekere", "id": 52776421, "login": "topekekere", "node_id": "MDQ6VXNlcjUyNzc2NDIx", "organizations_url": "https://api.github.com/users/topekekere/orgs", "received_events_url": "https://api.github.com/users/topekekere/received_events", "repos_url": "https://api.github.com/users/topekekere/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topekekere/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topekekere/subscriptions", "type": "User", "url": "https://api.github.com/users/topekekere" }
[ { "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": "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
[]
{ "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" }
27
"2021-07-12T14:53:27Z"
"2021-09-07T16:28:56Z"
"2021-08-12T12:41:12Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd ``` #### Problem description [I am just trying to import pandas to run my notebook and it is throwing this error ```-------------------------------------- ImportErrorTraceback (most recent call last) <ipython-input-1-f20def6a2be1> in <module> 1 import numpy as np ----> 2 import pandas as pd ~/anaconda3/lib/python3.8/site-packages/pandas/__init__.py in <module> 142 from pandas.util._print_versions import show_versions 143 --> 144 from pandas.io.api import ( 145 # excel 146 ExcelFile, ~/anaconda3/lib/python3.8/site-packages/pandas/io/api.py in <module> 6 7 from pandas.io.clipboards import read_clipboard ----> 8 from pandas.io.excel import ExcelFile, ExcelWriter, read_excel 9 from pandas.io.feather_format import read_feather 10 from pandas.io.gbq import read_gbq ~/anaconda3/lib/python3.8/site-packages/pandas/io/excel/__init__.py in <module> ----> 1 from pandas.io.excel._base import ExcelFile, ExcelWriter, read_excel 2 from pandas.io.excel._odswriter import ODSWriter as _ODSWriter 3 from pandas.io.excel._openpyxl import OpenpyxlWriter as _OpenpyxlWriter 4 from pandas.io.excel._util import register_writer 5 from pandas.io.excel._xlsxwriter import XlsxWriter as _XlsxWriter ~/anaconda3/lib/python3.8/site-packages/pandas/io/excel/_base.py in <module> 31 pop_header_name, 32 ) ---> 33 from pandas.io.parsers import TextParser 34 35 _read_excel_doc = ( ~/anaconda3/lib/python3.8/site-packages/pandas/io/parsers/__init__.py in <module> ----> 1 from pandas.io.parsers.readers import ( 2 TextFileReader, 3 TextParser, 4 read_csv, 5 read_fwf, ~/anaconda3/lib/python3.8/site-packages/pandas/io/parsers/readers.py in <module> 15 import pandas._libs.lib as lib 16 from pandas._libs.parsers import STR_NA_VALUES ---> 17 from pandas._typing import ( 18 ArrayLike, 19 DtypeArg, ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (/home/tope/anaconda3/lib/python3.8/site-packages/pandas/_typing.py)```] #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``-------------------------------------- NameErrorTraceback (most recent call last) <ipython-input-4-3d232a07e144> in <module> ----> 1 pd.show_versions() NameError: name 'pd' is not defined`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42506/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42506/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42507
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42507/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42507/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42507/events
https://github.com/pandas-dev/pandas/pull/42507
942,209,991
MDExOlB1bGxSZXF1ZXN0Njg3OTY5OTM3
42,507
CLN: remove deprecated sqlite cursor
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-07-12T16:01:16Z"
"2021-07-13T12:04:18Z"
"2021-07-13T12:04:14Z"
MEMBER
null
some cleanup before update the SQL module for sqlalchemy 2.0.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42507/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42507/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42507.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42507", "merged_at": "2021-07-13T12:04:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42507.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42507" }
https://api.github.com/repos/pandas-dev/pandas/issues/42508
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42508/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42508/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42508/events
https://github.com/pandas-dev/pandas/pull/42508
942,225,081
MDExOlB1bGxSZXF1ZXN0Njg3OTgyODM0
42,508
read_excel() modifies provided types dict when accessing file with duplicate column
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2021-08-15T12:34:44Z", "closed_issues": 90, "created_at": "2021-07-23T08:57:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-08-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/88", "id": 6998423, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels", "node_id": "MI_kwDOAA0YD84AasmX", "number": 88, "open_issues": 0, "state": "closed", "title": "1.3.2", "updated_at": "2021-08-28T18:34:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88" }
12
"2021-07-12T16:17:21Z"
"2021-08-05T04:02:43Z"
"2021-08-04T21:55:15Z"
CONTRIBUTOR
null
- [x] closes #42462 - [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/42508/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42508/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42508.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42508", "merged_at": "2021-08-04T21:55:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42508.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42508" }
https://api.github.com/repos/pandas-dev/pandas/issues/42509
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42509/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42509/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42509/events
https://github.com/pandas-dev/pandas/issues/42509
942,251,390
MDU6SXNzdWU5NDIyNTEzOTA=
42,509
ENH: PyPy Support
{ "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": "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": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "fbca04", "default": false, "description": "High level tracker for similar issues", "id": 183784729, "name": "Master Tracker", "node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker" }, { "color": "207de5", "default": false, "description": "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
[]
{ "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-07-12T16:52:17Z"
"2021-08-24T15:46:54Z"
null
MEMBER
null
Tracker for getting PyPy support - [ ] Add PyPy wheels on MacPython/pandas-wheels and get them on PyPI(we have them already on conda-forge) - ~~We can probably add this for 1.3.1.~~ - Actually, it will probably be easier to add after 1.3.1, since 1.3.1 includes a fix for the PyPy build. - [ ] Add whatsnew, putting PyPy as experimentally supported. - [ ] Testing/CI on master(requires PyPy to release a python 3.8 version), allow failures on this build - [ ] Xfail failing tests, and remove allowing failures on this build - [ ] Move out of experimental support.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42509/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42509/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42510
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42510/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42510/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42510/events
https://github.com/pandas-dev/pandas/pull/42510
942,265,731
MDExOlB1bGxSZXF1ZXN0Njg4MDE3NDUx
42,510
TST CLN: test_bar.py cleanup 3/3: NaN cases
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
"2021-07-12T17:09:13Z"
"2021-07-13T05:49:33Z"
"2021-07-12T20:08:44Z"
CONTRIBUTOR
null
last cleanup to test_bar.py. This removes the NaN test cases and adds it as parameter to an existing 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/42510/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42510/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42510.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42510", "merged_at": "2021-07-12T20:08:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42510.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42510" }
https://api.github.com/repos/pandas-dev/pandas/issues/42511
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42511/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42511/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42511/events
https://github.com/pandas-dev/pandas/pull/42511
942,277,891
MDExOlB1bGxSZXF1ZXN0Njg4MDI4MjYx
42,511
ENH: validate the argument `width` on `Styler.bar`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-07-12T17:22:43Z"
"2021-07-14T05:09:21Z"
"2021-07-13T22:56:26Z"
CONTRIBUTOR
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/42511/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42511/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42511.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42511", "merged_at": "2021-07-13T22:56:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42511.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42511" }
https://api.github.com/repos/pandas-dev/pandas/issues/42512
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42512/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42512/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42512/events
https://github.com/pandas-dev/pandas/issues/42512
942,447,014
MDU6SXNzdWU5NDI0NDcwMTQ=
42,512
BUG: ArrayManager changes Series.to_frame() from view to copy
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" }, { "color": "1d76db", "default": false, "description": "", "id": 3165546917, "name": "ArrayManager", "node_id": "MDU6TGFiZWwzMTY1NTQ2OTE3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ArrayManager" } ]
open
false
null
[]
null
0
"2021-07-12T21:04:43Z"
"2021-07-13T16:23:37Z"
null
MEMBER
null
``` ser = pd.Series(range(5)) df = ser.to_frame() ser._mgr.arrays[0][0] = 10 >>> df.iloc[0, 0] 0 # <-- ArrayManager 10 # <-- BlockManager ``` 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/42512/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42512/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42513
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42513/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42513/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42513/events
https://github.com/pandas-dev/pandas/pull/42513
942,457,078
MDExOlB1bGxSZXF1ZXN0Njg4MTg0MTcz
42,513
Backport PR #42464 on branch 1.3.x (BUG: `to_xml` with `index=False` and offset input index)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "1d76db", "default": false, "description": "read_xml, to_xml", "id": 2707590670, "name": "IO XML", "node_id": "MDU6TGFiZWwyNzA3NTkwNjcw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20XML" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-12T21:18:17Z"
"2021-07-13T10:17:12Z"
"2021-07-13T10:17:12Z"
NONE
null
Backport PR #42464: BUG: `to_xml` with `index=False` and offset input 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/42513/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42513/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42513.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42513", "merged_at": "2021-07-13T10:17:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42513.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42513" }
https://api.github.com/repos/pandas-dev/pandas/issues/42514
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42514/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42514/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42514/events
https://github.com/pandas-dev/pandas/issues/42514
943,022,984
MDU6SXNzdWU5NDMwMjI5ODQ=
42,514
QST: is both an index level and a column label, which is ambiguous. + None of ['_ITEM'] are in the columns + KeyError
{ "avatar_url": "https://avatars.githubusercontent.com/u/29339330?v=4", "events_url": "https://api.github.com/users/maifeeulasad/events{/privacy}", "followers_url": "https://api.github.com/users/maifeeulasad/followers", "following_url": "https://api.github.com/users/maifeeulasad/following{/other_user}", "gists_url": "https://api.github.com/users/maifeeulasad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/maifeeulasad", "id": 29339330, "login": "maifeeulasad", "node_id": "MDQ6VXNlcjI5MzM5MzMw", "organizations_url": "https://api.github.com/users/maifeeulasad/orgs", "received_events_url": "https://api.github.com/users/maifeeulasad/received_events", "repos_url": "https://api.github.com/users/maifeeulasad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/maifeeulasad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/maifeeulasad/subscriptions", "type": "User", "url": "https://api.github.com/users/maifeeulasad" }
[ { "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" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
2
"2021-07-13T09:03:29Z"
"2021-07-16T13:18:41Z"
"2021-07-16T13:18:41Z"
NONE
null
- [x] 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) - [x] Asked on GIS StackExchange: https://gis.stackexchange.com/q/403762/155601 --- #### 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. I'm trying to process some data, with geopandas0.9 which uses geopandas. And I've `pandas==1.2.5` Here is my code: ``` locations = select_polygons.groupby(class_col).apply(lambda x: \ sample_locations_from_polygon(x, sample_on_boundary='road' in x[class_col].iloc[0].lower() or 'railway' in x[class_col].iloc[0].lower())) return locations ``` Here `class_col="ITEM"` It gives me error saying: **`ValueError: 'ITEM' is both an index level and a column label, which is ambiguous.`** Couldn't paste it here, due to it's extensive size. How can I resolve this? I'm fresh in GIS. I've tried this: ``` class_col='_ITEM' locations = select_polygons.groupby(class_col).apply(lambda x: \ sample_locations_from_polygon(x, sample_on_boundary='road' in x[class_col].iloc[0].lower() or 'railway' in x[class_col].iloc[0].lower())) return locations ``` Then it says: **`KeyError: '_ITEM'`** I've also tried setting the index, manually ``` select_polygons.set_index('_ITEM') ``` But that raises another error, saying: **`"None of ['_ITEM'] are in the columns"`** And the data looks like this: ``` CITIES LUZ_OR_CIT CODE ITEM PROD_DATE SHAPE_LEN SHAPE_AREA geometry samples ITEM Agricultural + Semi-natural areas + Wetlands 45607 Aalborg DK004L 20000 Agricultural + Semi-natural areas + Wetlands 2011 5.983639 0.633446 POLYGON ((9.52711 57.15122, 9.52715 57.15108, 9.52716 57.15102, 9.52727 57.15060, 9.52727 57.15060, 9.52742 57.15011, 9.52758 57.14955, 9.52758 57.14955, 9.52771 57.14918, 9.52771 57.14918, 9.52771 57.14918, 9.52779 57.14897, 9.52780 57.14897, 9.52780 57.14896, 9.52780 57.14896, 9.52784 57.14889, 9.52785 57.14888, 9.52785 57.14888, 9.52785 57.14888, 9.52785 57.14888, 9.52808 57.14866, 9.52808 57.14866, 9.52809 57.14866, 9.52809 57.14866, 9.52870 57.14825, 9.52967 57.14760, 9.52972 57.14757, 9.52974 57.14754, 9.52982 57.14744, 9.53068 57.14491, 9.52965 57.14476, 9.52960 57.14476, 9.52895 57.14648, 9.52805 57.14646, 9.52816 57.14607, 9.52702 57.14596, 9.52726 57.14486, 9.52748 57.14471, 9.52862 57.14473, 9.52866 57.14448, 9.52860 57.14445, 9.52859 57.14445, 9.52859 57.14445, 9.52859 57.14445, 9.52859 57.14445, 9.52858 57.14445, 9.52858 57.14445, 9.52848 57.14437, 9.52847 57.14437, 9.52832 57.14448, 9.52832 57.14448, 9.52831 57.14448, 9.52831 57.14448, 9.52831 57.14448, 9.52831 57.14448, 9.52830 57.14448, 9.52830 57.14448, 9.52830 57.14448, 9.52817 57.14452, 9.52817 57.14452, 9.52816 57.14452, 9.52816 57.14452, 9.52816 57.14452, 9.52815 57.14452, 9.52815 57.14452, 9.52815 57.14452, 9.52803 57.14452, 9.52803 57.14452, 9.52803 57.14452, 9.52803 57.14452, 9.52802 57.14452, 9.52802 57.14452, 9.52802 57.14452, 9.52784 57.14450, 9.52784 57.14450, 9.52784 57.14450, 9.52784 57.14450, 9.52783 57.14450, 9.52783 57.14450, 9.52771 57.14447, 9.52771 57.14447, 9.52771 57.14447, 9.52770 57.14447, 9.52770 57.14446, 9.52770 57.14446, 9.52770 57.14446, 9.52769 57.14446, 9.52769 57.14446, 9.52769 57.14446, 9.52764 57.14442, 9.52764 57.14441, 9.52764 57.14441, 9.52764 57.14441, 9.52764 57.14441, 9.52764 57.14441, 9.52763 57.14441, 9.52763 57.14441, 9.52762 57.14437, 9.52762 57.14437, 9.52762 57.14436, 9.52762 57.14436, 9.52762 57.14436, 9.52762 57.14436, 9.52762 57.14436, 9.52802 57.14316, 9.52806 57.14305, 9.52732 57.14299, 9.52705 57.14298, 9.52703 57.14298, 9.52682 57.14297, 9.52670 57.14335, 9.52736 57.14344, 9.52701 57.14434, 9.52625 57.14429, 9.52649 57.14359, 9.52655 57.14354, 9.52654 57.14351, 9.52654 57.14351, 9.52654 57.14351, 9.52654 57.14351, 9.52654 57.14351, 9.52655 57.14351, 9.52672 57.14296, 9.52620 57.14294, 9.52482 57.14289, 9.52465 57.14338, 9.52549 57.14344, 9.52528 57.14391, 9.52465 57.14393, 9.52433 57.14479, 9.52361 57.14462, 9.52315 57.14427, 9.52216 57.14428, 9.52237 57.14381, 9.52317 57.14385, 9.52321 57.14383, 9.52355 57.14284, 9.52233 57.14279, 9.52027 57.14270, 9.51999 57.14323, 9.51918 57.14315, 9.51941 57.14266, 9.51915 57.14265, 9.51813 57.14261, 9.51796 57.14310, 9.51796 57.14310, 9.51700 57.14588, 9.51700 57.14588, 9.51700 57.14589, 9.51695 57.14599, 9.51695 57.14599, 9.51695 57.14599, 9.51695 57.14599, 9.51691 57.14605, 9.51690 57.14605, 9.51690 57.14605, 9.51678 57.14621, 9.51677 57.14621, 9.51677 57.14621, 9.51662 57.14637, 9.51660 57.14642, 9.51657 57.14653, 9.51645 57.14760, 9.51645 57.14760, 9.51636 57.14830, 9.51630 57.14879, 9.51630 57.14879, 9.51630 57.14879, 9.51630 57.14879, 9.51630 57.14879, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51626 57.14885, 9.51626 57.14885, 9.51634 57.14885, 9.51634 57.14885, 9.51634 57.14885, 9.51634 57.14885, 9.51661 57.14886, 9.51661 57.14886, 9.51661 57.14886, 9.51710 57.14890, 9.51711 57.14890, 9.51711 57.14890, 9.51876 57.14908, 9.51917 57.14913, 9.51927 57.14913, 9.51935 57.14912, 9.51943 57.14911, 9.52013 57.14888, 9.52013 57.14888, 9.52013 57.14888, 9.52013 57.14888, 9.52014 57.14888, 9.52014 57.14888, 9.52014 57.14888, 9.52015 57.14888, 9.52015 57.14888, 9.52015 57.14888, 9.52016 57.14888, 9.52016 57.14888, 9.52016 57.14888, 9.52017 57.14888, 9.52017 57.14888, 9.52017 57.14888, 9.52017 57.14888, 9.52018 57.14888, 9.52033 57.14853, 9.52155 57.14863, 9.52138 57.14907, 9.52014 57.14897, 9.52015 57.14894, 9.51947 57.14916, 9.51947 57.14916, 9.51947 57.14916, 9.51947 57.14916, 9.51947 57.14916, 9.51946 57.14916, 9.51937 57.14917, 9.51937 57.14917, 9.51937 57.14918, 9.51936 57.14918, 9.51936 57.14918, 9.51927 57.14918, 9.51927 57.14918, 9.51927 57.14918, 9.51917 57.14918, 9.51916 57.14918, 9.51916 57.14918, 9.51916 57.14918, 9.51874 57.14914, 9.51874 57.14914, 9.51874 57.14914, 9.51709 57.14896, 9.51660 57.14891, 9.51634 57.14890, 9.51613 57.14890, 9.51559 57.14896, 9.51532 57.14901, 9.51528 57.14903, 9.51541 57.14914, 9.51541 57.14914, 9.51542 57.14914, 9.51548 57.14921, 9.51548 57.14921, 9.51548 57.14922, 9.51549 57.14922, 9.51555 57.14931, 9.51555 57.14931, 9.51555 57.14931, 9.51607 57.15033, 9.51607 57.15033, 9.51607 57.15033, 9.51607 57.15033, 9.51611 57.15044, 9.51712 57.15052, 9.51686 57.15118, 9.51722 57.15119, 9.51722 57.15119, 9.51722 57.15119, 9.51824 57.15124, 9.51857 57.15124, 9.51852 57.15073, 9.51955 57.15078, 9.51940 57.15122, 9.52014 57.15119, 9.52147 57.15115, 9.52148 57.15115, 9.52164 57.15114, 9.52164 57.15114, 9.52164 57.15114, 9.52165 57.15114, 9.52165 57.15114, 9.52176 57.15115, 9.52176 57.15115, 9.52176 57.15115, 9.52177 57.15115, 9.52195 57.15119, 9.52195 57.15119, 9.52195 57.15119, 9.52196 57.15119, 9.52196 57.15119, 9.52196 57.15119, 9.52211 57.15124, 9.52212 57.15124, 9.52212 57.15124, 9.52212 57.15124, 9.52295 57.15162, 9.52310 57.15167, 9.52331 57.15173, 9.52482 57.15201, 9.52482 57.15201, 9.52482 57.15201, 9.52513 57.15208, 9.52513 57.15208, 9.52513 57.15208, 9.52513 57.15208, 9.52527 57.15213, 9.52527 57.15213, 9.52527 57.15213, 9.52527 57.15213, 9.52538 57.15217, 9.52538 57.15218, 9.52538 57.15218, 9.52539 57.15218, 9.52539 57.15218, 9.52543 57.15221, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52547 57.15215, 9.52547 57.15215, 9.52547 57.15214, 9.52548 57.15214, 9.52548 57.15214, 9.52548 57.15214, 9.52553 57.15210, 9.52553 57.15210, 9.52553 57.15210, 9.52554 57.15210, 9.52554 57.15210, 9.52554 57.15210, 9.52668 57.15167, 9.52684 57.15159, 9.52693 57.15153, 9.52701 57.15145, 9.52706 57.15139, 9.52711 57.15122)) 1 44563 Aalborg DK004L 20000 Agricultural + Semi-natural areas + Wetlands 2011 2.983306 0.287320 POLYGON ((9.35536 57.06600, 9.35698 57.06564, 9.35655 57.06460, 9.35552 57.06487, 9.35515 57.06430, 9.35629 57.06399, 9.35581 57.06288, 9.35577 57.06285, 9.35574 57.06283, 9.35568 57.06282, 9.35562 57.06281, 9.35552 57.06281, 9.35480 57.06291, 9.35480 57.06291, 9.35480 57.06291, 9.35480 57.06291, 9.35479 57.06291, 9.35479 57.06291, 9.35479 57.06291, 9.35466 57.06290, 9.35466 57.06290, 9.35465 57.06290, 9.35465 57.06290, 9.35465 57.06290, 9.35456 57.06289, 9.35455 57.06289, 9.35455 57.06289, 9.35455 57.06289, 9.35455 57.06289, 9.35446 57.06286, 9.35446 57.06286, 9.35446 57.06286, 9.35445 57.06286, 9.35445 57.06286, 9.35445 57.06286, 9.35437 57.06282, 9.35437 57.06282, 9.35436 57.06281, 9.35436 57.06281, 9.35436 57.06281, 9.35430 57.06276, 9.35429 57.06276, 9.35429 57.06276, 9.35429 57.06276, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06268, 9.35419 57.06262, 9.35386 57.06193, 9.35369 57.06170, 9.35358 57.06172, 9.35358 57.06172, 9.35358 57.06172, 9.35060 57.06226, 9.35060 57.06226, 9.35060 57.06226, 9.34992 57.06236, 9.34991 57.06236, 9.34958 57.06240, 9.34958 57.06240, 9.34958 57.06240, 9.34893 57.06244, 9.34893 57.06244, 9.34893 57.06244, 9.34810 57.06248, 9.34810 57.06248, 9.34809 57.06248, 9.34809 57.06248, 9.34744 57.06247, 9.34744 57.06247, 9.34744 57.06247, 9.34683 57.06243, 9.34689 57.06264, 9.34709 57.06336, 9.34710 57.06336, 9.34710 57.06336, 9.34710 57.06336, 9.34710 57.06336, 9.34710 57.06337, 9.34709 57.06337, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06342, 9.34708 57.06342, 9.34707 57.06342, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34703 57.06345, 9.34703 57.06345, 9.34703 57.06345, 9.34703 57.06345, 9.34697 57.06346, 9.34697 57.06346, 9.34697 57.06346, 9.34696 57.06346, 9.34696 57.06346, 9.34696 57.06346, 9.34622 57.06354, 9.34622 57.06354, 9.34575 57.06358, 9.34592 57.06440, 9.34498 57.06452, 9.34514 57.06508, 9.34416 57.06514, 9.34378 57.06449, 9.34349 57.06452, 9.34349 57.06455, 9.34349 57.06455, 9.34349 57.06455, 9.34351 57.06476, 9.34351 57.06476, 9.34351 57.06476, 9.34351 57.06494, 9.34351 57.06494, 9.34334 57.06652, 9.34362 57.06650, 9.34362 57.06650, 9.34362 57.06650, 9.34454 57.06647, 9.34508 57.06645, 9.34508 57.06645, 9.35154 57.06627, 9.35154 57.06627, 9.35295 57.06624, 9.35370 57.06622, 9.35455 57.06613, 9.35536 57.06600), (9.35293 57.06539, 9.35376 57.06521, 9.35413 57.06566, 9.35361 57.06599, 9.35324 57.06592, 9.35293 57.06539)) 1 47873 Aalborg DK004L 20000 Agricultural + Semi-natural areas + Wetlands 2011 4.254965 0.586887 POLYGON ((10.22571 57.39005, 10.22584 57.38836, 10.22584 57.38836, 10.22584 57.38836, 10.22611 57.38573, 10.22611 57.38573, 10.22416 57.38563, 10.22415 57.38521, 10.22414 57.38505, 10.22378 57.38504, 10.22321 57.38504, 10.22321 57.38504, 10.22138 57.38503, 10.22125 57.38504, 10.22116 57.38506, 10.22094 57.38514, 10.22077 57.38521, 10.22077 57.38521, 10.22077 57.38521, 10.22076 57.38521, 10.22076 57.38521, 10.22067 57.38524, 10.22067 57.38524, 10.22067 57.38524, 10.22067 57.38524, 10.22055 57.38526, 10.22055 57.38526, 10.22054 57.38526, 10.22054 57.38526, 10.22054 57.38526, 10.22044 57.38526, 10.22044 57.38526, 10.22043 57.38526, 10.22043 57.38526, 10.22043 57.38526, 10.22043 57.38526, 10.22042 57.38526, 10.22042 57.38526, 10.22042 57.38526, 10.22041 57.38526, 10.22041 57.38526, 10.22032 57.38524, 10.22032 57.38524, 10.22032 57.38524, 10.22032 57.38524, 10.22031 57.38524, 10.22031 57.38523, 10.22031 57.38523, 10.22024 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22011 57.38504, 10.22007 57.38501, 10.22001 57.38499, 10.21964 57.38494, 10.21939 57.38491, 10.21938 57.38491, 10.21938 57.38491, 10.21921 57.38488, 10.21724 57.38456, 10.21724 57.38456, 10.21724 57.38456, 10.21680 57.38447, 10.21638 57.38440, 10.21638 57.38440, 10.21638 57.38440, 10.21494 57.38410, 10.21494 57.38410, 10.21494 57.38410, 10.21494 57.38410, 10.21494 57.38410, 10.21485 57.38407, 10.21485 57.38407, 10.21485 57.38407, 10.21484 57.38407, 10.21484 57.38407, 10.21484 57.38407, 10.21484 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21479 57.38400, 10.21479 57.38400, 10.21479 57.38400, 10.21478 57.38400, 10.21460 57.38359, 10.21460 57.38359, 10.21443 57.38318, 10.21443 57.38318, 10.21443 57.38318, 10.21407 57.38227, 10.21347 57.38245, 10.21375 57.38273, 10.21418 57.38299, 10.21259 57.38375, 10.21206 57.38385, 10.21144 57.38311, 10.21134 57.38299, 10.21072 57.38313, 10.21028 57.38325, 10.20731 57.38411, 10.20731 57.38411, 10.20730 57.38411, 10.20431 57.38488, 10.20439 57.38495, 10.20476 57.38561, 10.20503 57.38597, 10.20554 57.38585, 10.20600 57.38590, 10.20636 57.38601, 10.20668 57.38629, 10.20697 57.38639, 10.20704 57.38658, 10.20652 57.38666, 10.20610 57.38668, 10.20582 57.38668, 10.20562 57.38701, 10.20570 57.38743, 10.20617 57.38769, 10.20709 57.38794, 10.20737 57.38781, 10.20736 57.38760, 10.20718 57.38747, 10.20742 57.38726, 10.20830 57.38729, 10.20858 57.38725, 10.20854 57.38698, 10.20875 57.38696, 10.20957 57.38724, 10.21287 57.38814, 10.21415 57.38835, 10.21549 57.38842, 10.21567 57.38860, 10.21543 57.38876, 10.21547 57.38893, 10.21614 57.38907, 10.21695 57.38905, 10.21694 57.38936, 10.21988 57.38943, 10.21988 57.38943, 10.21988 57.38943, 10.22112 57.38947, 10.22162 57.38947, 10.22162 57.38947, 10.22162 57.38947, 10.22162 57.38947, 10.22195 57.38950, 10.22195 57.38950, 10.22257 57.38955, 10.22305 57.38960, 10.22306 57.38960, 10.22306 57.38960, 10.22338 57.38964, 10.22338 57.38964, 10.22394 57.38971, 10.22394 57.38971, 10.22394 57.38971, 10.22456 57.38981, 10.22456 57.38981, 10.22456 57.38981, 10.22519 57.38993, 10.22519 57.38993, 10.22519 57.38993, 10.22570 57.39004, 10.22571 57.39005)) 1 43727 Aalborg DK004L 20000 Agricultural + Semi-natural areas + Wetlands 2011 2.318143 0.291429 POLYGON ((9.73713 56.96362, 9.73713 56.96362, 9.73713 56.96362, 9.73780 56.96362, 9.73829 56.96360, 9.73874 56.96358, 9.74029 56.96351, 9.74042 56.96350, 9.74036 56.96263, 9.74036 56.96263, 9.74028 56.96143, 9.74008 56.95815, 9.73994 56.95812, 9.73994 56.95812, 9.73947 56.95799, 9.73920 56.95793, 9.73877 56.95785, 9.73846 56.95780, 9.73818 56.95776, 9.73656 56.95751, 9.73492 56.95727, 9.73451 56.95770, 9.73450 56.95799, 9.73467 56.95806, 9.73472 56.95821, 9.73468 56.95837, 9.73446 56.95848, 9.73401 56.95848, 9.73391 56.95894, 9.73325 56.95890, 9.73317 56.95889, 9.73313 56.95910, 9.73311 56.95929, 9.73312 56.95943, 9.73315 56.95959, 9.73335 56.96018, 9.73335 56.96018, 9.73335 56.96018, 9.73338 56.96032, 9.73338 56.96032, 9.73338 56.96033, 9.73338 56.96043, 9.73338 56.96044, 9.73338 56.96044, 9.73338 56.96044, 9.73335 56.96056, 9.73335 56.96056, 9.73335 56.96057, 9.73335 56.96057, 9.73329 56.96069, 9.73329 56.96069, 9.73329 56.96069, 9.73329 56.96069, 9.73311 56.96093, 9.73311 56.96093, 9.73311 56.96093, 9.73275 56.96143, 9.73275 56.96143, 9.73275 56.96143, 9.73233 56.96196, 9.73169 56.96276, 9.73109 56.96351, 9.73130 56.96351, 9.73223 56.96346, 9.73258 56.96344, 9.73258 56.96344, 9.73258 56.96344, 9.73258 56.96344, 9.73285 56.96344, 9.73286 56.96344, 9.73286 56.96344, 9.73286 56.96344, 9.73304 56.96346, 9.73304 56.96346, 9.73304 56.96346, 9.73305 56.96346, 9.73319 56.96348, 9.73319 56.96348, 9.73319 56.96348, 9.73381 56.96361, 9.73381 56.96361, 9.73381 56.96361, 9.73407 56.96367, 9.73425 56.96369, 9.73440 56.96369, 9.73596 56.96365, 9.73596 56.96365, 9.73713 56.96362)) 1 45491 Aalborg DK004L 20000 Agricultural + Semi-natural areas + Wetlands 2011 5.550837 0.385815 POLYGON ((10.05435 57.14065, 10.05480 57.13957, 10.05468 57.13957, 10.05215 57.13949, 10.05203 57.13947, 10.05196 57.13898, 10.05199 57.13898, 10.05376 57.13880, 10.05346 57.13757, 10.05270 57.13741, 10.05098 57.13748, 10.05098 57.13748, 10.05098 57.13748, 10.05097 57.13748, 10.05097 57.13748, 10.05097 57.13748, 10.05096 57.13748, 10.05096 57.13748, 10.05096 57.13748, 10.05095 57.13748, 10.05095 57.13748, 10.05095 57.13748, 10.05095 57.13748, 10.05094 57.13747, 10.05094 57.13747, 10.05092 57.13748, 10.05089 57.13738, 10.05047 57.13646, 10.05172 57.13638, 10.05254 57.13648, 10.05399 57.13676, 10.05409 57.13675, 10.05410 57.13675, 10.05410 57.13675, 10.05410 57.13675, 10.05411 57.13675, 10.05411 57.13675, 10.05411 57.13675, 10.05412 57.13675, 10.05412 57.13675, 10.05412 57.13675, 10.05412 57.13675, 10.05461 57.13685, 10.05461 57.13685, 10.05461 57.13685, 10.05461 57.13685, 10.05552 57.13712, 10.05568 57.13707, 10.05751 57.13652, 10.05751 57.13652, 10.05751 57.13652, 10.05751 57.13652, 10.05752 57.13652, 10.05752 57.13652, 10.05752 57.13652, 10.05753 57.13652, 10.05753 57.13652, 10.05753 57.13652, 10.05754 57.13652, 10.05754 57.13652, 10.05754 57.13652, 10.05755 57.13652, 10.05755 57.13652, 10.05777 57.13656, 10.05777 57.13657, 10.05777 57.13657, 10.05778 57.13657, 10.05778 57.13657, 10.05778 57.13657, 10.05778 57.13657, 10.05779 57.13657, 10.05779 57.13657, 10.05779 57.13657, 10.05779 57.13657, 10.05779 57.13658, 10.05780 57.13658, 10.05780 57.13658, 10.05780 57.13658, 10.05795 57.13681, 10.05824 57.13665, 10.05971 57.13580, 10.06079 57.13515, 10.06072 57.13514, 10.06061 57.13514, 10.05892 57.13525, 10.05892 57.13525, 10.05874 57.13526, 10.05873 57.13526, 10.05873 57.13526, 10.05854 57.13526, 10.05854 57.13526, 10.05854 57.13526, 10.05854 57.13526, 10.05812 57.13522, 10.05812 57.13522, 10.05811 57.13522, 10.05811 57.13522, 10.05793 57.13520, 10.05793 57.13519, 10.05792 57.13519, 10.05771 57.13515, 10.05771 57.13515, 10.05771 57.13515, 10.05747 57.13509, 10.05744 57.13508, 10.05721 57.13504, 10.05673 57.13497, 10.05648 57.13495, 10.05613 57.13495, 10.05602 57.13497, 10.05583 57.13501, 10.05562 57.13509, 10.05561 57.13509, 10.05535 57.13521, 10.05534 57.13521, 10.05534 57.13521, 10.05534 57.13521, 10.05534 57.13521, 10.05518 57.13526, 10.05518 57.13526, 10.05518 57.13526, 10.05497 57.13533, 10.05497 57.13533, 10.05497 57.13533, 10.05497 57.13533, 10.05461 57.13541, 10.05461 57.13541, 10.05460 57.13541, 10.05460 57.13542, 10.05413 57.13548, 10.05412 57.13548, 10.05412 57.13548, 10.05319 57.13557, 10.05262 57.13564, 10.05201 57.13572, 10.05051 57.13595, 10.05050 57.13595, 10.05050 57.13595, 10.04783 57.13623, 10.04776 57.13624, 10.04778 57.13709, 10.04773 57.13713, 10.04668 57.13714, 10.04663 57.13710, 10.04684 57.13637, 10.04686 57.13630, 10.04682 57.13626, 10.04682 57.13625, 10.04682 57.13625, 10.04682 57.13625, 10.04679 57.13620, 10.04679 57.13620, 10.04679 57.13620, 10.04679 57.13620, 10.04670 57.13592, 10.04661 57.13574, 10.04661 57.13574, 10.04661 57.13574, 10.04661 57.13574, 10.04661 57.13574, 10.04660 57.13565, 10.04650 57.13542, 10.04645 57.13535, 10.04634 57.13523, 10.04634 57.13523, 10.04634 57.13523, 10.04634 57.13523, 10.04632 57.13519, 10.04618 57.13503, 10.04496 57.13515, 10.04464 57.13458, 10.04461 57.13451, 10.04422 57.13460, 10.04422 57.13460, 10.04421 57.13460, 10.04421 57.13460, 10.04421 57.13460, 10.04421 57.13460, 10.04420 57.13460, 10.04420 57.13460, 10.04420 57.13460, 10.04419 57.13460, 10.04419 57.13460, 10.04419 57.13460, 10.04411 57.13459, 10.04410 57.13458, 10.04410 57.13458, 10.04410 57.13458, 10.04409 57.13458, 10.04409 57.13458, 10.04409 57.13458, 10.04409 57.13458, 10.04408 57.13458, 10.04408 57.13458, 10.04408 57.13458, 10.04408 57.13458, 10.04404 57.13454, 10.04404 57.13454, 10.04403 57.13454, 10.04403 57.13454, 10.04403 57.13454, 10.04403 57.13454, 10.04398 57.13447, 10.04398 57.13447, 10.04398 57.13447, 10.04385 57.13424, 10.04368 57.13396, 10.04365 57.13392, 10.04362 57.13391, 10.04360 57.13390, 10.04221 57.13384, 10.04221 57.13384, 10.04220 57.13384, 10.04220 57.13384, 10.04189 57.13380, 10.04177 57.13380, 10.04175 57.13380, 10.04105 57.13394, 10.04088 57.13397, 10.04069 57.13401, 10.04090 57.13427, 10.04113 57.13448, 10.04113 57.13462, 10.04084 57.13477, 10.04079 57.13484, 10.04079 57.13492, 10.04074 57.13504, 10.04045 57.13513, 10.04035 57.13514, 10.04025 57.13531, 10.04026 57.13555, 10.04113 57.13626, 10.04155 57.13691, 10.04173 57.13914, 10.04181 57.13921, 10.04342 57.13932, 10.04364 57.13932, 10.04364 57.13856, 10.04367 57.13847, 10.04492 57.13846, 10.04512 57.13839, 10.04492 57.13755, 10.04466 57.13747, 10.04444 57.13742, 10.04438 57.13722, 10.04440 57.13708, 10.04601 57.13645, 10.04644 57.13648, 10.04654 57.13657, 10.04637 57.13667, 10.04638 57.13724, 10.04619 57.13730, 10.04632 57.13841, 10.04780 57.13862, 10.04785 57.13871, 10.04789 57.13930, 10.04791 57.13930, 10.04715 57.13940, 10.04702 57.13943, 10.04700 57.13947, 10.04703 57.13963, 10.04725 57.14053, 10.04790 57.14053, 10.04790 57.14053, 10.04790 57.14053, 10.04790 57.14053, 10.04863 57.14055, 10.04876 57.14055, 10.04901 57.14055, 10.04934 57.14053, 10.04934 57.14053, 10.04935 57.14053, 10.04985 57.14054, 10.05169 57.14052, 10.05169 57.14052, 10.05169 57.14052, 10.05200 57.14053, 10.05200 57.14053, 10.05201 57.14053, 10.05313 57.14058, 10.05314 57.14058, 10.05435 57.14065)) 1 ``` {"mode":"full","isActive":false}
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42514/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42514/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/42515
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42515/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42515/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42515/events
https://github.com/pandas-dev/pandas/pull/42515
943,051,032
MDExOlB1bGxSZXF1ZXN0Njg4NzE4MDk3
42,515
Backport PR #42451: CI: Sync all 3.9 builds (part)
{ "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": "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": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-13T09:22:59Z"
"2021-07-13T12:07:09Z"
"2021-07-13T12:00:40Z"
MEMBER
null
Backport PR #42451 xref https://github.com/pandas-dev/pandas/pull/42451#issuecomment-878918384 > I think for the backport, will only backport changes in ci/deps/actions-39.yaml and leave ci/deps/actions-39-slow.yaml which maps to ci/deps/actions-37-slow.yaml unchanged.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42515/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42515/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42515.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42515", "merged_at": "2021-07-13T12:00:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42515.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42515" }
https://api.github.com/repos/pandas-dev/pandas/issues/42516
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42516/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42516/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42516/events
https://github.com/pandas-dev/pandas/pull/42516
943,090,331
MDExOlB1bGxSZXF1ZXN0Njg4NzUzNDE5
42,516
DOC: fixes for 1.3.1 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-13T09:51:41Z"
"2021-07-13T12:47:10Z"
"2021-07-13T12:47:06Z"
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/42516/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42516/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42516.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42516", "merged_at": "2021-07-13T12:47:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42516.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42516" }
https://api.github.com/repos/pandas-dev/pandas/issues/42517
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42517/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42517/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42517/events
https://github.com/pandas-dev/pandas/pull/42517
943,321,692
MDExOlB1bGxSZXF1ZXN0Njg4OTYyMzIy
42,517
Backport PR #42516 on branch 1.3.x (DOC: fixes for 1.3.1 release notes)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-25T07:13:46Z", "closed_issues": 114, "created_at": "2021-06-25T09:56:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-07-25T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/87", "id": 6888188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels", "node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==", "number": 87, "open_issues": 0, "state": "closed", "title": "1.3.1", "updated_at": "2021-07-28T12:08:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87" }
0
"2021-07-13T12:47:30Z"
"2021-07-13T15:06:09Z"
"2021-07-13T15:06:08Z"
NONE
null
Backport PR #42516: DOC: fixes for 1.3.1 release notes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42517/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42517/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42517.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42517", "merged_at": "2021-07-13T15:06:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42517.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42517" }
https://api.github.com/repos/pandas-dev/pandas/issues/42518
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42518/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42518/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42518/events
https://github.com/pandas-dev/pandas/pull/42518
943,527,352
MDExOlB1bGxSZXF1ZXN0Njg5MTQ3MzIy
42,518
WIP: try to debug segfault related issue
{ "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
3
"2021-07-13T15:08:41Z"
"2021-09-08T02:00:11Z"
"2021-09-08T02:00:11Z"
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/42518/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42518/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42518.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42518", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/42518.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42518" }
https://api.github.com/repos/pandas-dev/pandas/issues/42519
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42519/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42519/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42519/events
https://github.com/pandas-dev/pandas/pull/42519
943,673,535
MDExOlB1bGxSZXF1ZXN0Njg5MjcwODIx
42,519
BUG: Fix multi-index colname references in read_csv c engine.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4", "events_url": "https://api.github.com/users/jmcomie/events{/privacy}", "followers_url": "https://api.github.com/users/jmcomie/followers", "following_url": "https://api.github.com/users/jmcomie/following{/other_user}", "gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmcomie", "id": 1904716, "login": "jmcomie", "node_id": "MDQ6VXNlcjE5MDQ3MTY=", "organizations_url": "https://api.github.com/users/jmcomie/orgs", "received_events_url": "https://api.github.com/users/jmcomie/received_events", "repos_url": "https://api.github.com/users/jmcomie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions", "type": "User", "url": "https://api.github.com/users/jmcomie" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
"2021-07-13T17:38:56Z"
"2021-07-15T04:20:33Z"
"2021-07-15T04:20:24Z"
CONTRIBUTOR
null
This fixes an issue with the read_csv c engine when the input has more than one header row and arguments to dtype, na_values, or converters reference multi-index column names as tuples. - [x] closes #42446 - [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 I added a whatsnew entry for v1.4.0 since that's what other recent bug fixes have done, but I'm not yet sure of the criteria for that. Is it appropriate to add it for whichever release "owns" master?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/42519/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42519/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42519.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42519", "merged_at": "2021-07-15T04:20:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42519.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42519" }
https://api.github.com/repos/pandas-dev/pandas/issues/42520
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/42520/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/42520/comments
https://api.github.com/repos/pandas-dev/pandas/issues/42520/events
https://github.com/pandas-dev/pandas/pull/42520
943,721,779
MDExOlB1bGxSZXF1ZXN0Njg5MzEwNDg2
42,520
DOC: Add user_guide examples and docstring example for df.plot.box and df.plot.hist
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "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": "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": 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-07-13T18:34:13Z"
"2021-07-28T01:06:36Z"
"2021-07-28T01:06:32Z"
MEMBER
null
- [x] closes #42492 - [ ] 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/42520/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/42520/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/42520.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/42520", "merged_at": "2021-07-28T01:06:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/42520.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42520" }