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
timestamp[us, tz=UTC]
updated_at
timestamp[us, tz=UTC]
closed_at
timestamp[us, tz=UTC]
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/38419
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38419/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38419/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38419/events
https://github.com/pandas-dev/pandas/issues/38419
763,069,830
MDU6SXNzdWU3NjMwNjk4MzA=
38,419
BUG: set_index screws up the dtypes on empty DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/6571068?v=4", "events_url": "https://api.github.com/users/Rufflewind/events{/privacy}", "followers_url": "https://api.github.com/users/Rufflewind/followers", "following_url": "https://api.github.com/users/Rufflewind/following{/other_user}", "gists_url": "https://api.github.com/users/Rufflewind/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rufflewind", "id": 6571068, "login": "Rufflewind", "node_id": "MDQ6VXNlcjY1NzEwNjg=", "organizations_url": "https://api.github.com/users/Rufflewind/orgs", "received_events_url": "https://api.github.com/users/Rufflewind/received_events", "repos_url": "https://api.github.com/users/Rufflewind/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rufflewind/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rufflewind/subscriptions", "type": "User", "url": "https://api.github.com/users/Rufflewind" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-11T23:53:48Z
2020-12-13T17:41:40Z
2020-12-13T17:41:40Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. #30517 is similar in concept but relates to non-empty DataFrames, whereas the current bug is about empty ones. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas d1 = pandas.DataFrame({'a': pandas.Series(dtype='datetime64[ns]'), 'b': pandas.Series(dtype='int64'), 'c': []}) d2 = d1.set_index(['a', 'b']) assert (d1.loc[:, ['a', 'b']].dtypes == d2.index.to_frame().dtypes).all() ``` ``` >>> d1.loc[:, ['a', 'b']].dtypes a datetime64[ns] b int64 dtype: object >> d2.index.to_frame().dtypes a object b int64 dtype: object ``` #### Problem description The dtype of the columns are silently changed when `.set_index` is called. This only happens when the DataFrame is empty, which suggests that this is an edge-case bug. This is problematic because the behavior of `.set_index()` varies depending on whether the DataFrame has any rows. #### Expected Output The assertions should not fail. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.9.0.final.0 python-bits : 64 OS : Linux OS-release : 5.9.13-arch1-1 Version : #1 SMP PREEMPT Tue, 08 Dec 2020 12:09:55 +0000 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_FYL.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.1 setuptools : 50.3.2 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : 1.3.20 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38419/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38419/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38420
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38420/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38420/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38420/events
https://github.com/pandas-dev/pandas/pull/38420
763,122,879
MDExOlB1bGxSZXF1ZXN0NTM3NjA3OTc2
38,420
BUG: read_csv not recognizing numbers appropriately when decimal is set
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
2020-12-12T00:54:19Z
2021-01-03T18:47:35Z
2021-01-03T16:36:21Z
MEMBER
null
- [x] closes #31920 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The old regex was shorter but pretty buggy. Let's assume ``decimal=","`` and ``thousands="."`` For example something like ``1a.2,3`` was interpreted as numeric by the regex and converted to ``1a2.3``, because the ``.`` was not escaped in the regex. Also something like ``1,2,3`` was interpreted as numeric by the regex and converted to ``1.2.3``. This one is not quite finished. We have to define a few thousand separator related things: How strict would we want to be? Should ``1.2,3`` be interpreted as numeric and be converted to ``12.3`` or is only something like ``1.234,5`` relevant as thousands separator? C Engine validation is not strict Additionally should ``,2`` be the number ``0.2``? -> Currently it is, because the C engine behaves the same
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38420/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38420/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38420.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38420", "merged_at": "2021-01-03T16:36:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38420.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38420" }
https://api.github.com/repos/pandas-dev/pandas/issues/38421
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38421/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38421/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38421/events
https://github.com/pandas-dev/pandas/pull/38421
763,181,803
MDExOlB1bGxSZXF1ZXN0NTM3NjYyNjg0
38,421
REF: simplify maybe_casted_values
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-12T02:14:24Z
2020-12-12T23:53:23Z
2020-12-12T23:09:17Z
MEMBER
null
The meat of this function boils down to a call to algorithms.take.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38421/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38421/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38421.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38421", "merged_at": "2020-12-12T23:09:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38421.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38421" }
https://api.github.com/repos/pandas-dev/pandas/issues/38422
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38422/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38422/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38422/events
https://github.com/pandas-dev/pandas/pull/38422
763,253,873
MDExOlB1bGxSZXF1ZXN0NTM3NzI5OTU0
38,422
ENH/POC: EA.isin
{ "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": "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
[]
null
2
2020-12-12T03:52:02Z
2021-11-20T23:21:06Z
2020-12-20T04:41:56Z
MEMBER
null
- [x] closes #38340 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Needs tests; the MaskedArray.isin method is not currently reached. 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/38422/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38422/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38422.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38422", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38422.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38422" }
https://api.github.com/repos/pandas-dev/pandas/issues/38423
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38423/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38423/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38423/events
https://github.com/pandas-dev/pandas/pull/38423
763,671,116
MDExOlB1bGxSZXF1ZXN0NTM4MDU0MTM2
38,423
CLN: MultiIndex.union align with Index.union()
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-12T12:04:35Z
2020-12-13T20:01:07Z
2020-12-13T19:59:52Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Similar to MultiIndex.intersection() Stumbled over a issue in the maybe_match_names function. Can not return plain None, because MultiIndex.rename can not handle this. 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/38423/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38423/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38423.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38423", "merged_at": "2020-12-13T19:59:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38423.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38423" }
https://api.github.com/repos/pandas-dev/pandas/issues/38424
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38424/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38424/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38424/events
https://github.com/pandas-dev/pandas/issues/38424
763,875,560
MDU6SXNzdWU3NjM4NzU1NjA=
38,424
shift default excel read engine from xlrd to openpyxl
{ "avatar_url": "https://avatars.githubusercontent.com/u/10853125?v=4", "events_url": "https://api.github.com/users/leo4183/events{/privacy}", "followers_url": "https://api.github.com/users/leo4183/followers", "following_url": "https://api.github.com/users/leo4183/following{/other_user}", "gists_url": "https://api.github.com/users/leo4183/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/leo4183", "id": 10853125, "login": "leo4183", "node_id": "MDQ6VXNlcjEwODUzMTI1", "organizations_url": "https://api.github.com/users/leo4183/orgs", "received_events_url": "https://api.github.com/users/leo4183/received_events", "repos_url": "https://api.github.com/users/leo4183/repos", "site_admin": false, "starred_url": "https://api.github.com/users/leo4183/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leo4183/subscriptions", "type": "User", "url": "https://api.github.com/users/leo4183" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
{ "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" }
[ { "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" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
24
2020-12-12T14:14:14Z
2020-12-23T23:01:22Z
2020-12-23T23:01:22Z
NONE
null
since v2.0.0, xlrd no longer supports excel files other than ".xls". manually specify pd.read_excel engine (to openpyxl and etc) is a bit annoying (otherwise pandas would complain about the missing xlrd module). is it possible to shift the default engine to sth more commonly used (eg. openpyxl )
{ "+1": 8, "-1": 0, "confused": 0, "eyes": 0, "heart": 4, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 12, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38424/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38424/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38425
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38425/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38425/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38425/events
https://github.com/pandas-dev/pandas/issues/38425
763,990,899
MDU6SXNzdWU3NjM5OTA4OTk=
38,425
ENH: Allow numerical values in groupby to be within a certain tolerance
{ "avatar_url": "https://avatars.githubusercontent.com/u/14371165?v=4", "events_url": "https://api.github.com/users/Illviljan/events{/privacy}", "followers_url": "https://api.github.com/users/Illviljan/followers", "following_url": "https://api.github.com/users/Illviljan/following{/other_user}", "gists_url": "https://api.github.com/users/Illviljan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Illviljan", "id": 14371165, "login": "Illviljan", "node_id": "MDQ6VXNlcjE0MzcxMTY1", "organizations_url": "https://api.github.com/users/Illviljan/orgs", "received_events_url": "https://api.github.com/users/Illviljan/received_events", "repos_url": "https://api.github.com/users/Illviljan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Illviljan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Illviljan/subscriptions", "type": "User", "url": "https://api.github.com/users/Illviljan" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
4
2020-12-12T15:58:30Z
2020-12-13T07:50:32Z
2020-12-12T20:43:11Z
NONE
null
#### Is your feature request related to a problem? It is rather simple to group exact values together: ```python # Example without noise: import numpy as np import pandas as pd # Create input data without noise: y = np.array([100, 100, 100, 100, 300, 300, 300, 300, 500, 500, 500, 500]) z = np.array([1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2]) time = np.arange(*y.shape)*0.1 df = pd.DataFrame(data=dict(y=y, z=z), index=time) # Plot the groups: df.y.groupby(by=df.y).plot(style="o") ``` yields ![image](https://user-images.githubusercontent.com/14371165/101986960-7ec9a200-3c91-11eb-900f-f201defda526.png) But once the values are a little noisy the default groupby function does not work: ```python # Example with noise where groupby is successful: import numpy as np import pandas as pd # Create input data with noise: y = np.array([100, 100, 100, 100, 300, 300, 300, 300, 500, 500, 500, 500]) z = np.array([1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2]) noise = 1 + 0.1*(np.random.rand(*y.shape) - 0.5) y = y * noise z = z * noise time = np.arange(*y.shape)*0.1 df = pd.DataFrame(data=dict(y=y, z=z), index=time) # Plot the groups: df.y.groupby(by=df.y).plot(style="o") ``` yields ![image](https://user-images.githubusercontent.com/14371165/101987249-2eebda80-3c93-11eb-9ed1-dcefc5c3f570.png) #### Describe the solution you'd like I want to add the optional arguments `atol=0 `and `rtol=0` (similar to `np.isclose`) to groupby. Then `df.y.groupby(by=df.y, rtol=0.1).plot(style="o")` would yield the same groups as without any noise. #### Describe alternatives you've considered At the moment I have a function that does this. But it is not an elegant 1-liner. And at least I didn't think it was super obvious how to group like this either. ```python # Example with noise with a workaround: import numpy as np import pandas as pd # Create input data with noise: y = np.array([100, 100, 100, 100, 300, 300, 300, 300, 500, 500, 500, 500]) z = np.array([1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2]) noise = 1 + 0.1*(np.random.rand(*y.shape) - 0.5) y = y * noise z = z * noise time = np.arange(*y.shape)*0.1 df = pd.DataFrame(data=dict(y=y, z=z), index=time) def groupby_isclose(series, atol=0, rtol=0): # Sort values to make sure values are monotonically increasing: s = series.sort_values() # Calculate tolerance value: tolerance = atol + rtol * s # Calculate a monotonically increasing index that increase when the # differnce between current and previous value changes: by = s.diff().fillna(0).gt(tolerance).cumsum() # s_old = s.shift().fillna(s) # by = ((s - s_old).abs() > tolerance).cumsum().sort_index() return by # groupby values that are close: by = groupby_isclose(df.y, rtol=0.1) # Plot the groups: df.y.groupby(by=by).plot(style="o") ``` yields ![image](https://user-images.githubusercontent.com/14371165/101987624-94d96180-3c95-11eb-9f30-88d33baaa06e.png) #### API breaking implications `groupby_isclose` sorts the values to determine when values changes significantly. Unless there's another way of calculating this it might make the `sort` argument unusable.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38425/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38425/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38426
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38426/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38426/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38426/events
https://github.com/pandas-dev/pandas/pull/38426
764,087,916
MDExOlB1bGxSZXF1ZXN0NTM4MzI4OTQx
38,426
DOC: Clarify that DataFrame.sort_values is stable for sorting by multiple columns or labels
{ "avatar_url": "https://avatars.githubusercontent.com/u/10883104?v=4", "events_url": "https://api.github.com/users/jotasi/events{/privacy}", "followers_url": "https://api.github.com/users/jotasi/followers", "following_url": "https://api.github.com/users/jotasi/following{/other_user}", "gists_url": "https://api.github.com/users/jotasi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jotasi", "id": 10883104, "login": "jotasi", "node_id": "MDQ6VXNlcjEwODgzMTA0", "organizations_url": "https://api.github.com/users/jotasi/orgs", "received_events_url": "https://api.github.com/users/jotasi/received_events", "repos_url": "https://api.github.com/users/jotasi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jotasi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jotasi/subscriptions", "type": "User", "url": "https://api.github.com/users/jotasi" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-12T17:31:36Z
2020-12-22T20:34:34Z
2020-12-22T20:32:57Z
CONTRIBUTOR
null
- [x] closes #38357 - ~~tests added / passed~~ - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - ~~whatsnew entry~~ From what I understand from the code, for `by` containing more than one entry, `pandas.DataFrame.sort_values` uses `pandas.core.sorting.lexsort_indexer`, which converts the columns to ordered `Categorical`s, gets grouped lexicographic group indices via `get_group_index`, compressed these via `compress_group_index` and then sorts using counting sort or mergesort via `get_group_index_sorter`. Both of these are stable, as explained in `get_group_index_sorter`'s docstring. Therefore, the sorting should be stable if `sort_values` is called with `len(by)>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/38426/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38426/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38426.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38426", "merged_at": "2020-12-22T20:32:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38426.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38426" }
https://api.github.com/repos/pandas-dev/pandas/issues/38427
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38427/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38427/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38427/events
https://github.com/pandas-dev/pandas/pull/38427
764,092,921
MDExOlB1bGxSZXF1ZXN0NTM4MzMxODYz
38,427
REGR: Assigning label with registered EA dtype raises
{ "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-12-12T17:35:29Z
2021-01-02T14:16:01Z
2020-12-14T14:11:03Z
MEMBER
null
- [x] closes #38386 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Previous behavior in `io.parsers` depended on `is_bool_dtype("boolean")` erroneously raising `AttributeError`. Test currently iterates over the names: > ['category', 'interval', 'boolean', 'Float32', 'Float64', 'Int8', 'Int16', 'Int32', 'Int64', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'string'] It skips any EA where the name is a property; I don't see a good way to iterate over these in the test. I only added a note about `is_bool_dtype` in the whatsnew as the `DataFrame.__setitem__` issue does not occur on 1.1.x. It didn't seem appropriate for any section besides other.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38427/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38427/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38427.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38427", "merged_at": "2020-12-14T14:11:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38427.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38427" }
https://api.github.com/repos/pandas-dev/pandas/issues/38428
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38428/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38428/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38428/events
https://github.com/pandas-dev/pandas/pull/38428
764,097,795
MDExOlB1bGxSZXF1ZXN0NTM4MzM0NjEx
38,428
REF: simplify maybe_upcast
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-12T17:39:07Z
2020-12-13T00:02:50Z
2020-12-12T23:08:49Z
MEMBER
null
It reduces to a 2-liner. It is currently used in 4 places, 2 of which I'm looking to remove in the near future. At that point it will make sense to inline those 2 lines and remove maybe_upcast entirely.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38428/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38428/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38428.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38428", "merged_at": "2020-12-12T23:08:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38428.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38428" }
https://api.github.com/repos/pandas-dev/pandas/issues/38429
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38429/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38429/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38429/events
https://github.com/pandas-dev/pandas/issues/38429
764,328,197
MDU6SXNzdWU3NjQzMjgxOTc=
38,429
CI: SQL tests on py38 slow build
{ "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": "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": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
3
2020-12-12T20:23:07Z
2021-08-14T22:15:01Z
null
MEMBER
null
In #38344, we found that SQL tests were not run on py38 slow build. Currently, we are testing SQL on py37-locale and py37-coverage. If that is enough, we could move py38-slow to Azure. Otherwise, we could add more builds for SQL.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38429/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38429/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38430
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38430/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38430/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38430/events
https://github.com/pandas-dev/pandas/pull/38430
764,372,540
MDExOlB1bGxSZXF1ZXN0NTM4NDY4Mjg4
38,430
Fixed #38419 - BUG: set_index screws up the dtypes on empty DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/43036171?v=4", "events_url": "https://api.github.com/users/jordi-crespo/events{/privacy}", "followers_url": "https://api.github.com/users/jordi-crespo/followers", "following_url": "https://api.github.com/users/jordi-crespo/following{/other_user}", "gists_url": "https://api.github.com/users/jordi-crespo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jordi-crespo", "id": 43036171, "login": "jordi-crespo", "node_id": "MDQ6VXNlcjQzMDM2MTcx", "organizations_url": "https://api.github.com/users/jordi-crespo/orgs", "received_events_url": "https://api.github.com/users/jordi-crespo/received_events", "repos_url": "https://api.github.com/users/jordi-crespo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jordi-crespo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jordi-crespo/subscriptions", "type": "User", "url": "https://api.github.com/users/jordi-crespo" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-12T20:53:22Z
2020-12-13T17:41:44Z
2020-12-13T17:41:40Z
CONTRIBUTOR
null
Fixes #38419 - BUG: set_index screws up the dtypes on empty DataFrames - [ test_set_index_empty_dataframe] tests added / passed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38430/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38430/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38430.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38430", "merged_at": "2020-12-13T17:41:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38430.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38430" }
https://api.github.com/repos/pandas-dev/pandas/issues/38431
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38431/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38431/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38431/events
https://github.com/pandas-dev/pandas/pull/38431
764,388,461
MDExOlB1bGxSZXF1ZXN0NTM4NDc1OTQ5
38,431
BUG: read_csv raising TypeError for engine=c with names and parse_dates
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-12T21:04:30Z
2020-12-12T23:09:31Z
2020-12-12T23:03:53Z
MEMBER
null
- [x] closes #33699 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38431/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38431/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38431.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38431", "merged_at": "2020-12-12T23:03:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38431.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38431" }
https://api.github.com/repos/pandas-dev/pandas/issues/38432
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38432/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38432/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38432/events
https://github.com/pandas-dev/pandas/pull/38432
764,426,805
MDExOlB1bGxSZXF1ZXN0NTM4NDk2MTE0
38,432
Added test_set_index_dtypes_on_empty_DataFrames to check dtypes after…
{ "avatar_url": "https://avatars.githubusercontent.com/u/43563276?v=4", "events_url": "https://api.github.com/users/IngErnestoAlvarez/events{/privacy}", "followers_url": "https://api.github.com/users/IngErnestoAlvarez/followers", "following_url": "https://api.github.com/users/IngErnestoAlvarez/following{/other_user}", "gists_url": "https://api.github.com/users/IngErnestoAlvarez/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/IngErnestoAlvarez", "id": 43563276, "login": "IngErnestoAlvarez", "node_id": "MDQ6VXNlcjQzNTYzMjc2", "organizations_url": "https://api.github.com/users/IngErnestoAlvarez/orgs", "received_events_url": "https://api.github.com/users/IngErnestoAlvarez/received_events", "repos_url": "https://api.github.com/users/IngErnestoAlvarez/repos", "site_admin": false, "starred_url": "https://api.github.com/users/IngErnestoAlvarez/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/IngErnestoAlvarez/subscriptions", "type": "User", "url": "https://api.github.com/users/IngErnestoAlvarez" }
[]
closed
false
null
[]
null
2
2020-12-12T21:33:21Z
2020-12-12T22:11:04Z
2020-12-12T22:11:03Z
NONE
null
… using set_index on a DataFrame with empty Series that have dtype - [x] closes #38419 - [x] tests added / passed test_set_index_dtypes_on_empty_DataFrames - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry. Added a test to check that dtypes don't change after using set_index on a DataFrame with empty Series
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38432/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38432/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38432.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38432", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38432.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38432" }
https://api.github.com/repos/pandas-dev/pandas/issues/38433
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38433/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38433/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38433/events
https://github.com/pandas-dev/pandas/issues/38433
764,453,449
MDU6SXNzdWU3NjQ0NTM0NDk=
38,433
BUG/API: allowing scalars in Categorical constructor
{ "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-12T21:54:07Z
2020-12-23T18:44:29Z
2020-12-23T18:44:29Z
MEMBER
null
I expected this to raise ``` >> pd.Categorical("A") ['A'] Categories (1, object): ['A'] ``` This gets listified inside the call to `maybe_infer_to_datetimelike` in `Categorical.__init__`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38433/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38433/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38434
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38434/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38434/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38434/events
https://github.com/pandas-dev/pandas/issues/38434
764,547,103
MDU6SXNzdWU3NjQ1NDcxMDM=
38,434
REGR: DataFrame.shift(axis=1) raises TypeError when columns is CategoricalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-12-12T23:08:16Z
2020-12-17T13:46:45Z
2020-12-17T13:46:45Z
CONTRIBUTOR
null
A regression since 1.1: ```python >>> ci = pd.CategoricalIndex(["a", "b"]) >>> df = pd.DataFrame([[1, 2], [3, 4]], index=ci, columns=ci) >>> df.shift(axis=0) # ok a b a NaN NaN b 1.0 2.0 >>> df.shift(axis=1) # not ok, worked in v1.1 TypeError: 'fill_value=0' is not present in this Categorical's categories ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38434/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38434/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38435
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38435/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38435/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38435/events
https://github.com/pandas-dev/pandas/pull/38435
764,578,233
MDExOlB1bGxSZXF1ZXN0NTM4NTc0NTQw
38,435
Backport PR #38247 on branch 1.2.x (BUG: Limited available colors)
{ "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-12-12T23:32:26Z
2020-12-13T19:19:45Z
2020-12-13T17:09:57Z
NONE
null
Backport PR #38247: BUG: Limited available colors
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38435/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38435/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38435.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38435", "merged_at": "2020-12-13T17:09:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38435.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38435" }
https://api.github.com/repos/pandas-dev/pandas/issues/38436
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38436/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38436/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38436/events
https://github.com/pandas-dev/pandas/pull/38436
764,578,592
MDExOlB1bGxSZXF1ZXN0NTM4NTc0NzEx
38,436
Backport PR #38331 on branch 1.2.x (BUG: first("1M") returning two months when first day is last day of month)
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-12-12T23:32:42Z
2020-12-13T12:46:12Z
2020-12-13T12:46:11Z
NONE
null
Backport PR #38331: BUG: first("1M") returning two months when first day is last day of month
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38436/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38436/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38436.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38436", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38436.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38436" }
https://api.github.com/repos/pandas-dev/pandas/issues/38437
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38437/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38437/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38437/events
https://github.com/pandas-dev/pandas/issues/38437
764,711,741
MDU6SXNzdWU3NjQ3MTE3NDE=
38,437
BUG: `to_json()/read_json()` can't correctly dump/load numbers requiring >15 digits of precision
{ "avatar_url": "https://avatars.githubusercontent.com/u/620059?v=4", "events_url": "https://api.github.com/users/mjuric/events{/privacy}", "followers_url": "https://api.github.com/users/mjuric/followers", "following_url": "https://api.github.com/users/mjuric/following{/other_user}", "gists_url": "https://api.github.com/users/mjuric/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mjuric", "id": 620059, "login": "mjuric", "node_id": "MDQ6VXNlcjYyMDA1OQ==", "organizations_url": "https://api.github.com/users/mjuric/orgs", "received_events_url": "https://api.github.com/users/mjuric/received_events", "repos_url": "https://api.github.com/users/mjuric/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mjuric/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mjuric/subscriptions", "type": "User", "url": "https://api.github.com/users/mjuric" }
[ { "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": "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
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2020-12-13T01:22:40Z
2021-01-24T19:12:54Z
null
NONE
null
#### Code Sample, a copy-pastable example Demonstration of the serialization issue: ```python import pandas as pd df = pd.DataFrame([0.9884619112598676]) js = df.to_json(double_precision=15) # raises exception if double_precision>=16 is set print(f"orig: { df[0][0]} ({ df[0].dtypes})") print(f"JSON: {js}") ``` Output: ``` orig: 0.9884619112598676 (float64) JSON: {"0":{"0":0.988461911259868}} ``` Demonstration that deserialization silently disregards the last digit: ``` import numpy as np js = '{"0":{"0":0.9884619112598676}}' df = pd.read_json(js) flt = np.float64("0.9884619112598676") print(f" JSON: {js}") print(f" numpy: {flt}") print(f"Pandas: {df[0][0]} ({df[0].dtypes})") ``` Output: ``` JSON: {"0":{"0":0.9884619112598676}} numpy: 0.9884619112598676 Pandas: 0.988461911259867 (float64) ``` #### Problem description 64-bit floating point numbers require up to 17 decimal digits to be fully round-tripped to textual representation and back (e.g., see https://stackoverflow.com/questions/6118231/why-do-i-need-17-significant-digits-and-not-16-to-represent-a-double/). Pandas' ujson-based decoder cuts them off at 15 digits, causing loss of precision. This introduces inconsistencies when a pandas dataframe is transmitted from point A to point B via different serializations vs. when it's not (e.g., in our case, this issue cropped up while validating a REST API for a near-Earth asteroid orbit computation service). I traced this down to an old version of `ultrajsonenc.c` that's been imported to Pandas code and forces this cut. Modern versions don't seem to have this limitation (and do away with `double_precision` argument to `ujson.dump` alltogether) -- e.g., see [here](https://github.com/ultrajson/ultrajson/blob/master/lib/ultrajsonenc.c). #### Expected Output Modern `ujson` seems to handle this fine, keeping the required precision: ``` import ujson print(ujson.__version__) print(ujson.dumps(0.9884619112598676)) >>> 4.0.1 >>> 0.9884619112598676 ``` A solution may be to update the version shipped with Pandas. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.6.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~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.1.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 49.6.0.post20201009 Cython : None pytest : 6.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 2.0.0 pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : 0.8.7 xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38437/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38437/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38438
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38438/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38438/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38438/events
https://github.com/pandas-dev/pandas/pull/38438
764,765,604
MDExOlB1bGxSZXF1ZXN0NTM4Njc3OTE1
38,438
BUG: add sorting_reamaining=True to avoid IndexError GH25831
{ "avatar_url": "https://avatars.githubusercontent.com/u/38671637?v=4", "events_url": "https://api.github.com/users/YuRenee/events{/privacy}", "followers_url": "https://api.github.com/users/YuRenee/followers", "following_url": "https://api.github.com/users/YuRenee/following{/other_user}", "gists_url": "https://api.github.com/users/YuRenee/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YuRenee", "id": 38671637, "login": "YuRenee", "node_id": "MDQ6VXNlcjM4NjcxNjM3", "organizations_url": "https://api.github.com/users/YuRenee/orgs", "received_events_url": "https://api.github.com/users/YuRenee/received_events", "repos_url": "https://api.github.com/users/YuRenee/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YuRenee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YuRenee/subscriptions", "type": "User", "url": "https://api.github.com/users/YuRenee" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
7
2020-12-13T02:10:33Z
2021-02-11T01:39:57Z
2021-02-11T01:39:56Z
NONE
null
- [x] closes #25831 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38438/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38438/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38438.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38438", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38438.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38438" }
https://api.github.com/repos/pandas-dev/pandas/issues/38439
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38439/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38439/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38439/events
https://github.com/pandas-dev/pandas/issues/38439
764,827,167
MDU6SXNzdWU3NjQ4MjcxNjc=
38,439
BUG: Subtracting two series with unordered index and all-nan index produces unexpected result
{ "avatar_url": "https://avatars.githubusercontent.com/u/7367411?v=4", "events_url": "https://api.github.com/users/ssche/events{/privacy}", "followers_url": "https://api.github.com/users/ssche/followers", "following_url": "https://api.github.com/users/ssche/following{/other_user}", "gists_url": "https://api.github.com/users/ssche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ssche", "id": 7367411, "login": "ssche", "node_id": "MDQ6VXNlcjczNjc0MTE=", "organizations_url": "https://api.github.com/users/ssche/orgs", "received_events_url": "https://api.github.com/users/ssche/received_events", "repos_url": "https://api.github.com/users/ssche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ssche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ssche/subscriptions", "type": "User", "url": "https://api.github.com/users/ssche" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/86092192?v=4", "events_url": "https://api.github.com/users/trevorkask/events{/privacy}", "followers_url": "https://api.github.com/users/trevorkask/followers", "following_url": "https://api.github.com/users/trevorkask/following{/other_user}", "gists_url": "https://api.github.com/users/trevorkask/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trevorkask", "id": 86092192, "login": "trevorkask", "node_id": "MDQ6VXNlcjg2MDkyMTky", "organizations_url": "https://api.github.com/users/trevorkask/orgs", "received_events_url": "https://api.github.com/users/trevorkask/received_events", "repos_url": "https://api.github.com/users/trevorkask/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trevorkask/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trevorkask/subscriptions", "type": "User", "url": "https://api.github.com/users/trevorkask" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/86092192?v=4", "events_url": "https://api.github.com/users/trevorkask/events{/privacy}", "followers_url": "https://api.github.com/users/trevorkask/followers", "following_url": "https://api.github.com/users/trevorkask/following{/other_user}", "gists_url": "https://api.github.com/users/trevorkask/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trevorkask", "id": 86092192, "login": "trevorkask", "node_id": "MDQ6VXNlcjg2MDkyMTky", "organizations_url": "https://api.github.com/users/trevorkask/orgs", "received_events_url": "https://api.github.com/users/trevorkask/received_events", "repos_url": "https://api.github.com/users/trevorkask/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trevorkask/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trevorkask/subscriptions", "type": "User", "url": "https://api.github.com/users/trevorkask" } ]
{ "closed_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" }
7
2020-12-13T03:03:50Z
2021-09-16T02:37:38Z
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 >>> import numpy as np >>> a_index = pd.MultiIndex.from_tuples([ ... (81.0, np.nan, '2018-06-01'), ... (81.0, np.nan, '2018-07-01'), ... (82.0, np.nan, '2018-07-01'), ... (82.0, np.nan, '2018-08-01'), ... (np.nan,np.nan, np.nan)], ... names=['id', 'sub_ix', 'data'] ... ) >>> a_values = [25, 22, 20, 21, np.nan] >>> b_index = pd.MultiIndex.from_tuples([ ... (81.0, np.nan, '2018-06-01'), ... (np.nan, np.nan, np.nan), ... (81.0, np.nan, '2018-07-01'), ... (82.0, np.nan, '2018-07-01'), ... (82.0, np.nan, '2018-08-01')], ... names=['id', 'sub_ix', 'data'] ... ) >>> b_values = [28.28, np.nan, 28.28, 25.25, 25.25] >>> a = pd.Series(a_values, index=a_index) >>> b = pd.Series(b_values, index=b_index) >>> a id sub_ix data 81.0 NaN 2018-06-01 25.0 2018-07-01 22.0 82.0 NaN 2018-07-01 20.0 2018-08-01 21.0 NaN NaN NaN NaN dtype: float64 >>> b id sub_ix data 81.0 NaN 2018-06-01 28.28 NaN NaN NaN NaN 81.0 NaN 2018-07-01 28.28 82.0 NaN 2018-07-01 25.25 2018-08-01 25.25 dtype: float64 >>> a - b id sub_ix data 81.0 NaN 2018-06-01 -3.28 2018-07-01 NaN <-- this shouldn't be NaN, the index (81.0, NaN, 2018-07-01) exists in both `a` and `b` (it's just not ordered in `b`) 82.0 NaN 2018-07-01 -8.28 <-- also wrong, expected -5.25 2018-08-01 -4.25 NaN NaN NaN NaN dtype: float64 >>> a - b.sort_index() id sub_ix data 81.0 NaN 2018-06-01 -3.28 2018-07-01 -6.28 <-- expected value 82.0 NaN 2018-07-01 -5.25 2018-08-01 -4.25 NaN NaN NaN NaN dtype: float64 ``` #### Problem description When combining two series with both the same index and with an all-nan index row at different positions, the result of the arithmetic operation (`+`, `-`, `/`) is not as expected. The issue can be worked around by sorting both indices (series.sort_index). I tried a different example with unordered indices, but without the all-nan index row and the result is as expected (so it's not an issue of the unsorted indices). ``` id sub_ix data 81.0 NaN 2018-07-01 25 2018-06-01 22 82.0 NaN 2018-07-01 20 2018-08-01 21 dtype: int64 >>> b id sub_ix data 81.0 NaN 2018-06-01 1 2018-07-01 2 82.0 NaN 2018-07-01 3 2018-08-01 4 dtype: int64 >>> a - b id sub_ix data 81.0 NaN 2018-06-01 21 2018-07-01 23 82.0 NaN 2018-07-01 17 2018-08-01 17 dtype: int64 ``` #### Expected Output Operands should be aligned as per index (despite all nan-rows in the index). #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 65f0463d364d77470289309a51d56eb54b2d254a python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 5.9.11-200.fc33.x86_64 Version : #1 SMP Tue Nov 24 18:18:01 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.2.0.dev0+1441.g65f0463d3 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.2 Cython : 0.29.21 pytest : 5.1.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 0.9.6 lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.3 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : 1.3.1 fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : 2.7.1 odfpy : None openpyxl : 1.8.6 pandas_gbq : None pyarrow : 1.0.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.12 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38439/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38439/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38440
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38440/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38440/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38440/events
https://github.com/pandas-dev/pandas/pull/38440
764,935,707
MDExOlB1bGxSZXF1ZXN0NTM4Nzc2MzE2
38,440
TYP: pandas/core/frame.py (easy: bool/str)
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-13T04:39:41Z
2020-12-13T17:22:09Z
2020-12-13T17:22:09Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Splitting this away from #38416
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38440/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38440/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38440.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38440", "merged_at": "2020-12-13T17:22:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38440.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38440" }
https://api.github.com/repos/pandas-dev/pandas/issues/38441
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38441/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38441/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38441/events
https://github.com/pandas-dev/pandas/pull/38441
765,001,866
MDExOlB1bGxSZXF1ZXN0NTM4ODEzNjI1
38,441
TYP: pandas/core/frame.py (easy: Axis/Level)
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-13T05:37:03Z
2020-12-13T22:04:47Z
2020-12-13T22:04:41Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Splitting this away from #38416
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38441/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38441/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38441.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38441", "merged_at": "2020-12-13T22:04:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38441.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38441" }
https://api.github.com/repos/pandas-dev/pandas/issues/38442
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38442/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38442/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38442/events
https://github.com/pandas-dev/pandas/pull/38442
765,093,653
MDExOlB1bGxSZXF1ZXN0NTM4ODY0ODMx
38,442
BENCH/REF: parametrize CSV benchmarks on engine
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "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": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
2020-12-13T06:57:01Z
2020-12-17T01:43:28Z
2020-12-17T01:23:05Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The diff in basic PR implementing the `pyarrow`-based CSV engine (#38370) is quite big. A part of that PR is a small refactor of the CSV I/O benchmarks such that they take `engine` as a parameter. Most of that refactor is not dependent on having the pyarrow engine so I'm spinning it off here to de-bloat #38370.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38442/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38442/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38442.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38442", "merged_at": "2020-12-17T01:23:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38442.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38442" }
https://api.github.com/repos/pandas-dev/pandas/issues/38443
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38443/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38443/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38443/events
https://github.com/pandas-dev/pandas/pull/38443
765,204,247
MDExOlB1bGxSZXF1ZXN0NTM4OTE5MDQ3
38,443
BUG: Fix Index.__repr__ when `display.max_seq_items` = 1
{ "avatar_url": "https://avatars.githubusercontent.com/u/23026514?v=4", "events_url": "https://api.github.com/users/skvrahul/events{/privacy}", "followers_url": "https://api.github.com/users/skvrahul/followers", "following_url": "https://api.github.com/users/skvrahul/following{/other_user}", "gists_url": "https://api.github.com/users/skvrahul/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/skvrahul", "id": 23026514, "login": "skvrahul", "node_id": "MDQ6VXNlcjIzMDI2NTE0", "organizations_url": "https://api.github.com/users/skvrahul/orgs", "received_events_url": "https://api.github.com/users/skvrahul/received_events", "repos_url": "https://api.github.com/users/skvrahul/repos", "site_admin": false, "starred_url": "https://api.github.com/users/skvrahul/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/skvrahul/subscriptions", "type": "User", "url": "https://api.github.com/users/skvrahul" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-13T09:10:20Z
2020-12-28T18:38:55Z
2020-12-28T18:38:47Z
CONTRIBUTOR
null
- [x] closes #38415 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38443/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38443/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38443.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38443", "merged_at": "2020-12-28T18:38:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38443.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38443" }
https://api.github.com/repos/pandas-dev/pandas/issues/38444
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38444/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38444/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38444/events
https://github.com/pandas-dev/pandas/pull/38444
765,292,454
MDExOlB1bGxSZXF1ZXN0NTM4OTM0Mzgw
38,444
CI: add slash dispatch workflow to trigger pre-commit checks with comment
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
2020-12-13T11:16:20Z
2020-12-23T08:06:55Z
2020-12-22T18:39:27Z
MEMBER
null
This would be an on-demand bot to run pre-commit checks on a PR, which can be triggered by commenting ``` @github-actions pre-commit ``` on a pull request (see [here](https://github.com/nbQA-dev/nbQA/pull/518) for a demo). Use case: if a PR is submitted and is good-to-go except for some linting error, we can just comment `/pre-commit-run` and have the bot fixup the errors.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38444/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38444/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38444.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38444", "merged_at": "2020-12-22T18:39:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38444.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38444" }
https://api.github.com/repos/pandas-dev/pandas/issues/38445
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38445/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38445/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38445/events
https://github.com/pandas-dev/pandas/pull/38445
765,293,510
MDExOlB1bGxSZXF1ZXN0NTM4OTM0NTUx
38,445
BUG: read_csv usecols and names parameters inconsistent between c and python
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-13T11:17:41Z
2020-12-13T17:15:09Z
2020-12-13T17:08:29Z
MEMBER
null
- [x] closes #16469 - [x] tests added / passed The tests added by @gfyoung which were marked as xfail are passing now. - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38445/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38445/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38445.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38445", "merged_at": "2020-12-13T17:08:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38445.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38445" }
https://api.github.com/repos/pandas-dev/pandas/issues/38446
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38446/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38446/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38446/events
https://github.com/pandas-dev/pandas/pull/38446
765,396,634
MDExOlB1bGxSZXF1ZXN0NTM4OTUyODA5
38,446
BUG: first("2M") returning incorrect results
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
2020-12-13T13:37:15Z
2020-12-19T17:21:21Z
2020-12-19T02:14:08Z
MEMBER
null
- [x] closes #29623 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This would fix #29623 for offsets with n > 1 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/38446/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38446/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38446.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38446", "merged_at": "2020-12-19T02:14:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38446.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38446" }
https://api.github.com/repos/pandas-dev/pandas/issues/38447
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38447/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38447/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38447/events
https://github.com/pandas-dev/pandas/issues/38447
765,398,943
MDU6SXNzdWU3NjUzOTg5NDM=
38,447
ENH: regex replace capacities are missing from pd.Categorical.replace()
{ "avatar_url": "https://avatars.githubusercontent.com/u/7797029?v=4", "events_url": "https://api.github.com/users/oguzhanogreden/events{/privacy}", "followers_url": "https://api.github.com/users/oguzhanogreden/followers", "following_url": "https://api.github.com/users/oguzhanogreden/following{/other_user}", "gists_url": "https://api.github.com/users/oguzhanogreden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oguzhanogreden", "id": 7797029, "login": "oguzhanogreden", "node_id": "MDQ6VXNlcjc3OTcwMjk=", "organizations_url": "https://api.github.com/users/oguzhanogreden/orgs", "received_events_url": "https://api.github.com/users/oguzhanogreden/received_events", "repos_url": "https://api.github.com/users/oguzhanogreden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oguzhanogreden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oguzhanogreden/subscriptions", "type": "User", "url": "https://api.github.com/users/oguzhanogreden" }
[ { "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
open
false
null
[]
null
0
2020-12-13T13:40:29Z
2021-08-14T22:18:51Z
null
CONTRIBUTOR
null
#### Is your feature request related to a problem? pd.Categorical doesn't implement `regex=`, preventing a generalisable solution at #32542. #### Describe the solution you'd like As far as I can tell, the best solution would be an refactor of .replace() methods and logic. #### API breaking implications - #### Describe alternatives you've considered Parts of the logic from array_algos.replace.replace_regex() can be copied over to pd.Categorical, but that's not desirable. Therefore the suggestion for the refactor. #### Additional context This came up while working with the suggestion [here](https://github.com/pandas-dev/pandas/pull/32542#discussion_r532945181).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38447/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38447/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38448
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38448/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38448/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38448/events
https://github.com/pandas-dev/pandas/pull/38448
765,418,215
MDExOlB1bGxSZXF1ZXN0NTM4OTU3MjY0
38,448
Revert "BUG: first("1M") returning two months when first day is last day of month"
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
null
1
2020-12-13T14:08:12Z
2020-12-13T15:45:08Z
2020-12-13T15:45:02Z
MEMBER
null
Reverts pandas-dev/pandas#38331
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38448/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38448/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38448.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38448", "merged_at": "2020-12-13T15:45:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38448.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38448" }
https://api.github.com/repos/pandas-dev/pandas/issues/38449
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38449/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38449/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38449/events
https://github.com/pandas-dev/pandas/issues/38449
765,426,216
MDU6SXNzdWU3NjU0MjYyMTY=
38,449
BUG: to_parquet() / read_parquet() cannot round-trip datetime.timezone.utc
{ "avatar_url": "https://avatars.githubusercontent.com/u/74010485?v=4", "events_url": "https://api.github.com/users/magic-david/events{/privacy}", "followers_url": "https://api.github.com/users/magic-david/followers", "following_url": "https://api.github.com/users/magic-david/following{/other_user}", "gists_url": "https://api.github.com/users/magic-david/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/magic-david", "id": 74010485, "login": "magic-david", "node_id": "MDQ6VXNlcjc0MDEwNDg1", "organizations_url": "https://api.github.com/users/magic-david/orgs", "received_events_url": "https://api.github.com/users/magic-david/received_events", "repos_url": "https://api.github.com/users/magic-david/repos", "site_admin": false, "starred_url": "https://api.github.com/users/magic-david/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/magic-david/subscriptions", "type": "User", "url": "https://api.github.com/users/magic-david" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-12-13T14:20:07Z
2020-12-13T14:44:42Z
2020-12-13T14:22:33Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **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 datetime import pandas as pd utc = datetime.timezone.utc now = lambda: datetime.datetime.now(utc) df = pd.DataFrame([[now(), "a"], [now(), "b"]], columns=("date", "val")) df.set_index('date', inplace=True) df.to_parquet('/tmp/a.parquet') d2 = pd.read_parquet('/tmp/a.parquet') # Kaboom ``` #### Problem description Current behaviour: * Silently writes a Parquet file that cannot be re-read * Failure appears to be a missing check during write, however error confusing appears during read #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.0.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-24-generic Version : #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_GB.UTF-8 LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.5 numpy : 1.19.0 pytz : 2020.4 dateutil : 2.8.0 pip : 20.3.1 setuptools : 40.8.0 Cython : 0.29.20 pytest : 6.2.0 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.1 html5lib : 1.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.20 tables : None tabulate : 0.8.7 xarray : None xlrd : None xlwt : None numba : 0.52.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38449/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38449/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38450
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38450/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38450/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38450/events
https://github.com/pandas-dev/pandas/issues/38450
765,448,180
MDU6SXNzdWU3NjU0NDgxODA=
38,450
Inconsistent SettingWithCopyWarning behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/2845433?v=4", "events_url": "https://api.github.com/users/memeplex/events{/privacy}", "followers_url": "https://api.github.com/users/memeplex/followers", "following_url": "https://api.github.com/users/memeplex/following{/other_user}", "gists_url": "https://api.github.com/users/memeplex/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/memeplex", "id": 2845433, "login": "memeplex", "node_id": "MDQ6VXNlcjI4NDU0MzM=", "organizations_url": "https://api.github.com/users/memeplex/orgs", "received_events_url": "https://api.github.com/users/memeplex/received_events", "repos_url": "https://api.github.com/users/memeplex/repos", "site_admin": false, "starred_url": "https://api.github.com/users/memeplex/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/memeplex/subscriptions", "type": "User", "url": "https://api.github.com/users/memeplex" }
[ { "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": "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
4
2020-12-13T14:55:16Z
2021-08-14T22:21:58Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd def example_1(): df = pd.DataFrame(dict(x=np.arange(100), y=np.arange(100))) df_ = df[pd.Series([True] * 50 + [False] * 50, name="y")] df_.x *= 2 def example_2(): df = pd.DataFrame(dict(x=np.arange(100), y=np.arange(100))) df_ = df[df.y < 50] df_.x *= 2 def example_3(): df = pd.DataFrame(dict(x=np.arange(100), y=np.arange(100))) df_ = df[(df.y < 50) | (np.random.random(100) < 0.5)] df_.x *= 2 ``` #### Problem description Examples 2 and 3 above show (example 1 doesn't): ``` /usr/local/lib/python3.8/site-packages/pandas/core/generic.py:5170: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead ``` I'm failing to see how 2 is different to 1 and how the behavior in 2 is so sticky than even adding a random mask isn't enough to stop it. I believe that 1 and 2 should behave the same way and, if not, this extremely surprising behavior should at least be clarified in the documentation. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.6.final.0 python-bits : 64 OS : Darwin OS-release : 20.1.0 Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.1.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 49.2.1 Cython : 0.29.21 pytest : 6.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : 1.3.20 tables : None tabulate : 0.8.7 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/38450/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38450/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38451
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38451/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38451/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38451/events
https://github.com/pandas-dev/pandas/issues/38451
765,462,140
MDU6SXNzdWU3NjU0NjIxNDA=
38,451
DOC: name not defined in section "2.14.1 Basic plotting: plot"
{ "avatar_url": "https://avatars.githubusercontent.com/u/4179106?v=4", "events_url": "https://api.github.com/users/gepcel/events{/privacy}", "followers_url": "https://api.github.com/users/gepcel/followers", "following_url": "https://api.github.com/users/gepcel/following{/other_user}", "gists_url": "https://api.github.com/users/gepcel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gepcel", "id": 4179106, "login": "gepcel", "node_id": "MDQ6VXNlcjQxNzkxMDY=", "organizations_url": "https://api.github.com/users/gepcel/orgs", "received_events_url": "https://api.github.com/users/gepcel/received_events", "repos_url": "https://api.github.com/users/gepcel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gepcel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gepcel/subscriptions", "type": "User", "url": "https://api.github.com/users/gepcel" }
[ { "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-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
10
2020-12-13T15:17:43Z
2021-01-05T12:57:09Z
2021-01-05T12:57:09Z
CONTRIBUTOR
null
In the [pdf version of document](https://pandas.pydata.org/docs/pandas.pdf), section "User Guide -> Visualization -> 2.14.1 Basic plotting: plot", page 588, there are `name 'pd' (or 'ts') is not defined` problems. ![image](https://user-images.githubusercontent.com/4179106/102015941-57f69300-3d99-11eb-86c7-28ae8c6a8196.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/38451/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38451/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38452
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38452/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38452/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38452/events
https://github.com/pandas-dev/pandas/pull/38452
765,506,348
MDExOlB1bGxSZXF1ZXN0NTM4OTc3NDIx
38,452
ENH: Improve error message when names and usecols do not match for read_csv with engine=c
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-13T16:21:43Z
2020-12-13T18:29:29Z
2020-12-13T17:37:04Z
MEMBER
null
- [x] closes #29042 - [x] tests added / passed This case was already covered with differing error messages. I adjusted the message accordingly - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38452/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38452/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38452.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38452", "merged_at": "2020-12-13T17:37:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38452.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38452" }
https://api.github.com/repos/pandas-dev/pandas/issues/38453
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38453/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38453/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38453/events
https://github.com/pandas-dev/pandas/issues/38453
765,538,959
MDU6SXNzdWU3NjU1Mzg5NTk=
38,453
BUG: read_csv names argument inconsisten between c and python engine
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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
2020-12-13T17:14:21Z
2020-12-13T17:14:33Z
null
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **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 After #38445 there is another inconsistency left to adress. ```python s = """a, b, c, d 1,2,3,4, 5,6,7,8,""" pd.read_csv(io.StringIO(s), header=0, names=['A', 'B', 'C', 'D', "E"], engine="c") pd.read_csv(io.StringIO(s), header=0, names=['A', 'B', 'C', 'D', "E"], engine="python") ``` #### Problem description The bug is caused from the differing lenghts of the header and the names argument. This returns ``` A B C D E 0 1 2 3 4 NaN 1 5 6 7 8 NaN ``` for the ``c`` engine and raises ``` Traceback (most recent call last): File "/home/developer/.config/JetBrains/PyCharm2020.3/scratches/scratch_4.py", line 323, in <module> print(pd.read_csv(io.StringIO(s), header=0, names=['A', 'B', 'C', 'D', "E"], engine="python")) File "/home/developer/PycharmProjects/pandas/pandas/io/parsers.py", line 605, in read_csv return _read(filepath_or_buffer, kwds) File "/home/developer/PycharmProjects/pandas/pandas/io/parsers.py", line 457, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "/home/developer/PycharmProjects/pandas/pandas/io/parsers.py", line 814, in __init__ self._engine = self._make_engine(self.engine) File "/home/developer/PycharmProjects/pandas/pandas/io/parsers.py", line 1045, in _make_engine return mapping[engine](self.f, **self.options) # type: ignore[call-arg] File "/home/developer/PycharmProjects/pandas/pandas/io/parsers.py", line 2303, in __init__ ) = self._infer_columns() File "/home/developer/PycharmProjects/pandas/pandas/io/parsers.py", line 2692, in _infer_columns raise ValueError( ValueError: Number of passed names did not match number of header fields in the file Process finished with exit code 1 ``` #### Expected Output Would expect that both return the same and python engine does not raise. #### Output of ``pd.show_versions()`` <details> master </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/38453/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38453/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38454
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38454/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38454/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38454/events
https://github.com/pandas-dev/pandas/issues/38454
765,542,604
MDU6SXNzdWU3NjU1NDI2MDQ=
38,454
ENH: option to export df to Stata dataset with value labels
{ "avatar_url": "https://avatars.githubusercontent.com/u/63314097?v=4", "events_url": "https://api.github.com/users/WWakker/events{/privacy}", "followers_url": "https://api.github.com/users/WWakker/followers", "following_url": "https://api.github.com/users/WWakker/following{/other_user}", "gists_url": "https://api.github.com/users/WWakker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WWakker", "id": 63314097, "login": "WWakker", "node_id": "MDQ6VXNlcjYzMzE0MDk3", "organizations_url": "https://api.github.com/users/WWakker/orgs", "received_events_url": "https://api.github.com/users/WWakker/received_events", "repos_url": "https://api.github.com/users/WWakker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WWakker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WWakker/subscriptions", "type": "User", "url": "https://api.github.com/users/WWakker" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/16855568?v=4", "events_url": "https://api.github.com/users/lmcindewar/events{/privacy}", "followers_url": "https://api.github.com/users/lmcindewar/followers", "following_url": "https://api.github.com/users/lmcindewar/following{/other_user}", "gists_url": "https://api.github.com/users/lmcindewar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lmcindewar", "id": 16855568, "login": "lmcindewar", "node_id": "MDQ6VXNlcjE2ODU1NTY4", "organizations_url": "https://api.github.com/users/lmcindewar/orgs", "received_events_url": "https://api.github.com/users/lmcindewar/received_events", "repos_url": "https://api.github.com/users/lmcindewar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lmcindewar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lmcindewar/subscriptions", "type": "User", "url": "https://api.github.com/users/lmcindewar" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/16855568?v=4", "events_url": "https://api.github.com/users/lmcindewar/events{/privacy}", "followers_url": "https://api.github.com/users/lmcindewar/followers", "following_url": "https://api.github.com/users/lmcindewar/following{/other_user}", "gists_url": "https://api.github.com/users/lmcindewar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lmcindewar", "id": 16855568, "login": "lmcindewar", "node_id": "MDQ6VXNlcjE2ODU1NTY4", "organizations_url": "https://api.github.com/users/lmcindewar/orgs", "received_events_url": "https://api.github.com/users/lmcindewar/received_events", "repos_url": "https://api.github.com/users/lmcindewar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lmcindewar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lmcindewar/subscriptions", "type": "User", "url": "https://api.github.com/users/lmcindewar" } ]
{ "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
2020-12-13T17:19:59Z
2021-09-10T08:49:19Z
2021-09-10T08:49:19Z
NONE
null
#### Is your feature request related to a problem? One feature of Stata (.dta) datasets is that it's possible to have categorical columns with numerical values and string value labels. At the moment, `df.to_stata` doesn't have an option to create this kind of columns. #### Describe the solution you'd like It would be nice if `df.to_stata` could have a `value_labels` option that accepts a dictionary mapping numerical values to value labels. #### API breaking implications . #### Describe alternatives you've considered . #### Additional context .
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38454/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38454/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38455
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38455/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38455/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38455/events
https://github.com/pandas-dev/pandas/pull/38455
765,558,866
MDExOlB1bGxSZXF1ZXN0NTM4OTkwMDA4
38,455
REF: Separate values-casting from Block.astype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-13T17:44:13Z
2020-12-14T00:36:08Z
2020-12-13T23:41:35Z
MEMBER
null
This separates Block._astype from Block.astype. Block._astype only requires Block.values, the idea being that we can roll it into astype_nansafe before long.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38455/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38455/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38455.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38455", "merged_at": "2020-12-13T23:41:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38455.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38455" }
https://api.github.com/repos/pandas-dev/pandas/issues/38456
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38456/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38456/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38456/events
https://github.com/pandas-dev/pandas/pull/38456
765,579,766
MDExOlB1bGxSZXF1ZXN0NTM4OTk1NDM2
38,456
DOC: update wording about when xlrd engine can be used
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
15
2020-12-13T18:18:03Z
2020-12-23T17:04:25Z
2020-12-23T16:48:12Z
CONTRIBUTOR
null
See https://github.com/pandas-dev/pandas/issues/38424#issuecomment-744043899.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38456/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38456/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38456.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38456", "merged_at": "2020-12-23T16:48:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38456.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38456" }
https://api.github.com/repos/pandas-dev/pandas/issues/38457
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38457/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38457/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38457/events
https://github.com/pandas-dev/pandas/pull/38457
765,707,683
MDExOlB1bGxSZXF1ZXN0NTM5MDQ2MTky
38,457
STYLE: use types_or in pre-commit
{ "avatar_url": "https://avatars.githubusercontent.com/u/22396042?v=4", "events_url": "https://api.github.com/users/rkc007/events{/privacy}", "followers_url": "https://api.github.com/users/rkc007/followers", "following_url": "https://api.github.com/users/rkc007/following{/other_user}", "gists_url": "https://api.github.com/users/rkc007/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rkc007", "id": 22396042, "login": "rkc007", "node_id": "MDQ6VXNlcjIyMzk2MDQy", "organizations_url": "https://api.github.com/users/rkc007/orgs", "received_events_url": "https://api.github.com/users/rkc007/received_events", "repos_url": "https://api.github.com/users/rkc007/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rkc007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rkc007/subscriptions", "type": "User", "url": "https://api.github.com/users/rkc007" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-12-13T23:51:27Z
2020-12-16T00:46:54Z
2020-12-16T00:46:50Z
CONTRIBUTOR
null
- [x] closes #38022 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38457/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38457/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38457.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38457", "merged_at": "2020-12-16T00:46:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38457.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38457" }
https://api.github.com/repos/pandas-dev/pandas/issues/38458
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38458/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38458/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38458/events
https://github.com/pandas-dev/pandas/pull/38458
765,749,314
MDExOlB1bGxSZXF1ZXN0NTM5MDY0ODc4
38,458
Backport PR #38141 on branch 1.2.x (BUG: do not stringify file-like objects)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-14T01:10:30Z
2020-12-14T10:24:50Z
2020-12-14T10:24:49Z
NONE
null
Backport PR #38141: BUG: do not stringify file-like 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/38458/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38458/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38458.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38458", "merged_at": "2020-12-14T10:24:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38458.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38458" }
https://api.github.com/repos/pandas-dev/pandas/issues/38459
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38459/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38459/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38459/events
https://github.com/pandas-dev/pandas/pull/38459
765,860,024
MDExOlB1bGxSZXF1ZXN0NTM5MTEyNjQw
38,459
REF: simplify _sanitize_column
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-14T04:08:07Z
2020-12-14T18:01:21Z
2020-12-14T17:59:46Z
MEMBER
null
It gets called indirectly from `iloc._setitem_with_indexer`, which we're trying to simplify
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38459/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38459/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38459.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38459", "merged_at": "2020-12-14T17:59:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38459.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38459" }
https://api.github.com/repos/pandas-dev/pandas/issues/38460
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38460/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38460/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38460/events
https://github.com/pandas-dev/pandas/pull/38460
765,863,275
MDExOlB1bGxSZXF1ZXN0NTM5MTE0MDk3
38,460
REF: roll DatetimeBlock.astype into Block._astype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-14T04:13:09Z
2021-11-20T23:21:31Z
2020-12-14T14:18:16Z
MEMBER
null
Anything past this requires getting a handle on #36153.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38460/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38460/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38460.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38460", "merged_at": "2020-12-14T14:18:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38460.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38460" }
https://api.github.com/repos/pandas-dev/pandas/issues/38461
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38461/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38461/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38461/events
https://github.com/pandas-dev/pandas/pull/38461
765,873,656
MDExOlB1bGxSZXF1ZXN0NTM5MTE5MzQ3
38,461
TYP: DataFrame.to_gbq, DataFrame.to_html (easy: copy-paste from format module)
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-14T04:28:12Z
2020-12-14T15:43:46Z
2020-12-14T14:24:42Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Spinning off from #38416
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38461/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38461/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38461.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38461", "merged_at": "2020-12-14T14:24:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38461.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38461" }
https://api.github.com/repos/pandas-dev/pandas/issues/38462
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38462/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38462/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38462/events
https://github.com/pandas-dev/pandas/pull/38462
766,405,686
MDExOlB1bGxSZXF1ZXN0NTM5NDMyMzM4
38,462
Update 10min.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/72096386?v=4", "events_url": "https://api.github.com/users/aflah02/events{/privacy}", "followers_url": "https://api.github.com/users/aflah02/followers", "following_url": "https://api.github.com/users/aflah02/following{/other_user}", "gists_url": "https://api.github.com/users/aflah02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aflah02", "id": 72096386, "login": "aflah02", "node_id": "MDQ6VXNlcjcyMDk2Mzg2", "organizations_url": "https://api.github.com/users/aflah02/orgs", "received_events_url": "https://api.github.com/users/aflah02/received_events", "repos_url": "https://api.github.com/users/aflah02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aflah02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aflah02/subscriptions", "type": "User", "url": "https://api.github.com/users/aflah02" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-14T12:59:39Z
2020-12-15T04:31:51Z
2020-12-14T20:38:03Z
CONTRIBUTOR
null
Added Links for Matplotlib Close along with a line explaining what it does. I had faced difficulty when I read it for the first time and had to google search what close does - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38462/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38462/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38462.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38462", "merged_at": "2020-12-14T20:38:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38462.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38462" }
https://api.github.com/repos/pandas-dev/pandas/issues/38463
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38463/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38463/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38463/events
https://github.com/pandas-dev/pandas/issues/38463
766,452,438
MDU6SXNzdWU3NjY0NTI0Mzg=
38,463
BUG: resample apply is actually aggregate
{ "avatar_url": "https://avatars.githubusercontent.com/u/11783247?v=4", "events_url": "https://api.github.com/users/endremborza/events{/privacy}", "followers_url": "https://api.github.com/users/endremborza/followers", "following_url": "https://api.github.com/users/endremborza/following{/other_user}", "gists_url": "https://api.github.com/users/endremborza/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/endremborza", "id": 11783247, "login": "endremborza", "node_id": "MDQ6VXNlcjExNzgzMjQ3", "organizations_url": "https://api.github.com/users/endremborza/orgs", "received_events_url": "https://api.github.com/users/endremborza/received_events", "repos_url": "https://api.github.com/users/endremborza/repos", "site_admin": false, "starred_url": "https://api.github.com/users/endremborza/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/endremborza/subscriptions", "type": "User", "url": "https://api.github.com/users/endremborza" }
[ { "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": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
8
2020-12-14T13:43:54Z
2021-09-11T10:46:24Z
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. --- this piece of code does it, I don't really understand why these things are OK to be the same function here https://github.com/pandas-dev/pandas/blob/7ffbf1a5ab6b0126c7efa5991e7db505979a752c/pandas/core/resample.py#L308 #### Code Sample, a copy-pastable example ```python df = pd.DataFrame([[1,2],[3,4], [5,6]], index=pd.date_range("2020-01-30", "2020-02-01")) df.resample("1M").apply(lambda df: df.mean().mean()) ``` #### Problem description current behavior calls the function on all columns, in all groups, as in aggregate, but is should on all dfs of the groups as in apply #### Expected Output ``` 2020-01-31 2.5 2020-02-29 5.5 Freq: M, dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.2.1-1.el7.elrepo.x86_64 Version : #1 SMP Sun Jul 14 08:15:04 EDT 2019 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.2 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.1.0 Cython : None pytest : 4.6.11 hypothesis : 5.29.0 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.11.2 IPython : 7.17.0 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38463/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38463/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38464
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38464/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38464/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38464/events
https://github.com/pandas-dev/pandas/pull/38464
766,482,812
MDExOlB1bGxSZXF1ZXN0NTM5NDgyMTIz
38,464
Backport PR #38427 on branch 1.2.x (REGR: Assigning label with registered EA dtype raises)
{ "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-14T14:11:32Z
2020-12-14T16:11:17Z
2020-12-14T16:11:17Z
NONE
null
Backport PR #38427: REGR: Assigning label with registered EA dtype raises
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38464/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38464/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38464.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38464", "merged_at": "2020-12-14T16:11:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38464.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38464" }
https://api.github.com/repos/pandas-dev/pandas/issues/38465
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38465/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38465/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38465/events
https://github.com/pandas-dev/pandas/issues/38465
766,487,872
MDU6SXNzdWU3NjY0ODc4NzI=
38,465
API: EAs should default _is_numeric / _is_boolean
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-14T14:16:13Z
2020-12-15T08:50:46Z
2020-12-15T00:01:57Z
CONTRIBUTOR
null
I think we should define ``` @property def _is_numeric(self) -> bool: return False @property def _is_boolean(self) -> bool: return False ``` on the EA base class. Just makes less fragile checks on all EAs as we can assume the attributes exist
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38465/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38465/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38466
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38466/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38466/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38466/events
https://github.com/pandas-dev/pandas/pull/38466
766,767,053
MDExOlB1bGxSZXF1ZXN0NTM5Njk1NDA0
38,466
CLN: astype_nansafe require dtype object
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-14T17:51:30Z
2020-12-14T21:17:53Z
2020-12-14T20:37:09Z
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/38466/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38466/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38466.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38466", "merged_at": "2020-12-14T20:37:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38466.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38466" }
https://api.github.com/repos/pandas-dev/pandas/issues/38467
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38467/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38467/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38467/events
https://github.com/pandas-dev/pandas/pull/38467
766,772,177
MDExOlB1bGxSZXF1ZXN0NTM5Njk4NjEz
38,467
CLN: unnecessary checks
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-14T17:57:27Z
2020-12-14T21:18:13Z
2020-12-14T20:36:56Z
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/38467/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38467/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38467.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38467", "merged_at": "2020-12-14T20:36:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38467.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38467" }
https://api.github.com/repos/pandas-dev/pandas/issues/38468
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38468/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38468/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38468/events
https://github.com/pandas-dev/pandas/pull/38468
766,815,091
MDExOlB1bGxSZXF1ZXN0NTM5NzI1Njcy
38,468
TYP : DataFrame.(merge, join) core.reshape.merge.(merge, ...) (easy)
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-14T18:46:35Z
2020-12-16T01:09:31Z
2020-12-16T00:55:18Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38468/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38468/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38468.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38468", "merged_at": "2020-12-16T00:55:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38468.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38468" }
https://api.github.com/repos/pandas-dev/pandas/issues/38469
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38469/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38469/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38469/events
https://github.com/pandas-dev/pandas/issues/38469
766,856,490
MDU6SXNzdWU3NjY4NTY0OTA=
38,469
BUG: .loc selection using str datetime label on dataframe with MultiIndex containing datetime column returns series
{ "avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4", "events_url": "https://api.github.com/users/kylekeppler/events{/privacy}", "followers_url": "https://api.github.com/users/kylekeppler/followers", "following_url": "https://api.github.com/users/kylekeppler/following{/other_user}", "gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kylekeppler", "id": 14239619, "login": "kylekeppler", "node_id": "MDQ6VXNlcjE0MjM5NjE5", "organizations_url": "https://api.github.com/users/kylekeppler/orgs", "received_events_url": "https://api.github.com/users/kylekeppler/received_events", "repos_url": "https://api.github.com/users/kylekeppler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions", "type": "User", "url": "https://api.github.com/users/kylekeppler" }
[ { "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2020-12-14T19:35:51Z
2020-12-14T20:20:12Z
2020-12-14T20:08:44Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python df = pd.DataFrame({ 'a': ['20201214 12:00:00', '20201214 12:00:01'], 'b': [1, 2], 'c': [3446, 2342], 'd': [10, 11] }) df['a'] = pd.to_datetime(df['a']) df = df.set_index(['a', 'b']) # expected this to return a scalar, but returns Series: df.loc[('2020-12-14 12:00:01', 2), 'c'] a b 2020-12-14 12:00:01 2 2342 Name: c, dtype: int64 # returns a scalar as expected: df.loc[(pd.Timestamp('2020-12-14 12:00:01'), 2), 'c'] 2342 ``` #### Problem description I was confused that `.loc[(str, int), str]` returned a series with one value rather than a single scalar (`int` in this case). Research showed that `.at` requires the exact type, so I tried that with `.loc` and got the expected results which is confusing. #### Expected Output ```python # returns a scalar: df.loc[('2020-12-14 12:00:01', 2), 'c'] 2342 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.2.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.17763 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.1.3 numpy : 1.18.1 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 51.0.0.post20201207 Cython : None pytest : 5.4.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None 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/38469/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38469/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38470
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38470/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38470/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38470/events
https://github.com/pandas-dev/pandas/pull/38470
766,880,150
MDExOlB1bGxSZXF1ZXN0NTM5NzY3MTI1
38,470
Added Link to Conda Website in the README
{ "avatar_url": "https://avatars.githubusercontent.com/u/72096386?v=4", "events_url": "https://api.github.com/users/aflah02/events{/privacy}", "followers_url": "https://api.github.com/users/aflah02/followers", "following_url": "https://api.github.com/users/aflah02/following{/other_user}", "gists_url": "https://api.github.com/users/aflah02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aflah02", "id": 72096386, "login": "aflah02", "node_id": "MDQ6VXNlcjcyMDk2Mzg2", "organizations_url": "https://api.github.com/users/aflah02/orgs", "received_events_url": "https://api.github.com/users/aflah02/received_events", "repos_url": "https://api.github.com/users/aflah02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aflah02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aflah02/subscriptions", "type": "User", "url": "https://api.github.com/users/aflah02" }
[]
closed
false
null
[]
null
0
2020-12-14T20:05:51Z
2020-12-15T04:32:58Z
2020-12-15T04:32:52Z
CONTRIBUTOR
null
Added Link to Conda Website in the README for easy access especially for first-timers - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38470/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38470/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38470.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38470", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38470.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38470" }
https://api.github.com/repos/pandas-dev/pandas/issues/38471
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38471/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38471/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38471/events
https://github.com/pandas-dev/pandas/pull/38471
766,932,478
MDExOlB1bGxSZXF1ZXN0NTM5ODAxNjEx
38,471
DOC: fixes for assert_frame_equal check_freq argument
{ "avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4", "events_url": "https://api.github.com/users/kylekeppler/events{/privacy}", "followers_url": "https://api.github.com/users/kylekeppler/followers", "following_url": "https://api.github.com/users/kylekeppler/following{/other_user}", "gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kylekeppler", "id": 14239619, "login": "kylekeppler", "node_id": "MDQ6VXNlcjE0MjM5NjE5", "organizations_url": "https://api.github.com/users/kylekeppler/orgs", "received_events_url": "https://api.github.com/users/kylekeppler/received_events", "repos_url": "https://api.github.com/users/kylekeppler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions", "type": "User", "url": "https://api.github.com/users/kylekeppler" }
[ { "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-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
3
2020-12-14T21:12:10Z
2021-01-03T01:38:30Z
2021-01-01T23:10:06Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This is just a minor documentation change to fix the `versionadded` tag on the `check_freq` argument to `assert_frame_equal` and also to add a description of this backwards incompatible chage to the 1.1.0 Whats New (as recommended in https://github.com/pandas-dev/pandas/issues/35570#issuecomment-674064533).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38471/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38471/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38471.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38471", "merged_at": "2021-01-01T23:10:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38471.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38471" }
https://api.github.com/repos/pandas-dev/pandas/issues/38472
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38472/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38472/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38472/events
https://github.com/pandas-dev/pandas/pull/38472
766,949,871
MDExOlB1bGxSZXF1ZXN0NTM5ODE0OTYx
38,472
BUG: disallow scalar in Categorical constructor
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
2020-12-14T21:35:02Z
2020-12-23T19:18:59Z
2020-12-23T18:44:29Z
MEMBER
null
- [x] closes #38433 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38472/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38472/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38472.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38472", "merged_at": "2020-12-23T18:44:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38472.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38472" }
https://api.github.com/repos/pandas-dev/pandas/issues/38473
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38473/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38473/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38473/events
https://github.com/pandas-dev/pandas/pull/38473
766,953,707
MDExOlB1bGxSZXF1ZXN0NTM5ODE3OTY2
38,473
BUG: require arraylike in infer_dtype_from_array
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-14T21:41:34Z
2020-12-22T01:03:45Z
2020-12-22T01:03:11Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38473/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38473/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38473.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38473", "merged_at": "2020-12-22T01:03:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38473.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38473" }
https://api.github.com/repos/pandas-dev/pandas/issues/38474
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38474/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38474/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38474/events
https://github.com/pandas-dev/pandas/issues/38474
766,967,248
MDU6SXNzdWU3NjY5NjcyNDg=
38,474
New Pandas Assertion Error
{ "avatar_url": "https://avatars.githubusercontent.com/u/55925237?v=4", "events_url": "https://api.github.com/users/andrewswimm3395/events{/privacy}", "followers_url": "https://api.github.com/users/andrewswimm3395/followers", "following_url": "https://api.github.com/users/andrewswimm3395/following{/other_user}", "gists_url": "https://api.github.com/users/andrewswimm3395/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/andrewswimm3395", "id": 55925237, "login": "andrewswimm3395", "node_id": "MDQ6VXNlcjU1OTI1MjM3", "organizations_url": "https://api.github.com/users/andrewswimm3395/orgs", "received_events_url": "https://api.github.com/users/andrewswimm3395/received_events", "repos_url": "https://api.github.com/users/andrewswimm3395/repos", "site_admin": false, "starred_url": "https://api.github.com/users/andrewswimm3395/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andrewswimm3395/subscriptions", "type": "User", "url": "https://api.github.com/users/andrewswimm3395" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
3
2020-12-14T22:03:08Z
2021-01-27T12:07:13Z
2021-01-27T12:06:54Z
NONE
null
I am running into an assertion error when using group_by.min() which was never a problem when I was using the older version of pandas
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38474/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38474/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38475
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38475/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38475/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38475/events
https://github.com/pandas-dev/pandas/pull/38475
766,970,513
MDExOlB1bGxSZXF1ZXN0NTM5ODMxMDAy
38,475
DOC: Add doc-string examples for pd.read_sql using custom parse_dates arg values
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "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": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-14T22:08:33Z
2020-12-17T02:18:57Z
2020-12-17T02:18:51Z
CONTRIBUTOR
null
follow on PR for #37823 - [x] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38475/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38475/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38475.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38475", "merged_at": "2020-12-17T02:18:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38475.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38475" }
https://api.github.com/repos/pandas-dev/pandas/issues/38476
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38476/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38476/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38476/events
https://github.com/pandas-dev/pandas/pull/38476
766,973,756
MDExOlB1bGxSZXF1ZXN0NTM5ODMzNTE5
38,476
BENCH: Fix CategoricalIndexing benchmark
{ "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": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-14T22:13:59Z
2020-12-16T21:03:48Z
2020-12-16T01:01:43Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This benchmark behavior changed after https://github.com/pandas-dev/pandas/pull/38372 Additionally, exploring if its feasible to always run the benchmarks to catch these changes earlier.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 1, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38476/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38476/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38476.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38476", "merged_at": "2020-12-16T01:01:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38476.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38476" }
https://api.github.com/repos/pandas-dev/pandas/issues/38477
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38477/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38477/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38477/events
https://github.com/pandas-dev/pandas/pull/38477
767,001,989
MDExOlB1bGxSZXF1ZXN0NTM5ODU0ODc5
38,477
ENH: skip_blank_columns in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/46031660?v=4", "events_url": "https://api.github.com/users/jasperscheiber/events{/privacy}", "followers_url": "https://api.github.com/users/jasperscheiber/followers", "following_url": "https://api.github.com/users/jasperscheiber/following{/other_user}", "gists_url": "https://api.github.com/users/jasperscheiber/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jasperscheiber", "id": 46031660, "login": "jasperscheiber", "node_id": "MDQ6VXNlcjQ2MDMxNjYw", "organizations_url": "https://api.github.com/users/jasperscheiber/orgs", "received_events_url": "https://api.github.com/users/jasperscheiber/received_events", "repos_url": "https://api.github.com/users/jasperscheiber/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jasperscheiber/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jasperscheiber/subscriptions", "type": "User", "url": "https://api.github.com/users/jasperscheiber" }
[ { "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" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
2
2020-12-14T23:02:01Z
2021-03-10T05:44:41Z
2021-03-10T05:44:40Z
NONE
null
- [ ] closes #34231 - [ ] adds skip_blank_columns functionality - [ ] updates API documentation
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38477/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38477/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38477.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38477", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38477.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38477" }
https://api.github.com/repos/pandas-dev/pandas/issues/38478
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38478/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38478/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38478/events
https://github.com/pandas-dev/pandas/pull/38478
767,008,851
MDExOlB1bGxSZXF1ZXN0NTM5ODYwMjc4
38,478
CI: Use --strict-markers for pytest 6.0.2
{ "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-12-14T23:15:52Z
2020-12-15T10:47:21Z
2020-12-15T00:14:35Z
MEMBER
null
closes #38483 Found in the npdev build. Noted in pytest changlog: https://docs.pytest.org/en/stable/changelog.html#deprecations
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38478/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38478/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38478.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38478", "merged_at": "2020-12-15T00:14:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38478.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38478" }
https://api.github.com/repos/pandas-dev/pandas/issues/38479
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38479/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38479/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38479/events
https://github.com/pandas-dev/pandas/pull/38479
767,013,268
MDExOlB1bGxSZXF1ZXN0NTM5ODYzNzI0
38,479
REF: share unboxing code
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-14T23:24:24Z
2020-12-16T02:17:58Z
2020-12-16T02:12:19Z
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/38479/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38479/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38479.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38479", "merged_at": "2020-12-16T02:12:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38479.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38479" }
https://api.github.com/repos/pandas-dev/pandas/issues/38480
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38480/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38480/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38480/events
https://github.com/pandas-dev/pandas/pull/38480
767,031,445
MDExOlB1bGxSZXF1ZXN0NTM5ODc5Mjk1
38,480
CI: Supress moto server logs in tests
{ "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": "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-12-14T23:54:45Z
2020-12-29T02:56:46Z
2020-12-15T14:58:04Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry https://github.com/pandas-dev/pandas/pull/38096 originally did not do the trick. This change worked for me locally.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38480/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38480/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38480.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38480", "merged_at": "2020-12-15T14:58:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38480.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38480" }
https://api.github.com/repos/pandas-dev/pandas/issues/38481
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38481/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38481/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38481/events
https://github.com/pandas-dev/pandas/pull/38481
767,034,852
MDExOlB1bGxSZXF1ZXN0NTM5ODgyMjk4
38,481
REF: share .astype code for astype_nansafe + TDA.astype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-12-15T00:00:31Z
2020-12-16T21:06:43Z
2020-12-16T01:00:01Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This changes TDI.astype and TDA.astype in the cast with no-NAs to return float64 instead of int64, matching Series behavior.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38481/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38481/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38481.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38481", "merged_at": "2020-12-16T01:00:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38481.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38481" }
https://api.github.com/repos/pandas-dev/pandas/issues/38482
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38482/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38482/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38482/events
https://github.com/pandas-dev/pandas/issues/38482
767,036,964
MDU6SXNzdWU3NjcwMzY5NjQ=
38,482
DOC: get_indexer returns non-matching with -1 positional
{ "avatar_url": "https://avatars.githubusercontent.com/u/53961518?v=4", "events_url": "https://api.github.com/users/chrisjdixon/events{/privacy}", "followers_url": "https://api.github.com/users/chrisjdixon/followers", "following_url": "https://api.github.com/users/chrisjdixon/following{/other_user}", "gists_url": "https://api.github.com/users/chrisjdixon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrisjdixon", "id": 53961518, "login": "chrisjdixon", "node_id": "MDQ6VXNlcjUzOTYxNTE4", "organizations_url": "https://api.github.com/users/chrisjdixon/orgs", "received_events_url": "https://api.github.com/users/chrisjdixon/received_events", "repos_url": "https://api.github.com/users/chrisjdixon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrisjdixon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrisjdixon/subscriptions", "type": "User", "url": "https://api.github.com/users/chrisjdixon" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/67254493?v=4", "events_url": "https://api.github.com/users/shuaggar-sys/events{/privacy}", "followers_url": "https://api.github.com/users/shuaggar-sys/followers", "following_url": "https://api.github.com/users/shuaggar-sys/following{/other_user}", "gists_url": "https://api.github.com/users/shuaggar-sys/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shuaggar-sys", "id": 67254493, "login": "shuaggar-sys", "node_id": "MDQ6VXNlcjY3MjU0NDkz", "organizations_url": "https://api.github.com/users/shuaggar-sys/orgs", "received_events_url": "https://api.github.com/users/shuaggar-sys/received_events", "repos_url": "https://api.github.com/users/shuaggar-sys/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shuaggar-sys/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shuaggar-sys/subscriptions", "type": "User", "url": "https://api.github.com/users/shuaggar-sys" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/50010452?v=4", "events_url": "https://api.github.com/users/DhruvBShetty/events{/privacy}", "followers_url": "https://api.github.com/users/DhruvBShetty/followers", "following_url": "https://api.github.com/users/DhruvBShetty/following{/other_user}", "gists_url": "https://api.github.com/users/DhruvBShetty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DhruvBShetty", "id": 50010452, "login": "DhruvBShetty", "node_id": "MDQ6VXNlcjUwMDEwNDUy", "organizations_url": "https://api.github.com/users/DhruvBShetty/orgs", "received_events_url": "https://api.github.com/users/DhruvBShetty/received_events", "repos_url": "https://api.github.com/users/DhruvBShetty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DhruvBShetty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DhruvBShetty/subscriptions", "type": "User", "url": "https://api.github.com/users/DhruvBShetty" }, { "avatar_url": "https://avatars.githubusercontent.com/u/67254493?v=4", "events_url": "https://api.github.com/users/shuaggar-sys/events{/privacy}", "followers_url": "https://api.github.com/users/shuaggar-sys/followers", "following_url": "https://api.github.com/users/shuaggar-sys/following{/other_user}", "gists_url": "https://api.github.com/users/shuaggar-sys/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shuaggar-sys", "id": 67254493, "login": "shuaggar-sys", "node_id": "MDQ6VXNlcjY3MjU0NDkz", "organizations_url": "https://api.github.com/users/shuaggar-sys/orgs", "received_events_url": "https://api.github.com/users/shuaggar-sys/received_events", "repos_url": "https://api.github.com/users/shuaggar-sys/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shuaggar-sys/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shuaggar-sys/subscriptions", "type": "User", "url": "https://api.github.com/users/shuaggar-sys" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
12
2020-12-15T00:05:23Z
2021-11-06T02:45:42Z
2021-11-06T02:45:42Z
NONE
null
[An answer on my recent SO post](https://stackoverflow.com/a/65085536/4107349) used `get_indexer`, which worked great, but I soon learned if the indexer doesn't find a match it seems to use the last entry without raising an error: ``` df = pd.DataFrame({"ID": [6, 2, 4], "to ignore": ["foo", "whatever", "idk"], "value": ["A", "B", "asdf"], }) df2 = pd.DataFrame({"ID_number": [1, 2, 3, 4, 5, 6], "A": [0.91, 0.42, 0.85, 0.84, 0.81, 0.88], "B": [0.11, 0.22, 0.45, 0.38, 0.01, 0.18], }) df2 = df2.set_index('ID_number') df['new_col'] = df2.values[df2.index.get_indexer(df['ID']), df2.columns.get_indexer(df['value'])] ``` I presumed the row with "asdf" would have raised an error, not returned the value for "B". This was problematic because I unwittingly processed data incorrectly and I enjoy being employed. My interpretation of the [documentation](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.get_indexer.html) was that if `method` was not supplied it would be "default: exact matches only". Supplying `method = 'default'` and `tolerance = 0` was also not accepted when not using another method. Also, I'm no serious programmer so I have likely misunderstood something and am only trying to help. Please feel free to correct / tell me to go away
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38482/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38482/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38483
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38483/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38483/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38483/events
https://github.com/pandas-dev/pandas/issues/38483
767,040,493
MDU6SXNzdWU3NjcwNDA0OTM=
38,483
CI: --strict option in pytest failing builds
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-12-15T00:13:07Z
2020-12-15T00:58:27Z
2020-12-15T00:14:35Z
CONTRIBUTOR
null
seems we are passing `--strict` to pytest, we must have picked up an updated version and this is now raising: https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=50126&view=logs&j=eab14f69-13b6-5db7-daeb-7b778629410b&t=ce687173-08c6-5301-838d-71b2dda24510 temporarily can just fix the pytest version or just remove this cc @pandas-dev/pandas-core
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38483/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38483/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38484
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38484/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38484/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38484/events
https://github.com/pandas-dev/pandas/issues/38484
767,052,931
MDU6SXNzdWU3NjcwNTI5MzE=
38,484
BUG: Segmentation Fault when read_table is given None
{ "avatar_url": "https://avatars.githubusercontent.com/u/16909216?v=4", "events_url": "https://api.github.com/users/chaburkland/events{/privacy}", "followers_url": "https://api.github.com/users/chaburkland/followers", "following_url": "https://api.github.com/users/chaburkland/following{/other_user}", "gists_url": "https://api.github.com/users/chaburkland/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chaburkland", "id": 16909216, "login": "chaburkland", "node_id": "MDQ6VXNlcjE2OTA5MjE2", "organizations_url": "https://api.github.com/users/chaburkland/orgs", "received_events_url": "https://api.github.com/users/chaburkland/received_events", "repos_url": "https://api.github.com/users/chaburkland/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chaburkland/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chaburkland/subscriptions", "type": "User", "url": "https://api.github.com/users/chaburkland" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
2020-12-15T00:38:23Z
2020-12-15T00:43:31Z
2020-12-15T00:41:26Z
NONE
null
- [x] I have checked that this issue has not already been reported. ~~- [ ] I have confirmed this bug exists on the latest version of pandas.~~ (Not applicable) ~~- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.~~ (Not applicable) --- **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 pyarrow.parquet as pq pq.read_table(None) ``` #### Problem description The above snippet will produce a Segmentation Fault, which is highly undesirable. The reason I discovered this, was I had a function that was supposed to return a filepath, but on my first iteration I forgot to return. Thus, when I ran my module with `pq.read_table(generate_fp())`, it produced a Segmentation Fault. #### Expected Output Ideally this will raise an `ValueError`, indicating to the user that `None` is an invalid source/filepath. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.8.3.final.0 python-bits: 64 OS: Linux OS-release: 5.4.0-56-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 3.8.0 pip: 19.2.3 setuptools: 41.2.0 Cython: 0.29.13 numpy: 1.17.4 scipy: 1.1.0 pyarrow: 0.17.0 xarray: None IPython: 7.14.0 sphinx: 3.1.2 patsy: None dateutil: 2.6.1 pytz: 2019.1 blosc: None bottleneck: None tables: 3.6.1 numexpr: 2.6.9 feather: None matplotlib: 3.1.1 openpyxl: 2.5.4 xlrd: 1.0.0 xlwt: None xlsxwriter: 1.1.2 lxml.etree: None bs4: None html5lib: None sqlalchemy: 1.3.16 pymysql: None psycopg2: 2.8.5 (dt dec pq3 ext lo64) jinja2: 2.10.3 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: 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/38484/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38484/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38485
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38485/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38485/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38485/events
https://github.com/pandas-dev/pandas/issues/38485
767,071,633
MDU6SXNzdWU3NjcwNzE2MzM=
38,485
DOC: Missing ipython block in user_guide/indexing.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-15T01:24:00Z
2020-12-15T09:02:13Z
2020-12-15T09:02:13Z
MEMBER
null
#### Location of the documentation https://pandas.pydata.org/docs/user_guide/indexing.html #### Documentation problem Looks like a missing ipython block: <img width="866" alt="Screen Shot 2020-12-14 at 8 20 33 PM" src="https://user-images.githubusercontent.com/37011898/102155736-238edf80-3e4a-11eb-8ae3-db335d755b2b.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/38485/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38485/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38486
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38486/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38486/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38486/events
https://github.com/pandas-dev/pandas/pull/38486
767,074,390
MDExOlB1bGxSZXF1ZXN0NTM5OTEyNDE3
38,486
DOC: Fix missing ipython block in user_guide/indexing.rst
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-15T01:31:15Z
2020-12-15T16:00:38Z
2020-12-15T09:02:13Z
MEMBER
null
- [x] closes #38485
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38486/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38486/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38486.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38486", "merged_at": "2020-12-15T09:02:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38486.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38486" }
https://api.github.com/repos/pandas-dev/pandas/issues/38487
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38487/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38487/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38487/events
https://github.com/pandas-dev/pandas/pull/38487
767,081,624
MDExOlB1bGxSZXF1ZXN0NTM5OTE3ODY1
38,487
REF: simplify maybe_upcast_putmask
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-15T01:49:49Z
2020-12-16T02:19:42Z
2020-12-16T02:13:25Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38487/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38487/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38487.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38487", "merged_at": "2020-12-16T02:13:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38487.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38487" }
https://api.github.com/repos/pandas-dev/pandas/issues/38488
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38488/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38488/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38488/events
https://github.com/pandas-dev/pandas/issues/38488
767,152,375
MDU6SXNzdWU3NjcxNTIzNzU=
38,488
BUG: wrong result in rolling mean\sum (possibly related with cython implementation)
{ "avatar_url": "https://avatars.githubusercontent.com/u/48577571?v=4", "events_url": "https://api.github.com/users/auderson/events{/privacy}", "followers_url": "https://api.github.com/users/auderson/followers", "following_url": "https://api.github.com/users/auderson/following{/other_user}", "gists_url": "https://api.github.com/users/auderson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/auderson", "id": 48577571, "login": "auderson", "node_id": "MDQ6VXNlcjQ4NTc3NTcx", "organizations_url": "https://api.github.com/users/auderson/orgs", "received_events_url": "https://api.github.com/users/auderson/received_events", "repos_url": "https://api.github.com/users/auderson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/auderson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/auderson/subscriptions", "type": "User", "url": "https://api.github.com/users/auderson" }
[ { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
3
2020-12-15T04:06:49Z
2021-01-01T21:54:54Z
2020-12-15T18:06:56Z
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 # Your code here df = pd.Series(np.random.random(20), dtype='float64') df[:10] *= 1e6 df[-10:] = 0 df Out[124]: 0 235266.408832 1 979278.480747 2 242108.917259 3 513980.266425 4 44316.957433 5 408655.731842 6 490360.015982 7 855399.526047 8 321975.011810 9 831082.388210 10 0.000000 11 0.000000 12 0.000000 13 0.000000 14 0.000000 15 0.000000 16 0.000000 17 0.000000 18 0.000000 19 0.000000 dtype: float64 df.rolling(6).mean() Out[126]: 0 NaN 1 NaN 2 NaN 3 NaN 4 NaN 5 2.682618e+05 6 2.723245e+05 7 2.937347e+05 8 3.589816e+05 9 2.737199e+05 10 2.429527e+05 11 2.411146e+05 12 1.258042e+05 13 9.726441e+04 14 1.032524e+04 15 2.546585e-11 16 2.546585e-11 17 2.546585e-11 18 2.546585e-11 19 2.546585e-11 dtype: float64 df.rolling(6).sum() Out[127]: 0 NaN 1 NaN 2 NaN 3 NaN 4 NaN 5 1.609571e+06 6 1.633947e+06 7 1.762408e+06 8 2.153889e+06 9 1.642319e+06 10 1.457716e+06 11 1.446688e+06 12 7.548251e+05 13 5.835865e+05 14 6.195146e+04 15 1.527951e-10 16 1.527951e-10 17 1.527951e-10 18 1.527951e-10 19 1.527951e-10 dtype: float64 ``` #### Problem description if the head is substantially larger than the 0s in the tail, then rolling mean\sum will not generate correct results. I roughly looked into the source code and guess maybe it's related to cython "rolling_mean" #### Expected Output 0 in row 15 to 20, not 2.546585e-11 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-112-generic Version : #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 51.0.0.post20201207 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.1 html5lib : None pymysql : 0.9.2 psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: 0.9.0 bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 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 : 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/38488/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38488/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38489
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38489/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38489/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38489/events
https://github.com/pandas-dev/pandas/issues/38489
767,158,985
MDU6SXNzdWU3NjcxNTg5ODU=
38,489
BUG: read_csv: C and python engines have inconsistent behavior when `parse_dates=[]`
{ "avatar_url": "https://avatars.githubusercontent.com/u/325476?v=4", "events_url": "https://api.github.com/users/xuhdev/events{/privacy}", "followers_url": "https://api.github.com/users/xuhdev/followers", "following_url": "https://api.github.com/users/xuhdev/following{/other_user}", "gists_url": "https://api.github.com/users/xuhdev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xuhdev", "id": 325476, "login": "xuhdev", "node_id": "MDQ6VXNlcjMyNTQ3Ng==", "organizations_url": "https://api.github.com/users/xuhdev/orgs", "received_events_url": "https://api.github.com/users/xuhdev/received_events", "repos_url": "https://api.github.com/users/xuhdev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xuhdev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xuhdev/subscriptions", "type": "User", "url": "https://api.github.com/users/xuhdev" }
[ { "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": "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" }
2
2020-12-15T04:20:29Z
2020-12-15T20:15:45Z
2020-12-15T20:14:15Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import io import pandas as pd s = """some_header 2020-01-01 01:00:00""" print('python,parse_dates=False') print(pd.read_csv(io.StringIO(s), parse_dates=False, engine='python', delimiter=' ')) print('python,parse_dates=[]') print(pd.read_csv(io.StringIO(s), parse_dates=[], engine='python', delimiter=' ')) print('c, parse_dates=False') print(pd.read_csv(io.StringIO(s), parse_dates=False, engine='c', delimiter=' ')) print('c, parse_dates=[]') print(pd.read_csv(io.StringIO(s), parse_dates=[], engine='c', delimiter=' ')) ``` #### Problem description In the code above, the first three `read_csv` calls succeed, but the last one crashes: ``` Traceback (most recent call last): File "bug.py", line 16, in <module> print(pd.read_csv(io.StringIO(s), parse_dates=[], engine='c', delimiter=' ')) File "/home/hong/wsrc/dax-api/.tox/dev/lib64/python3.8/site-packages/pandas/io/parsers.py", line 688, in read_csv return _read(filepath_or_buffer, kwds) File "/home/hong/wsrc/dax-api/.tox/dev/lib64/python3.8/site-packages/pandas/io/parsers.py", line 460, in _read data = parser.read(nrows) File "/home/hong/wsrc/dax-api/.tox/dev/lib64/python3.8/site-packages/pandas/io/parsers.py", line 1198, in read ret = self._engine.read(nrows) File "/home/hong/wsrc/dax-api/.tox/dev/lib64/python3.8/site-packages/pandas/io/parsers.py", line 2200, in read values = self._maybe_parse_dates(values, i, try_parse_dates=True) File "/home/hong/wsrc/dax-api/.tox/dev/lib64/python3.8/site-packages/pandas/io/parsers.py", line 2261, in _maybe_parse_dates if try_parse_dates and self._should_parse_dates(index): File "/home/hong/wsrc/dax-api/.tox/dev/lib64/python3.8/site-packages/pandas/io/parsers.py", line 1569, in _should_parse_dates j = self.index_col[i] TypeError: 'NoneType' object is not subscriptable ``` #### Expected Output The content of the CSV being printed. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.0.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-1160.6.1.el7.x86_64 Version : #1 SMP Wed Oct 21 13:44:38 EDT 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 50.3.2 Cython : None pytest : 6.2.0 hypothesis : None sphinx : 3.3.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : 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/38489/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38489/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38490
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38490/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38490/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38490/events
https://github.com/pandas-dev/pandas/pull/38490
767,166,458
MDExOlB1bGxSZXF1ZXN0NTM5OTY4ODg4
38,490
REF: share astype code in MaskedArray
{ "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-15T04:36:05Z
2020-12-22T00:11:44Z
2020-12-21T23:47:06Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry cc @jorisvandenbossche i dont know if this is the optimal way to do this, but it seems like there is a lot of share-ability here.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38490/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38490/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38490.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38490", "merged_at": "2020-12-21T23:47:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38490.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38490" }
https://api.github.com/repos/pandas-dev/pandas/issues/38491
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38491/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38491/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38491/events
https://github.com/pandas-dev/pandas/pull/38491
767,174,485
MDExOlB1bGxSZXF1ZXN0NTM5OTc0MDAw
38,491
Updated README
{ "avatar_url": "https://avatars.githubusercontent.com/u/72096386?v=4", "events_url": "https://api.github.com/users/aflah02/events{/privacy}", "followers_url": "https://api.github.com/users/aflah02/followers", "following_url": "https://api.github.com/users/aflah02/following{/other_user}", "gists_url": "https://api.github.com/users/aflah02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aflah02", "id": 72096386, "login": "aflah02", "node_id": "MDQ6VXNlcjcyMDk2Mzg2", "organizations_url": "https://api.github.com/users/aflah02/orgs", "received_events_url": "https://api.github.com/users/aflah02/received_events", "repos_url": "https://api.github.com/users/aflah02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aflah02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aflah02/subscriptions", "type": "User", "url": "https://api.github.com/users/aflah02" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-12-15T04:52:09Z
2020-12-16T17:31:23Z
2020-12-16T16:18:40Z
CONTRIBUTOR
null
I have updated the README with the following - 1. Added Links for Conda, Cython and AQR. 2. Added a brief description for what all the Dependencies do so people who are unfamiliar with them can atleast get a basic idea about them 3. Corrected PyPI spelling in one instance
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38491/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38491/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38491.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38491", "merged_at": "2020-12-16T16:18:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38491.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38491" }
https://api.github.com/repos/pandas-dev/pandas/issues/38492
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38492/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38492/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38492/events
https://github.com/pandas-dev/pandas/pull/38492
767,210,333
MDExOlB1bGxSZXF1ZXN0NTM5OTk4NzI3
38,492
BUG: CategoricalIndex.reindex fails when Index passed with labels all in category
{ "avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4", "events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}", "followers_url": "https://api.github.com/users/GYHHAHA/followers", "following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}", "gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GYHHAHA", "id": 41546976, "login": "GYHHAHA", "node_id": "MDQ6VXNlcjQxNTQ2OTc2", "organizations_url": "https://api.github.com/users/GYHHAHA/orgs", "received_events_url": "https://api.github.com/users/GYHHAHA/received_events", "repos_url": "https://api.github.com/users/GYHHAHA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions", "type": "User", "url": "https://api.github.com/users/GYHHAHA" }
[ { "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": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-15T05:59:55Z
2020-12-18T11:23:46Z
2020-12-17T23:40:05Z
CONTRIBUTOR
null
- [x] closes #28690 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38492/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38492/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38492.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38492", "merged_at": "2020-12-17T23:40:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38492.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38492" }
https://api.github.com/repos/pandas-dev/pandas/issues/38493
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38493/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38493/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38493/events
https://github.com/pandas-dev/pandas/pull/38493
767,244,560
MDExOlB1bGxSZXF1ZXN0NTQwMDI0MDMy
38,493
TYP: func argument to DataFrame.apply, DataFrame.applymap, core.apply.frame_apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-15T06:53:44Z
2020-12-18T23:06:51Z
2020-12-18T23:06:46Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Spinning off from #38416, xref https://github.com/pandas-dev/pandas/pull/38416#discussion_r542911035
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38493/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38493/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38493.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38493", "merged_at": "2020-12-18T23:06:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38493.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38493" }
https://api.github.com/repos/pandas-dev/pandas/issues/38494
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38494/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38494/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38494/events
https://github.com/pandas-dev/pandas/pull/38494
767,294,795
MDExOlB1bGxSZXF1ZXN0NTQwMDU2Mzk5
38,494
TST: don't use global fixture in the base extension tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-12-15T08:00:28Z
2020-12-15T15:01:31Z
2020-12-15T14:57:09Z
MEMBER
null
Follow-up on https://github.com/pandas-dev/pandas/pull/37867. In the discussion about using this fixture, I forgot that we should not use global pandas fixtures in those tests, but only the ones that are defined in the local /pandas/tests/extension/conftest.py, otherwise this doesn't work for downstream projects (eg https://github.com/geopandas/geopandas/issues/1735). For this case it's easier to simply not use a fixture, I think (but still share the common definition of the list)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38494/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38494/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38494.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38494", "merged_at": "2020-12-15T14:57:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38494.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38494" }
https://api.github.com/repos/pandas-dev/pandas/issues/38495
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38495/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38495/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38495/events
https://github.com/pandas-dev/pandas/issues/38495
767,343,330
MDU6SXNzdWU3NjczNDMzMzA=
38,495
Major Performance regression of df.groupby(..).indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/7777521?v=4", "events_url": "https://api.github.com/users/bordingj/events{/privacy}", "followers_url": "https://api.github.com/users/bordingj/followers", "following_url": "https://api.github.com/users/bordingj/following{/other_user}", "gists_url": "https://api.github.com/users/bordingj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bordingj", "id": 7777521, "login": "bordingj", "node_id": "MDQ6VXNlcjc3Nzc1MjE=", "organizations_url": "https://api.github.com/users/bordingj/orgs", "received_events_url": "https://api.github.com/users/bordingj/received_events", "repos_url": "https://api.github.com/users/bordingj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bordingj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bordingj/subscriptions", "type": "User", "url": "https://api.github.com/users/bordingj" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-15T08:57:00Z
2021-01-03T18:44:14Z
2021-01-03T18:44:14Z
NONE
null
I'm experiencing major performance regressions with pandas=1.1.5 versus 1.1.3 Version 1.1.3: ``` Python 3.7.9 | packaged by conda-forge | (default, Dec 9 2020, 20:36:16) [MSC v.1916 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help. PyDev console: using IPython 7.19.0 Python 3.7.9 | packaged by conda-forge | (default, Dec 9 2020, 20:36:16) [MSC v.1916 64 bit (AMD64)] on win32 In[2]: import time ... : import numpy as np ... : import pandas as pd ... : pd.__version__ Out[2]: '1.1.3' In[3]: numel = 10000000 ... : df = pd.DataFrame(dict(a=np.random.rand(numel), b=np.random.randint(0,4000, numel))) ... : start = time.time() ... : groupby_indices = df.groupby('b').indices ... : time.time() - start Out[3]: 0.46085023880004883 ``` Version 1.1.5: ``` Python 3.7.9 | packaged by conda-forge | (default, Dec 9 2020, 20:36:16) [MSC v.1916 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help. PyDev console: using IPython 7.19.0 Python 3.7.9 | packaged by conda-forge | (default, Dec 9 2020, 20:36:16) [MSC v.1916 64 bit (AMD64)] on win32 In[2]: import time ... : import numpy as np ... : import pandas as pd ... : pd.__version__ Out[2]: '1.1.5' In[3]: numel = 10000000 ... : df = pd.DataFrame(dict(a=np.random.rand(numel), b=np.random.randint(0,4000, numel))) ... : start = time.time() ... : groupby_indices = df.groupby('b').indices ... : time.time() - start Out[3]: 57.36550998687744 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38495/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38495/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38496
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38496/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38496/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38496/events
https://github.com/pandas-dev/pandas/pull/38496
767,349,234
MDExOlB1bGxSZXF1ZXN0NTQwMDkwNjk3
38,496
Backport PR #38486 on branch 1.2.x (DOC: Fix missing ipython block in user_guide/indexing.rst)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-15T09:03:17Z
2020-12-15T12:16:37Z
2020-12-15T12:16:37Z
NONE
null
Backport PR #38486: DOC: Fix missing ipython block in user_guide/indexing.rst
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38496/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38496/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38496.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38496", "merged_at": "2020-12-15T12:16:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38496.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38496" }
https://api.github.com/repos/pandas-dev/pandas/issues/38497
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38497/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38497/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38497/events
https://github.com/pandas-dev/pandas/pull/38497
767,453,596
MDExOlB1bGxSZXF1ZXN0NTQwMTU1MzUx
38,497
Backport PR #38478 on branch 1.2.x (CI: Use --strict-markers for pytest 6.0.2)
{ "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-15T10:47:33Z
2020-12-15T13:07:39Z
2020-12-15T13:07:39Z
NONE
null
Backport PR #38478: CI: Use --strict-markers for pytest 6.0.2
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38497/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38497/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38497.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38497", "merged_at": "2020-12-15T13:07:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38497.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38497" }
https://api.github.com/repos/pandas-dev/pandas/issues/38498
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38498/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38498/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38498/events
https://github.com/pandas-dev/pandas/issues/38498
767,569,551
MDU6SXNzdWU3Njc1Njk1NTE=
38,498
ENH: Default Excel engine only compatible with XLS files -> replace by new one
{ "avatar_url": "https://avatars.githubusercontent.com/u/6095790?v=4", "events_url": "https://api.github.com/users/dalonsoa/events{/privacy}", "followers_url": "https://api.github.com/users/dalonsoa/followers", "following_url": "https://api.github.com/users/dalonsoa/following{/other_user}", "gists_url": "https://api.github.com/users/dalonsoa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dalonsoa", "id": 6095790, "login": "dalonsoa", "node_id": "MDQ6VXNlcjYwOTU3OTA=", "organizations_url": "https://api.github.com/users/dalonsoa/orgs", "received_events_url": "https://api.github.com/users/dalonsoa/received_events", "repos_url": "https://api.github.com/users/dalonsoa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dalonsoa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dalonsoa/subscriptions", "type": "User", "url": "https://api.github.com/users/dalonsoa" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
1
2020-12-15T13:02:35Z
2020-12-15T16:41:59Z
2020-12-15T16:41:46Z
NONE
null
#### Is your feature request related to a problem? With the release of [xlrd 2.0.0 the last 11th of December](https://github.com/python-excel/xlrd/blob/master/CHANGELOG.rst#200-11-december-2020), they drop support for any file format except the (very old) XLS. As this is the default Excel engine for Pandas, it is likely there will be a cascade of complains popping up very soon. #### Describe the solution you'd like Replace the default `xlrd` engine by another engine compatible with modern file formats, maybe [openpyxl](https://openpyxl.readthedocs.io/en/stable/). #### API breaking implications Shouldn't have any... I think. #### Describe alternatives you've considered There is a bunch of other possible alternative engines: http://www.python-excel.org #### Additional context 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/38498/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38498/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38499
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38499/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38499/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38499/events
https://github.com/pandas-dev/pandas/pull/38499
767,652,841
MDExOlB1bGxSZXF1ZXN0NTQwMjk0MTg0
38,499
DOC: Fix incorrect doc string for infer_dtype (#38375)
{ "avatar_url": "https://avatars.githubusercontent.com/u/20978879?v=4", "events_url": "https://api.github.com/users/tsinggggg/events{/privacy}", "followers_url": "https://api.github.com/users/tsinggggg/followers", "following_url": "https://api.github.com/users/tsinggggg/following{/other_user}", "gists_url": "https://api.github.com/users/tsinggggg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsinggggg", "id": 20978879, "login": "tsinggggg", "node_id": "MDQ6VXNlcjIwOTc4ODc5", "organizations_url": "https://api.github.com/users/tsinggggg/orgs", "received_events_url": "https://api.github.com/users/tsinggggg/received_events", "repos_url": "https://api.github.com/users/tsinggggg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsinggggg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsinggggg/subscriptions", "type": "User", "url": "https://api.github.com/users/tsinggggg" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-15T14:30:52Z
2020-12-16T02:14:22Z
2020-12-16T02:14:19Z
CONTRIBUTOR
null
- [x] closes #38375 - ~~tests added / passed~~ - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - ~~whatsnew entry~~ A minor fix to https://github.com/pandas-dev/pandas/issues/38375 correcting the output of an example in `infer_dtype` doc string
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38499/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38499/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38499.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38499", "merged_at": "2020-12-16T02:14:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38499.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38499" }
https://api.github.com/repos/pandas-dev/pandas/issues/38500
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38500/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38500/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38500/events
https://github.com/pandas-dev/pandas/pull/38500
767,679,002
MDExOlB1bGxSZXF1ZXN0NTQwMzEyODIx
38,500
Backport PR #38494 on branch 1.2.x (TST: don't use global fixture in the base extension tests)
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-15T14:57:39Z
2020-12-15T16:30:28Z
2020-12-15T16:30:28Z
NONE
null
Backport PR #38494: TST: don't use global fixture in the base extension tests
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38500/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38500/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38500.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38500", "merged_at": "2020-12-15T16:30:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38500.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38500" }
https://api.github.com/repos/pandas-dev/pandas/issues/38501
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38501/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38501/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38501/events
https://github.com/pandas-dev/pandas/pull/38501
767,679,695
MDExOlB1bGxSZXF1ZXN0NTQwMzEzMjk3
38,501
Backport PR #38480 on branch 1.2.x (CI: Supress moto server logs in tests)
{ "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-15T14:58:17Z
2020-12-15T17:18:09Z
2020-12-15T17:18:08Z
NONE
null
Backport PR #38480: CI: Supress moto server logs in tests
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38501/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38501/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38501.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38501", "merged_at": "2020-12-15T17:18:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38501.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38501" }
https://api.github.com/repos/pandas-dev/pandas/issues/38502
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38502/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38502/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38502/events
https://github.com/pandas-dev/pandas/issues/38502
767,692,738
MDU6SXNzdWU3Njc2OTI3Mzg=
38,502
BUG: Incomplete join with categorical MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/10531844?v=4", "events_url": "https://api.github.com/users/jdemaeyer/events{/privacy}", "followers_url": "https://api.github.com/users/jdemaeyer/followers", "following_url": "https://api.github.com/users/jdemaeyer/following{/other_user}", "gists_url": "https://api.github.com/users/jdemaeyer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jdemaeyer", "id": 10531844, "login": "jdemaeyer", "node_id": "MDQ6VXNlcjEwNTMxODQ0", "organizations_url": "https://api.github.com/users/jdemaeyer/orgs", "received_events_url": "https://api.github.com/users/jdemaeyer/received_events", "repos_url": "https://api.github.com/users/jdemaeyer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jdemaeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jdemaeyer/subscriptions", "type": "User", "url": "https://api.github.com/users/jdemaeyer" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2020-12-15T15:11:16Z
2021-01-13T13:25:52Z
2021-01-13T13:25:52Z
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. --- When we join two dataframes with similar MultiIndexes, where one level is a `CategoricalDtype`, some of the rows are not properly joined: #### Code Sample ```python import pandas as pd df = pd.DataFrame() df['major'] = pd.Series(list('AAAAB')) df['minor'] = pd.Series( list('YXYXX'), dtype=pd.CategoricalDtype(['Y', 'X'])) df['value'] = pd.Series([1, 2, 3, 4, 5]) df.set_index(['major', 'minor'], inplace=True) df1 = df.iloc[:2] df2 = df.iloc[2:] df1.join(df2, lsuffix='_left', rsuffix='_right') ``` #### Problem description The code sample above gives us `df1`: ```python value major minor A Y 1 X 2 ``` and `df2`: ```python value major minor A Y 3 X 4 B X 5 ``` If we left-join the two dataframes index-on-index, we expect the first two rows of `df2` to be matched against the two rows of `df1` (see `Expected Output` below). Instead, we find that the second row of `df2` is ignored: ```python value_left value_right major minor A Y 1 3.0 X 2 NaN ``` ##### Clues I am way out of my depth here, but these are some things I noticed while trying to find a minimal example: * **The issue goes away if we define the categories for the `minor` index level in alphabetical order (i.e. `dtype=pd.CategoricalDtype(['X', 'Y'])` instead of `['Y', 'X']`).** * The `ordered` parameter of `CategoricalDtype` has no influence. * The third row in `df2`, although dropped during the left-join, is crucial. Joining `df1` and `df2.iloc[:2]` yields the expected output. * The issue does not occur when we perform an `outer` join * I was not able to reproduce this issue with a single-level index. * I was able to reproduce this bug w/ v1.1.3 as well but have not checked with any earlier versions. * *(Unrelated: Boy was I excited to finally give something back to pandas - even if it's just a bug report - after all that it's done for me over the years!)* #### Expected Output ```python value_left value_right major minor A Y 1 3 X 2 4 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.9.0.final.0 python-bits : 64 OS : Linux OS-release : 5.9.13-arch1-1 Version : #1 SMP PREEMPT Tue, 08 Dec 2020 12:09:55 +0000 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.utf8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.19.4 pytz : 2019.3 dateutil : 2.8.1 pip : 20.3.1 setuptools : 51.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : None IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38502/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38502/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38503
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38503/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38503/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38503/events
https://github.com/pandas-dev/pandas/pull/38503
767,751,912
MDExOlB1bGxSZXF1ZXN0NTQwMzYwMjE0
38,503
DOC: Corrected Out-of-date list of sort algorithms
{ "avatar_url": "https://avatars.githubusercontent.com/u/26410822?v=4", "events_url": "https://api.github.com/users/DonPablo99/events{/privacy}", "followers_url": "https://api.github.com/users/DonPablo99/followers", "following_url": "https://api.github.com/users/DonPablo99/following{/other_user}", "gists_url": "https://api.github.com/users/DonPablo99/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DonPablo99", "id": 26410822, "login": "DonPablo99", "node_id": "MDQ6VXNlcjI2NDEwODIy", "organizations_url": "https://api.github.com/users/DonPablo99/orgs", "received_events_url": "https://api.github.com/users/DonPablo99/received_events", "repos_url": "https://api.github.com/users/DonPablo99/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DonPablo99/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DonPablo99/subscriptions", "type": "User", "url": "https://api.github.com/users/DonPablo99" }
[ { "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-15T16:05:37Z
2020-12-30T13:49:09Z
2020-12-30T13:49:06Z
CONTRIBUTOR
null
Reference Issues/PRs Fixes: #38287 Implemented changes: Changed the docstring of all the methods using np.sort as it now includes one additional stable algorithm
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38503/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38503/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38503.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38503", "merged_at": "2020-12-30T13:49:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38503.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38503" }
https://api.github.com/repos/pandas-dev/pandas/issues/38504
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38504/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38504/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38504/events
https://github.com/pandas-dev/pandas/pull/38504
767,781,785
MDExOlB1bGxSZXF1ZXN0NTQwMzc5NTUy
38,504
REG: DataFrame.shift with axis=1 and CategoricalIndex columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-12-15T16:33:25Z
2020-12-18T09:35:17Z
2020-12-17T13:46:46Z
MEMBER
null
- [x] closes #38434 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [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/38504/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38504/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38504.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38504", "merged_at": "2020-12-17T13:46:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38504.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38504" }
https://api.github.com/repos/pandas-dev/pandas/issues/38505
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38505/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38505/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38505/events
https://github.com/pandas-dev/pandas/pull/38505
767,917,050
MDExOlB1bGxSZXF1ZXN0NTQwNDgzMjYy
38,505
REF: require listlike in maybe_cast_to_datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
11
2020-12-15T17:51:59Z
2020-12-22T01:02:40Z
2020-12-22T00:58:35Z
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/38505/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38505/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38505.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38505", "merged_at": "2020-12-22T00:58:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38505.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38505" }
https://api.github.com/repos/pandas-dev/pandas/issues/38506
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38506/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38506/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38506/events
https://github.com/pandas-dev/pandas/pull/38506
768,011,021
MDExOlB1bGxSZXF1ZXN0NTQwNTU1Njc5
38,506
WIP: CI: Supress urllib3 tests in pytest
{ "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" }
[]
closed
false
null
[]
null
0
2020-12-15T18:44:56Z
2020-12-16T17:50:10Z
2020-12-16T17:50:06Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref https://github.com/pandas-dev/pandas/pull/38480, there are some remaining urllib3 logs coming from somewhere. Testing if this gets rid of those.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38506/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38506/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38506.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38506", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38506.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38506" }
https://api.github.com/repos/pandas-dev/pandas/issues/38507
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38507/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38507/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38507/events
https://github.com/pandas-dev/pandas/pull/38507
768,034,453
MDExOlB1bGxSZXF1ZXN0NTQwNTc2MzI2
38,507
REF: handle ravel inside astype_nansafe
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-15T18:59:45Z
2020-12-16T01:14:31Z
2020-12-16T00:50:30Z
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/38507/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38507/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38507.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38507", "merged_at": "2020-12-16T00:50:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38507.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38507" }
https://api.github.com/repos/pandas-dev/pandas/issues/38508
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38508/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38508/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38508/events
https://github.com/pandas-dev/pandas/pull/38508
768,063,628
MDExOlB1bGxSZXF1ZXN0NTQwNjAwMjM1
38,508
BUG: Series(dt64, dtype="Sparse[object]")
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
null
0
2020-12-15T19:17:58Z
2020-12-16T17:40:17Z
2020-12-16T17:39:52Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry As a side effect of fixing astype_nansafe, we can rip some code out of Block._astype.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38508/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38508/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38508.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38508", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38508.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38508" }
https://api.github.com/repos/pandas-dev/pandas/issues/38509
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38509/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38509/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38509/events
https://github.com/pandas-dev/pandas/issues/38509
768,077,372
MDU6SXNzdWU3NjgwNzczNzI=
38,509
BUG: Series[td64].astype("string").astype("timedelta64[ns]") raises
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
open
false
null
[]
null
0
2020-12-15T19:26:48Z
2021-08-14T22:24:53Z
null
MEMBER
null
``` tdi = pd.timedelta_range("1 Day", periods=3) ser = pd.Series(tdi) >>> ser.astype("string") 0 1 days 1 2 days 2 3 days dtype: string >>> ser.astype("string").astype(ser.dtype) [...] ValueError: Could not convert object to NumPy timedelta ``` We have a round-trip test for string -> dt64 in test_astype_roundtrip, should amend that to do td64 when this is fixed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38509/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38509/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38510
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38510/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38510/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38510/events
https://github.com/pandas-dev/pandas/issues/38510
768,227,928
MDU6SXNzdWU3NjgyMjc5Mjg=
38,510
BUG: None and np.nan behave differently for .replace()
{ "avatar_url": "https://avatars.githubusercontent.com/u/5816066?v=4", "events_url": "https://api.github.com/users/d-kz/events{/privacy}", "followers_url": "https://api.github.com/users/d-kz/followers", "following_url": "https://api.github.com/users/d-kz/following{/other_user}", "gists_url": "https://api.github.com/users/d-kz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/d-kz", "id": 5816066, "login": "d-kz", "node_id": "MDQ6VXNlcjU4MTYwNjY=", "organizations_url": "https://api.github.com/users/d-kz/orgs", "received_events_url": "https://api.github.com/users/d-kz/received_events", "repos_url": "https://api.github.com/users/d-kz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/d-kz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/d-kz/subscriptions", "type": "User", "url": "https://api.github.com/users/d-kz" }
[ { "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": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" }, { "color": "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
2020-12-15T21:42:06Z
2021-08-14T22:25:45Z
2021-08-14T22:25:44Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. `pip freeze | grep pandas -> pandas==1.1.5` - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python In [9]: df = pd.DataFrame([1, None, np.nan]) In [10]: df Out[10]: 0 0 1.0 1 NaN 2 NaN In [11]: df.replace(1, None) Out[11]: 0 0 1.0 1 NaN 2 NaN In [12]: df.replace(1, np.nan) Out[12]: 0 0 NaN 1 NaN 2 NaN ``` #### Problem description This is a problem because when creating a dataframe, both None and np.nan are converted into NaN. Therefore, one expect replacing will also treat them equivalently. #### Expected Output ``` df = pd.DataFrame([1, None, np.nan]) df.replace(1, None) 0 0 1.0 1 NaN 2 NaN ``` should return the same as ``` df = pd.DataFrame([1, None, np.nan]) df.replace(1, np.nan) 0 0 NaN 1 NaN 2 NaN ``` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38510/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38510/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38511
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38511/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38511/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38511/events
https://github.com/pandas-dev/pandas/pull/38511
768,260,354
MDExOlB1bGxSZXF1ZXN0NTQwNzU5NTk2
38,511
BUG: MultiIndex.equals returning incorrectly True when Indexes contains NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-15T22:29:30Z
2020-12-17T16:11:00Z
2020-12-17T02:12:43Z
MEMBER
null
- [x] xref #38439 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Depending on the expected behavior of align, this may have hidden an additional bug in align in the referenced issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38511/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38511/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38511.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38511", "merged_at": "2020-12-17T02:12:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38511.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38511" }
https://api.github.com/repos/pandas-dev/pandas/issues/38512
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38512/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38512/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38512/events
https://github.com/pandas-dev/pandas/pull/38512
768,262,518
MDExOlB1bGxSZXF1ZXN0NTQwNzYxMDA2
38,512
BUG: .item() incorrectly casts td64/dt64 to int
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-15T22:32:47Z
2020-12-16T02:45:48Z
2020-12-16T02:36:56Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] 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/38512/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38512/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38512.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38512", "merged_at": "2020-12-16T02:36:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38512.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38512" }
https://api.github.com/repos/pandas-dev/pandas/issues/38513
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38513/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38513/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38513/events
https://github.com/pandas-dev/pandas/pull/38513
768,290,615
MDExOlB1bGxSZXF1ZXN0NTQwNzc4NjI5
38,513
df.melt() column name 'variable'
{ "avatar_url": "https://avatars.githubusercontent.com/u/26679903?v=4", "events_url": "https://api.github.com/users/micyhkim/events{/privacy}", "followers_url": "https://api.github.com/users/micyhkim/followers", "following_url": "https://api.github.com/users/micyhkim/following{/other_user}", "gists_url": "https://api.github.com/users/micyhkim/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/micyhkim", "id": 26679903, "login": "micyhkim", "node_id": "MDQ6VXNlcjI2Njc5OTAz", "organizations_url": "https://api.github.com/users/micyhkim/orgs", "received_events_url": "https://api.github.com/users/micyhkim/received_events", "repos_url": "https://api.github.com/users/micyhkim/repos", "site_admin": false, "starred_url": "https://api.github.com/users/micyhkim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/micyhkim/subscriptions", "type": "User", "url": "https://api.github.com/users/micyhkim" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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
2020-12-15T23:17:07Z
2021-02-11T01:31:54Z
2021-02-11T01:31:53Z
NONE
null
- [x] closes #37716 - [x] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is my first time contributing to the open source project. Although I didn't make a significant change, I saw a bug report and asked to just raise a warning instead of fixing it. That's what I did and returned original DataFrame instead of returning wrong frame.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38513/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38513/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38513.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38513", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38513.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38513" }
https://api.github.com/repos/pandas-dev/pandas/issues/38514
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38514/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38514/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38514/events
https://github.com/pandas-dev/pandas/pull/38514
768,298,455
MDExOlB1bGxSZXF1ZXN0NTQwNzgzNTI5
38,514
CI: un-xfail
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-15T23:30:15Z
2021-01-21T14:50:03Z
2020-12-16T01:02:11Z
MEMBER
null
No idea why this stopped failing, but not going to look a gift horse in the mouth.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38514/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38514/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38514.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38514", "merged_at": "2020-12-16T01:02:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38514.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38514" }
https://api.github.com/repos/pandas-dev/pandas/issues/38515
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38515/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38515/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38515/events
https://github.com/pandas-dev/pandas/pull/38515
768,299,965
MDExOlB1bGxSZXF1ZXN0NTQwNzg0NjA2
38,515
ENH: support none in header list #37625
{ "avatar_url": "https://avatars.githubusercontent.com/u/55809938?v=4", "events_url": "https://api.github.com/users/Alvinwuzw/events{/privacy}", "followers_url": "https://api.github.com/users/Alvinwuzw/followers", "following_url": "https://api.github.com/users/Alvinwuzw/following{/other_user}", "gists_url": "https://api.github.com/users/Alvinwuzw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Alvinwuzw", "id": 55809938, "login": "Alvinwuzw", "node_id": "MDQ6VXNlcjU1ODA5OTM4", "organizations_url": "https://api.github.com/users/Alvinwuzw/orgs", "received_events_url": "https://api.github.com/users/Alvinwuzw/received_events", "repos_url": "https://api.github.com/users/Alvinwuzw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Alvinwuzw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Alvinwuzw/subscriptions", "type": "User", "url": "https://api.github.com/users/Alvinwuzw" }
[ { "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": "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
2020-12-15T23:33:28Z
2021-02-11T01:32:24Z
2021-02-11T01:32:24Z
NONE
null
closes #37625 tests passed read_excel funtion can now accept header={'Sheet1': 0, 'Sheet2': None} as dictionary with header for each sheet.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38515/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38515/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38515.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38515", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38515.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38515" }
https://api.github.com/repos/pandas-dev/pandas/issues/38516
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38516/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38516/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38516/events
https://github.com/pandas-dev/pandas/pull/38516
768,393,717
MDExOlB1bGxSZXF1ZXN0NTQwODQ1OTcy
38,516
API: CategoricalDtype.__eq__ with categories=None stricter
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-16T02:35:21Z
2020-12-22T17:45:47Z
2020-12-22T17:35:58Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry xref #37929 This will allow us to remove special-casing for Categorical in Block._astype, Index.astype, and Categorical.astype.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38516/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38516/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38516.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38516", "merged_at": "2020-12-22T17:35:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38516.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38516" }
https://api.github.com/repos/pandas-dev/pandas/issues/38517
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38517/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38517/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38517/events
https://github.com/pandas-dev/pandas/pull/38517
768,402,779
MDExOlB1bGxSZXF1ZXN0NTQwODUyNjU2
38,517
BUG: read_excel forward-filling MI names
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-16T02:58:53Z
2021-01-01T20:02:32Z
2021-01-01T19:45:28Z
MEMBER
null
- [x] closes #34673 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Added test with OP's issue as a sheet in the style of existing sheets in `tests/io/data/excel/testmultiindex.*` (the same as the "both_name" sheet, but with the cell below the MI name empty) New sheet looks like: <img width="393" alt="Screen Shot 2020-12-15 at 9 50 02 PM" src="https://user-images.githubusercontent.com/37011898/102298700-961dbf00-3f1f-11eb-9c98-034268ad9d68.png"> In master without this change, the empty cell was being filled with the index name `ilvl2`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38517/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38517/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38517.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38517", "merged_at": "2021-01-01T19:45:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38517.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38517" }
https://api.github.com/repos/pandas-dev/pandas/issues/38518
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38518/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38518/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38518/events
https://github.com/pandas-dev/pandas/pull/38518
768,431,842
MDExOlB1bGxSZXF1ZXN0NTQwODczNzgx
38,518
REF: use astype_nansafe in Index.astype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-16T04:09:54Z
2020-12-16T23:09:11Z
2020-12-16T22:32:24Z
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/38518/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38518/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38518.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38518", "merged_at": "2020-12-16T22:32:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38518.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38518" }