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/31115
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31115/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31115/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31115/events
https://github.com/pandas-dev/pandas/pull/31115
551,705,681
MDExOlB1bGxSZXF1ZXN0MzY0Mzc5ODY5
31,115
TYP: annotations
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-18T01:59:25Z
2020-01-18T16:11:48Z
2020-01-18T11:54:22Z
MEMBER
null
Several of the Index subclasses are difficult to annotate, so I want to get the easy-ish parts to make it easier to focus on the pain points.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31115/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31115/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31115.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31115", "merged_at": "2020-01-18T11:54:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31115.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31115" }
https://api.github.com/repos/pandas-dev/pandas/issues/31116
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31116/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31116/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31116/events
https://github.com/pandas-dev/pandas/issues/31116
551,710,635
MDU6SXNzdWU1NTE3MTA2MzU=
31,116
Unclear DataFrame.info() range summary info for DatetimeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8292987?v=4", "events_url": "https://api.github.com/users/Ircama/events{/privacy}", "followers_url": "https://api.github.com/users/Ircama/followers", "following_url": "https://api.github.com/users/Ircama/following{/other_user}", "gists_url": "https://api.github.com/users/Ircama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ircama", "id": 8292987, "login": "Ircama", "node_id": "MDQ6VXNlcjgyOTI5ODc=", "organizations_url": "https://api.github.com/users/Ircama/orgs", "received_events_url": "https://api.github.com/users/Ircama/received_events", "repos_url": "https://api.github.com/users/Ircama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ircama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ircama/subscriptions", "type": "User", "url": "https://api.github.com/users/Ircama" }
[]
closed
false
null
[]
null
6
2020-01-18T02:45:57Z
2020-02-05T08:03:37Z
2020-02-05T08:03:37Z
NONE
null
Within [DataFrame.info](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.info.html), the description of the [DatetimeIndex](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.html) of unsorted indexes might not be clear enough to users, because just showing the first and last element and not the *"min date" to "max date"* values. Please check the following sample: ```python import pandas as pd dfs = [] for day in [30, 1, 2, 5]: idx = pd.date_range(f'2020-01-{day} 00:00:00', periods=1000, freq='s') dfs.append(pd.DataFrame({'count': range(len(idx)), 'date': idx})) df = pd.concat(dfs) df.set_index(['date'], inplace=True) df df.info() df.index.min() df.index.max() ``` Reated output is the following: ``` >>> df count date 2020-01-30 00:00:00 0 2020-01-30 00:00:01 1 2020-01-30 00:00:02 2 2020-01-30 00:00:03 3 2020-01-30 00:00:04 4 ... ... 2020-01-05 00:16:35 995 2020-01-05 00:16:36 996 2020-01-05 00:16:37 997 2020-01-05 00:16:38 998 2020-01-05 00:16:39 999 [4000 rows x 1 columns] >>> df.info() <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 4000 entries, 2020-01-30 00:00:00 to 2020-01-05 00:16:39 Data columns (total 1 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 count 4000 non-null int64 dtypes: int64(1) memory usage: 62.5 KB >>> df.index.min() Timestamp('2020-01-01 00:00:00') >>> df.index.max() Timestamp('2020-01-30 00:16:39') ``` I would expect `2020-01-01 00:00:00 to 2020-01-30 00:16:39` (min and max range values for DatetimeIndex) and not `2020-01-30 00:00:00 to 2020-01-05 00:16:39` (first and last element). In case, PR https://github.com/pandas-dev/pandas/pull/31069 fixes the issue. <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 4.4.0-18362-Microsoft machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.1 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.6.0 Cython : 0.29.14 pytest : 5.3.0 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None s3fs : None scipy : 1.3.3 sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31116/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31116/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31117
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31117/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31117/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31117/events
https://github.com/pandas-dev/pandas/issues/31117
551,716,117
MDU6SXNzdWU1NTE3MTYxMTc=
31,117
REF: IntervalIndex.get_value partial slicing
{ "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/18608293?v=4", "events_url": "https://api.github.com/users/primaprashant/events{/privacy}", "followers_url": "https://api.github.com/users/primaprashant/followers", "following_url": "https://api.github.com/users/primaprashant/following{/other_user}", "gists_url": "https://api.github.com/users/primaprashant/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/primaprashant", "id": 18608293, "login": "primaprashant", "node_id": "MDQ6VXNlcjE4NjA4Mjkz", "organizations_url": "https://api.github.com/users/primaprashant/orgs", "received_events_url": "https://api.github.com/users/primaprashant/received_events", "repos_url": "https://api.github.com/users/primaprashant/repos", "site_admin": false, "starred_url": "https://api.github.com/users/primaprashant/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/primaprashant/subscriptions", "type": "User", "url": "https://api.github.com/users/primaprashant" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/18608293?v=4", "events_url": "https://api.github.com/users/primaprashant/events{/privacy}", "followers_url": "https://api.github.com/users/primaprashant/followers", "following_url": "https://api.github.com/users/primaprashant/following{/other_user}", "gists_url": "https://api.github.com/users/primaprashant/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/primaprashant", "id": 18608293, "login": "primaprashant", "node_id": "MDQ6VXNlcjE4NjA4Mjkz", "organizations_url": "https://api.github.com/users/primaprashant/orgs", "received_events_url": "https://api.github.com/users/primaprashant/received_events", "repos_url": "https://api.github.com/users/primaprashant/repos", "site_admin": false, "starred_url": "https://api.github.com/users/primaprashant/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/primaprashant/subscriptions", "type": "User", "url": "https://api.github.com/users/primaprashant" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-18T03:46:12Z
2020-05-09T20:22:04Z
2020-05-09T20:22:04Z
MEMBER
null
In trying to refactor IntervalIndex.get_loc/get_value to more closely follow the other implementations, I stumbled on a behavior in a test case that surprised me: ``` idx = IntervalIndex.from_tuples([(1, 5), (3, 7)]) s = Series(range(len(idx)), index=idx) key = [4] >>> idx.get_loc(key) # <-- behaves like all the other get_locs in requiring scalar KeyError: [4] >>> idx.get_value(s, key) # <-- surprising (1, 5] 0 (3, 7] 1 dtype: int64 ``` All of the other FooIndex.get_value methods raise InvalidIndexError on non-scalar. AFAICT this is behaving sort of like a slicing operation, since 4 is in the interior of both of these intervals. @jschendel is that correct? If so, we should try to refactor IntervalIndex.get_value to explicitly dispatch for this case, kind of like DatetimeIndex._get_string_slice
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31117/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31117/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31118
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31118/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31118/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31118/events
https://github.com/pandas-dev/pandas/pull/31118
551,728,595
MDExOlB1bGxSZXF1ZXN0MzY0Mzk3MzQ3
31,118
ERR: better error message on unparseable datetimes
{ "avatar_url": "https://avatars.githubusercontent.com/u/16845495?v=4", "events_url": "https://api.github.com/users/baevpetr/events{/privacy}", "followers_url": "https://api.github.com/users/baevpetr/followers", "following_url": "https://api.github.com/users/baevpetr/following{/other_user}", "gists_url": "https://api.github.com/users/baevpetr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/baevpetr", "id": 16845495, "login": "baevpetr", "node_id": "MDQ6VXNlcjE2ODQ1NDk1", "organizations_url": "https://api.github.com/users/baevpetr/orgs", "received_events_url": "https://api.github.com/users/baevpetr/received_events", "repos_url": "https://api.github.com/users/baevpetr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/baevpetr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baevpetr/subscriptions", "type": "User", "url": "https://api.github.com/users/baevpetr" }
[ { "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": "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-01-18T06:20:43Z
2020-03-14T21:38:23Z
2020-03-14T21:38:23Z
CONTRIBUTOR
null
- [ ] closes #10720 - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31118/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31118/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31118.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31118", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31118.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31118" }
https://api.github.com/repos/pandas-dev/pandas/issues/31119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31119/events
https://github.com/pandas-dev/pandas/pull/31119
551,735,953
MDExOlB1bGxSZXF1ZXN0MzY0NDAyNjg5
31,119
BUG: concat not copying index and columns when copy=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-18T07:48:20Z
2020-01-21T10:59:50Z
2020-01-21T10:50:47Z
MEMBER
null
- [x] closes #29879 - [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/31119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31119/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31119.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31119", "merged_at": "2020-01-21T10:50:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31119.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31119" }
https://api.github.com/repos/pandas-dev/pandas/issues/31120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31120/events
https://github.com/pandas-dev/pandas/pull/31120
551,784,215
MDExOlB1bGxSZXF1ZXN0MzY0NDM3MDYy
31,120
Backport PR #30977 on branch 1.0.x (JSON Date Handling 1.0 Regressions)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-18T15:34:38Z
2020-01-18T16:03:34Z
2020-01-18T16:03:34Z
NONE
null
Backport PR #30977: JSON Date Handling 1.0 Regressions
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31120/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31120.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31120", "merged_at": "2020-01-18T16:03:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31120.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31120" }
https://api.github.com/repos/pandas-dev/pandas/issues/31121
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31121/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31121/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31121/events
https://github.com/pandas-dev/pandas/pull/31121
551,784,344
MDExOlB1bGxSZXF1ZXN0MzY0NDM3MTUz
31,121
Backport PR #30971 on branch 1.0.x (BUG: reductions for nullable dtypes should return pd.NA for skipna=False)
{ "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": "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-18T15:35:49Z
2020-01-18T16:23:52Z
2020-01-18T16:23:51Z
NONE
null
Backport PR #30971: BUG: reductions for nullable dtypes should return pd.NA for skipna=False
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31121/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31121/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31121.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31121", "merged_at": "2020-01-18T16:23:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31121.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31121" }
https://api.github.com/repos/pandas-dev/pandas/issues/31122
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31122/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31122/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31122/events
https://github.com/pandas-dev/pandas/pull/31122
551,796,523
MDExOlB1bGxSZXF1ZXN0MzY0NDQ1NTQ5
31,122
Backport PR #31097 on branch 1.0.x (DOC: Replace ggpy with plotnine in ecosystem)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-18T17:11:31Z
2020-01-18T18:53:37Z
2020-01-18T18:53:37Z
NONE
null
Backport PR #31097: DOC: Replace ggpy with plotnine in ecosystem
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31122/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31122/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31122.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31122", "merged_at": "2020-01-18T18:53:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31122.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31122" }
https://api.github.com/repos/pandas-dev/pandas/issues/31123
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31123/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31123/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31123/events
https://github.com/pandas-dev/pandas/pull/31123
551,796,626
MDExOlB1bGxSZXF1ZXN0MzY0NDQ1NjE3
31,123
CLN/BUG: Float64Index.get_loc
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-18T17:12:32Z
2020-01-19T00:29:29Z
2020-01-18T23:24:04Z
MEMBER
null
- clean up unnecessary try/except - the "bug" part is that ATM we incorrectly raise KeyError instead of TypeError on non-hashable.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31123/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31123/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31123.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31123", "merged_at": "2020-01-18T23:24:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31123.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31123" }
https://api.github.com/repos/pandas-dev/pandas/issues/31124
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31124/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31124/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31124/events
https://github.com/pandas-dev/pandas/pull/31124
551,797,570
MDExOlB1bGxSZXF1ZXN0MzY0NDQ2Mjg0
31,124
Backport PR #30553 on branch 1.0.x (TST/BUG: fix incorrectly-passing Exception in test_html)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-18T17:20:13Z
2020-01-18T18:53:15Z
2020-01-18T18:53:14Z
NONE
null
Backport PR #30553: TST/BUG: fix incorrectly-passing Exception in test_html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31124/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31124/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31124.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31124", "merged_at": "2020-01-18T18:53:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31124.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31124" }
https://api.github.com/repos/pandas-dev/pandas/issues/31125
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31125/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31125/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31125/events
https://github.com/pandas-dev/pandas/pull/31125
551,800,799
MDExOlB1bGxSZXF1ZXN0MzY0NDQ4NTI0
31,125
REF/CLN: Index.get_value wrapping incorrectly
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-18T17:48:11Z
2020-01-18T19:54:03Z
2020-01-18T19:39:00Z
MEMBER
null
Index.get_value isn't wrapping non-scalar results correctly, as a result of which we have an ugly kludge in `Series.__getitem__` to do that wrapping. This fixes that.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31125/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31125/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31125.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31125", "merged_at": "2020-01-18T19:39:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31125.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31125" }
https://api.github.com/repos/pandas-dev/pandas/issues/31126
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31126/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31126/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31126/events
https://github.com/pandas-dev/pandas/pull/31126
551,805,101
MDExOlB1bGxSZXF1ZXN0MzY0NDUxMzI0
31,126
TYP: DataFrame.(index|columns) and Series.index
{ "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-18T18:23:05Z
2020-01-24T20:20:14Z
2020-01-24T01:19:03Z
CONTRIBUTOR
null
Makes mypy discover the ``.index`` and ``.columns`` attributes and that they're ``Index`` (sub-)classes. This is done by manually adding the ``properties.AxisProperty`` to DataFrame/Series instead of doing it programatically, as mypy doesn't like adding attributes programatically very much.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31126/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31126/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31126.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31126", "merged_at": "2020-01-24T01:19:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31126.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31126" }
https://api.github.com/repos/pandas-dev/pandas/issues/31127
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31127/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31127/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31127/events
https://github.com/pandas-dev/pandas/issues/31127
551,815,831
MDU6SXNzdWU1NTE4MTU4MzE=
31,127
Docs for `DataFrame.plot.scatter` say that `c` can be of type `int`, yet it's not explained what that means and passing one raises an error
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "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
[]
null
1
2020-01-18T19:53:39Z
2020-01-19T08:19:14Z
2020-01-19T08:19:14Z
MEMBER
null
#### Code Sample, a copy-pastable example if possible ```python df = pd.DataFrame( [[5.1, 3.5, 0], [4.9, 3.0, 0], [7.0, 3.2, 1], [6.4, 3.2, 1], [5.9, 3.0, 2]], columns=["length", "width", "species"], ) ax1 = df.plot.scatter(x="length", y="width", c=128) ``` returns ``` IndexError: index 128 is out of bounds for axis 0 with size 3 ``` #### Problem description The docstring reads > c : str, int or array_like, optional > The color of each point. Possible values are: > > - A single color string referred to by name, RGB or RGBA code, > for instance 'red' or '#a98d19'. > > - A sequence of color strings referred to by name, RGB or RGBA > code, which will be used for each point's color recursively. For > instance ['green','yellow'] all points will be filled in green or > yellow, alternatively. > > - A column name or position whose values will be used to color the > marker points according to a colormap. but it doesn't say what passing a `c` of type `int` does. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 00c9b2df2dd5680eb13605f599e38a0f5950aeef python : 3.7.4.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-74-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 0.26.0.dev0+1837.g00c9b2df2 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.2.2 setuptools : 41.0.1 Cython : 0.29.14 pytest : 5.0.1 hypothesis : 4.32.2 sphinx : 2.2.2 blosc : 1.8.3 feather : None xlsxwriter : 1.1.8 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.0 bottleneck : 1.2.1 fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : 0.15.1 pytables : None pytest : 5.0.1 s3fs : 0.2.1 scipy : 1.3.1 sqlalchemy : 1.3.7 tables : 3.5.2 tabulate : 0.8.6 xarray : 0.12.1 xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.1.8 numba : 0.45.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31127/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31127/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31128
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31128/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31128/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31128/events
https://github.com/pandas-dev/pandas/pull/31128
551,827,005
MDExOlB1bGxSZXF1ZXN0MzY0NDY3NDI2
31,128
REF: require PeriodArray in PeriodIndex._simple_new
{ "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-18T21:30:41Z
2020-01-20T16:30:24Z
2020-01-20T15:35:42Z
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/31128/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31128/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31128.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31128", "merged_at": "2020-01-20T15:35:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31128.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31128" }
https://api.github.com/repos/pandas-dev/pandas/issues/31129
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31129/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31129/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31129/events
https://github.com/pandas-dev/pandas/pull/31129
551,843,244
MDExOlB1bGxSZXF1ZXN0MzY0NDc4NzMy
31,129
REF: share code between Int64Index and UInt64Index
{ "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-19T00:05:47Z
2020-01-19T20:57:12Z
2020-01-19T20:56:06Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31129/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31129/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31129.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31129", "merged_at": "2020-01-19T20:56:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31129.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31129" }
https://api.github.com/repos/pandas-dev/pandas/issues/31130
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31130/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31130/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31130/events
https://github.com/pandas-dev/pandas/pull/31130
551,857,288
MDExOlB1bGxSZXF1ZXN0MzY0NDg5MTA5
31,130
TST: Implement external error raised helper function.
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-01-19T02:55:19Z
2020-02-14T09:05:38Z
2020-02-07T18:45:13Z
MEMBER
null
- [x] ref #30999 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Opened PR for what @gfyoung wrote [here](https://github.com/pandas-dev/pandas/issues/30999#issuecomment-575426086)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31130/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31130/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31130.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31130", "merged_at": "2020-02-07T18:45:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31130.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31130" }
https://api.github.com/repos/pandas-dev/pandas/issues/31131
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31131/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31131/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31131/events
https://github.com/pandas-dev/pandas/issues/31131
551,857,767
MDU6SXNzdWU1NTE4NTc3Njc=
31,131
ENH: Implement CSV reading for BooleanArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/35495924?v=4", "events_url": "https://api.github.com/users/koizumihiroo/events{/privacy}", "followers_url": "https://api.github.com/users/koizumihiroo/followers", "following_url": "https://api.github.com/users/koizumihiroo/following{/other_user}", "gists_url": "https://api.github.com/users/koizumihiroo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/koizumihiroo", "id": 35495924, "login": "koizumihiroo", "node_id": "MDQ6VXNlcjM1NDk1OTI0", "organizations_url": "https://api.github.com/users/koizumihiroo/orgs", "received_events_url": "https://api.github.com/users/koizumihiroo/received_events", "repos_url": "https://api.github.com/users/koizumihiroo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/koizumihiroo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/koizumihiroo/subscriptions", "type": "User", "url": "https://api.github.com/users/koizumihiroo" }
[ { "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2020-01-19T03:01:14Z
2020-01-23T20:56:01Z
2020-01-23T20:56:01Z
NONE
null
#### Code Sample, a copy-pastable example if possible In 1.0.0 rc0, `pd.read_csv` returns this error when reading NA with specifying dtype of 'boolean' ```python # import pandas as pd # import io >>> txt = """ X1,X2,X3 1,a,True 2,b,False NA,NA,NA """ >>> df1 = pd.read_csv(io.StringIO(txt), dtype={'X3': 'boolean'}) # `pd.BooleanDtype()` also fails raceback (most recent call last): File "pandas/_libs/parsers.pyx", line 1191, in pandas._libs.parsers.TextReader._convert_with_dtype File "/usr/local/lib/python3.7/site-packages/pandas/core/arrays/base.py", line 232, in _from_sequence_of_strings raise AbstractMethodError(cls) pandas.errors.AbstractMethodError: This method must be defined in the concrete class type During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 676, in parser_f return _read(filepath_or_buffer, kwds) File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 454, in _read data = parser.read(nrows) File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1133, in read ret = self._engine.read(nrows) File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 2037, in read data = self._reader.read(nrows) File "pandas/_libs/parsers.pyx", line 859, in pandas._libs.parsers.TextReader.read File "pandas/_libs/parsers.pyx", line 874, in pandas._libs.parsers.TextReader._read_low_memory File "pandas/_libs/parsers.pyx", line 951, in pandas._libs.parsers.TextReader._read_rows File "pandas/_libs/parsers.pyx", line 1083, in pandas._libs.parsers.TextReader._convert_column_data File "pandas/_libs/parsers.pyx", line 1114, in pandas._libs.parsers.TextReader._convert_tokens File "pandas/_libs/parsers.pyx", line 1194, in pandas._libs.parsers.TextReader._convert_with_dtype NotImplementedError: Extension Array: <class 'pandas.core.arrays.boolean.BooleanArray'> must implement _from_sequence_of_strings in order to be used in parser methods ``` while "Int64" and "string" with NA can be correctly recognized. ```python >>> df2 = pd.read_csv(io.StringIO(txt), dtype={'X1': 'Int64', 'X2': 'string'}) >>> df2 X1 X2 X3 0 1 a True 1 2 b False 2 <NA> <NA> NaN >>> df2.dtypes X1 Int64 X2 string X3 object dtype: object ``` #### Problem description NA literal for boolean is not parsed by `pd.read_csv` #### Expected Output ```python df3 = pd.read_csv(io.StringIO(txt), dtype={'X3': 'boolean'}) >>> df3 X1 X2 X3 0 1.0 a True 1 2.0 b False 2 NaN NaN <NA> >>> df3.dtypes X1 float64 X2 object X3 boolean dtype: object # and df4 = pd.read_csv(io.StringIO(txt), dtype={'X1': 'Int64', 'X2': 'string', 'X3': 'boolean'}) >>> df4 X1 X2 X3 0 1 a True 1 2 b False 2 <NA> <NA> <NA> >>> df4.dtypes X1 Int64 X2 string X3 boolean dtype: object ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 4.9.184-linuxkit machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.0rc0 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 44.0.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31131/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31131/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31132
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31132/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31132/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31132/events
https://github.com/pandas-dev/pandas/pull/31132
551,882,175
MDExOlB1bGxSZXF1ZXN0MzY0NTA2OTky
31,132
TST/REF: Parameteratized tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
1
2020-01-19T07:51:57Z
2020-01-22T23:41:00Z
2020-01-21T08:05:44Z
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/31132/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31132/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31132.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31132", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31132.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31132" }
https://api.github.com/repos/pandas-dev/pandas/issues/31133
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31133/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31133/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31133/events
https://github.com/pandas-dev/pandas/pull/31133
551,947,582
MDExOlB1bGxSZXF1ZXN0MzY0NTUyNTk3
31,133
BUG: Break reference from grouping level to MI
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2020-01-19T16:29:18Z
2020-01-20T22:25:40Z
2020-01-20T22:25:34Z
CONTRIBUTOR
null
Closes https://github.com/pandas-dev/pandas/issues/31068
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31133/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31133/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31133.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31133", "merged_at": "2020-01-20T22:25:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31133.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31133" }
https://api.github.com/repos/pandas-dev/pandas/issues/31134
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31134/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31134/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31134/events
https://github.com/pandas-dev/pandas/pull/31134
551,950,301
MDExOlB1bGxSZXF1ZXN0MzY0NTU0NDg4
31,134
REF/BUG: Index.get_value called incorrectly, de-duplicate+simplify
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-19T16:50:53Z
2020-01-20T16:24:29Z
2020-01-20T15:32:58Z
MEMBER
null
Also engine.get_value is being called incorrectly in DTI/TDI, which this fixes.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31134/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31134/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31134.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31134", "merged_at": "2020-01-20T15:32:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31134.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31134" }
https://api.github.com/repos/pandas-dev/pandas/issues/31135
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31135/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31135/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31135/events
https://github.com/pandas-dev/pandas/issues/31135
551,954,998
MDU6SXNzdWU1NTE5NTQ5OTg=
31,135
Docs mention non-existent doc/source/api.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
null
5
2020-01-19T17:30:13Z
2020-01-25T12:17:55Z
2020-01-25T12:17:54Z
MEMBER
null
E.g. in doc/source/development/contributing.rst it says: > * Our API documentation in ``doc/source/api.rst`` houses the auto-generated > documentation from the docstrings. For classes, there are a few subtleties > around controlling which methods and attributes have pages auto-generated. > There's a few other mentions of it elsewhere
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31135/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31135/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31136
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31136/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31136/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31136/events
https://github.com/pandas-dev/pandas/pull/31136
551,957,127
MDExOlB1bGxSZXF1ZXN0MzY0NTU5Mzg4
31,136
COMPAT: Return NotImplemented for subclassing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
14
2020-01-19T17:48:06Z
2020-01-28T21:14:13Z
2020-01-28T20:57:19Z
CONTRIBUTOR
null
This changes index ops to check the *type* of the argument in index ops, rather than just the dtype. This lets index subclasses take control of binary ops when they know better what the result should be. Closes https://github.com/pandas-dev/pandas/issues/31109 cc @jbrockmendel, I've fixed this as close to the root of the problem as I could, but perhaps this case should be checked elsewhere? As written currently, it only affects add & sub between an Index and a datelike index, but perhaps it should be done more generally?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31136/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31136/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31136.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31136", "merged_at": "2020-01-28T20:57:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31136.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31136" }
https://api.github.com/repos/pandas-dev/pandas/issues/31137
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31137/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31137/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31137/events
https://github.com/pandas-dev/pandas/pull/31137
551,958,293
MDExOlB1bGxSZXF1ZXN0MzY0NTYwMjE5
31,137
TYP: Index get_indexer_foo methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-19T17:57:56Z
2020-01-19T20:59:38Z
2020-01-19T20:58:40Z
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/31137/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31137/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31137.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31137", "merged_at": "2020-01-19T20:58:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31137.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31137" }
https://api.github.com/repos/pandas-dev/pandas/issues/31138
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31138/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31138/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31138/events
https://github.com/pandas-dev/pandas/pull/31138
551,967,332
MDExOlB1bGxSZXF1ZXN0MzY0NTY2OTQ0
31,138
TST:Disallow bare pytest raises issue 30999
{ "avatar_url": "https://avatars.githubusercontent.com/u/35417151?v=4", "events_url": "https://api.github.com/users/shubchat/events{/privacy}", "followers_url": "https://api.github.com/users/shubchat/followers", "following_url": "https://api.github.com/users/shubchat/following{/other_user}", "gists_url": "https://api.github.com/users/shubchat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shubchat", "id": 35417151, "login": "shubchat", "node_id": "MDQ6VXNlcjM1NDE3MTUx", "organizations_url": "https://api.github.com/users/shubchat/orgs", "received_events_url": "https://api.github.com/users/shubchat/received_events", "repos_url": "https://api.github.com/users/shubchat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shubchat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shubchat/subscriptions", "type": "User", "url": "https://api.github.com/users/shubchat" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-19T18:57:46Z
2020-01-25T21:06:46Z
2020-01-23T08:18:57Z
CONTRIBUTOR
null
- [x] refers #30999 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This pull request is to add appropriate match arguments to bare pytest.raises listed in #30999 [Comment](https://github.com/pandas-dev/pandas/issues/30999#issuecomment-574339599)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31138/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31138/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31138.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31138", "merged_at": "2020-01-23T08:18:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31138.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31138" }
https://api.github.com/repos/pandas-dev/pandas/issues/31139
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31139/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31139/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31139/events
https://github.com/pandas-dev/pandas/pull/31139
551,978,266
MDExOlB1bGxSZXF1ZXN0MzY0NTc0Nzg3
31,139
BUG: in DataFrame.count not returning subclassed data types.
{ "avatar_url": "https://avatars.githubusercontent.com/u/22417720?v=4", "events_url": "https://api.github.com/users/EmilianoJordan/events{/privacy}", "followers_url": "https://api.github.com/users/EmilianoJordan/followers", "following_url": "https://api.github.com/users/EmilianoJordan/following{/other_user}", "gists_url": "https://api.github.com/users/EmilianoJordan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/EmilianoJordan", "id": 22417720, "login": "EmilianoJordan", "node_id": "MDQ6VXNlcjIyNDE3NzIw", "organizations_url": "https://api.github.com/users/EmilianoJordan/orgs", "received_events_url": "https://api.github.com/users/EmilianoJordan/received_events", "repos_url": "https://api.github.com/users/EmilianoJordan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/EmilianoJordan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EmilianoJordan/subscriptions", "type": "User", "url": "https://api.github.com/users/EmilianoJordan" }
[ { "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": "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
[]
null
2
2020-01-19T20:20:12Z
2020-01-21T13:13:42Z
2020-01-21T13:12:35Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Once #30945 is merged these tests will pass. I also, didn't know if a PR without first submitting an issue was appropriate, but to cut down on workload I decided to give it a try. If I'm mistaken please let me know. As for the test there are four logical branches in df.count() that needed to be address within the test: 1. Non-homogeneous data types (this is the partion of the test that is dependent on #30945 as it uses .sum()). ``` df = tm.SubclassedDataFrame( { "Person": ["John", "Myla", "Lewis", "John", "Myla"], "Age": [24.0, np.nan, 21.0, 33, 26], "Single": [False, True, True, True, False], } ) result = df.count() assert isinstance(result, tm.SubclassedSeries) ``` 2. Homogeneous data. ``` df = tm.SubclassedDataFrame({"A": [1, 0, 3], "B": [0, 5, 6], "C": [7, 8, 0]}) result = df.count() assert isinstance(result, tm.SubclassedSeries) ``` 3. MultiIndex with level kwarg. ``` df = tm.SubclassedDataFrame( [[10, 11, 12, 13], [20, 21, 22, 23], [30, 31, 32, 33], [40, 41, 42, 43]], index=MultiIndex.from_tuples( list(zip(list("AABB"), list("cdcd"))), names=["aaa", "ccc"] ), columns=MultiIndex.from_tuples( list(zip(list("WWXX"), list("yzyz"))), names=["www", "yyy"] ), ) result = df.count(level=1) assert isinstance(result, tm.SubclassedDataFrame) ``` 4. Force length of axis to be 0. ``` df = tm.SubclassedDataFrame() result = df.count() assert isinstance(result, tm.SubclassedSeries) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31139/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31139/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31139.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31139", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31139.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31139" }
https://api.github.com/repos/pandas-dev/pandas/issues/31140
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31140/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31140/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31140/events
https://github.com/pandas-dev/pandas/issues/31140
551,985,519
MDU6SXNzdWU1NTE5ODU1MTk=
31,140
Feature Request: Add offset as head() second parameter
{ "avatar_url": "https://avatars.githubusercontent.com/u/22925108?v=4", "events_url": "https://api.github.com/users/StashOfCode/events{/privacy}", "followers_url": "https://api.github.com/users/StashOfCode/followers", "following_url": "https://api.github.com/users/StashOfCode/following{/other_user}", "gists_url": "https://api.github.com/users/StashOfCode/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/StashOfCode", "id": 22925108, "login": "StashOfCode", "node_id": "MDQ6VXNlcjIyOTI1MTA4", "organizations_url": "https://api.github.com/users/StashOfCode/orgs", "received_events_url": "https://api.github.com/users/StashOfCode/received_events", "repos_url": "https://api.github.com/users/StashOfCode/repos", "site_admin": false, "starred_url": "https://api.github.com/users/StashOfCode/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StashOfCode/subscriptions", "type": "User", "url": "https://api.github.com/users/StashOfCode" }
[]
closed
false
null
[]
null
3
2020-01-19T21:05:16Z
2020-01-20T20:16:29Z
2020-01-20T20:16:29Z
NONE
null
It would be very cool and intuitive if we could do somethig like this: ```python df.head(10, 100) ``` #### Problem description There are a lot of situations where you need to look through rows and rows of data and currently the alternatives are: 1. play with pd.options to display more rows 2. use indexing and slicing 3. output dataframe to excel Adding `offset` would definitely save a lot of time and effort since it would take only a second to use. It is even easier than <strong>SQL</strong>'s `LIMIT` `OFFSET` approach #### Docs ```python DataFrame.head(self, n=5, offset=0) Parameters: n : int, default 5. Number of rows to select. offset: int, default 0. Skips the offset rows before selecting rows. ``` #### Expected Output ```python >>> df = pd.DataFrame({'animal':['alligator', 'bee', 'falcon', 'lion', ... 'monkey', 'parrot', 'shark', 'whale', 'zebra']}) >>> df animal 0 alligator 1 bee 2 falcon 3 lion 4 monkey 5 parrot 6 shark 7 whale 8 zebra >>> df.head(3, 2) animal 2 falcon 3 lion 4 monkey ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31140/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31140/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31141
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31141/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31141/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31141/events
https://github.com/pandas-dev/pandas/issues/31141
551,990,423
MDU6SXNzdWU1NTE5OTA0MjM=
31,141
show dtype when using df.head()
{ "avatar_url": "https://avatars.githubusercontent.com/u/22311821?v=4", "events_url": "https://api.github.com/users/shuai-zhou/events{/privacy}", "followers_url": "https://api.github.com/users/shuai-zhou/followers", "following_url": "https://api.github.com/users/shuai-zhou/following{/other_user}", "gists_url": "https://api.github.com/users/shuai-zhou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shuai-zhou", "id": 22311821, "login": "shuai-zhou", "node_id": "MDQ6VXNlcjIyMzExODIx", "organizations_url": "https://api.github.com/users/shuai-zhou/orgs", "received_events_url": "https://api.github.com/users/shuai-zhou/received_events", "repos_url": "https://api.github.com/users/shuai-zhou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shuai-zhou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shuai-zhou/subscriptions", "type": "User", "url": "https://api.github.com/users/shuai-zhou" }
[]
closed
false
null
[]
null
1
2020-01-19T21:43:30Z
2020-01-19T22:00:56Z
2020-01-19T22:00:56Z
NONE
null
I have a class that requires R, and I realized R will show the data type right below the column names when listing the first n-th rows. I was wondering if this is a feature in Pandas, like when I type `df.head()`, there will be dtype right below the column names.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31141/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31141/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31142
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31142/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31142/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31142/events
https://github.com/pandas-dev/pandas/issues/31142
551,990,678
MDU6SXNzdWU1NTE5OTA2Nzg=
31,142
Series.combine with fill_value gives unexpected results
{ "avatar_url": "https://avatars.githubusercontent.com/u/20360366?v=4", "events_url": "https://api.github.com/users/jamesharrop/events{/privacy}", "followers_url": "https://api.github.com/users/jamesharrop/followers", "following_url": "https://api.github.com/users/jamesharrop/following{/other_user}", "gists_url": "https://api.github.com/users/jamesharrop/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jamesharrop", "id": 20360366, "login": "jamesharrop", "node_id": "MDQ6VXNlcjIwMzYwMzY2", "organizations_url": "https://api.github.com/users/jamesharrop/orgs", "received_events_url": "https://api.github.com/users/jamesharrop/received_events", "repos_url": "https://api.github.com/users/jamesharrop/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jamesharrop/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamesharrop/subscriptions", "type": "User", "url": "https://api.github.com/users/jamesharrop" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
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" }
7
2020-01-19T21:44:52Z
2020-04-24T14:48:52Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd a = pd.Series([1, 2, 3], index=["a", "b", "c"]) b = pd.Series([10, 20, 30], index=[0, "e", "f"]) c = b.combine(a, lambda x,y: x+y, fill_value=0) print(c) ``` #### Problem description This gives the output: 0 11 a 1 b 2 c 3 e 20 f 30 dtype: int64 #### Expected Output 0 10 a 1 b 2 c 3 e 20 f 30 dtype: int64 With higher numbers in the index it gives expected output i.e.: ```python a = pd.Series([1, 2, 3], index=["a", "b", "c"]) b = pd.Series([10, 20, 30], index=[4, "e", "f"]) c = b.combine(a, lambda x,y: x+y, fill_value=0) print(c) ``` 4 10 a 1 b 2 c 3 e 20 f 30 dtype: int64 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 44.0.0.post20200106 Cython : 0.29.14 pytest : 5.3.2 hypothesis : 4.54.2 sphinx : 2.3.1 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.4.2 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.1 fastparquet : None gcsfs : None lxml.etree : 4.4.2 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : 1.3.12 tables : 3.6.1 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 ​</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/31142/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31142/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31143
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31143/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31143/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31143/events
https://github.com/pandas-dev/pandas/pull/31143
552,020,359
MDExOlB1bGxSZXF1ZXN0MzY0NjA2MDQ4
31,143
REF: share searchsorted between DTI/TDI/PI, insert between DTI/TDI
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-20T01:20:32Z
2020-01-20T21:24:34Z
2020-01-20T16:39:55Z
MEMBER
null
Made possible following #30950, takes the place of #30853.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31143/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31143/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31143.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31143", "merged_at": "2020-01-20T16:39:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31143.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31143" }
https://api.github.com/repos/pandas-dev/pandas/issues/31144
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31144/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31144/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31144/events
https://github.com/pandas-dev/pandas/pull/31144
552,125,996
MDExOlB1bGxSZXF1ZXN0MzY0NjkxMzUw
31,144
Check for pyarrow not feather before pyarrow tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8066014?v=4", "events_url": "https://api.github.com/users/rebecca-palmer/events{/privacy}", "followers_url": "https://api.github.com/users/rebecca-palmer/followers", "following_url": "https://api.github.com/users/rebecca-palmer/following{/other_user}", "gists_url": "https://api.github.com/users/rebecca-palmer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rebecca-palmer", "id": 8066014, "login": "rebecca-palmer", "node_id": "MDQ6VXNlcjgwNjYwMTQ=", "organizations_url": "https://api.github.com/users/rebecca-palmer/orgs", "received_events_url": "https://api.github.com/users/rebecca-palmer/received_events", "repos_url": "https://api.github.com/users/rebecca-palmer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rebecca-palmer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rebecca-palmer/subscriptions", "type": "User", "url": "https://api.github.com/users/rebecca-palmer" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-01-20T07:51:15Z
2020-01-24T03:54:17Z
2020-01-24T03:54:11Z
CONTRIBUTOR
null
read_feather/to_feather now use pyarrow.feather, not top-level (feather-format) feather, but some of their tests were still looking for top-level feather. Two of them that deliberately cause a file not found error were also looking for the wrong form of error message. (Probably nobody noticed because the above was skipping them.)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31144/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31144/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31144.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31144", "merged_at": "2020-01-24T03:54:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31144.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31144" }
https://api.github.com/repos/pandas-dev/pandas/issues/31145
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31145/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31145/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31145/events
https://github.com/pandas-dev/pandas/pull/31145
552,129,084
MDExOlB1bGxSZXF1ZXN0MzY0NjkzOTUx
31,145
Use https for links where available
{ "avatar_url": "https://avatars.githubusercontent.com/u/8066014?v=4", "events_url": "https://api.github.com/users/rebecca-palmer/events{/privacy}", "followers_url": "https://api.github.com/users/rebecca-palmer/followers", "following_url": "https://api.github.com/users/rebecca-palmer/following{/other_user}", "gists_url": "https://api.github.com/users/rebecca-palmer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rebecca-palmer", "id": 8066014, "login": "rebecca-palmer", "node_id": "MDQ6VXNlcjgwNjYwMTQ=", "organizations_url": "https://api.github.com/users/rebecca-palmer/orgs", "received_events_url": "https://api.github.com/users/rebecca-palmer/received_events", "repos_url": "https://api.github.com/users/rebecca-palmer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rebecca-palmer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rebecca-palmer/subscriptions", "type": "User", "url": "https://api.github.com/users/rebecca-palmer" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-01-20T07:57:35Z
2020-01-24T03:55:13Z
2020-01-24T03:55:09Z
CONTRIBUTOR
null
As some of our links are suggestions to install add-on software, insecure links potentially allow an attacker to replace this with their malware. During the process of writing this, I also found and fixed some broken or semi-broken (e.g. redirected to the top level instead of the page we want) links. The following (already) broken links remain: http://nipunbatra.github.io/2015/06/timeseries/ + others from this site http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/CUJ/1992/9210/ross/ross.htm http://mysite.verizon.net/aesir_research/date/jdalg2.htm
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31145/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31145/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31145.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31145", "merged_at": "2020-01-24T03:55:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31145.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31145" }
https://api.github.com/repos/pandas-dev/pandas/issues/31146
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31146/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31146/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31146/events
https://github.com/pandas-dev/pandas/pull/31146
552,133,021
MDExOlB1bGxSZXF1ZXN0MzY0Njk3MjA5
31,146
Remove possibly illegal test data
{ "avatar_url": "https://avatars.githubusercontent.com/u/8066014?v=4", "events_url": "https://api.github.com/users/rebecca-palmer/events{/privacy}", "followers_url": "https://api.github.com/users/rebecca-palmer/followers", "following_url": "https://api.github.com/users/rebecca-palmer/following{/other_user}", "gists_url": "https://api.github.com/users/rebecca-palmer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rebecca-palmer", "id": 8066014, "login": "rebecca-palmer", "node_id": "MDQ6VXNlcjgwNjYwMTQ=", "organizations_url": "https://api.github.com/users/rebecca-palmer/orgs", "received_events_url": "https://api.github.com/users/rebecca-palmer/received_events", "repos_url": "https://api.github.com/users/rebecca-palmer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rebecca-palmer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rebecca-palmer/subscriptions", "type": "User", "url": "https://api.github.com/users/rebecca-palmer" }
[ { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
5
2020-01-20T08:05:33Z
2020-05-26T09:39:30Z
2020-01-21T10:18:39Z
CONTRIBUTOR
null
Much of the test_html data looks like it was saved from real web pages, and not all of them look like the kind that are under a free software license. (I couldn't actually check because only one of the three identifies the source site, and that site raises a security warning.) This removes the questionable data, and adds tests that try to do something equivalent on known-free data. If I am mistaken and these pages are under a free license, please instead document that. This data was added in: https://github.com/pandas-dev/pandas/commit/1d573b4421d5ff16fd68ea0cc6c63f5f1c7ebcac computer_sales_page (HP), for MultiIndex header and empty string handling in headers (should give empty not NaN) https://github.com/pandas-dev/pandas/commit/e22fe1b25d1ff9d5c880f6c35bc91dfab7aa0b84 nyse_wsj, for thousands separator https://github.com/pandas-dev/pandas/commit/92aa2774ca9aa89d0a2cca011707b80db995df92 macau, for MultiIndex header and thousands separator
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31146/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31146/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31146.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31146", "merged_at": "2020-01-21T10:18:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31146.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31146" }
https://api.github.com/repos/pandas-dev/pandas/issues/31147
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31147/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31147/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31147/events
https://github.com/pandas-dev/pandas/pull/31147
552,134,221
MDExOlB1bGxSZXF1ZXN0MzY0Njk4MjMx
31,147
Use Python 3 shebangs
{ "avatar_url": "https://avatars.githubusercontent.com/u/8066014?v=4", "events_url": "https://api.github.com/users/rebecca-palmer/events{/privacy}", "followers_url": "https://api.github.com/users/rebecca-palmer/followers", "following_url": "https://api.github.com/users/rebecca-palmer/following{/other_user}", "gists_url": "https://api.github.com/users/rebecca-palmer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rebecca-palmer", "id": 8066014, "login": "rebecca-palmer", "node_id": "MDQ6VXNlcjgwNjYwMTQ=", "organizations_url": "https://api.github.com/users/rebecca-palmer/orgs", "received_events_url": "https://api.github.com/users/rebecca-palmer/received_events", "repos_url": "https://api.github.com/users/rebecca-palmer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rebecca-palmer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rebecca-palmer/subscriptions", "type": "User", "url": "https://api.github.com/users/rebecca-palmer" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-20T08:07:45Z
2020-01-20T15:16:46Z
2020-01-20T15:16:42Z
CONTRIBUTOR
null
Plain 'python' may either not exist at all, or be Python 2.
{ "+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/31147/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31147/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31147.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31147", "merged_at": "2020-01-20T15:16:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31147.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31147" }
https://api.github.com/repos/pandas-dev/pandas/issues/31148
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31148/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31148/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31148/events
https://github.com/pandas-dev/pandas/pull/31148
552,227,575
MDExOlB1bGxSZXF1ZXN0MzY0Nzc0MzA1
31,148
DOC: replace long table of contents on home page with main links
{ "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
14
2020-01-20T11:01:43Z
2020-01-27T19:53:54Z
2020-01-27T19:43:56Z
MEMBER
null
This is a proposal to remove the long table of contents on the documentation home page and replace it with a highlight of the main parts of the documentation. Reasons: I don't think the long table of contents resulted in a very attractive landing page of the docs. And further, it was also a "manual" table of contents which would therefore easily get out of date. And with the new content, we can also at the same time give some explanation on the organization of the docs. So would like to get feedback on the general idea. The wording in the different boxes can certainly still be improved. And we could also make similar boxes to point to eg the installation guide or for the different "getting help" links. It's using some bootstrap elements ("cards") that can be used now since the sphinx theme is based on bootstrap (and all credit to @stijnvanhoey for the html/css part, I re-used some content of what he worked on for the getting started guides, a PR for that is coming shortly). Screenshot of how it currently looks below, and a live version can be checked here: http://jorisvandenbossche.github.io/example-pandas-docs/html-doc-home/ ![image](https://user-images.githubusercontent.com/1020496/72721384-35a1c880-3b7c-11ea-87af-eb26bff4f3db.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/31148/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31148/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31148.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31148", "merged_at": "2020-01-27T19:43:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31148.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31148" }
https://api.github.com/repos/pandas-dev/pandas/issues/31149
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31149/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31149/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31149/events
https://github.com/pandas-dev/pandas/issues/31149
552,277,944
MDU6SXNzdWU1NTIyNzc5NDQ=
31,149
Lint issue with new version of flake8-comprehensions plugin
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" } ]
null
1
2020-01-20T12:44:58Z
2020-01-23T00:49:55Z
2020-01-23T00:49:55Z
MEMBER
null
[flake8-comprehensions](https://pypi.org/project/flake8-comprehensions/) have released a new version (3.2.1), and now when running ```./ci/code_checks.sh lint``` I get this output: ``` flake8 --version 3.7.9 (flake8-comprehensions: 3.2.1, mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.8.1 on Linux Linting .py code ./pandas/tests/io/parser/test_network.py:208:21: C412 Unnecessary set comprehension - 'in' can take a generator. Linting .py code DONE ``` (feel free to close this issue if this is happening because I have python version 3.8.1) <details> INSTALLED VERSIONS ------------------ commit : 7c94949dc89c62cae1bc647acd87266d6c3a0468 python : 3.8.1.final.0 python-bits : 64 OS : Linux OS-release : 5.4.13.a-1-hardened machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.0rc0+107.g7c94949dc numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 45.1.0 Cython : 0.29.14 pytest : 5.3.3 hypothesis : 5.2.0 sphinx : 2.3.1 blosc : 1.8.3 feather : None xlsxwriter : 1.2.7 lxml.etree : 4.4.2 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.1 fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.4.2 matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.1 pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.3 s3fs : 0.4.0 scipy : 1.4.1 sqlalchemy : 1.3.12 tables : 3.6.1 tabulate : 0.8.6 xarray : 0.14.1 xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 numba : 0.47.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/31149/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31149/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31150
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31150/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31150/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31150/events
https://github.com/pandas-dev/pandas/pull/31150
552,285,613
MDExOlB1bGxSZXF1ZXN0MzY0ODIxOTU4
31,150
API: generalized check_array_indexer for validating array-like getitem indexers
{ "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": "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
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
22
2020-01-20T13:00:52Z
2020-01-29T14:46:57Z
2020-01-29T12:04:58Z
MEMBER
null
Closes https://github.com/pandas-dev/pandas/issues/30738. Also fixes the performance issue for other arrays from https://github.com/pandas-dev/pandas/issues/30744, and related to https://github.com/pandas-dev/pandas/pull/30308#issuecomment-571146305 This generalizes the `check_bool_array_indexer` helper method that we added for 1.0.0 to not be specific to boolean arrays, but any array-like input, and ensures that the output is a proper numpy array that can be used to index into numpy arrays. I think such a more general "check" is useful, to avoid that all (external+internal) EAs need to do what the test EAs are already doing (checking for integer arrays as well) at https://github.com/pandas-dev/pandas/blob/master/pandas/tests/extension/decimal/array.py#L118-L126, and also to fix the performance issue in a general way (as was now only done for Categorical in https://github.com/pandas-dev/pandas/pull/30747/files) If we agree on the general idea, I still need to clean up this PR (eg remove the existing `check_bool_array_indexer`, update the extending docs, etc) cc @TomAugspurger
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31150/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31150/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31150.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31150", "merged_at": "2020-01-29T12:04:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31150.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31150" }
https://api.github.com/repos/pandas-dev/pandas/issues/31151
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31151/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31151/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31151/events
https://github.com/pandas-dev/pandas/issues/31151
552,291,176
MDU6SXNzdWU1NTIyOTExNzY=
31,151
ImportError because of file named bottleneck.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/11877115?v=4", "events_url": "https://api.github.com/users/imntl/events{/privacy}", "followers_url": "https://api.github.com/users/imntl/followers", "following_url": "https://api.github.com/users/imntl/following{/other_user}", "gists_url": "https://api.github.com/users/imntl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/imntl", "id": 11877115, "login": "imntl", "node_id": "MDQ6VXNlcjExODc3MTE1", "organizations_url": "https://api.github.com/users/imntl/orgs", "received_events_url": "https://api.github.com/users/imntl/received_events", "repos_url": "https://api.github.com/users/imntl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/imntl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/imntl/subscriptions", "type": "User", "url": "https://api.github.com/users/imntl" }
[]
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" }
5
2020-01-20T13:12:43Z
2021-11-12T16:45:29Z
2020-01-20T13:27:18Z
NONE
null
There is a ImportError raised, if you have a file named bottleneck.py in your current working directory. In a python 3.7.5 console you get: ```python >>> import pandas Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/jalea/.local/lib/python3.7/site-packages/pandas/__init__.py", line 55, in <module> from pandas.core.api import ( File "/home/jalea/.local/lib/python3.7/site-packages/pandas/core/api.py", line 5, in <module> from pandas.core.arrays.integer import ( File "/home/jalea/.local/lib/python3.7/site-packages/pandas/core/arrays/__init__.py", line 7, in <module> from .categorical import Categorical # noqa: F401 File "/home/jalea/.local/lib/python3.7/site-packages/pandas/core/arrays/categorical.py", line 54, in <module> from pandas.core.base import NoNewAttributesMixin, PandasObject, _shared_docs File "/home/jalea/.local/lib/python3.7/site-packages/pandas/core/base.py", line 36, in <module> import pandas.core.nanops as nanops File "/home/jalea/.local/lib/python3.7/site-packages/pandas/core/nanops.py", line 38, in <module> bn = import_optional_dependency("bottleneck", raise_on_missing=False, on_version="warn") File "/home/jalea/.local/lib/python3.7/site-packages/pandas/compat/_optional.py", line 99, in import_optional_dependency version = _get_version(module) File "/home/jalea/.local/lib/python3.7/site-packages/pandas/compat/_optional.py", line 48, in _get_version raise ImportError("Can't determine version for {}".format(module.__name__)) ImportError: Can't determine version for bottleneck ``` If i delete the empty bottleneck.py in the directory, everything works fine. I you want to test it, just use `touch bottleneck.py` and open a interactive python console and you will get the error. The problem also arises in tensorflow and keras. If there is a file named `bottleneck.py` you can't import these two, because they depend on pandas. This problem arised also in a keras [issue](https://github.com/keras-team/keras/issues/6602), but it didn't get looked into it. Possible fix could be to get another `try: … except: …` block around line 97 of [pandas/compat/_optional.py](https://github.com/pandas-dev/pandas/blob/3f57ae7967776a8cd22d16e45a3476e63f08cbe4/pandas/compat/_optional.py) if `on_version == "warn"`. <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-26-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : de_DE.UTF-8 LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.2 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.1.0 Cython : 0.29.10 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : 1.3.11 tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31151/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31151/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31152
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31152/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31152/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31152/events
https://github.com/pandas-dev/pandas/pull/31152
552,304,306
MDExOlB1bGxSZXF1ZXN0MzY0ODM3NDc5
31,152
Backport PR #31095 on branch 1.0.x (DOC: Restore ExtensionIndex.dropna.__doc__)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-20T13:35:47Z
2020-01-20T15:24:46Z
2020-01-20T15:24:46Z
NONE
null
Backport PR #31095: DOC: Restore ExtensionIndex.dropna.__doc__
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31152/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31152/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31152.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31152", "merged_at": "2020-01-20T15:24:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31152.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31152" }
https://api.github.com/repos/pandas-dev/pandas/issues/31153
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31153/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31153/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31153/events
https://github.com/pandas-dev/pandas/issues/31153
552,341,482
MDU6SXNzdWU1NTIzNDE0ODI=
31,153
Cannot iterate over result of a group by multiple columns if one contains NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/11516298?v=4", "events_url": "https://api.github.com/users/gfitas/events{/privacy}", "followers_url": "https://api.github.com/users/gfitas/followers", "following_url": "https://api.github.com/users/gfitas/following{/other_user}", "gists_url": "https://api.github.com/users/gfitas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfitas", "id": 11516298, "login": "gfitas", "node_id": "MDQ6VXNlcjExNTE2Mjk4", "organizations_url": "https://api.github.com/users/gfitas/orgs", "received_events_url": "https://api.github.com/users/gfitas/received_events", "repos_url": "https://api.github.com/users/gfitas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfitas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfitas/subscriptions", "type": "User", "url": "https://api.github.com/users/gfitas" }
[]
closed
false
null
[]
null
2
2020-01-20T14:41:23Z
2020-01-20T21:45:44Z
2020-01-20T21:45:44Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here df = pd.DataFrame({"a": [1, 1, None, None], "b": [2,3,4,5]}) r = df.groupby(["a","b"]) print(len(r)) for _, i in r: print(i) ``` #### Problem description Hi, when trying to perform a group by over multiples columns and if a column contains a Nan, the composite key is ignored. We can still access to the lines by iterating over the groups property of the generic.DataFrameGroupBy by using iloc but it is unwieldy. ```python for i in gb.groups:     print(df.iloc[gb.groups.get(i)]) ``` It seems unexpected that the len of the result is different from the number of results got when iterating. #### Expected Output 4 a b 0 1.0 2 a b 1 None 3 a b 1 None 4 a b 1 None 5 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 44.0.0.post20200106 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None None INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 44.0.0.post20200106 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31153/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31153/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31154
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31154/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31154/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31154/events
https://github.com/pandas-dev/pandas/issues/31154
552,349,535
MDU6SXNzdWU1NTIzNDk1MzU=
31,154
REF: move 'describe' functions to new file
{ "avatar_url": "https://avatars.githubusercontent.com/u/11860098?v=4", "events_url": "https://api.github.com/users/david-cortes/events{/privacy}", "followers_url": "https://api.github.com/users/david-cortes/followers", "following_url": "https://api.github.com/users/david-cortes/following{/other_user}", "gists_url": "https://api.github.com/users/david-cortes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/david-cortes", "id": 11860098, "login": "david-cortes", "node_id": "MDQ6VXNlcjExODYwMDk4", "organizations_url": "https://api.github.com/users/david-cortes/orgs", "received_events_url": "https://api.github.com/users/david-cortes/received_events", "repos_url": "https://api.github.com/users/david-cortes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/david-cortes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/david-cortes/subscriptions", "type": "User", "url": "https://api.github.com/users/david-cortes" }
[ { "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2020-01-20T14:55:32Z
2021-06-26T02:08:13Z
null
CONTRIBUTOR
null
Opening an issue about a refactor of the code for the `describe` method in Series and DataFrames as requested here: https://github.com/pandas-dev/pandas/pull/30209 Idea was to move all the helper functions (according to type) into a new file `pandas/core/algos/describe.py` And to redo the tests on `describe` methods by dtype using parametrize. --------- Seeing as the current organization of the files in the master branch does not follow this arrangement and would imply some perhaps bug changes, I'd prefer not to work on this myself.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31154/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31154/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31155
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31155/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31155/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31155/events
https://github.com/pandas-dev/pandas/pull/31155
552,365,999
MDExOlB1bGxSZXF1ZXN0MzY0ODg4MDQx
31,155
BUG: nonexistent Timestamp pre-summer/winter DST w/dateutil timezone
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-01-20T15:23:12Z
2020-01-24T16:31:54Z
2020-01-24T03:33:00Z
MEMBER
null
- [X] closes #31043 - [X] tests added 1 / passed 1 - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry This implements rounding down to microseconds into Timedelta.total_seconds(). Lack of this rounding led to `dateutil.tz.tzinfo.utcoffset` and `dst` breaking less than 128 nanoseconds before winter/summer DST switch. This happened due to an unintended cast to float in `Timedelta.total_seconds()` compounded with `Timedelta.value` being np.int64 type which doesn't support long arithmetic. The loss of precision led to rounding up, which meant that `total_seconds` since epoch time implied DST time while the `Timedelta.value` hasn't yet reached DST. Details and code examples below. <details> This was quite a journey, but I found out what's going on. Let's say we have a `dateutil.tz.tzinfo` object named `du_tz` and want to find out the DST-aware UTC offset. 1. We call `du_tz.utcoffset(dt)` which calls `du_tz._find_ttinfo(dt)` which calls `du_tz._resolve_ambiguous_time(dt)` to find the index of the last transition time that it uses to return the correct offset. 2. `du_tz._resolve_ambiguous_time(dt)` calls `du_tz._find_last_transition(dt)` which calls the `_datetime_to_timestamp(dt)` dateutil function. 3. This is what this function does: ``` def _datetime_to_timestamp(dt): """ Convert a :class:`datetime.datetime` object to an epoch timestamp in seconds since January 1, 1970, ignoring the time zone. """ return (dt.replace(tzinfo=None) - EPOCH).total_seconds() ``` The problem is dateutil's reliance on `Timedelta.total_seconds` which casts to float: ``` def total_seconds(self): """ Total duration of timedelta in seconds (to ns precision). """ return self.value / 1e9 ``` Demonstration: ``` IN: import datetime import pandas as pd epoch = 1552211999999999872 ts = pd.Timestamp(epoch, tz='dateutil/US/Pacific') EPOCH = datetime.datetime.utcfromtimestamp(0) delta = ts.replace(tzinfo=None) - EPOCH print(delta.value) OUT: 1552183199999999872 IN: print(delta.total_seconds()) OUT: 1552183200.0 IN: print(ts.tz.dst(ts)) OUT: datetime.timedelta(seconds=3600) ``` The same thing happens with a `pytz` timezone, only pytz relies on something else to check for DST transitions: ``` IN: import datetime import pandas as pd epoch = 1552211999999999872 ts = pd.Timestamp(epoch, tz='US/Pacific') EPOCH = datetime.datetime.utcfromtimestamp(0) delta = ts.replace(tzinfo=None) - EPOCH print(delta.value) OUT: 1552183199999999872 IN: print(delta.total_seconds()) OUT: 1552183200.0 IN: print(ts.tz.dst(ts)) OUT: datetime.timedelta(0) ``` So `timedelta` value is okay, but `timedelta.total_seconds` hits the precision limit of floats, and this leads to rounding and an incorrect DST offset. </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/31155/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31155/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31155.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31155", "merged_at": "2020-01-24T03:33:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31155.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31155" }
https://api.github.com/repos/pandas-dev/pandas/issues/31156
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31156/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31156/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31156/events
https://github.com/pandas-dev/pandas/pull/31156
552,376,337
MDExOlB1bGxSZXF1ZXN0MzY0ODk2NTM1
31,156
DOC: Update of the 'getting started' pages in the sphinx section of the documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/754862?v=4", "events_url": "https://api.github.com/users/stijnvanhoey/events{/privacy}", "followers_url": "https://api.github.com/users/stijnvanhoey/followers", "following_url": "https://api.github.com/users/stijnvanhoey/following{/other_user}", "gists_url": "https://api.github.com/users/stijnvanhoey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stijnvanhoey", "id": 754862, "login": "stijnvanhoey", "node_id": "MDQ6VXNlcjc1NDg2Mg==", "organizations_url": "https://api.github.com/users/stijnvanhoey/orgs", "received_events_url": "https://api.github.com/users/stijnvanhoey/received_events", "repos_url": "https://api.github.com/users/stijnvanhoey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stijnvanhoey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stijnvanhoey/subscriptions", "type": "User", "url": "https://api.github.com/users/stijnvanhoey" }
[ { "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-03-16T02:29:08Z", "closed_issues": 155, "created_at": "2020-02-03T09:13:39Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-03-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/70", "id": 5065490, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels", "node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==", "number": 70, "open_issues": 0, "state": "closed", "title": "1.0.2", "updated_at": "2021-07-28T05:52:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70" }
9
2020-01-20T15:42:12Z
2020-02-17T18:54:40Z
2020-02-17T11:49:43Z
CONTRIBUTOR
null
- [ ] closes #26831 This PR provides an update of the getting started pages of the Pandas documentation, following from the discussion in #26831 and the [proposal](https://docs.google.com/document/d/1Rc_eql5KLrdf0c582KyWfs2ADVNxbJy4jfosnqdrVak/edit#heading=h.mqz2f6gbl3sd). The update went together with the creation of the new theme and tries to integrate as much as possible with the new layout (using bootstrap elements). This PR focuses on the getting started section and adds new sections to the documentation: - An update of the 'getting started' intro page of the sphinx documentation to provide new users some more guidance on the 'first steps' with Pandas: Directions for installation, a short intro on main Pandas features each linking to a dedicated introduction tutorial (see next point), specific info targeted to people with another background and reference to more tutorials. - A set of tutorials which introduce some key features of the Pandas package. Each tutorial is setup as a series of 'tasks/questions' so users get a first idea of the type of problems they can solve with Pandas for that topic. All tutorials provide a set of [returning elements](https://stijnvanhoey.github.io/pandas-getting-started-tutorials/tutorial-elements/). Both the intros as well as the tutorials itself try to guide people as much as possible to related sections of the user guide. - A set of schemas to illustrate certain concepts, with according to the new theme. These schemas can be used in other locations in the user guide as well. The aim is to move the [dsintro](https://pandas.io/docs/getting_started/dsintro.html) and the [basics](https://pandas.io/docs/getting_started/basics.html) to the general user guide, as both are too extensive for a getting started section. The 10 intro tutorials try to provide an alternative that is more fit to people starting with Pandas. There is still some work to do (typo's in the tutorials, additional schemas...), but input is certainly welcome and appreciated, I'll continue improving it. See https://stijnvanhoey.github.io/example-pandas-docs/getting-started/getting_started/index.html for a live preview. Note: (1) a separate PR is prepared for the general sphinx intro page with @jorisvandenbossche, see #31148 (2) some of the layout issues are more general and related to the [new sphinx theme](https://github.com/pandas-dev/pydata-bootstrap-sphinx-theme) and will be tackled there (e.g. spacing around titles and subtitles) Some pictures: - The intro to the 10 tutorials: ![image](https://user-images.githubusercontent.com/754862/72739475-fbe4b800-3ba3-11ea-9256-1617ed726b44.png) - the coming from section : ![image](https://user-images.githubusercontent.com/754862/72739547-1c147700-3ba4-11ea-9cda-e518af641df7.png) - example of 'remember' section in each tutorial: ![image](https://user-images.githubusercontent.com/754862/72739624-4403da80-3ba4-11ea-81b8-0df26fc129f7.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/31156/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31156/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31156.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31156", "merged_at": "2020-02-17T11:49:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31156.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31156" }
https://api.github.com/repos/pandas-dev/pandas/issues/31157
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31157/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31157/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31157/events
https://github.com/pandas-dev/pandas/issues/31157
552,435,012
MDU6SXNzdWU1NTI0MzUwMTI=
31,157
REGR: outer merge resulting in missing datetime values converts to int
{ "avatar_url": "https://avatars.githubusercontent.com/u/2189996?v=4", "events_url": "https://api.github.com/users/vadella/events{/privacy}", "followers_url": "https://api.github.com/users/vadella/followers", "following_url": "https://api.github.com/users/vadella/following{/other_user}", "gists_url": "https://api.github.com/users/vadella/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vadella", "id": 2189996, "login": "vadella", "node_id": "MDQ6VXNlcjIxODk5OTY=", "organizations_url": "https://api.github.com/users/vadella/orgs", "received_events_url": "https://api.github.com/users/vadella/received_events", "repos_url": "https://api.github.com/users/vadella/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vadella/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vadella/subscriptions", "type": "User", "url": "https://api.github.com/users/vadella" }
[ { "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
5
2020-01-20T17:42:39Z
2020-01-22T19:36:22Z
2020-01-22T19:36:21Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.DataFrame( { "x": [0, 1], "date": pd.to_datetime(["2020-01-05T12:00", "2020-01-05T13:00"]), } ) df2 = pd.DataFrame({"x": [0, 2], "y": [0, 1]}) merged = pd.merge(df, df2, on="x", how="outer") merged.info() print(merged) ``` > ``` > <class 'pandas.core.frame.DataFrame'> > Int64Index: 3 entries, 0 to 2 > Data columns (total 3 columns): > # Column Non-Null Count Dtype > --- ------ -------------- ----- > 0 x 3 non-null int64 > 1 date 3 non-null object > 2 y 2 non-null float64 > dtypes: float64(1), int64(1), object(1) > memory usage: 96.0+ bytes > ``` > ``` > x date y > 0 0 1578225600000000000 0.0 > 1 1 1578229200000000000 NaN > 2 2 -9223372036854775808 1.0 > ``` ```python merged["date"].map(type) ``` > ``` > 0 <class 'int'> > 1 <class 'int'> > 2 <class 'int'> > Name: date, dtype: object > ``` ```python print(pd.merge(df, df2, on="x", how="inner")) ``` > ``` > x date y > 0 0 2020-01-05 12:00:00 0 > ``` #### Problem description Merging 2 DataFrames which result in missing Datetime values silently converts the column to integers with an `object` dtype, instead of keeping `datetime64[ns]` as dtype, which was the behaviour in pandas 0.25.3, and the behaviour I would expect. #### Expected Output ```python merged = pd.merge(df, df2, on="x", how="outer") merged.info() print(merged) ``` <class 'pandas.core.frame.DataFrame'> Int64Index: 3 entries, 0 to 2 Data columns (total 3 columns): x 3 non-null int64 date 2 non-null datetime64[ns] y 2 non-null float64 dtypes: datetime64[ns](1), float64(1), int64(1) memory usage: 96.0 bytes x date y 0 0 2020-01-05 12:00:00 0.0 1 1 2020-01-05 13:00:00 NaN 2 2 NaT 1.0 ```python merged["date"].map(type) ``` > ``` > 0 <class 'pandas._libs.tslibs.timestamps.Timesta... > 1 <class 'pandas._libs.tslibs.timestamps.Timesta... > 2 <class 'pandas._libs.tslibs.nattype.NaTType'> > Name: date, dtype: object > ``` This is the output from Python 0.25.3 Whether the `y`-column should be converted to float or `Int64` is open for debate, but not the issue at hand here. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 8.1 machine : AMD64 processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.0rc0 numpy : 1.17.5 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 45.1.0.post20200119 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : 3.0.2 pandas_gbq : None pyarrow : None pytables : None pytest : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31157/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31157/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31158
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31158/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31158/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31158/events
https://github.com/pandas-dev/pandas/issues/31158
552,451,692
MDU6SXNzdWU1NTI0NTE2OTI=
31,158
BUG? Intended bebavior? MI levels and codes ordered in lexsorted in from_*
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
0
2020-01-20T18:27:06Z
2021-07-27T05:04:50Z
null
MEMBER
null
I find it a bit weird when working on a PR with MI issue and I am not sure if it is intended or a bug?and feel surprised they show different results If creating MI e.g. ```python >>> mi = pd.MultiIndex(levels=[['apple', 'baz', 'bar'], ['one', 'two', 'three']], codes=[[0, 1, 2], [0, 1, 2]]) >>> mi MultiIndex([('apple', 'one'), ( 'baz', 'two'), ( 'bar', 'three')]) >>> mi.levels >>> FrozenList([['apple', 'baz', 'bar'], ['one', 'two', 'three']]) >>> mi.codes >>> FrozenList([[0, 1, 2], [0, 1, 2]]) ``` And i think this is correct behavior However, if creating MI using `from_*`, then: ```python >>> mi = pd.MultiIndex.from_tuples([['apple', 'one'], ['baz','two'], ['bar','three']]) # this MI looks same as the one above >>> mi MultiIndex([('apple', 'one'), ( 'baz', 'two'), ( 'bar', 'three')]) >>> mi.levels >>> FrozenList([['apple', 'bar', 'baz'], ['one', 'three', 'two']]) >>> mi.codes >>> FrozenList([[0, 2, 1], [0, 2, 1]]) ``` Then checking codes and levels, they seem to be lexsorted already. I am not sure if this is intended? If so, maybe good to put some documentations describing it? since we do have `sortorder` option, honestly i am not sure how this argument works: changing the `sortorder` does not seem to change any output?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31158/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31158/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31159
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31159/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31159/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31159/events
https://github.com/pandas-dev/pandas/pull/31159
552,452,644
MDExOlB1bGxSZXF1ZXN0MzY0OTU4MjAy
31,159
ENH: Implement _from_sequence_of_strings for BooleanArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
7
2020-01-20T18:30:01Z
2020-01-23T21:56:21Z
2020-01-23T20:56:01Z
MEMBER
null
- [x] closes #31131 - [x] tests added / passed - [x] passes `black pandas` - [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/31159/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31159/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31159.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31159", "merged_at": "2020-01-23T20:56:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31159.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31159" }
https://api.github.com/repos/pandas-dev/pandas/issues/31160
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31160/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31160/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31160/events
https://github.com/pandas-dev/pandas/issues/31160
552,489,693
MDU6SXNzdWU1NTI0ODk2OTM=
31,160
MyPy doesn't recognize scalar arithmetic for pandas classes
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "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" } ]
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" }
7
2020-01-20T20:13:29Z
2020-09-30T15:27:55Z
null
MEMBER
null
Something like: ```python 1 + pd.Series([1]) ``` will yield `error: Unsupported operand types for + ("int" and "Series")` I assume because our arithmetic ops are added at runtime and not statically. Would be nice to support this somehow though
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31160/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31160/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31161
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31161/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31161/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31161/events
https://github.com/pandas-dev/pandas/pull/31161
552,490,078
MDExOlB1bGxSZXF1ZXN0MzY0OTg3MzQ3
31,161
TST: Add regression tests for fixed issues
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-20T20:14:22Z
2020-01-21T01:06:15Z
2020-01-21T01:06:11Z
MEMBER
null
- [x] closes #14600 - [x] closes #14849 - [x] closes #14955 - [x] closes #14592 - [x] closes #12163 - [x] closes #12948 - [x] closes #15058 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31161/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31161/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31161.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31161", "merged_at": "2020-01-21T01:06:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31161.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31161" }
https://api.github.com/repos/pandas-dev/pandas/issues/31162
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31162/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31162/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31162/events
https://github.com/pandas-dev/pandas/pull/31162
552,507,770
MDExOlB1bGxSZXF1ZXN0MzY1MDAxNjU3
31,162
CLN/STY: various code cleanups
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-20T21:03:44Z
2020-01-21T00:43:01Z
2020-01-20T22:28:01Z
MEMBER
null
- [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31162/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31162/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31162.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31162", "merged_at": "2020-01-20T22:28:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31162.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31162" }
https://api.github.com/repos/pandas-dev/pandas/issues/31163
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31163/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31163/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31163/events
https://github.com/pandas-dev/pandas/pull/31163
552,511,270
MDExOlB1bGxSZXF1ZXN0MzY1MDA0NTM4
31,163
BUG: corner cases in DTI.get_value, Float64Index.get_value
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-20T21:14:09Z
2020-01-23T23:12:24Z
2020-01-23T23:01:48Z
MEMBER
null
Series lookups are affected for the Float64Index case.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31163/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31163/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31163.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31163", "merged_at": "2020-01-23T23:01:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31163.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31163" }
https://api.github.com/repos/pandas-dev/pandas/issues/31164
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31164/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31164/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31164/events
https://github.com/pandas-dev/pandas/pull/31164
552,534,021
MDExOlB1bGxSZXF1ZXN0MzY1MDIyOTc1
31,164
Backport PR #31133 on branch 1.0.x (BUG: Break reference from grouping level to MI)
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-20T22:25:45Z
2020-01-20T23:59:04Z
2020-01-20T23:59:03Z
NONE
null
Backport PR #31133: BUG: Break reference from grouping level to MI
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31164/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31164/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31164.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31164", "merged_at": "2020-01-20T23:59:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31164.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31164" }
https://api.github.com/repos/pandas-dev/pandas/issues/31165
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31165/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31165/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31165/events
https://github.com/pandas-dev/pandas/pull/31165
552,540,715
MDExOlB1bGxSZXF1ZXN0MzY1MDI4MzI0
31,165
TST: Replaced try-catch blocks with pytest.raises
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[]
closed
false
null
[]
null
1
2020-01-20T22:50:55Z
2020-01-24T12:19:25Z
2020-01-23T08:11:37Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31165/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31165/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31165.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31165", "merged_at": "2020-01-23T08:11:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31165.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31165" }
https://api.github.com/repos/pandas-dev/pandas/issues/31166
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31166/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31166/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31166/events
https://github.com/pandas-dev/pandas/pull/31166
552,554,755
MDExOlB1bGxSZXF1ZXN0MzY1MDM5NDEz
31,166
Backport PR #29836 on branch 1.0.x (ENH: XLSB support)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-20T23:49:24Z
2020-01-21T10:13:28Z
2020-01-21T10:13:28Z
NONE
null
Backport PR #29836: ENH: XLSB support
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31166/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31166/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31166.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31166", "merged_at": "2020-01-21T10:13:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31166.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31166" }
https://api.github.com/repos/pandas-dev/pandas/issues/31167
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31167/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31167/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31167/events
https://github.com/pandas-dev/pandas/pull/31167
552,563,269
MDExOlB1bGxSZXF1ZXN0MzY1MDQ2MjU3
31,167
DOC: fix DataFrame.plot docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2020-01-21T00:27:07Z
2020-01-26T15:55:17Z
2020-01-23T12:35:16Z
MEMBER
null
- [x] fixes #29489 - [ ] 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/31167/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31167/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31167.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31167", "merged_at": "2020-01-23T12:35:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31167.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31167" }
https://api.github.com/repos/pandas-dev/pandas/issues/31168
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31168/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31168/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31168/events
https://github.com/pandas-dev/pandas/pull/31168
552,567,985
MDExOlB1bGxSZXF1ZXN0MzY1MDQ5OTkx
31,168
REF: simplify index.pyx
{ "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-21T00:51:02Z
2020-01-24T04:27:23Z
2020-01-24T04:02:48Z
MEMBER
null
simplification of is_definitely_invalid_key is made possible by the recent change to make EA non-hashable.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31168/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31168/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31168.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31168", "merged_at": "2020-01-24T04:02:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31168.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31168" }
https://api.github.com/repos/pandas-dev/pandas/issues/31169
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31169/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31169/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31169/events
https://github.com/pandas-dev/pandas/pull/31169
552,578,752
MDExOlB1bGxSZXF1ZXN0MzY1MDU4NDE0
31,169
REF: require scalar in IntervalIndex.get_loc, get_value
{ "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-21T01:38:58Z
2020-01-24T00:54:01Z
2020-01-24T00:52:00Z
MEMBER
null
cc @jschendel the casting of tuple->Interval on L819-820 seems sketchy, can you confirm if thats appropriate? I'm also curious about the restriction on slice steps in _convert_slice_indexer, would be nice to have a comment there about why that is. xref #31117.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31169/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31169/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31169.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31169", "merged_at": "2020-01-24T00:52:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31169.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31169" }
https://api.github.com/repos/pandas-dev/pandas/issues/31170
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31170/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31170/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31170/events
https://github.com/pandas-dev/pandas/issues/31170
552,588,333
MDU6SXNzdWU1NTI1ODgzMzM=
31,170
pandas read_csv() doesn't work with StreamingBody object where python engine is required
{ "avatar_url": "https://avatars.githubusercontent.com/u/53070709?v=4", "events_url": "https://api.github.com/users/mightyatom/events{/privacy}", "followers_url": "https://api.github.com/users/mightyatom/followers", "following_url": "https://api.github.com/users/mightyatom/following{/other_user}", "gists_url": "https://api.github.com/users/mightyatom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mightyatom", "id": 53070709, "login": "mightyatom", "node_id": "MDQ6VXNlcjUzMDcwNzA5", "organizations_url": "https://api.github.com/users/mightyatom/orgs", "received_events_url": "https://api.github.com/users/mightyatom/received_events", "repos_url": "https://api.github.com/users/mightyatom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mightyatom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mightyatom/subscriptions", "type": "User", "url": "https://api.github.com/users/mightyatom" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "e4a5f1", "default": false, "description": "Local or Cloud (AWS, GCS, etc.) IO Issues", "id": 49381477, "name": "IO Network", "node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network" } ]
open
false
null
[]
null
0
2020-01-21T02:22:30Z
2021-07-27T05:05:54Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python >>> import boto3 >>> import s3fs >>> import pandas as pd >>> >>> s3 = boto3.client("s3") >>> response = s3.get_object(Bucket="df-raw-869771", Key="csv/customer-01.csv") >>> >>> pd.read_csv(response["Body"]) customer_id|store_id|first_name|last_name|email|address_id|activebool|dw_insert_date|dw_update_date|active 0 9|2|MARGARET|MOORE|MARGARET.MOORE@sakilacustom... 1 13|2|KAREN|JACKSON|KAREN.JACKSON@sakilacustome... 2 17|1|DONNA|THOMPSON|DONNA.THOMPSON@sakilacusto... 3 21|1|MICHELLE|CLARK|MICHELLE.CLARK@sakilacusto... 4 25|1|DEBORAH|WALKER|DEBORAH.WALKER@sakilacusto... ... ... 1188 587|1|SERGIO|STANFIELD|SERGIO.STANFIELD@sakila... 1189 591|1|KENT|ARSENAULT|KENT.ARSENAULT@sakilacust... 1190 595|1|TERRENCE|GUNDERSON|TERRENCE.GUNDERSON@sa... 1191 599|2|AUSTIN|CINTRON|AUSTIN.CINTRON@sakilacust... 1192 4|2|BARBARA|JONES|BARBARA@sakilacustomer.org|8... [1193 rows x 1 columns] ``` if with `skipfooter` argument added ```python >>> import boto3 >>> import s3fs >>> import pandas as pd >>> >>> s3 = boto3.client("s3") >>> response = s3.get_object(Bucket="df-raw-869771", Key="csv/customer-01.csv") >>> >>> pd.read_csv(response["Body"], skipfooter=1) __main__:1: ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support skipfooter; you can avoid this warning by specifying engine='python'. 99 117 115 116 111 109 101 114 95 105 100 124 115.1 116.1 111.1 ... 114.28 103.11 124.112 53.6 55.4 124.113 65.51 99.26 116.33 105.31 118.13 101.35 124.114 49.70 51.21 0 45 49 49 45 50 48 49 57 124 124 49 10 53 55 124 ... 69 83 84 124 69 68 78 65 46 87 69 83 84 64 115 1 97 107 105 108 97 99 117 115 116 111 109 101 114 46 111 ... 76 68 73 78 69 46 80 69 82 75 73 78 83 64 115 2 97 107 105 108 97 99 117 115 116 111 109 101 114 46 111 ... 73 76 76 73 65 77 83 79 78 64 115 97 107 105 108 3 97 99 117 115 116 111 109 101 114 46 111 114 103 124 50 ... 114 103 124 50 55 48 124 65 99 116 105 118 101 124 49 4 51 45 49 49 45 50 48 49 57 124 124 49 10 50 54 ... 115 97 107 105 108 97 99 117 115 116 111 109 101 114 46 .. .. ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 84 99 116 105 118 101 124 49 51 45 49 49 45 50 48 49 ... 51 45 49 49 45 50 48 49 57 124 124 49 10 51 56 85 51 124 49 124 77 65 82 84 73 78 124 66 65 76 69 ... 51 53 124 50 124 82 73 67 75 89 124 83 72 69 76 86 66 89 124 82 73 67 75 89 46 83 72 69 76 66 89 ... 88 84 69 82 124 72 69 67 84 79 82 46 80 79 73 87 78 68 69 88 84 69 82 64 115 97 107 105 108 97 99 ... 103 124 53 52 53 124 65 99 116 105 118 101 124 49 51 88 45 49 49 45 50 48 49 57 124 124 49 10 53 52 51 ... 116 111 109 101 114 46 111 114 103 124 53 57 55 124 65 [89 rows x 1024 columns] ``` #### Problem description I am encountering a problem while using pandas read_csv(). Data is being read in from s3 as StreamingBody object and noticed it worked only when c engine parser is used. (e.g. skipfooter only works with python engine parser). When a S3 URL is given to read_csv(), there aren't any issues at all #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Darwin OS-release : 19.2.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 0.25.3 numpy : 1.17.2 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.4.0 Cython : 0.29.13 pytest : 5.2.1 hypothesis : None sphinx : 2.2.0 blosc : None feather : None xlsxwriter : 1.2.1 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.0 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : 0.15.1 pytables : None s3fs : 0.4.0 scipy : 1.3.1 sqlalchemy : 1.3.9 tables : 3.5.2 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31170/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31170/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31171
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31171/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31171/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31171/events
https://github.com/pandas-dev/pandas/pull/31171
552,589,914
MDExOlB1bGxSZXF1ZXN0MzY1MDY3MDEz
31,171
TST: Add more regression tests for fixed issues
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-21T02:29:18Z
2020-01-21T18:26:52Z
2020-01-21T18:26:47Z
MEMBER
null
- [x] closes #16894 - [x] closes #16916 - [x] closes #16410 - [x] closes #15454 - [x] closes #16699 - [x] closes #16231 - [x] closes #15150 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 1, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31171/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31171/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31171.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31171", "merged_at": "2020-01-21T18:26:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31171.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31171" }
https://api.github.com/repos/pandas-dev/pandas/issues/31172
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31172/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31172/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31172/events
https://github.com/pandas-dev/pandas/pull/31172
552,593,535
MDExOlB1bGxSZXF1ZXN0MzY1MDY5ODM5
31,172
BUG: inconsistency between PeriodIndex.get_value vs get_loc
{ "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-21T02:44:42Z
2020-01-25T16:34:19Z
2020-01-25T16:07:16Z
MEMBER
null
ATM we have inconsistent treatment for indexing with strings where the string has a higher resolution than the PeriodIndex. Luckily only one test checks for the inconsistent `PeriodIndex.__contains__` behavior, so fixing it isn't _too_ invasive. ``` pi = pd.period_range("2017-09-01", freq="D", periods=3) ser = pd.Series(range(5, 8), index=pi) key = "2017-09-01 00:00:01" # master >>> key in pi True >>> pi.get_loc(key) 0 >>> pi.get_value(ser, key) KeyError: '2017-09-01 00:00:01' # PR >>> key in pi False >>> pi.get_loc(key) KeyError: '2017-09-01 00:00:01' >>> pi.get_value(ser, key) KeyError: '2017-09-01 00:00:01' ``` Note: the diff is fairly big because we're mirroring the code in `get_value`. Once this is fixed, we'll have get_value dispatch to get_loc and remove basically the same amount of code as we're adding 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/31172/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31172/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31172.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31172", "merged_at": "2020-01-25T16:07:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31172.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31172" }
https://api.github.com/repos/pandas-dev/pandas/issues/31173
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31173/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31173/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31173/events
https://github.com/pandas-dev/pandas/issues/31173
552,703,120
MDU6SXNzdWU1NTI3MDMxMjA=
31,173
ValueError: can not merge DataFrame with instance of type
{ "avatar_url": "https://avatars.githubusercontent.com/u/16973454?v=4", "events_url": "https://api.github.com/users/Yitao1024/events{/privacy}", "followers_url": "https://api.github.com/users/Yitao1024/followers", "following_url": "https://api.github.com/users/Yitao1024/following{/other_user}", "gists_url": "https://api.github.com/users/Yitao1024/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Yitao1024", "id": 16973454, "login": "Yitao1024", "node_id": "MDQ6VXNlcjE2OTczNDU0", "organizations_url": "https://api.github.com/users/Yitao1024/orgs", "received_events_url": "https://api.github.com/users/Yitao1024/received_events", "repos_url": "https://api.github.com/users/Yitao1024/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Yitao1024/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Yitao1024/subscriptions", "type": "User", "url": "https://api.github.com/users/Yitao1024" }
[]
closed
false
null
[]
null
5
2020-01-21T08:42:27Z
2020-04-25T12:00:13Z
2020-04-25T12:00:13Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python df_debtor = pd.merge(debtor_marital,debtor_gender, left_on = "IDENTITY", right_on = "IDENTITY", how = "inner") ``` #### Problem description --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in ----> 1 df_debtor = pd.merge(debtor_marital,debtor_gender, left_on = "IDENTITY", right_on = "IDENTITY", how = "inner") ~/opt/anaconda3/lib/python3.7/site-packages/modin/pandas/general.py in merge(left, right, how, on, left_on, right_on, left_index, right_index, sort, suffixes, copy, indicator, validate) 75 if not isinstance(left, DataFrame): 76 raise ValueError( ---> 77 "can not merge DataFrame with instance of type {}".format(type(right)) 78 ) 79 ### ValueError: can not merge DataFrame with instance of type
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31173/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31173/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31174
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31174/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31174/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31174/events
https://github.com/pandas-dev/pandas/issues/31174
552,850,817
MDU6SXNzdWU1NTI4NTA4MTc=
31,174
Pip 20 ruins builds.
{ "avatar_url": "https://avatars.githubusercontent.com/u/16845495?v=4", "events_url": "https://api.github.com/users/baevpetr/events{/privacy}", "followers_url": "https://api.github.com/users/baevpetr/followers", "following_url": "https://api.github.com/users/baevpetr/following{/other_user}", "gists_url": "https://api.github.com/users/baevpetr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/baevpetr", "id": 16845495, "login": "baevpetr", "node_id": "MDQ6VXNlcjE2ODQ1NDk1", "organizations_url": "https://api.github.com/users/baevpetr/orgs", "received_events_url": "https://api.github.com/users/baevpetr/received_events", "repos_url": "https://api.github.com/users/baevpetr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/baevpetr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/baevpetr/subscriptions", "type": "User", "url": "https://api.github.com/users/baevpetr" }
[]
closed
false
null
[]
null
1
2020-01-21T12:36:57Z
2020-01-21T12:49:45Z
2020-01-21T12:49:44Z
CONTRIBUTOR
null
#### Problem description: During testing, it was noticed that setting up the environment with version 20 pip fails. New release was several hours ago. #### Output ``` [Updating pip] Collecting pip Downloading https://files.pythonhosted.org/packages/60/65/16487a7c4e0f95bb3fc89c2e377be331fd496b7a9b08fd3077de7f3ae2cf/pip-20.0-py2.py3-none-any.whl (1.5MB) Requirement already up-to-date: wheel in /home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages (0.33.6) Requirement already up-to-date: setuptools in /home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages (45.1.0.post20200119) Installing collected packages: pip Found existing installation: pip 19.3.1 Uninstalling pip-19.3.1: Successfully uninstalled pip-19.3.1 Successfully installed pip-20.0 [Install pandas] Traceback (most recent call last): File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/__main__.py", line 19, in <module> sys.exit(_main()) File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module> from pip._internal.cli.req_command import RequirementCommand File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module> from pip._internal.operations.prepare import RequirementPreparer File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module> from pip._internal.distributions import ( File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module> from pip._internal.distributions.source import SourceDistribution ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py) ##[error]Process completed with exit code 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/31174/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31174/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31175
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31175/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31175/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31175/events
https://github.com/pandas-dev/pandas/issues/31175
552,871,702
MDU6SXNzdWU1NTI4NzE3MDI=
31,175
test_timestamp:test_class_ops_pytz can fail due to bad luck of timing of calls
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "Unit tests that occasionally fail", "id": 76939933, "name": "Unreliable Test", "node_id": "MDU6TGFiZWw3NjkzOTkzMw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-21T13:18:43Z
2020-01-23T23:10:17Z
2020-01-23T23:10:17Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible I had a test fail in CI and the output looks like this: ``` ______________________ TestTimestamp.test_class_ops_pytz _______________________ [gw1] linux -- Python 3.6.6 /home/travis/miniconda3/envs/pandas-dev/bin/python self = <pandas.tests.scalar.timestamp.test_timestamp.TestTimestamp object at 0x7fb560287320> def test_class_ops_pytz(self): def compare(x, y): assert int(Timestamp(x).value / 1e9) == int(Timestamp(y).value / 1e9) compare(Timestamp.now(), datetime.now()) compare(Timestamp.now("UTC"), datetime.now(timezone("UTC"))) compare(Timestamp.utcnow(), datetime.utcnow()) > compare(Timestamp.today(), datetime.today()) pandas/tests/scalar/timestamp/test_timestamp.py:759: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ x = Timestamp('2020-01-21 03:19:15.998086') y = datetime.datetime(2020, 1, 21, 3, 19, 16, 5328) def compare(x, y): > assert int(Timestamp(x).value / 1e9) == int(Timestamp(y).value / 1e9) E AssertionError: assert 1579576755 == 1579576756 E + where 1579576755 = int((1579576755998086000 / 1000000000.0)) E + where 1579576755998086000 = Timestamp('2020-01-21 03:19:15.998086').value E + where Timestamp('2020-01-21 03:19:15.998086') = Timestamp(Timestamp('2020-01-21 03:19:15.998086')) E + and 1579576756 = int((1579576756005328000 / 1000000000.0)) E + where 1579576756005328000 = Timestamp('2020-01-21 03:19:16.005328').value E + where Timestamp('2020-01-21 03:19:16.005328') = Timestamp(datetime.datetime(2020, 1, 21, 3, 19, 16, 5328)) ``` #### Problem description So due to "bad luck", the call to `Timestamp.today()` was just before the next second that hit when `datetime.now()` was called, making the comparison fail. I think the comparison should be: ``` int((Timestamp(x).value - Timestamp(y).value)/1.0e9) == 0 ``` which would handle this round off error better. #### Expected Output No failure #### Output of ``pd.show_versions()`` <details> >>> pd.show_versions() C:\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\dataframe.py:5: Futur eWarning: pandas.core.index is deprecated and will be removed in a future versio n. The public classes are available in the top-level namespace. from pandas.core.index import CategoricalIndex, RangeIndex, Index, MultiIndex INSTALLED VERSIONS ------------------ commit : 8e4dfff71a0547c821e67477b65c7b1930df588e python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.0rc0+156.g8e4dfff71 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 42.0.2.post20191201 Cython : 0.29.14 pytest : 5.3.2 hypothesis : 4.57.1 sphinx : 2.3.1 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.4.2 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.10.1 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.1 fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.4.2 matplotlib : 3.1.2 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.1 pandas_gbq : None pyarrow : 0.15.1 pytables : None pytest : 5.3.2 pyxlsb : None s3fs : 0.4.0 scipy : 1.3.1 sqlalchemy : 1.3.12 tables : 3.6.1 tabulate : 0.8.6 xarray : 0.14.1 xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 numba : 0.46.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/31175/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31175/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31176
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31176/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31176/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31176/events
https://github.com/pandas-dev/pandas/issues/31176
552,912,371
MDU6SXNzdWU1NTI5MTIzNzE=
31,176
Parquet file written with Dask does not load using Pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/6196390?v=4", "events_url": "https://api.github.com/users/Code4SAFrankie/events{/privacy}", "followers_url": "https://api.github.com/users/Code4SAFrankie/followers", "following_url": "https://api.github.com/users/Code4SAFrankie/following{/other_user}", "gists_url": "https://api.github.com/users/Code4SAFrankie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Code4SAFrankie", "id": 6196390, "login": "Code4SAFrankie", "node_id": "MDQ6VXNlcjYxOTYzOTA=", "organizations_url": "https://api.github.com/users/Code4SAFrankie/orgs", "received_events_url": "https://api.github.com/users/Code4SAFrankie/received_events", "repos_url": "https://api.github.com/users/Code4SAFrankie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Code4SAFrankie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Code4SAFrankie/subscriptions", "type": "User", "url": "https://api.github.com/users/Code4SAFrankie" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
null
4
2020-01-21T14:28:33Z
2020-03-11T14:18:36Z
2020-03-11T14:18:35Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import numpy as np import pandas as pd import dask.dataframe as dd from dask.diagnostics import ProgressBar from dask.distributed import Client client = Client('192.168.1.33:8786', processes=True) path = "D:\\Downloads\\Wikipedia\\Yago\\" names = ['dummy1', 'class1', 'statement', 'class2', 'value'] dtypes = {'dummy1': 'category', 'class1': 'category', 'statement': 'category', 'class2': np.str, 'value': 'category'} cols = ['class1', 'statement', 'class2', 'value'] df = dd.read_csv(path + "yagoGeonamesOnlyData.tsv", sep="\t", skiprows=1, header=None, names=names, dtype=dtypes, usecols=cols, blocksize=1e7) df.to_parquet(path + "yagoGeonamesOnlyData", engine='pyarrow', compression='BROTLI', write_index=False) # Can't specify npartitions. ``` #### Problem description The above written file cannot be loaded using Pandas: `df = pd.read_parquet(path + "yagoGeonamesOnlyData", engine='pyarrow')` but does load with Dask: `df = dd.read_parquet(path + "yagoGeonamesOnlyData", engine='pyarrow', index=False)` The pandas version gives the following error: ```python --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in 1 #df = dd.read_parquet(path + "yagoGeonamesOnlyData", engine='pyarrow', index=False) ----> 2 df = pd.read_parquet(path + "yagoGeonamesOnlyData", engine='pyarrow') ~\AppData\Roaming\Python\Python37\site-packages\pandas\io\parquet.py in read_parquet(path, engine, columns, **kwargs) 294 295 impl = get_engine(engine) --> 296 return impl.read(path, columns=columns, **kwargs) ~\AppData\Roaming\Python\Python37\site-packages\pandas\io\parquet.py in read(self, path, columns, **kwargs) 123 kwargs["use_pandas_metadata"] = True 124 result = self.api.parquet.read_table( --> 125 path, columns=columns, **kwargs 126 ).to_pandas() 127 if should_close: E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\pyarrow\parquet.py in read_table(source, columns, use_threads, metadata, use_pandas_metadata, memory_map, read_dictionary, filesystem, filters, buffer_size) 1272 read_dictionary=read_dictionary, 1273 buffer_size=buffer_size, -> 1274 filesystem=filesystem, filters=filters) 1275 else: 1276 pf = ParquetFile(source, metadata=metadata, E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\pyarrow\parquet.py in __init__(self, path_or_paths, filesystem, schema, metadata, split_row_groups, validate_schema, filters, metadata_nthreads, read_dictionary, memory_map, buffer_size) 1058 1059 if validate_schema: -> 1060 self.validate_schemas() 1061 1062 def equals(self, other): E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\pyarrow\parquet.py in validate_schemas(self) 1111 '{1!s}\n\nvs\n\n{2!s}' 1112 .format(piece, file_schema, -> 1113 dataset_schema)) 1114 1115 def read(self, columns=None, use_threads=True, use_pandas_metadata=False): ValueError: Schema in D:\Downloads\Wikipedia\Yago\yagoGeonamesOnlyData\part.439.parquet was different. class1: dictionary statement: dictionary class2: string value: null metadata -------- {b'ARROW:schema': b'/////zAEAAAUAAAAAAAAAAAACgAOAAYABQAIAAoAAAAAAQMAEAAAAAAA' b'CgAMAAAABAAIAAoAAADUAgAABAAAAAEAAAAMAAAACAAMAAQACAAIAAAA' b'CAAAABAAAAAGAAAAcGFuZGFzAACeAgAAeyJpbmRleF9jb2x1bW5zIjog' b'W10sICJjb2x1bW5faW5kZXhlcyI6IFtdLCAiY29sdW1ucyI6IFt7Im5h' b'bWUiOiAiY2xhc3MxIiwgImZpZWxkX25hbWUiOiAiY2xhc3MxIiwgInBh' b'bmRhc190eXBlIjogImNhdGVnb3JpY2FsIiwgIm51bXB5X3R5cGUiOiAi' b'aW50MzIiLCAibWV0YWRhdGEiOiB7Im51bV9jYXRlZ29yaWVzIjogMTEz' b'MjY3LCAib3JkZXJlZCI6IGZhbHNlfX0sIHsibmFtZSI6ICJzdGF0ZW1l' b'bnQiLCAiZmllbGRfbmFtZSI6ICJzdGF0ZW1lbnQiLCAicGFuZGFzX3R5' b'cGUiOiAiY2F0ZWdvcmljYWwiLCAibnVtcHlfdHlwZSI6ICJpbnQ4Iiwg' b'Im1ldGFkYXRhIjogeyJudW1fY2F0ZWdvcmllcyI6IDEsICJvcmRlcmVk' b'IjogZmFsc2V9fSwgeyJuYW1lIjogImNsYXNzMiIsICJmaWVsZF9uYW1l' b'IjogImNsYXNzMiIsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51' b'bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsi' b'bmFtZSI6ICJ2YWx1ZSIsICJmaWVsZF9uYW1lIjogInZhbHVlIiwgInBh' b'bmRhc190eXBlIjogImVtcHR5IiwgIm51bXB5X3R5cGUiOiAib2JqZWN0' b'IiwgIm1ldGFkYXRhIjogbnVsbH1dLCAiY3JlYXRvciI6IHsibGlicmFy' b'eSI6ICJweWFycm93IiwgInZlcnNpb24iOiAiMC4xNS4xIn0sICJwYW5k' b'YXNfdmVyc2lvbiI6ICIwLjI1LjMifQAABAAAANQAAABsAAAAQAAAAAQA' b'AADY////AAABARQAAAAMAAAABAAAAAAAAAAU////BQAAAHZhbHVlAAAA' b'EAAUAAgABgAHAAwAAAAQABAAAAAAAAEFFAAAAAwAAAAEAAAAAAAAAEz/' b'//8GAAAAY2xhc3MyAACs////AAABBTwAAAA0AAAAEAAAACgAAAAIABAA' b'CAAEAAgAAAAMAAAAAQAAAAAAAACk////AAAAAQgAAAAAAAAAnP///wkA' b'AABzdGF0ZW1lbnQAAAAQABgACAAGAAcADAAQABQAEAAAAAAAAQVAAAAA' b'OAAAABAAAAAoAAAACAAIAAAABAAIAAAADAAAAAgADAAIAAcACAAAAAAA' b'AAEgAAAAAAAAAAQABAAEAAAABgAAAGNsYXNzMQAA', b'pandas': b'{"index_columns": [], "column_indexes": [], "columns": [{"name":' b' "class1", "field_name": "class1", "pandas_type": "categorical",' b' "numpy_type": "int32", "metadata": {"num_categories": 113267, "' b'ordered": false}}, {"name": "statement", "field_name": "statemen' b't", "pandas_type": "categorical", "numpy_type": "int8", "metadat' b'a": {"num_categories": 1, "ordered": false}}, {"name": "class2",' b' "field_name": "class2", "pandas_type": "unicode", "numpy_type":' b' "object", "metadata": null}, {"name": "value", "field_name": "v' b'alue", "pandas_type": "empty", "numpy_type": "object", "metadata' b'": null}], "creator": {"library": "pyarrow", "version": "0.15.1"' b'}, "pandas_version": "0.25.3"}'} vs class1: dictionary statement: dictionary class2: string value: string metadata -------- {b'ARROW:schema': b'/////zAEAAAUAAAAAAAAAAAACgAOAAYABQAIAAoAAAAAAQMAEAAAAAAA' b'CgAMAAAABAAIAAoAAADUAgAABAAAAAEAAAAMAAAACAAMAAQACAAIAAAA' b'CAAAABAAAAAGAAAAcGFuZGFzAACfAgAAeyJpbmRleF9jb2x1bW5zIjog' b'W10sICJjb2x1bW5faW5kZXhlcyI6IFtdLCAiY29sdW1ucyI6IFt7Im5h' b'bWUiOiAiY2xhc3MxIiwgImZpZWxkX25hbWUiOiAiY2xhc3MxIiwgInBh' b'bmRhc190eXBlIjogImNhdGVnb3JpY2FsIiwgIm51bXB5X3R5cGUiOiAi' b'aW50MTYiLCAibWV0YWRhdGEiOiB7Im51bV9jYXRlZ29yaWVzIjogMTY1' b'NzMsICJvcmRlcmVkIjogZmFsc2V9fSwgeyJuYW1lIjogInN0YXRlbWVu' b'dCIsICJmaWVsZF9uYW1lIjogInN0YXRlbWVudCIsICJwYW5kYXNfdHlw' b'ZSI6ICJjYXRlZ29yaWNhbCIsICJudW1weV90eXBlIjogImludDgiLCAi' b'bWV0YWRhdGEiOiB7Im51bV9jYXRlZ29yaWVzIjogNCwgIm9yZGVyZWQi' b'OiBmYWxzZX19LCB7Im5hbWUiOiAiY2xhc3MyIiwgImZpZWxkX25hbWUi' b'OiAiY2xhc3MyIiwgInBhbmRhc190eXBlIjogInVuaWNvZGUiLCAibnVt' b'cHlfdHlwZSI6ICJvYmplY3QiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJu' b'YW1lIjogInZhbHVlIiwgImZpZWxkX25hbWUiOiAidmFsdWUiLCAicGFu' b'ZGFzX3R5cGUiOiAidW5pY29kZSIsICJudW1weV90eXBlIjogIm9iamVj' b'dCIsICJtZXRhZGF0YSI6IG51bGx9XSwgImNyZWF0b3IiOiB7ImxpYnJh' b'cnkiOiAicHlhcnJvdyIsICJ2ZXJzaW9uIjogIjAuMTUuMSJ9LCAicGFu' b'ZGFzX3ZlcnNpb24iOiAiMC4yNS4zIn0ABAAAANQAAABsAAAAQAAAAAQA' b'AADY////AAABBRQAAAAMAAAABAAAAAAAAAAU////BQAAAHZhbHVlAAAA' b'EAAUAAgABgAHAAwAAAAQABAAAAAAAAEFFAAAAAwAAAAEAAAAAAAAAEz/' b'//8GAAAAY2xhc3MyAACs////AAABBTwAAAA0AAAAEAAAACgAAAAIABAA' b'CAAEAAgAAAAMAAAAAQAAAAAAAACk////AAAAAQgAAAAAAAAAnP///wkA' b'AABzdGF0ZW1lbnQAAAAQABgACAAGAAcADAAQABQAEAAAAAAAAQVAAAAA' b'OAAAABAAAAAoAAAACAAIAAAABAAIAAAADAAAAAgADAAIAAcACAAAAAAA' b'AAEQAAAAAAAAAAQABAAEAAAABgAAAGNsYXNzMQAA', b'pandas': b'{"index_columns": [], "column_indexes": [], "columns": [{"name":' b' "class1", "field_name": "class1", "pandas_type": "categorical",' b' "numpy_type": "int16", "metadata": {"num_categories": 16573, "o' b'rdered": false}}, {"name": "statement", "field_name": "statement' b'", "pandas_type": "categorical", "numpy_type": "int8", "metadata' b'": {"num_categories": 4, "ordered": false}}, {"name": "class2", ' b'"field_name": "class2", "pandas_type": "unicode", "numpy_type": ' b'"object", "metadata": null}, {"name": "value", "field_name": "va' b'lue", "pandas_type": "unicode", "numpy_type": "object", "metadat' b'a": null}], "creator": {"library": "pyarrow", "version": "0.15.1' b'"}, "pandas_version": "0.25.3"}'} ``` #### Expected Output For the file to be loaded without error. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\xarray\core\merge.py:10: FutureWarning: The Panel class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next version PANDAS_TYPES = (pd.Series, pd.DataFrame, pd.Panel) INSTALLED VERSIONS ------------------ commit : None python : 3.7.1.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.16.4 pytz : 2018.6 dateutil : 2.7.5 pip : 19.3.1 setuptools : 41.4.0 Cython : 0.29.13 pytest : 5.3.1 hypothesis : 3.82.1 sphinx : 2.2.1 blosc : 1.6.1 feather : 0.4.0 xlsxwriter : 1.1.2 lxml.etree : 4.3.4 html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.4 (dt dec pq3 ext lo64) jinja2 : 2.10.1 IPython : 7.6.1 pandas_datareader: None bs4 : 4.6.3 bottleneck : 1.2.1 fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.3.4 matplotlib : 3.0.3 numexpr : 2.6.8 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.12 tables : 3.4.4 xarray : 0.11.3 xlrd : 1.1.0 xlwt : None xlsxwriter : 1.1.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/31176/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31176/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31177
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31177/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31177/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31177/events
https://github.com/pandas-dev/pandas/issues/31177
552,945,993
MDU6SXNzdWU1NTI5NDU5OTM=
31,177
Setting multiindex with columns that contain list as element raises TypeError
{ "avatar_url": "https://avatars.githubusercontent.com/u/46496637?v=4", "events_url": "https://api.github.com/users/matthewgson/events{/privacy}", "followers_url": "https://api.github.com/users/matthewgson/followers", "following_url": "https://api.github.com/users/matthewgson/following{/other_user}", "gists_url": "https://api.github.com/users/matthewgson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matthewgson", "id": 46496637, "login": "matthewgson", "node_id": "MDQ6VXNlcjQ2NDk2NjM3", "organizations_url": "https://api.github.com/users/matthewgson/orgs", "received_events_url": "https://api.github.com/users/matthewgson/received_events", "repos_url": "https://api.github.com/users/matthewgson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matthewgson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matthewgson/subscriptions", "type": "User", "url": "https://api.github.com/users/matthewgson" }
[]
closed
false
null
[]
null
3
2020-01-21T15:22:20Z
2020-09-01T22:59:48Z
2020-09-01T22:59:48Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python df = pd.DataFrame({'A': ['x1','x2','x3', 'x4'], 'B':[['v1','v2'],['v3','v4'],['v5','v6'],['v7','v8']], 'C':[['c1','c2'],['c3','c4','cc'],['c5','c6'],['c7','c8']],'D':[['d1','d2'],['d3','d4'],['d5','d6'],['d7','d8']], 'E':[['e1','e2'],['e3','e4'],['e5','e6'],['e7','e8']]}) df   | A | B | C | D | E -- | -- | -- | -- | -- | -- x1 | [v1, v2] | [c1, c2] | [d1, d2] | [e1, e2] x2 | [v3, v4] | [c3, c4, cc] | [d3, d4] | [e3, e4] x3 | [v5, v6] | [c5, c6] | [d5, d6] | [e5, e6] x4 | [v7, v8] | [c7, c8] | [d7, d8] | [e7, e8] ``` #### Problem description I was trying to set index with column A and column C (multiindex) in order to explode columns B,D,E only. (Column C should be excluded for explosion for one of its elements has different size) Below code should do the job: ``` df.set_index(['A','C']).apply(pd.Series.explode).reset_index() ``` But pandas refuse to set multiindex with columns that contains list as their element, raising TypeError. ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\arrays\categorical.py in __init__(self, values, categories, ordered, dtype, fastpath) 383 try: --> 384 codes, categories = factorize(values, sort=True) 385 except TypeError: ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs) 207 kwargs[new_arg_name] = new_arg_value --> 208 return func(*args, **kwargs) 209 ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\algorithms.py in factorize(values, sort, order, na_sentinel, size_hint) 671 labels, uniques = _factorize_array( --> 672 values, na_sentinel=na_sentinel, size_hint=size_hint, na_value=na_value 673 ) ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\algorithms.py in _factorize_array(values, na_sentinel, size_hint, na_value) 507 uniques, labels = table.factorize( --> 508 values, na_sentinel=na_sentinel, na_value=na_value 509 ) pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.factorize() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable._unique() TypeError: unhashable type: 'list' During handling of the above exception, another exception occurred: TypeError Traceback (most recent call last) <ipython-input-32-c3b81bee4c46> in <module> 1 # setting index with columns that contains list values : it causes error ----> 2 df.set_index(['A','C']) # error because C has list values in it. ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\frame.py in set_index(self, keys, drop, append, inplace, verify_integrity) 4459 ) 4460 -> 4461 index = ensure_index_from_sequences(arrays, names) 4462 4463 if verify_integrity and not index.is_unique: ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\indexes\base.py in ensure_index_from_sequences(sequences, names) 5702 return Index(sequences[0], name=names) 5703 else: -> 5704 return MultiIndex.from_arrays(sequences, names=names) 5705 5706 ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\indexes\multi.py in from_arrays(cls, arrays, sortorder, names) 418 from pandas.core.arrays.categorical import _factorize_from_iterables 419 --> 420 codes, levels = _factorize_from_iterables(arrays) 421 if names is None: 422 names = [getattr(arr, "name", None) for arr in arrays] ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\arrays\categorical.py in _factorize_from_iterables(iterables) 2814 # For consistency, it should return a list of 2 lists. 2815 return [[], []] -> 2816 return map(list, zip(*(_factorize_from_iterable(it) for it in iterables))) ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\arrays\categorical.py in <genexpr>(.0) 2814 # For consistency, it should return a list of 2 lists. 2815 return [[], []] -> 2816 return map(list, zip(*(_factorize_from_iterable(it) for it in iterables))) ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\arrays\categorical.py in _factorize_from_iterable(values) 2786 # but only the resulting categories, the order of which is independent 2787 # from ordered. Set ordered to False as default. See GH #15457 -> 2788 cat = Categorical(values, ordered=False) 2789 categories = cat.categories 2790 codes = cat.codes ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\arrays\categorical.py in __init__(self, values, categories, ordered, dtype, fastpath) 384 codes, categories = factorize(values, sort=True) 385 except TypeError: --> 386 codes, categories = factorize(values, sort=False) 387 if dtype._ordered: 388 # raise, as we don't have a sortable data structure and so ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs) 206 else: 207 kwargs[new_arg_name] = new_arg_value --> 208 return func(*args, **kwargs) 209 210 return wrapper ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\algorithms.py in factorize(values, sort, order, na_sentinel, size_hint) 670 671 labels, uniques = _factorize_array( --> 672 values, na_sentinel=na_sentinel, size_hint=size_hint, na_value=na_value 673 ) 674 ~\AppData\Local\Continuum\miniconda3\lib\site-packages\pandas\core\algorithms.py in _factorize_array(values, na_sentinel, size_hint, na_value) 506 table = hash_klass(size_hint or len(values)) 507 uniques, labels = table.factorize( --> 508 values, na_sentinel=na_sentinel, na_value=na_value 509 ) 510 pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.factorize() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable._unique() TypeError: unhashable type: 'list' ``` #### Setting index with a single column with lists works fine. ``` df.set_index('C') A B D E C [c1, c2] x1 [v1, v2] [d1, d2] [e1, e2] [c3, c4, cc] x2 [v3, v4] [d3, d4] [e3, e4] [c5, c6] x3 [v5, v6] [d5, d6] [e5, e6] [c7, c8] x4 [v7, v8] [d7, d8] [e7, e8] ``` #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 44.0.0.post20200106 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.13.0 pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31177/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31177/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31178
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31178/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31178/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31178/events
https://github.com/pandas-dev/pandas/issues/31178
553,005,242
MDU6SXNzdWU1NTMwMDUyNDI=
31,178
ewm NaN handling is wrong : simple example
{ "avatar_url": "https://avatars.githubusercontent.com/u/60148542?v=4", "events_url": "https://api.github.com/users/nhuth500/events{/privacy}", "followers_url": "https://api.github.com/users/nhuth500/followers", "following_url": "https://api.github.com/users/nhuth500/following{/other_user}", "gists_url": "https://api.github.com/users/nhuth500/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nhuth500", "id": 60148542, "login": "nhuth500", "node_id": "MDQ6VXNlcjYwMTQ4NTQy", "organizations_url": "https://api.github.com/users/nhuth500/orgs", "received_events_url": "https://api.github.com/users/nhuth500/received_events", "repos_url": "https://api.github.com/users/nhuth500/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nhuth500/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nhuth500/subscriptions", "type": "User", "url": "https://api.github.com/users/nhuth500" }
[ { "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": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
open
false
null
[]
null
19
2020-01-21T16:56:40Z
2020-10-05T01:13:14Z
null
NONE
null
Hello, It seems that the handling of NaN values returns bad values on this simple case (I'm using pandas 0.25.3) import numpy as np import pandas as pd x = np.array([1, np.NaN, 5]) alpha = 0.5 x_ewm = pd.Series(x).ewm(alpha=alpha, adjust=False).mean() x_ewm_simple = alpha * x[2] + ((1 - alpha) **2) * x[0] print(x_ewm[2]) print(x_ewm_simple) 3.6666666666666665 2.75 According to pandas documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.ewm.html When ignore_na is False (default), weights are based on absolute positions. For example, the weights of x and y used in calculating the final weighted average of [x, None, y] are (1-alpha)**2 and 1 (if adjust is True), and (1-alpha)**2 and alpha (if adjust is False). Can you explain how 3.6666666666666665 is computed? Thank you.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31178/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31178/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31179
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31179/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31179/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31179/events
https://github.com/pandas-dev/pandas/pull/31179
553,019,969
MDExOlB1bGxSZXF1ZXN0MzY1NDIxODQ4
31,179
CLN: core.internals
{ "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-21T17:22:22Z
2020-01-23T17:26:46Z
2020-01-23T08:07:07Z
MEMBER
null
some annotations, remove an unused argument, privatize where possible, avoid a runtime/circular import
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31179/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31179/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31179.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31179", "merged_at": "2020-01-23T08:07:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31179.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31179" }
https://api.github.com/repos/pandas-dev/pandas/issues/31180
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31180/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31180/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31180/events
https://github.com/pandas-dev/pandas/pull/31180
553,031,642
MDExOlB1bGxSZXF1ZXN0MzY1NDMxMzE4
31,180
BUG/CLN: use more-correct isinstance check
{ "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-01-21T17:45:21Z
2020-01-24T04:39:30Z
2020-01-24T04:39:06Z
MEMBER
null
this is only kind of a bug, since the isinstance check still returns True on the `type(obj)`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31180/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31180/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31180.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31180", "merged_at": "2020-01-24T04:39:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31180.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31180" }
https://api.github.com/repos/pandas-dev/pandas/issues/31181
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31181/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31181/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31181/events
https://github.com/pandas-dev/pandas/pull/31181
553,078,837
MDExOlB1bGxSZXF1ZXN0MzY1NDY5NDcy
31,181
TYP: annotations in indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-21T19:24:52Z
2020-01-24T04:42:47Z
2020-01-24T03:28:41Z
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/31181/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31181/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31181.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31181", "merged_at": "2020-01-24T03:28:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31181.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31181" }
https://api.github.com/repos/pandas-dev/pandas/issues/31182
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31182/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31182/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31182/events
https://github.com/pandas-dev/pandas/pull/31182
553,082,645
MDExOlB1bGxSZXF1ZXN0MzY1NDcyNjU1
31,182
CLN: Make Series._values match Index._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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
12
2020-01-21T19:32:13Z
2020-01-28T17:11:52Z
2020-01-28T06:11:29Z
MEMBER
null
Discussed in #31037 - Note this is _not_ an alternative to that, as this should not be considered for 1.0. - This does not implement any of the simplifications that it makes available. - There is a decent chance that the check in core.apply can be changed so that we can still use the fastpath for these dtypes. - The PandasDType edit is not central to the change, just included for perf comparison against #31037.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31182/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31182/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31182.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31182", "merged_at": "2020-01-28T06:11:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31182.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31182" }
https://api.github.com/repos/pandas-dev/pandas/issues/31183
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31183/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31183/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31183/events
https://github.com/pandas-dev/pandas/pull/31183
553,099,696
MDExOlB1bGxSZXF1ZXN0MzY1NDg2NzY1
31,183
BUG: Series/Frame invert dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2020-01-21T20:06:08Z
2020-02-01T14:53:28Z
2020-01-23T22:45:52Z
CONTRIBUTOR
null
Fixes NDFrame.__invert__ to preserve dtypes by applying things blockwise. Notably, this fixes `~Series[BooleanDtype]`. This also provides a pattern for other unary ops, though I think that those are less pressing for 1.0, which should probably have a working `~Series[BooleanDtype]` 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/31183/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31183/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31183.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31183", "merged_at": "2020-01-23T22:45:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31183.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31183" }
https://api.github.com/repos/pandas-dev/pandas/issues/31184
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31184/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31184/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31184/events
https://github.com/pandas-dev/pandas/issues/31184
553,120,346
MDU6SXNzdWU1NTMxMjAzNDY=
31,184
_BaseOffset's parameter `n` should be prevented from being 0
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "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
4
2020-01-21T20:47:21Z
2020-09-27T21:49:14Z
2020-09-27T21:49:14Z
MEMBER
null
The docstring says ``` Require that `n` be a nonzero integer. ``` but the "nonzero" condition isn't enforced. Enforcing it would prevent the undesired behaviour noticed in #29901 , whereby ``` cbh = pd.offsets.CustomBusinessHour(start='07:00', end='01:00') time = pd.Timestamp('2019-03-06 13:00:00') time + 0*cbh ``` was returning ``` 2019-03-07 07:00:00 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31184/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31184/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31185
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31185/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31185/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31185/events
https://github.com/pandas-dev/pandas/pull/31185
553,122,516
MDExOlB1bGxSZXF1ZXN0MzY1NTA1OTg2
31,185
DEPR: _BaseOffset's parameter `n` should be prevented from being 0
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
null
11
2020-01-21T20:52:21Z
2020-10-10T14:14:49Z
2020-07-05T13:10:28Z
MEMBER
null
- [ ] closes #31184 - [ ] 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/31185/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31185/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31185.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31185", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31185.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31185" }
https://api.github.com/repos/pandas-dev/pandas/issues/31186
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31186/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31186/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31186/events
https://github.com/pandas-dev/pandas/issues/31186
553,123,519
MDU6SXNzdWU1NTMxMjM1MTk=
31,186
Adding and subtracting DateOffsets results in different behaviour
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
open
false
null
[]
null
0
2020-01-21T20:54:32Z
2020-06-28T20:26:05Z
null
MEMBER
null
``` >>> import datetime as dt >>> import pandas as pd >>> dt.datetime(2019, 3, 6, 16, 0) + pd.offsets.BusinessHour() Timestamp('2019-03-07 09:00:00') >>> dt.datetime(2019, 3, 7, 10, 0) - pd.offsets.BusinessHour() Timestamp('2019-03-06 17:00:00') ``` Would have expected the same answer from these two commands. Originally noticed in #29901
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31186/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31186/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31187
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31187/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31187/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31187/events
https://github.com/pandas-dev/pandas/pull/31187
553,161,747
MDExOlB1bGxSZXF1ZXN0MzY1NTM5OTg2
31,187
BUG: IntegerArray.astype(boolean)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2020-01-21T22:01:21Z
2020-01-23T19:02:02Z
2020-01-23T15:26:39Z
CONTRIBUTOR
null
Closes https://github.com/pandas-dev/pandas/issues/31102
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31187/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31187/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31187.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31187", "merged_at": "2020-01-23T15:26:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31187.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31187" }
https://api.github.com/repos/pandas-dev/pandas/issues/31188
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31188/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31188/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31188/events
https://github.com/pandas-dev/pandas/pull/31188
553,194,660
MDExOlB1bGxSZXF1ZXN0MzY1NTY4MzY5
31,188
BUG: DatetimeIndex.snap incorrectly setting freq
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-01-21T22:57:15Z
2020-01-26T01:42:51Z
2020-01-26T01:30:10Z
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/31188/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31188/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31188.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31188", "merged_at": "2020-01-26T01:30:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31188.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31188" }
https://api.github.com/repos/pandas-dev/pandas/issues/31189
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31189/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31189/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31189/events
https://github.com/pandas-dev/pandas/pull/31189
553,209,012
MDExOlB1bGxSZXF1ZXN0MzY1NTgwOTMw
31,189
REF: move misplaced tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-21T23:27:29Z
2020-01-22T01:22:48Z
2020-01-22T00:55:53Z
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/31189/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31189/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31189.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31189", "merged_at": "2020-01-22T00:55:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31189.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31189" }
https://api.github.com/repos/pandas-dev/pandas/issues/31190
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31190/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31190/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31190/events
https://github.com/pandas-dev/pandas/issues/31190
553,215,931
MDU6SXNzdWU1NTMyMTU5MzE=
31,190
ENH: assert_frame_equal can produce unhelpful output
{ "avatar_url": "https://avatars.githubusercontent.com/u/18662115?v=4", "events_url": "https://api.github.com/users/amilbourne/events{/privacy}", "followers_url": "https://api.github.com/users/amilbourne/followers", "following_url": "https://api.github.com/users/amilbourne/following{/other_user}", "gists_url": "https://api.github.com/users/amilbourne/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amilbourne", "id": 18662115, "login": "amilbourne", "node_id": "MDQ6VXNlcjE4NjYyMTE1", "organizations_url": "https://api.github.com/users/amilbourne/orgs", "received_events_url": "https://api.github.com/users/amilbourne/received_events", "repos_url": "https://api.github.com/users/amilbourne/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amilbourne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amilbourne/subscriptions", "type": "User", "url": "https://api.github.com/users/amilbourne" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-21T23:43:55Z
2020-03-22T20:43:15Z
2020-03-22T20:43:08Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df1 = pd.DataFrame({'a': [1, 2, 3], 'b': [10, 20, 30]}, index=[0, 1, 2]) df2 = pd.DataFrame({'a': [2, 1, 3], 'b': [20, 999, 30]}, index=[1, 0, 2]) print(df1) print(df2) pd.testing.assert_frame_equal(df1, df2, check_like=True) ``` Generates the output: ``` a b 0 1 10 1 2 20 2 3 30 a b 1 2 20 0 1 999 2 3 30 Traceback (most recent call last): <removed stack trace> raise AssertionError(msg) AssertionError: DataFrame.iloc[:, 1] are different DataFrame.iloc[:, 1] values are different (33.33333 %) [left]: [20, 10, 30] [right]: [20, 999, 30] ``` #### Problem description When running assert_frame_equal with check_like=True the error message can be unhelpful if the column or index order differs (or worse, both). #29218 has greatly helped the issue with column reordering, although it could be insufficient if check_names is false and the column names differ (but this is probably a small edge case). However, row (index) reordering is still an issue. As the output above demonstrates, it is not obvious that the left column has been reordered. In most cases the user could probably work it out but it is not as clear as it could be. #### Possible Solution One solution would be to explicitly state the index values in the output. This would probably have to affect the output of assert_series_equal as well. This would be quite a significant change to the output though so it may be a sledgehammer to crack a nut. ``` DataFrame.iloc[:, 1] values are different (33.33333 %) [index]: [1, 0, 2] [left]: [20, 10, 30] [right]: [20, 999, 30] ``` A side effect of including the index would be that you could avoid having to display the entire sequence for low numbers of differences in long sequences - although I'm not suggesting that be part of this change. Is this worth doing and is the above a sensible solution? #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.2 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.6.0.post20191030 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31190/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31190/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31191
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31191/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31191/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31191/events
https://github.com/pandas-dev/pandas/pull/31191
553,248,360
MDExOlB1bGxSZXF1ZXN0MzY1NjE0NTQw
31,191
Fixturize JSON tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
13
2020-01-22T01:13:14Z
2020-03-19T09:33:04Z
2020-03-19T09:32:50Z
MEMBER
null
Ultimately looking to split this module up into something like: - test_serializer.py - test_deserializer.py - test_roundtrip.py - test_orient.py TBD on those being the actual modules, but for now starting with some parametrization
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31191/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31191/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31191.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31191", "merged_at": "2020-03-19T09:32:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31191.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31191" }
https://api.github.com/repos/pandas-dev/pandas/issues/31192
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31192/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31192/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31192/events
https://github.com/pandas-dev/pandas/pull/31192
553,252,721
MDExOlB1bGxSZXF1ZXN0MzY1NjE4MjA1
31,192
CLN: remove unused fixtures
{ "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-22T01:25:44Z
2020-01-22T16:10:21Z
2020-01-22T08:15:06Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31192/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31192/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31192.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31192", "merged_at": "2020-01-22T08:15:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31192.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31192" }
https://api.github.com/repos/pandas-dev/pandas/issues/31193
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31193/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31193/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31193/events
https://github.com/pandas-dev/pandas/pull/31193
553,273,512
MDExOlB1bGxSZXF1ZXN0MzY1NjM1MTI4
31,193
REF: combine IndexEngine test files
{ "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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-22T02:40:46Z
2020-01-24T04:42:30Z
2020-01-24T03:27:21Z
MEMBER
null
indexing tests are pretty scattered. One step at a time...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31193/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31193/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31193.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31193", "merged_at": "2020-01-24T03:27:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31193.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31193" }
https://api.github.com/repos/pandas-dev/pandas/issues/31194
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31194/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31194/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31194/events
https://github.com/pandas-dev/pandas/pull/31194
553,274,149
MDExOlB1bGxSZXF1ZXN0MzY1NjM1NjM4
31,194
Make DTI.get_loc/get_value require tzawareness-compat for datetimes
{ "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" } ]
closed
false
null
[]
null
2
2020-01-22T02:43:14Z
2021-11-08T16:37:39Z
2020-02-19T19:47:17Z
MEMBER
null
- [x] closes #30994 - [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/31194/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31194/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31194.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31194", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31194.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31194" }
https://api.github.com/repos/pandas-dev/pandas/issues/31195
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31195/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31195/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31195/events
https://github.com/pandas-dev/pandas/pull/31195
553,294,258
MDExOlB1bGxSZXF1ZXN0MzY1NjUxODU1
31,195
WIP/TST/ENH: require freq match in assert_index_equal
{ "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": "b60205", "default": false, "description": "Temporarily-closed PR the author plans to return to", "id": 1991290519, "name": "Mothballed", "node_id": "MDU6TGFiZWwxOTkxMjkwNTE5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Mothballed" } ]
closed
false
null
[]
null
4
2020-01-22T04:02:43Z
2021-11-20T23:23:16Z
2020-01-29T20:24:08Z
MEMBER
null
582 tests are failing locally, so there's some work yet to be done. @mroeschke 3 of those 582 are in window tests. Can you take a look and suggest where an edit should go?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31195/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31195/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31195.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31195", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31195.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31195" }
https://api.github.com/repos/pandas-dev/pandas/issues/31196
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31196/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31196/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31196/events
https://github.com/pandas-dev/pandas/pull/31196
553,315,645
MDExOlB1bGxSZXF1ZXN0MzY1NjY5NTc5
31,196
TST: More regression 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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-22T05:20:27Z
2020-01-24T19:12:23Z
2020-01-24T19:04:56Z
MEMBER
null
- [x] closes #30986 - [x] closes #19020 - [x] closes #19974 - [x] closes #18265 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+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/31196/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31196/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31196.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31196", "merged_at": "2020-01-24T19:04:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31196.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31196" }
https://api.github.com/repos/pandas-dev/pandas/issues/31197
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31197/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31197/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31197/events
https://github.com/pandas-dev/pandas/issues/31197
553,316,426
MDU6SXNzdWU1NTMzMTY0MjY=
31,197
dataframe memory usage increased after .loc[] or df[a:b]
{ "avatar_url": "https://avatars.githubusercontent.com/u/3375172?v=4", "events_url": "https://api.github.com/users/miaoz2001/events{/privacy}", "followers_url": "https://api.github.com/users/miaoz2001/followers", "following_url": "https://api.github.com/users/miaoz2001/following{/other_user}", "gists_url": "https://api.github.com/users/miaoz2001/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/miaoz2001", "id": 3375172, "login": "miaoz2001", "node_id": "MDQ6VXNlcjMzNzUxNzI=", "organizations_url": "https://api.github.com/users/miaoz2001/orgs", "received_events_url": "https://api.github.com/users/miaoz2001/received_events", "repos_url": "https://api.github.com/users/miaoz2001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/miaoz2001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/miaoz2001/subscriptions", "type": "User", "url": "https://api.github.com/users/miaoz2001" }
[]
closed
false
null
[]
null
12
2020-01-22T05:23:05Z
2020-01-27T23:11:46Z
2020-01-23T00:56:50Z
NONE
null
#### Code Sample ```python import numpy import pandas def test1(freq): """ after using df.loc[], no matter how big/small the df is, the memory usage is increased, almost doubled """ index = pandas.date_range('2019-01-01', '2019-01-02', freq=freq, tz='UTC') df = pandas.DataFrame(numpy.random.randn(len(index), 10), index=index, columns=['ax', 'ay', 'az', 'qw', 'qx', 'qy', 'qz', 'wx', 'wy', 'wz'], dtype=numpy.float32) idx = pandas.date_range(start='2019-01-01 12:00:00', end='2019-01-01 13:00:00', freq=freq, tz='UTC') df.info() df.loc[idx] = 0 df.info() def test2(freq): """ after using df[], rough observation: - df is less than around 50mb, the memory usage is increased - df is greater than 50mb, the memory usage is NOT increased """ index = pandas.date_range('2019-01-01', '2019-01-02', freq=freq, tz='UTC') df = pandas.DataFrame(numpy.random.randn(len(index), 10), index=index, columns=['ax', 'ay', 'az', 'qw', 'qx', 'qy', 'qz', 'wx', 'wy', 'wz'], dtype=numpy.float32) df.info() df[df.index.min(): df.index.max()] df.info() if __name__ == '__main__': freqs = ['40ms', '80ms', '90ms', '150ms'] for freq in freqs: print(f'\n=====freq is {freq} in loc test====\n') test1(freq) for freq in freqs: print(f'\n=====freq is {freq} in slice test====\n') test2(freq) ``` #### Problem description The memory usage of a dataframe is increased somehow after .loc or df[a:b] - after using df.loc[], no matter how big/small the df is, the memory usage is increased, almost doubled - after using df[], rough observation: - df is less than around 50mb, the memory usage is increased - df is greater than 50mb, the memory usage is NOT increased as from the log of the above code: ``` =====freq is 40ms in loc test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 2160001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 40L Data columns (total 10 columns): ax float32 ay float32 az float32 qw float32 qx float32 qy float32 qz float32 wx float32 wy float32 wz float32 dtypes: float32(10) memory usage: 98.9 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 2160001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 40L Data columns (total 10 columns): ax float32 ay float32 az float32 qw float32 qx float32 qy float32 qz float32 wx float32 wy float32 wz float32 dtypes: float32(10) memory usage: 178.9 MB <------------ increased! =====freq is 80ms in loc test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 1080001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 80L Data columns (total 10 columns): ax 1080001 non-null float32 ay 1080001 non-null float32 az 1080001 non-null float32 qw 1080001 non-null float32 qx 1080001 non-null float32 qy 1080001 non-null float32 qz 1080001 non-null float32 wx 1080001 non-null float32 wy 1080001 non-null float32 wz 1080001 non-null float32 dtypes: float32(10) memory usage: 49.4 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 1080001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 80L Data columns (total 10 columns): ax 1080001 non-null float32 ay 1080001 non-null float32 az 1080001 non-null float32 qw 1080001 non-null float32 qx 1080001 non-null float32 qy 1080001 non-null float32 qz 1080001 non-null float32 wx 1080001 non-null float32 wy 1080001 non-null float32 wz 1080001 non-null float32 dtypes: float32(10) memory usage: 89.4 MB <------------ increased! =====freq is 90ms in loc test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 960001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 90L Data columns (total 10 columns): ax 960001 non-null float32 ay 960001 non-null float32 az 960001 non-null float32 qw 960001 non-null float32 qx 960001 non-null float32 qy 960001 non-null float32 qz 960001 non-null float32 wx 960001 non-null float32 wy 960001 non-null float32 wz 960001 non-null float32 dtypes: float32(10) memory usage: 43.9 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 960001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 90L Data columns (total 10 columns): ax 960001 non-null float32 ay 960001 non-null float32 az 960001 non-null float32 qw 960001 non-null float32 qx 960001 non-null float32 qy 960001 non-null float32 qz 960001 non-null float32 wx 960001 non-null float32 wy 960001 non-null float32 wz 960001 non-null float32 dtypes: float32(10) memory usage: 83.9 MB . <------------ increased! =====freq is 150ms in loc test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 576001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 150L Data columns (total 10 columns): ax 576001 non-null float32 ay 576001 non-null float32 az 576001 non-null float32 qw 576001 non-null float32 qx 576001 non-null float32 qy 576001 non-null float32 qz 576001 non-null float32 wx 576001 non-null float32 wy 576001 non-null float32 wz 576001 non-null float32 dtypes: float32(10) memory usage: 26.4 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 576001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 150L Data columns (total 10 columns): ax 576001 non-null float32 ay 576001 non-null float32 az 576001 non-null float32 qw 576001 non-null float32 qx 576001 non-null float32 qy 576001 non-null float32 qz 576001 non-null float32 wx 576001 non-null float32 wy 576001 non-null float32 wz 576001 non-null float32 dtypes: float32(10) memory usage: 46.4 MB <------------ increased! =====freq is 40ms in slice test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 2160001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 40L Data columns (total 10 columns): ax float32 ay float32 az float32 qw float32 qx float32 qy float32 qz float32 wx float32 wy float32 wz float32 dtypes: float32(10) memory usage: 98.9 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 2160001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 40L Data columns (total 10 columns): ax float32 ay float32 az float32 qw float32 qx float32 qy float32 qz float32 wx float32 wy float32 wz float32 dtypes: float32(10) memory usage: 98.9 MB <------------ unchanged! =====freq is 80ms in slice test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 1080001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 80L Data columns (total 10 columns): ax 1080001 non-null float32 ay 1080001 non-null float32 az 1080001 non-null float32 qw 1080001 non-null float32 qx 1080001 non-null float32 qy 1080001 non-null float32 qz 1080001 non-null float32 wx 1080001 non-null float32 wy 1080001 non-null float32 wz 1080001 non-null float32 dtypes: float32(10) memory usage: 49.4 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 1080001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 80L Data columns (total 10 columns): ax 1080001 non-null float32 ay 1080001 non-null float32 az 1080001 non-null float32 qw 1080001 non-null float32 qx 1080001 non-null float32 qy 1080001 non-null float32 qz 1080001 non-null float32 wx 1080001 non-null float32 wy 1080001 non-null float32 wz 1080001 non-null float32 dtypes: float32(10) memory usage: 49.4 MB <------------ unchanged! =====freq is 90ms in slice test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 960001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 90L Data columns (total 10 columns): ax 960001 non-null float32 ay 960001 non-null float32 az 960001 non-null float32 qw 960001 non-null float32 qx 960001 non-null float32 qy 960001 non-null float32 qz 960001 non-null float32 wx 960001 non-null float32 wy 960001 non-null float32 wz 960001 non-null float32 dtypes: float32(10) memory usage: 43.9 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 960001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 90L Data columns (total 10 columns): ax 960001 non-null float32 ay 960001 non-null float32 az 960001 non-null float32 qw 960001 non-null float32 qx 960001 non-null float32 qy 960001 non-null float32 qz 960001 non-null float32 wx 960001 non-null float32 wy 960001 non-null float32 wz 960001 non-null float32 dtypes: float32(10) memory usage: 83.9 MB <------------ increased! =====freq is 150ms in slice test==== <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 576001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 150L Data columns (total 10 columns): ax 576001 non-null float32 ay 576001 non-null float32 az 576001 non-null float32 qw 576001 non-null float32 qx 576001 non-null float32 qy 576001 non-null float32 qz 576001 non-null float32 wx 576001 non-null float32 wy 576001 non-null float32 wz 576001 non-null float32 dtypes: float32(10) memory usage: 26.4 MB <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 576001 entries, 2019-01-01 00:00:00+00:00 to 2019-01-02 00:00:00+00:00 Freq: 150L Data columns (total 10 columns): ax 576001 non-null float32 ay 576001 non-null float32 az 576001 non-null float32 qw 576001 non-null float32 qx 576001 non-null float32 qy 576001 non-null float32 qz 576001 non-null float32 wx 576001 non-null float32 wy 576001 non-null float32 wz 576001 non-null float32 dtypes: float32(10) memory usage: 46.4 MB <------------ increased! ``` #### Expected Output The memory usage of dataframe shall be no change after .loc or slicing. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Darwin OS-release : 19.2.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_AU.UTF-8 pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.0.3 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31197/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31197/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31198
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31198/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31198/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31198/events
https://github.com/pandas-dev/pandas/pull/31198
553,422,507
MDExOlB1bGxSZXF1ZXN0MzY1NzU2NzU2
31,198
DOC Remove Python 2 specific comments from documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/630936?v=4", "events_url": "https://api.github.com/users/rth/events{/privacy}", "followers_url": "https://api.github.com/users/rth/followers", "following_url": "https://api.github.com/users/rth/following{/other_user}", "gists_url": "https://api.github.com/users/rth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rth", "id": 630936, "login": "rth", "node_id": "MDQ6VXNlcjYzMDkzNg==", "organizations_url": "https://api.github.com/users/rth/orgs", "received_events_url": "https://api.github.com/users/rth/received_events", "repos_url": "https://api.github.com/users/rth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rth/subscriptions", "type": "User", "url": "https://api.github.com/users/rth" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-22T09:45:56Z
2020-01-26T09:42:56Z
2020-01-26T02:31:18Z
CONTRIBUTOR
null
A few minor fixes to remove Python 2 specific comments from the documentation, since 1.0 does not support Python 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/31198/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31198/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31198.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31198", "merged_at": "2020-01-26T02:31:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31198.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31198" }
https://api.github.com/repos/pandas-dev/pandas/issues/31199
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31199/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31199/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31199/events
https://github.com/pandas-dev/pandas/issues/31199
553,449,876
MDU6SXNzdWU1NTM0NDk4NzY=
31,199
Writing HDF5 with StringDtype columns fails with AttributeError: 'StringArray' object has no attribute 'size'
{ "avatar_url": "https://avatars.githubusercontent.com/u/500246?v=4", "events_url": "https://api.github.com/users/gerritholl/events{/privacy}", "followers_url": "https://api.github.com/users/gerritholl/followers", "following_url": "https://api.github.com/users/gerritholl/following{/other_user}", "gists_url": "https://api.github.com/users/gerritholl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gerritholl", "id": 500246, "login": "gerritholl", "node_id": "MDQ6VXNlcjUwMDI0Ng==", "organizations_url": "https://api.github.com/users/gerritholl/orgs", "received_events_url": "https://api.github.com/users/gerritholl/received_events", "repos_url": "https://api.github.com/users/gerritholl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gerritholl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gerritholl/subscriptions", "type": "User", "url": "https://api.github.com/users/gerritholl" }
[ { "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_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
6
2020-01-22T10:33:25Z
2020-05-03T20:34:58Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas df = pandas.read_csv("s3://noaa-global-hourly-pds/2019/72047299999.csv", parse_dates=["DATE"], dtype=dict.fromkeys(["STATION", "NAME", "REPORT_TYPE", "QUALITY_CONTROL", "WND", "CIG", "VIS", "TMP", "DEW", "SLP", "AA1", "AA2", "AY1", "AY2", "GF1", "MW1", "REM"], pandas.StringDtype())) df.to_hdf("/tmp/fubar.h5", "root") pandas.read_hdf("/tmp/fubar.h5", "root") ``` #### Problem description The code fails to write the HDF5. It fails with an exception `AttributeError: 'StringArray' object has no attribute 'size'`: ``` Traceback (most recent call last): File "mwe15.py", line 7, in <module> df.to_hdf("/tmp/fubar.h5", "root") File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/core/generic.py", line 2504, in to_hdf encoding=encoding, File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 282, in to_hdf f(store) File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 274, in <lambda> encoding=encoding, File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 1042, in put errors=errors, File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 1709, in _write_to_group data_columns=data_columns, File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 3100, in write self.write_array(f"block{i}_values", blk.values, items=blk_items) File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 2906, in write_array empty_array = value.size == 0 AttributeError: 'StringArray' object has no attribute 'size' ``` It does write a file `/tmp/fubar.h5`, but pandas cannot read it. Commenting out the writing bit and leaving only the reading bit results in: ``` Traceback (most recent call last): File "mwe15.py", line 8, in <module> pandas.read_hdf("/tmp/fubar.h5", "root") File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 428, in read_hdf auto_close=auto_close, File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 814, in select return it.get_result() File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 1829, in get_result results = self.func(self.start, self.stop, where) File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 798, in func return s.read(start=_start, stop=_stop, where=_where, columns=columns) File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 3068, in read blk_items = self.read_index(f"block{i}_items") File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/pandas/io/pytables.py", line 2752, in read_index variety = _ensure_decoded(getattr(self.attrs, f"{key}_variety")) File "/media/nas/x21324/miniconda3/envs/py37e/lib/python3.7/site-packages/tables/attributeset.py", line 301, in __getattr__ "'%s'" % (name, self._v__nodepath)) AttributeError: Attribute 'block0_items_variety' does not exist in node: '/root' Closing remaining open files:/tmp/fubar.h5...done ``` #### Expected Output I expect a well-formed HDF5 file to be written, and the `pandas.read_hdf` command to return a `DataFrame` identical to the one written to disk just before. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.12.14-lp150.12.82-default machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.0rc0 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.6.0.post20191101 Cython : 0.29.14 pytest : 5.3.0 hypothesis : None sphinx : 2.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.0 s3fs : 0.4.0 scipy : 1.3.2 sqlalchemy : 1.3.11 tables : 3.6.1 tabulate : None xarray : 0.14.1 xlrd : None xlwt : None xlsxwriter : None numba : 0.46.0 </details>
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31199/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31199/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31200
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31200/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31200/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31200/events
https://github.com/pandas-dev/pandas/issues/31200
553,461,830
MDU6SXNzdWU1NTM0NjE4MzA=
31,200
raise more explanatory error when failing initialising pd.Timestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/34656862?v=4", "events_url": "https://api.github.com/users/giuliobeseghi/events{/privacy}", "followers_url": "https://api.github.com/users/giuliobeseghi/followers", "following_url": "https://api.github.com/users/giuliobeseghi/following{/other_user}", "gists_url": "https://api.github.com/users/giuliobeseghi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/giuliobeseghi", "id": 34656862, "login": "giuliobeseghi", "node_id": "MDQ6VXNlcjM0NjU2ODYy", "organizations_url": "https://api.github.com/users/giuliobeseghi/orgs", "received_events_url": "https://api.github.com/users/giuliobeseghi/received_events", "repos_url": "https://api.github.com/users/giuliobeseghi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/giuliobeseghi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/giuliobeseghi/subscriptions", "type": "User", "url": "https://api.github.com/users/giuliobeseghi" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-22T10:54:37Z
2020-02-26T02:19:00Z
2020-02-26T02:19:00Z
NONE
null
It's not really an issue, just a suggestion. I noticed this behavior when initialising a timestamp: ```python # this doesn't fail pd.Timestamp('2020') # this does pd.Timestamp(year=2020) ``` I guess that the latter fails because of args/kwargs specification issues (when an integer is passed it is read as a posix timestamp in the first place), and I'm OK with it. However, the error it raises is: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-9-e2faf77534f3> in <module> ----> 1 pd.Timestamp(year=2020) pandas/_libs/tslibs/timestamps.pyx in pandas._libs.tslibs.timestamps.Timestamp.__new__() TypeError: an integer is required (got type NoneType) ``` This is a bit misleading for beginners - it doesn't say anything about **why** it failed, but just about **what** failed. Is there a chance it can be changed to something more explicit in the long term? Something like "provide at least year, month, day"?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31200/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31200/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31201
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31201/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31201/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31201/events
https://github.com/pandas-dev/pandas/issues/31201
553,464,913
MDU6SXNzdWU1NTM0NjQ5MTM=
31,201
COMPAT: numpy object array coercion warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[]
closed
false
null
[]
null
7
2020-01-22T11:00:28Z
2020-01-22T16:20:33Z
2020-01-22T14:46:59Z
MEMBER
null
#### Problem description Since at least a couple hours ago, the Numpy Dev pipeline fails 39 tests: ``` ##[error]39 test(s) failed, 60964 test(s) collected. ``` I checked and all 39 are like this: ``` numpy.VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray ``` Full output of one of the tests below. <details> ``` True >>> a = np.array([(1.0, 2), (3.0, 4)], dtype='f4,i4').view(np.recarray) >>> np.asarray(a) is a False >>> np.asanyarray(a) is a True """ > return array(a, dtype, copy=False, order=order) E numpy.VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray ``` </details> Thanks to @jreback for pointing out we've run into this before, but Numpy reverted the deprecation warning. The original issue was #30043
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31201/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31201/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31202
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31202/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31202/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31202/events
https://github.com/pandas-dev/pandas/issues/31202
553,507,774
MDU6SXNzdWU1NTM1MDc3NzQ=
31,202
IntervalIndex.map raises "TypeError: Unexpected keyword arguments {'closed'}" in pandas 1.0.0rc0
{ "avatar_url": "https://avatars.githubusercontent.com/u/2189996?v=4", "events_url": "https://api.github.com/users/vadella/events{/privacy}", "followers_url": "https://api.github.com/users/vadella/followers", "following_url": "https://api.github.com/users/vadella/following{/other_user}", "gists_url": "https://api.github.com/users/vadella/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vadella", "id": 2189996, "login": "vadella", "node_id": "MDQ6VXNlcjIxODk5OTY=", "organizations_url": "https://api.github.com/users/vadella/orgs", "received_events_url": "https://api.github.com/users/vadella/received_events", "repos_url": "https://api.github.com/users/vadella/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vadella/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vadella/subscriptions", "type": "User", "url": "https://api.github.com/users/vadella" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" } ]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-22T12:25:51Z
2020-01-23T14:16:00Z
2020-01-23T14:16:00Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python pd.interval_range(1,3,2).map(str) ``` > ``` > TypeError Traceback (most recent call last) > <ipython-input-4-91424d1c664f> in <module> > ----> 1 pd.interval_range(1,3,2).map(str) > > C:\Miniconda3\envs\pandas_new\lib\site-packages\pandas\core\indexes\base.py in map(self, mapper, na_action) > 4546 attributes["dtype"] = self.dtype > 4547 > -> 4548 return Index(new_values, **attributes) > 4549 > 4550 def isin(self, values, level=None): > > C:\Miniconda3\envs\pandas_new\lib\site-packages\pandas\core\indexes\base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs) > 389 if new_dtype is not None: > 390 return cls( > --> 391 new_data, dtype=new_dtype, copy=False, name=name, **kwargs > 392 ) > 393 > > C:\Miniconda3\envs\pandas_new\lib\site-packages\pandas\core\indexes\base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs) > 393 > 394 if kwargs: > --> 395 raise TypeError(f"Unexpected keyword arguments {repr(set(kwargs))}") > 396 if subarr.ndim > 1: > 397 # GH#13601, GH#20285, GH#27125 > > TypeError: Unexpected keyword arguments {'closed'} > ``` #### Problem description When using map on an `IntervalIndex` raises a `TypeError` since testing on pandas 1.0.0rc0. In 0.25.1 it worked as expected. As a workaround `pd.interval_range(1,3,2).astype(object).map(str)` works, but the casting to `object` should not be necessary. #### Expected Output > ``` > Index(['(1, 2]', '(2, 3]'], dtype='object') > ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 8.1 machine : AMD64 processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.0rc0 numpy : 1.17.5 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 45.1.0.post20200119 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : 3.0.2 pandas_gbq : None pyarrow : None pytables : None pytest : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31202/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31202/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31203
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31203/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31203/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31203/events
https://github.com/pandas-dev/pandas/pull/31203
553,515,477
MDExOlB1bGxSZXF1ZXN0MzY1ODMzMjA3
31,203
numpydev ragged array dtype warning
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
10
2020-01-22T12:41:36Z
2020-01-22T17:48:55Z
2020-01-22T14:46:59Z
CONTRIBUTOR
null
Closes #31201 There are still two failures in the Categorical constructor I'm looking into. Not sure what's best yet. ```python In [2]: pd.Categorical(['a', ('a', 'b')]) /Users/taugspurger/sandbox/pandas/pandas/core/dtypes/cast.py:1066: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray v = np.array(v, copy=False) Out[2]: [a, (a, b)] Categories (2, object): [(a, b), a] ``` I think that perhaps the user should see this warning, but have an option to pass through a `dtype` to silence it... Not sure yet. Tagged for backport to keep the CI passing on that branch.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31203/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31203/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31203.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31203", "merged_at": "2020-01-22T14:46:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31203.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31203" }
https://api.github.com/repos/pandas-dev/pandas/issues/31204
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31204/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31204/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31204/events
https://github.com/pandas-dev/pandas/issues/31204
553,526,305
MDU6SXNzdWU1NTM1MjYzMDU=
31,204
convert numeric column to dedicated `pd.StringDtype()`
{ "avatar_url": "https://avatars.githubusercontent.com/u/2189996?v=4", "events_url": "https://api.github.com/users/vadella/events{/privacy}", "followers_url": "https://api.github.com/users/vadella/followers", "following_url": "https://api.github.com/users/vadella/following{/other_user}", "gists_url": "https://api.github.com/users/vadella/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vadella", "id": 2189996, "login": "vadella", "node_id": "MDQ6VXNlcjIxODk5OTY=", "organizations_url": "https://api.github.com/users/vadella/orgs", "received_events_url": "https://api.github.com/users/vadella/received_events", "repos_url": "https://api.github.com/users/vadella/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vadella/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vadella/subscriptions", "type": "User", "url": "https://api.github.com/users/vadella" }
[ { "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": "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": "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": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
11
2020-01-22T13:01:30Z
2020-05-26T22:20:20Z
2020-05-26T22:20:20Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python pd.Series(range(5, 10), dtype="Int64").astype("string") ``` raises `TypeError: data type not understood` while ```python pd.Series(range(5, 10)).astype("string") ``` raises `ValueError: StringArray requires a sequence of strings or missing values.` If you first do `astype(str)`: ```python pd.Series(range(5, 10)).astype(str).astype("string") ``` and ```python pd.Series(range(5, 10), dtype="Int64").astype(str).astype("string") ``` work as expected: ``` 0 5 1 6 2 7 3 8 4 9 dtype: string ``` While `astype(object)` raises in both cases `ValueError: StringArray requires a sequence of strings or missing values.` #### Problem description I can understand the `ValueError`, since you don't feed strings to the `StringArray`. Best for me would be if the `astype("string")` converts it to strings, or if the `astype(str)` would return a `StringArray`, but in any case, I would expect both `pd.Series(range(5, 10), dtype="Int64").astype("string")` and `pd.Series(range(5, 10)).astype("string")` to raise the same error. #### Expected Output ``` 0 5 1 6 2 7 3 8 4 9 dtype: string ``` or `ValueError: StringArray requires a sequence of strings or missing values.` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] </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/31204/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31204/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31205
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31205/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31205/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31205/events
https://github.com/pandas-dev/pandas/issues/31205
553,543,443
MDU6SXNzdWU1NTM1NDM0NDM=
31,205
BUG: plotting regular tz-aware timeseries gives UserWarning
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "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" } ]
closed
false
{ "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" }
[ { "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" } ]
{ "closed_at": "2020-02-06T23:38:32Z", "closed_issues": 103, "created_at": "2020-01-14T04:04:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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.0.x", "due_on": "2020-02-05T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/69", "id": 5002193, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels", "node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==", "number": 69, "open_issues": 0, "state": "closed", "title": "1.0.1", "updated_at": "2020-04-05T10:45:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69" }
1
2020-01-22T13:31:48Z
2020-02-03T07:36:36Z
2020-02-03T07:36:36Z
MEMBER
null
With this example of plotting a tz-aware, regular timeseries: ``` df = pd.DataFrame(np.random.randn(100, 3), index=pd.date_range("2012", freq='H', periods=100, tz='UTC'), columns=['a', 'b', 'c']) df.plot() ``` gives a warning that the user shouldn't see I think (there is nothing to do about it): ``` /home/joris/scipy/pandas/pandas/core/arrays/datetimes.py:1099: UserWarning: Converting to PeriodArray/Index representation will drop timezone information. UserWarning, ``` When setting a filterwarning to error, you can see the warning is coming from a `to_period()` call in the matplotlib plotting backend included in pandas: ``` In [5]: warnings.simplefilter("error", UserWarning) In [6]: df.plot() --------------------------------------------------------------------------- UserWarning Traceback (most recent call last) <ipython-input-6-848b80e64df8> in <module> ----> 1 df.plot() ~/scipy/pandas/pandas/plotting/_core.py in __call__(self, *args, **kwargs) 846 data.columns = label_name 847 --> 848 return plot_backend.plot(data, kind=kind, **kwargs) 849 850 def line(self, x=None, y=None, **kwargs): ~/scipy/pandas/pandas/plotting/_matplotlib/__init__.py in plot(data, kind, **kwargs) 59 kwargs["ax"] = getattr(ax, "left_ax", ax) 60 plot_obj = PLOT_CLASSES[kind](data, **kwargs) ---> 61 plot_obj.generate() 62 plot_obj.draw() 63 return plot_obj.result ~/scipy/pandas/pandas/plotting/_matplotlib/core.py in generate(self) 261 self._compute_plot_data() 262 self._setup_subplots() --> 263 self._make_plot() 264 self._add_table() 265 self._make_legend() ~/scipy/pandas/pandas/plotting/_matplotlib/core.py in _make_plot(self) 1050 from pandas.plotting._matplotlib.timeseries import _maybe_convert_index 1051 -> 1052 data = _maybe_convert_index(self._get_ax(0), self.data) 1053 1054 x = data.index # dummy, not used ~/scipy/pandas/pandas/plotting/_matplotlib/timeseries.py in _maybe_convert_index(ax, data) 252 253 if isinstance(data.index, ABCDatetimeIndex): --> 254 data = data.to_period(freq=freq) 255 elif isinstance(data.index, ABCPeriodIndex): 256 data.index = data.index.asfreq(freq=freq) ~/scipy/pandas/pandas/core/frame.py in to_period(self, freq, axis, copy) 8379 axis = self._get_axis_number(axis) 8380 if axis == 0: -> 8381 new_data.set_axis(1, self.index.to_period(freq=freq)) 8382 elif axis == 1: 8383 new_data.set_axis(0, self.columns.to_period(freq=freq)) ~/scipy/pandas/pandas/core/accessor.py in f(self, *args, **kwargs) 97 def _create_delegator_method(name): 98 def f(self, *args, **kwargs): ---> 99 return self._delegate_method(name, *args, **kwargs) 100 101 f.__name__ = name ~/scipy/pandas/pandas/core/indexes/datetimelike.py in _delegate_method(self, name, *args, **kwargs) 986 987 def _delegate_method(self, name, *args, **kwargs): --> 988 result = operator.methodcaller(name, *args, **kwargs)(self._data) 989 if name not in self._raw_methods: 990 result = Index(result, name=self.name) ~/scipy/pandas/pandas/core/arrays/datetimes.py in to_period(self, freq) 1097 "Converting to PeriodArray/Index representation " 1098 "will drop timezone information.", -> 1099 UserWarning, 1100 ) 1101 UserWarning: Converting to PeriodArray/Index representation will drop timezone information. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31205/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31205/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31206
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31206/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31206/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31206/events
https://github.com/pandas-dev/pandas/pull/31206
553,570,629
MDExOlB1bGxSZXF1ZXN0MzY1ODc4MDU0
31,206
Backport PR #31017 on branch 1.0.x (REG: restore format_type attr)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-22T14:17:27Z
2020-01-23T09:41:34Z
2020-01-22T21:08:28Z
NONE
null
Backport PR #31017: REG: restore format_type attr
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31206/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31206/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31206.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31206", "merged_at": "2020-01-22T21:08:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31206.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31206" }
https://api.github.com/repos/pandas-dev/pandas/issues/31207
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31207/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31207/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31207/events
https://github.com/pandas-dev/pandas/pull/31207
553,581,648
MDExOlB1bGxSZXF1ZXN0MzY1ODg3MzQ0
31,207
BUG: no longer raise user warning when plotting tz aware time series
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2020-02-06T23:38:32Z", "closed_issues": 103, "created_at": "2020-01-14T04:04:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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.0.x", "due_on": "2020-02-05T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/69", "id": 5002193, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels", "node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==", "number": 69, "open_issues": 0, "state": "closed", "title": "1.0.1", "updated_at": "2020-04-05T10:45:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69" }
19
2020-01-22T14:35:16Z
2020-02-05T18:54:49Z
2020-02-03T07:36:36Z
MEMBER
null
- [x] closes #31205 - [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/31207/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31207/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31207.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31207", "merged_at": "2020-02-03T07:36:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31207.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31207" }
https://api.github.com/repos/pandas-dev/pandas/issues/31208
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31208/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31208/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31208/events
https://github.com/pandas-dev/pandas/issues/31208
553,594,966
MDU6SXNzdWU1NTM1OTQ5NjY=
31,208
dtypes convert to object on merge on 1.0.0rc0
{ "avatar_url": "https://avatars.githubusercontent.com/u/2321741?v=4", "events_url": "https://api.github.com/users/mdoom23/events{/privacy}", "followers_url": "https://api.github.com/users/mdoom23/followers", "following_url": "https://api.github.com/users/mdoom23/following{/other_user}", "gists_url": "https://api.github.com/users/mdoom23/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdoom23", "id": 2321741, "login": "mdoom23", "node_id": "MDQ6VXNlcjIzMjE3NDE=", "organizations_url": "https://api.github.com/users/mdoom23/orgs", "received_events_url": "https://api.github.com/users/mdoom23/received_events", "repos_url": "https://api.github.com/users/mdoom23/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdoom23/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdoom23/subscriptions", "type": "User", "url": "https://api.github.com/users/mdoom23" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-22T14:56:15Z
2020-01-23T04:26:32Z
2020-01-23T04:26:32Z
NONE
null
#### dtypes convert to object on merge Currently on 1.0.0rc0, when doing a left merge with datetime64[ns] on the right dataframe, if any rows from the left dataframe don't have a match on the right dataframe, then the result dataframe converts datetime to be object. If all items match, then it will remain as a datetime column. This previously maintained dtype in 0.25.3 and 0.24.2. It seems to no longer maintain the dtype and populate values with NaT. With 1.0.0rc0, after this I am able to convert to datetime column and it'll properly recognize as a NaT value. #### Example with extra value in left dataframe ```python df1 = pd.DataFrame({'x': {0: 'a', 1: 'b', 2:'c'}, 'y': {0: '1', 1: '2', 2:'4'}}) df2 = pd.DataFrame({'y': {0: '1', 1: '2', 2:'3'}, 'z': {0: '2018-05-01', 1: '2018-05-02', 2:'2018-05-03'}}) df2['z'] = df2['z'].astype('datetime64[ns]') result = pd.merge(df1, df2, how='left', on='y') ``` #### Output ```python # 0.24.2 result.dtypes x object y object z datetime64[ns] dtype: object # 0.25.3 result.dtypes x object y object z datetime64[ns] dtype: object # 1.0.0rc0 result.dtypes x object y object z object dtype: object ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31208/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31208/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31209
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31209/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31209/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31209/events
https://github.com/pandas-dev/pandas/pull/31209
553,604,575
MDExOlB1bGxSZXF1ZXN0MzY1OTA2Njc5
31,209
Backport PR #31203 on branch 1.0.x (numpydev ragged array dtype warning)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-22T15:10:17Z
2020-01-23T09:41:02Z
2020-01-22T21:06:16Z
NONE
null
Backport PR #31203: numpydev ragged array dtype warning
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31209/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31209/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31209.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31209", "merged_at": "2020-01-22T21:06:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31209.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31209" }
https://api.github.com/repos/pandas-dev/pandas/issues/31210
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31210/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31210/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31210/events
https://github.com/pandas-dev/pandas/pull/31210
553,607,341
MDExOlB1bGxSZXF1ZXN0MzY1OTA5MDMz
31,210
COMPAT: Argsort position matches NumPy
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
9
2020-01-22T15:14:38Z
2020-01-28T06:43:30Z
2020-01-27T14:05:16Z
CONTRIBUTOR
null
Closes https://github.com/pandas-dev/pandas/issues/29884 Bit of a WIP, CI is probably going to fail here. One API question, do we want NaT to sort at the end, regardless of the NumPy version? Or should we match the behavior of the installed NumPy (NaT at the start for <1.18, at the end for >=1.18)?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31210/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31210/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31210.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31210", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31210.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31210" }
https://api.github.com/repos/pandas-dev/pandas/issues/31211
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31211/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31211/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31211/events
https://github.com/pandas-dev/pandas/pull/31211
553,619,879
MDExOlB1bGxSZXF1ZXN0MzY1OTE5NTM0
31,211
BUG: Fixed upcast dtype for datetime64 in merge
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2020-01-22T15:34:12Z
2020-01-23T20:57:16Z
2020-01-23T04:26:33Z
CONTRIBUTOR
null
Closes https://github.com/pandas-dev/pandas/issues/31208
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31211/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31211/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31211.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31211", "merged_at": "2020-01-23T04:26:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31211.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31211" }
https://api.github.com/repos/pandas-dev/pandas/issues/31212
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31212/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31212/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31212/events
https://github.com/pandas-dev/pandas/issues/31212
553,628,061
MDU6SXNzdWU1NTM2MjgwNjE=
31,212
CI: Web and docs (pull_request) fails: can't rich intershipinx inventory
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[]
closed
false
null
[]
null
10
2020-01-22T15:47:23Z
2020-01-22T20:49:54Z
2020-01-22T20:49:54Z
MEMBER
null
#### Problem description Seems like currently CI / Web and docs (pull_request) fails for everyone with this error message: ``` WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://www.statsmodels.org/devel/objects.inv' not readable due to ValueError: unknown or unsupported inventory version: ValueError('invalid inventory header: ') ``` All my PRs had the `CI / Web and docs (pull_request)` check break without any changes to docs, and I checked PRs by other people: other people seem to have this problem. #### Expected behaviour Passing the test
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31212/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31212/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31213
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31213/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31213/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31213/events
https://github.com/pandas-dev/pandas/pull/31213
553,634,494
MDExOlB1bGxSZXF1ZXN0MzY1OTMxNzA3
31,213
DOC: pin statsmodels inventory
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2020-01-22T15:57:30Z
2020-01-22T18:18:27Z
2020-01-22T18:18:22Z
CONTRIBUTOR
null
xref https://github.com/pandas-dev/pandas/issues/31212
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31213/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31213/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31213.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31213", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31213.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31213" }
https://api.github.com/repos/pandas-dev/pandas/issues/31214
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31214/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31214/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31214/events
https://github.com/pandas-dev/pandas/issues/31214
553,644,513
MDU6SXNzdWU1NTM2NDQ1MTM=
31,214
min(axis = 1) propagates NAN when encountering missing timestamps
{ "avatar_url": "https://avatars.githubusercontent.com/u/8282510?v=4", "events_url": "https://api.github.com/users/randomgambit/events{/privacy}", "followers_url": "https://api.github.com/users/randomgambit/followers", "following_url": "https://api.github.com/users/randomgambit/following{/other_user}", "gists_url": "https://api.github.com/users/randomgambit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/randomgambit", "id": 8282510, "login": "randomgambit", "node_id": "MDQ6VXNlcjgyODI1MTA=", "organizations_url": "https://api.github.com/users/randomgambit/orgs", "received_events_url": "https://api.github.com/users/randomgambit/received_events", "repos_url": "https://api.github.com/users/randomgambit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/randomgambit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/randomgambit/subscriptions", "type": "User", "url": "https://api.github.com/users/randomgambit" }
[]
closed
false
null
[]
null
1
2020-01-22T16:13:44Z
2020-01-22T16:27:44Z
2020-01-22T16:27:43Z
NONE
null
Hello there, Consider this: ``` dftest = pd.DataFrame({'time1' : ['2019-01-01- 10:10:10.123456Z', '2019-01-01- 10:10:10.123456Z'], 'time2' : ['ha', 'pandas!!!'], 'time3' :['here we go', 'again']}) dftest Out[179]: time1 time2 time3 0 2019-01-01- 10:10:10.123456Z ha here we go 1 2019-01-01- 10:10:10.123456Z pandas!!! again ``` I am trying to get the minimum timestamp between `time1`, `time2` and `time3`. Of course, in this example `time2` and `time3` are not timestamps so (after proper conversion to NaTs) I expect the minimum to be `time1` all the time. Surprisingly, this fails entirely. ``` dftest['time1'] = pd.to_datetime(dftest.time1, errors = 'coerce') dftest['time2'] = pd.to_datetime(dftest.time2, errors = 'coerce') dftest['time3'] = pd.to_datetime(dftest.time3, errors = 'coerce') dftest Out[181]: time1 time2 time3 0 2019-01-01 10:10:10.123456+00:00 NaT NaT 1 2019-01-01 10:10:10.123456+00:00 NaT NaT ``` And now: ``` dftest.loc[:, ['time1', 'time2', 'time3']].min(axis = 1) Out[182]: 0 nan 1 nan dtype: float64 ``` This looks like a bug. It seems that the errors is coming from the timezone component. What do you think? Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31214/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31214/timeline
null
null
null