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/27813
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27813/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27813/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27813/events
https://github.com/pandas-dev/pandas/issues/27813
478,212,024
MDU6SXNzdWU0NzgyMTIwMjQ=
27,813
BUG: Series.rename raises error on values accepted by Series constructor.
{ "avatar_url": "https://avatars.githubusercontent.com/u/652535?v=4", "events_url": "https://api.github.com/users/lgmsantos/events{/privacy}", "followers_url": "https://api.github.com/users/lgmsantos/followers", "following_url": "https://api.github.com/users/lgmsantos/following{/other_user}", "gists_url": "https://api.github.com/users/lgmsantos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lgmsantos", "id": 652535, "login": "lgmsantos", "node_id": "MDQ6VXNlcjY1MjUzNQ==", "organizations_url": "https://api.github.com/users/lgmsantos/orgs", "received_events_url": "https://api.github.com/users/lgmsantos/received_events", "repos_url": "https://api.github.com/users/lgmsantos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lgmsantos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lgmsantos/subscriptions", "type": "User", "url": "https://api.github.com/users/lgmsantos" }
[ { "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 s...
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-08T01:54:33Z
2019-08-22T13:07:47Z
2019-08-22T13:07:47Z
CONTRIBUTOR
null
#### Sample ```python import pandas as pd class MyIndexer: pass i1 = MyIndexer() s = pd.Series([1, 2, 3], name=i1) # allowed s.rename(i1) # raises error ``` The error stack trace is the following: ```python Traceback (most recent call last): File "test.py", line 8, in <module> s.rename(i1) # raises error File "/usr/local/lib/python3.6/dist-packages/pandas/core/series.py", line 3736, in rename return super(Series, self).rename(index=index, **kwargs) File "/usr/local/lib/python3.6/dist-packages/pandas/core/generic.py", line 1091, in rename level=level) File "/usr/local/lib/python3.6/dist-packages/pandas/core/internals/managers.py", line 171, in rename_axis obj.set_axis(axis, _transform_index(self.axes[axis], mapper, level)) File "/usr/local/lib/python3.6/dist-packages/pandas/core/internals/managers.py", line 2004, in _transform_index items = [func(x) for x in index] File "/usr/local/lib/python3.6/dist-packages/pandas/core/internals/managers.py", line 2004, in <listcomp> items = [func(x) for x in index] TypeError: 'MyIndexer' object is not callable ``` #### Description Series.rename handle anything that isn't a scalar or list-like as a mapping. #### Proposed change Change the following code (from Series.rename): ```python non_mapping = is_scalar(index) or (is_list_like(index) and not is_dict_like(index)) if non_mapping: return self._set_name(index, inplace=kwargs.get("inplace")) return super().rename(index=index, **kwargs) ``` to ```python if callable(index) or is_dict_like(index): return super().rename(index=index, **kwargs) else: return self._set_name(index, inplace=kwargs.get("inplace")) ```` so anything that isn't a dict or a callable will be treated the same way as a scalar or list-like. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.8.final.0 python-bits: 64 OS: Linux OS-release: 4.15.0-55-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: pt_BR.UTF-8 pandas: 0.24.2 pytest: 3.6.0 pip: 19.1.1 setuptools: 41.0.0 Cython: 0.26.1 numpy: 1.16.4 scipy: 1.3.0 pyarrow: None xarray: None IPython: 6.4.0 sphinx: None patsy: 0.5.1 dateutil: 2.7.3 pytz: 2018.4 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.1.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: 4.2.1 bs4: 4.6.0 html5lib: 0.999999999 sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27813/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27813/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27814
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27814/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27814/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27814/events
https://github.com/pandas-dev/pandas/pull/27814
478,214,094
MDExOlB1bGxSZXF1ZXN0MzA1Mzc5OTc0
27,814
BUG: Series.rename raises error on values accepted by Series construc…
{ "avatar_url": "https://avatars.githubusercontent.com/u/652535?v=4", "events_url": "https://api.github.com/users/lgmsantos/events{/privacy}", "followers_url": "https://api.github.com/users/lgmsantos/followers", "following_url": "https://api.github.com/users/lgmsantos/following{/other_user}", "gists_url": "https://api.github.com/users/lgmsantos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lgmsantos", "id": 652535, "login": "lgmsantos", "node_id": "MDQ6VXNlcjY1MjUzNQ==", "organizations_url": "https://api.github.com/users/lgmsantos/orgs", "received_events_url": "https://api.github.com/users/lgmsantos/received_events", "repos_url": "https://api.github.com/users/lgmsantos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lgmsantos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lgmsantos/subscriptions", "type": "User", "url": "https://api.github.com/users/lgmsantos" }
[ { "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 s...
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
5
2019-08-08T02:04:10Z
2019-08-22T13:07:48Z
2019-08-22T13:07:47Z
CONTRIBUTOR
null
- closes #27813
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27814/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27814/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27814.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27814", "merged_at": "2019-08-22T13:07:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27814.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27814" }
https://api.github.com/repos/pandas-dev/pandas/issues/27815
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27815/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27815/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27815/events
https://github.com/pandas-dev/pandas/pull/27815
478,230,033
MDExOlB1bGxSZXF1ZXN0MzA1MzkyMDM3
27,815
REF: implement should_extension_dispatch
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "de...
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
2019-08-08T03:20:05Z
2019-08-14T21:34:32Z
2019-08-14T20:39:15Z
MEMBER
null
This uses should_extension_dispatch in _arith_method_SERIES. We'll be able to use it in _comp_method_SERIES after #27803. (this is orthogonal to 27803 so doesn't matter what order they go in)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27815/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27815/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27815.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27815", "merged_at": "2019-08-14T20:39:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27815.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27815" }
https://api.github.com/repos/pandas-dev/pandas/issues/27816
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27816/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27816/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27816/events
https://github.com/pandas-dev/pandas/issues/27816
478,324,791
MDU6SXNzdWU0NzgzMjQ3OTE=
27,816
DatetimeIndex shift freq ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/38035656?v=4", "events_url": "https://api.github.com/users/michal-demecki-profil-software/events{/privacy}", "followers_url": "https://api.github.com/users/michal-demecki-profil-software/followers", "following_url": "https://api.github.com/users/michal-demecki-profil-software/following{/other_user}", "gists_url": "https://api.github.com/users/michal-demecki-profil-software/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michal-demecki-profil-software", "id": 38035656, "login": "michal-demecki-profil-software", "node_id": "MDQ6VXNlcjM4MDM1NjU2", "organizations_url": "https://api.github.com/users/michal-demecki-profil-software/orgs", "received_events_url": "https://api.github.com/users/michal-demecki-profil-software/received_events", "repos_url": "https://api.github.com/users/michal-demecki-profil-software/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michal-demecki-profil-software/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michal-demecki-profil-software/subscriptions", "type": "User", "url": "https://api.github.com/users/michal-demecki-profil-software" }
[]
closed
false
null
[]
null
2
2019-08-08T08:30:11Z
2019-08-09T14:27:49Z
2019-08-09T14:27:48Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python dt = pd.date_range('2017-01-01', '2020-01-01', name='date', freq='D') df = pd.DataFrame(pd.np.random.rand(dt.shape[0]), index=dt) df.shift(-1, freq=pd.DateOffset(years=1)) ``` #### Problem description This code raise `ValueError: Inferred frequency None from passed values does not conform to passed frequency D` while date range from '2018-01-01' works perfectly fine. #### Expected Output Dataframe with properly shifted index. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit: None python: 3.6.7.final.0 python-bits: 64 OS: Linux OS-release: 4.15.0-55-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 5.0.1 pip: 10.0.1 setuptools: 41.0.1 Cython: 0.29.10 numpy: 1.16.2 scipy: 1.2.1 pyarrow: None xarray: None IPython: 7.4.0 sphinx: None patsy: 0.5.1 dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.0.3 openpyxl: None xlrd: 1.2.0 xlwt: None xlsxwriter: None lxml.etree: 4.3.4 bs4: None html5lib: None sqlalchemy: 1.3.2 pymysql: None psycopg2: 2.8.3 (dt dec pq3 ext lo64) jinja2: 2.10 s3fs: None fastparquet: 0.3.1 pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27816/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27816/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27817
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27817/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27817/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27817/events
https://github.com/pandas-dev/pandas/issues/27817
478,350,789
MDU6SXNzdWU0NzgzNTA3ODk=
27,817
Conversion from Arrow to datetime not working since pandas 0.22.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/662294?v=4", "events_url": "https://api.github.com/users/insysion/events{/privacy}", "followers_url": "https://api.github.com/users/insysion/followers", "following_url": "https://api.github.com/users/insysion/following{/other_user}", "gists_url": "https://api.github.com/users/insysion/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/insysion", "id": 662294, "login": "insysion", "node_id": "MDQ6VXNlcjY2MjI5NA==", "organizations_url": "https://api.github.com/users/insysion/orgs", "received_events_url": "https://api.github.com/users/insysion/received_events", "repos_url": "https://api.github.com/users/insysion/repos", "site_admin": false, "starred_url": "https://api.github.com/users/insysion/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/insysion/subscriptions", "type": "User", "url": "https://api.github.com/users/insysion" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "0052cc", "default": false, "description": "pandas ob...
closed
false
null
[]
null
7
2019-08-08T09:23:23Z
2020-04-02T05:02:02Z
2020-04-02T05:02:01Z
NONE
null
#### Code Sample ```python import arrow import pandas as pd date = arrow.Arrow(2019, 8, 8) data = {'date': [date]} df = pd.DataFrame(data) df.astype('<M8[ns]') ``` #### Problem description ``` Traceback (most recent call last): File "bug.py", line 7, in <module> df.astype('<M8[ns]') File "/lib/python3.5/site-packages/pandas/core/generic.py", line 5691, in astype **kwargs) File "/lib/python3.5/site-packages/pandas/core/internals/managers.py", line 531, in astype return self.apply('astype', dtype=dtype, **kwargs) File "/lib/python3.5/site-packages/pandas/core/internals/managers.py", line 395, in apply applied = getattr(b, f)(**kwargs) File "/lib/python3.5/site-packages/pandas/core/internals/blocks.py", line 534, in astype **kwargs) File "/lib/python3.5/site-packages/pandas/core/internals/blocks.py", line 633, in _astype values = astype_nansafe(values.ravel(), dtype, copy=True) File "/lib/python3.5/site-packages/pandas/core/dtypes/cast.py", line 690, in astype_nansafe return astype_nansafe(to_datetime(arr).values, dtype, copy=copy) File "/lib/python3.5/site-packages/pandas/core/tools/datetimes.py", line 609, in to_datetime result = convert_listlike(arg, box, format) File "/lib/python3.5/site-packages/pandas/core/tools/datetimes.py", line 302, in _convert_listlike_datetimes allow_object=True) File "/lib/python3.5/site-packages/pandas/core/arrays/datetimes.py", line 1857, in objects_to_datetime64ns require_iso8601=require_iso8601 File "pandas/_libs/tslib.pyx", line 460, in pandas._libs.tslib.array_to_datetime File "pandas/_libs/tslib.pyx", line 685, in pandas._libs.tslib.array_to_datetime File "pandas/_libs/tslib.pyx", line 813, in pandas._libs.tslib.array_to_datetime_object File "pandas/_libs/tslib.pyx", line 659, in pandas._libs.tslib.array_to_datetime TypeError: <class 'arrow.arrow.Arrow'> is not convertible to datetime ``` #### Expected Output DataFrame with datetime data. #### Output of ``pd.show_versions()`` Failing version: <details> INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.15.0-55-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 LOCALE: en_GB.UTF-8 pandas: 0.24.2 pytest: None pip: 19.2.1 setuptools: 39.1.0 Cython: None numpy: 1.17.0 scipy: None pyarrow: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.8.0 pytz: 2019.2 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: 1.0.1 sqlalchemy: None pymysql: None psycopg2: None jinja2: None s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details> Working version: <details> INSTALLED VERSIONS ------------------ commit: None python: 3.5.2.final.0 python-bits: 64 OS: Linux OS-release: 4.15.0-55-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 LOCALE: en_GB.UTF-8 pandas: 0.22.0 pytest: None pip: 19.2.1 setuptools: 39.1.0 Cython: None numpy: 1.17.0 scipy: None pyarrow: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.8.0 pytz: 2019.2 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: 1.0.1 sqlalchemy: None pymysql: None psycopg2: None jinja2: None s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: 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/27817/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27817/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27818
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27818/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27818/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27818/events
https://github.com/pandas-dev/pandas/pull/27818
478,366,743
MDExOlB1bGxSZXF1ZXN0MzA1NDk3ODEz
27,818
COMPAT: restore shape for 'invalid' Index with nd array
{ "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": "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": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
10
2019-08-08T09:54:09Z
2019-08-09T07:56:16Z
2019-08-09T07:36:58Z
MEMBER
null
closes #27775
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27818/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27818/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27818.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27818", "merged_at": "2019-08-09T07:36:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27818.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27818" }
https://api.github.com/repos/pandas-dev/pandas/issues/27819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27819/events
https://github.com/pandas-dev/pandas/pull/27819
478,399,395
MDExOlB1bGxSZXF1ZXN0MzA1NTIyNzc3
27,819
Backport PR #27809 on branch 0.25.x (CI: remove pytest pins)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-08T11:00:57Z
2019-08-08T12:13:54Z
2019-08-08T12:13:54Z
NONE
null
Backport PR #27809: CI: remove pytest pins
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27819/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27819.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27819", "merged_at": "2019-08-08T12:13:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27819.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27819" }
https://api.github.com/repos/pandas-dev/pandas/issues/27820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27820/events
https://github.com/pandas-dev/pandas/issues/27820
478,414,390
MDU6SXNzdWU0Nzg0MTQzOTA=
27,820
DOC: clarify that read_parquet accepts a directory path
{ "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" }, { "color": "5319e7", "default": false, "description": "parquet, feather", ...
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
2019-08-08T11:33:56Z
2019-12-08T17:39:41Z
2019-12-08T17:39:41Z
MEMBER
null
The current documentation (both docstring https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_parquet.html and user guide https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#partitioning-parquet-files) don't make it very clear that the file path can also be a directory name that contains multiple (partitioned) parquet files (in addition to single file path).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27820/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27821/events
https://github.com/pandas-dev/pandas/issues/27821
478,575,522
MDU6SXNzdWU0Nzg1NzU1MjI=
27,821
Document security vulnerability reporting mechanism
{ "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" }
1
2019-08-08T16:32:59Z
2021-02-03T21:06:45Z
2019-08-09T14:18:54Z
CONTRIBUTOR
null
Part of the tidelift setup. In https://github.com/numpy/numpy/issues/13475 / https://github.com/numpy/numpy/pull/13485, NumPy decided to just link to https://tidelift.com/docs/lifting/security. That should suffice to us. Only thing to decide is who all gets notified with these reports.
{ "+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/27821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27821/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27822/events
https://github.com/pandas-dev/pandas/pull/27822
478,583,527
MDExOlB1bGxSZXF1ZXN0MzA1NjYzOTEy
27,822
Add security policy
{ "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" }
0
2019-08-08T16:50:46Z
2019-08-09T14:19:09Z
2019-08-09T14:18:54Z
CONTRIBUTOR
null
Closes #27821
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27822/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27822.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27822", "merged_at": "2019-08-09T14:18:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27822.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27822" }
https://api.github.com/repos/pandas-dev/pandas/issues/27823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27823/events
https://github.com/pandas-dev/pandas/pull/27823
478,583,609
MDExOlB1bGxSZXF1ZXN0MzA1NjYzOTcz
27,823
Add tidelift sponsor to FUNDING
{ "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" }
[]
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
2019-08-08T16:51:00Z
2019-08-09T14:19:06Z
2019-08-09T14:19:03Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27823/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27823.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27823", "merged_at": "2019-08-09T14:19:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27823.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27823" }
https://api.github.com/repos/pandas-dev/pandas/issues/27824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27824/events
https://github.com/pandas-dev/pandas/issues/27824
478,619,603
MDU6SXNzdWU0Nzg2MTk2MDM=
27,824
Document DataFrame._constructor_sliced-like property in the public API?
{ "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" } ]
open
false
null
[]
null
3
2019-08-08T18:18:38Z
2021-07-10T19:30:32Z
null
CONTRIBUTOR
null
Can we document something like `DataFrame._constructor_sliced` as the public way to say that slicing a column from a pandas.DataFrame will return a pandas.Series object? Projects like Dask would like to work with any concrete DataFrame library (cudf being the second major dataframe implementation). Right now we resort to things like `type(dask.dataframe.DataFrame._meta.iloc[:, 0])` to get the concrete type of a slice. But that's fragile (e.g. a DataFrame with no columns). I'm not sure how useful this would be to users, so using an underscore-prefixed name may be reasonable.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27824/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27825/events
https://github.com/pandas-dev/pandas/issues/27825
478,645,195
MDU6SXNzdWU0Nzg2NDUxOTU=
27,825
Dispatch pd.is_na for scalar extension value
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d7e102", "default": false, "description": "np.nan, ...
open
false
null
[]
null
6
2019-08-08T19:20:49Z
2021-07-10T19:31:40Z
null
CONTRIBUTOR
null
Right now, I don't believe there's a way for an ExtensionDtype to declare a custom scalar NA value and have `pd.isna(scalar)` do the right thing. <details> ```python _nas = object() class NaSType(str): """ NA for String type. """ # TODO: enforce singleton def __new__(cls, value): if value is not _nas: raise ValueError("Cannot create NaS from '{}'".format(value)) return super().__new__(cls, value) def __eq__(self, other): # TODO: array comparisons, etc. return False def __str__(self): return "NaS" def __repr__(self): return str(self) NaS = NaSType(_nas) @register_extension_dtype class StringDtype(ExtensionDtype): @property def na_value(self): return NaS @property def type(self) -> Type: return str @property def name(self) -> str: return "string" @classmethod def construct_from_string(cls, string: str): if string in {"string", "str"}: return cls() return super().construct_from_string(string) @classmethod def construct_array_type(cls) -> "Type[StringArray]": return StringArray ``` </details> ```python In [18]: NaS Out[18]: NaS In [19]: pd.isna(NaS) Out[19]: False ``` That should be `True`. In https://github.com/pandas-dev/pandas/blob/master/pandas/core/dtypes/missing.py#L131-L132 we go straight to `lib missing.checknull(obj)` for scalar values.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27825/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27826/events
https://github.com/pandas-dev/pandas/pull/27826
478,656,503
MDExOlB1bGxSZXF1ZXN0MzA1NzIyOTI0
27,826
BUG: Fix groupby quantile segfault
{ "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": "36ede0", "default": false, "description": "Non-Recoverable...
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
3
2019-08-08T19:49:31Z
2019-10-31T01:19:37Z
2019-08-12T17:56:47Z
CONTRIBUTOR
null
Validate that q is between 0 and 1. Closes #27470
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27826/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27826.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27826", "merged_at": "2019-08-12T17:56:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27826.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27826" }
https://api.github.com/repos/pandas-dev/pandas/issues/27827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27827/events
https://github.com/pandas-dev/pandas/pull/27827
478,675,701
MDExOlB1bGxSZXF1ZXN0MzA1NzM4OTA4
27,827
BUG: Fixed groupby quantile for listlike q
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
5
2019-08-08T20:36:24Z
2019-08-22T11:28:40Z
2019-08-22T11:28:37Z
CONTRIBUTOR
null
Closes #27526 Just a WIP right now. This is under tested for - [ ] `groupby(sort=False)` - [ ] non-sorted `q` - [ ] `groupby(multiple levels)`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27827/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27827.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27827", "merged_at": "2019-08-22T11:28:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27827.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27827" }
https://api.github.com/repos/pandas-dev/pandas/issues/27828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27828/events
https://github.com/pandas-dev/pandas/pull/27828
478,678,632
MDExOlB1bGxSZXF1ZXN0MzA1NzQxMzY5
27,828
Backport PR #27607 on branch 0.25.x (BUG: break reference cycle in Index._engine)
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-08T20:43:36Z
2019-08-09T20:24:18Z
2019-08-09T20:24:13Z
NONE
null
Backport PR #27607: BUG: break reference cycle in Index._engine
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27828/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27828.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27828", "merged_at": "2019-08-09T20:24:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27828.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27828" }
https://api.github.com/repos/pandas-dev/pandas/issues/27829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27829/events
https://github.com/pandas-dev/pandas/issues/27829
478,698,666
MDU6SXNzdWU0Nzg2OTg2NjY=
27,829
BUG: IntNA division can alter array inplace
{ "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": "006b75", "default": false, "description": "Arithmetic, Comparison, ...
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
2019-08-08T21:35:33Z
2019-12-11T17:09:39Z
2019-12-11T17:09:38Z
MEMBER
null
`IntegerArray._maybe_mask_result` starts with: ``` if is_float_dtype(result): mask |= (result == np.inf) | (result == -np.inf) ``` but in many cases, `mask` will be `self._mask`, so it gets altered inplace. The intuitive solution is to add a check for `mask is self._mask` and make a copy, but that turns out to break 32 tests, so somewhere we're relying on this incorrect behavior. cc @jreback
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27829/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27830/events
https://github.com/pandas-dev/pandas/pull/27830
478,702,507
MDExOlB1bGxSZXF1ZXN0MzA1NzYxNDY5
27,830
CLN: match standardized dispatch logic in IntegerArray
{ "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-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
2019-08-08T21:47:05Z
2019-08-13T13:59:35Z
2019-08-13T12:13:17Z
MEMBER
null
Actual logic changes: - return NotImplemented when operating with DataFrame (instead of raising NotImplementError) - raise ValueError when operating with mismatched-length listlike Everything else is just rearranging to use patterns that are more standard around the codebase, leading up to #23853
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27830/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27830.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27830", "merged_at": "2019-08-13T12:13:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27830.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27830" }
https://api.github.com/repos/pandas-dev/pandas/issues/27831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27831/events
https://github.com/pandas-dev/pandas/issues/27831
478,771,437
MDU6SXNzdWU0Nzg3NzE0Mzc=
27,831
EA: DatetimelikeArray.view should always return EA
{ "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
null
0
2019-08-09T02:55:59Z
2019-12-28T16:59:27Z
2019-12-28T16:59:27Z
MEMBER
null
ATM DatetimeArray/TimedeltaArray/PeriodArray `view` returns ndarray. xref #27633.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27831/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27832/events
https://github.com/pandas-dev/pandas/pull/27832
478,777,665
MDExOlB1bGxSZXF1ZXN0MzA1ODIxMTQz
27,832
Add example for Series.str.slice()
{ "avatar_url": "https://avatars.githubusercontent.com/u/50472542?v=4", "events_url": "https://api.github.com/users/avelineg/events{/privacy}", "followers_url": "https://api.github.com/users/avelineg/followers", "following_url": "https://api.github.com/users/avelineg/following{/other_user}", "gists_url": "https://api.github.com/users/avelineg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avelineg", "id": 50472542, "login": "avelineg", "node_id": "MDQ6VXNlcjUwNDcyNTQy", "organizations_url": "https://api.github.com/users/avelineg/orgs", "received_events_url": "https://api.github.com/users/avelineg/received_events", "repos_url": "https://api.github.com/users/avelineg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avelineg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avelineg/subscriptions", "type": "User", "url": "https://api.github.com/users/avelineg" }
[ { "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
2019-08-09T03:26:12Z
2019-08-09T13:16:10Z
2019-08-09T12:55:23Z
CONTRIBUTOR
null
Add example to show that negative values for start are allowed for Series.str.slice(). - [ X] closes #27802 - [ ] 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/27832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27832/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27832.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27832", "merged_at": "2019-08-09T12:55:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27832.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27832" }
https://api.github.com/repos/pandas-dev/pandas/issues/27833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27833/events
https://github.com/pandas-dev/pandas/pull/27833
478,787,012
MDExOlB1bGxSZXF1ZXN0MzA1ODI4MTI0
27,833
Update sample() documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/19551663?v=4", "events_url": "https://api.github.com/users/lizsaret/events{/privacy}", "followers_url": "https://api.github.com/users/lizsaret/followers", "following_url": "https://api.github.com/users/lizsaret/following{/other_user}", "gists_url": "https://api.github.com/users/lizsaret/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lizsaret", "id": 19551663, "login": "lizsaret", "node_id": "MDQ6VXNlcjE5NTUxNjYz", "organizations_url": "https://api.github.com/users/lizsaret/orgs", "received_events_url": "https://api.github.com/users/lizsaret/received_events", "repos_url": "https://api.github.com/users/lizsaret/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lizsaret/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lizsaret/subscriptions", "type": "User", "url": "https://api.github.com/users/lizsaret" }
[ { "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
2019-08-09T04:13:16Z
2019-08-09T13:16:22Z
2019-08-09T12:33:49Z
CONTRIBUTOR
null
Clarify the definition of replace parameter - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27833/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27833.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27833", "merged_at": "2019-08-09T12:33:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27833.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27833" }
https://api.github.com/repos/pandas-dev/pandas/issues/27834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27834/events
https://github.com/pandas-dev/pandas/pull/27834
478,790,639
MDExOlB1bGxSZXF1ZXN0MzA1ODMxMDMw
27,834
DOC: Add examples to Series.str.slice() with negative arguments GH27802
{ "avatar_url": "https://avatars.githubusercontent.com/u/47510099?v=4", "events_url": "https://api.github.com/users/phillipwalters/events{/privacy}", "followers_url": "https://api.github.com/users/phillipwalters/followers", "following_url": "https://api.github.com/users/phillipwalters/following{/other_user}", "gists_url": "https://api.github.com/users/phillipwalters/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phillipwalters", "id": 47510099, "login": "phillipwalters", "node_id": "MDQ6VXNlcjQ3NTEwMDk5", "organizations_url": "https://api.github.com/users/phillipwalters/orgs", "received_events_url": "https://api.github.com/users/phillipwalters/received_events", "repos_url": "https://api.github.com/users/phillipwalters/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phillipwalters/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phillipwalters/subscriptions", "type": "User", "url": "https://api.github.com/users/phillipwalters" }
[ { "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" }
6
2019-08-09T04:29:56Z
2019-08-09T17:07:40Z
2019-08-09T17:07:40Z
NONE
null
- [x] closes #27802 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [N/A] 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/27834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27834/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27834.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27834", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27834.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27834" }
https://api.github.com/repos/pandas-dev/pandas/issues/27835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27835/events
https://github.com/pandas-dev/pandas/issues/27835
478,842,558
MDU6SXNzdWU0Nzg4NDI1NTg=
27,835
Performance regression after 0.24 on DataFrame.add/sub
{ "avatar_url": "https://avatars.githubusercontent.com/u/1465712?v=4", "events_url": "https://api.github.com/users/Naich/events{/privacy}", "followers_url": "https://api.github.com/users/Naich/followers", "following_url": "https://api.github.com/users/Naich/following{/other_user}", "gists_url": "https://api.github.com/users/Naich/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Naich", "id": 1465712, "login": "Naich", "node_id": "MDQ6VXNlcjE0NjU3MTI=", "organizations_url": "https://api.github.com/users/Naich/orgs", "received_events_url": "https://api.github.com/users/Naich/received_events", "repos_url": "https://api.github.com/users/Naich/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Naich/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Naich/subscriptions", "type": "User", "url": "https://api.github.com/users/Naich" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
1
2019-08-09T07:35:38Z
2019-08-09T13:54:13Z
2019-08-09T13:54:05Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd print(pd.__version__) df = pd.DataFrame(1, index=range(1000), columns=range(1000)) %timeit df.sub(1); %timeit df.sub(df.mean()); %timeit df - df.mean(); %timeit df.mean(); ``` ``` 0.25.0 420 ms ± 6.46 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) 390 ms ± 4.96 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) 401 ms ± 2.82 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) 1.48 ms ± 5.71 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) ``` ``` 0.22.0 1.07 ms ± 40.8 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) 11.4 ms ± 376 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) 11.5 ms ± 291 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) 1.64 ms ± 52.7 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) ```` #### Problem description DataFrame.add/sub is a lot slower after pandas upgrade. I also tested other versions, 0.23.4 is the last version that works normally. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 3.16.35-031635-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.0 numpy : 1.16.4 pytz : 2019.1 dateutil : 2.8.0 pip : 19.1.1 setuptools : 41.0.1 Cython : 0.29.12 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.3.4 html5lib : None pymysql : 0.9.3 psycopg2 : None jinja2 : 2.10.1 IPython : 7.1.1 pandas_datareader: None bs4 : 4.7.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.3.4 matplotlib : 3.1.0 numexpr : 2.6.9 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : 0.11.1 pytables : None s3fs : None scipy : 1.3.0 sqlalchemy : 1.3.5 tables : 3.5.2 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.1.8 </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/27835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27835/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27836/events
https://github.com/pandas-dev/pandas/pull/27836
478,843,275
MDExOlB1bGxSZXF1ZXN0MzA1ODczMTQz
27,836
Backport PR #27818 on branch 0.25.x (COMPAT: restore shape for 'invalid' Index with nd array)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-09T07:37:36Z
2019-08-09T08:20:19Z
2019-08-09T08:20:19Z
NONE
null
Backport PR #27818: COMPAT: restore shape for 'invalid' Index with nd array
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27836/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27836.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27836", "merged_at": "2019-08-09T08:20:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27836.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27836" }
https://api.github.com/repos/pandas-dev/pandas/issues/27837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27837/events
https://github.com/pandas-dev/pandas/issues/27837
478,849,657
MDU6SXNzdWU0Nzg4NDk2NTc=
27,837
API: what should a 2D indexing operation into a 1D Index do? (eg idx[:, None])
{ "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": "AD...
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
2019-08-09T07:53:50Z
2020-07-06T23:25:28Z
2020-07-06T23:25:28Z
MEMBER
null
Follow-up on https://github.com/pandas-dev/pandas/issues/27775 and https://github.com/pandas-dev/pandas/pull/27818. Short recap of what those issues were about: Currently, indexing into an Index with a 2D (or multiple D) indexer results in an "invalid" Index with an underlying ndarray: ``` In [1]: idx = pd.Index([1, 2, 3]) In [2]: idx2 = idx[:, None] In [3]: idx2 Out[3]: Int64Index([1, 2, 3], dtype='int64') In [4]: idx2.values Out[4]: array([[1], [2], [3]]) ``` So from the repr it *looks* like a proper index, but the underlying values of an Index should always be 1D (such an invalid index will also lead to errors once you do operations on them). Before pandas 0.25.0, the `shape` attribute of the index "correctly" returned the shape of the underlying values: `(3, 1)`, but in 0.25.0 this was changed to `(3,)` (only checking the length). This caused a regression matplotlib (https://github.com/pandas-dev/pandas/issues/27775), and will be "fixed" in 0.25.1 returning again the 2D shape of the underlying values (https://github.com/pandas-dev/pandas/pull/27818). Of course, this is only about the `shape` attribute, while the root cause is this invalid Index. I think it is clear that we should not allow such invalid Index object to exist. I currently know of two ways to end up such situation: * Passing a multidimensional array to the Index constructor (e.g. `pd.Index(np.random.randn(5, 5, 5))`. I think this is something we can deprecate and raise for later, and there is already an issue for this: https://github.com/pandas-dev/pandas/issues/27125 * Indexing into an Index (e.g. `idx[:, None] `) -> this issue So let's use **this issue** to discuss what to do for this second way: **a 2D indexing operation on a 1D object.** This is relevant for the Index, but we should probably try to have it consistent with Series as well.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27837/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27838/events
https://github.com/pandas-dev/pandas/pull/27838
478,876,195
MDExOlB1bGxSZXF1ZXN0MzA1ODk5NDk4
27,838
Parametrize 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", "d...
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" }
18
2019-08-09T08:56:09Z
2020-01-16T00:33:52Z
2019-09-17T21:49:45Z
MEMBER
null
lot more to be done here but split these up as some of the large functions are difficult to highlight failures while working on extension module. Improved coverage and identified some inconsistencies in process (marked with TODOs) which can be tackled as follow ups
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27838/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27838.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27838", "merged_at": "2019-09-17T21:49:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27838.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27838" }
https://api.github.com/repos/pandas-dev/pandas/issues/27839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27839/events
https://github.com/pandas-dev/pandas/issues/27839
478,877,754
MDU6SXNzdWU0Nzg4Nzc3NTQ=
27,839
BUG/ERR: pd.DataFrame.to_hdf saving yields error message
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256383?v=4", "events_url": "https://api.github.com/users/obarnstedt/events{/privacy}", "followers_url": "https://api.github.com/users/obarnstedt/followers", "following_url": "https://api.github.com/users/obarnstedt/following{/other_user}", "gists_url": "https://api.github.com/users/obarnstedt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/obarnstedt", "id": 24256383, "login": "obarnstedt", "node_id": "MDQ6VXNlcjI0MjU2Mzgz", "organizations_url": "https://api.github.com/users/obarnstedt/orgs", "received_events_url": "https://api.github.com/users/obarnstedt/received_events", "repos_url": "https://api.github.com/users/obarnstedt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/obarnstedt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/obarnstedt/subscriptions", "type": "User", "url": "https://api.github.com/users/obarnstedt" }
[]
closed
false
null
[]
null
2
2019-08-09T08:59:27Z
2019-08-09T13:32:53Z
2019-08-09T10:54:53Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python testingthisout.to_hdf('test.h5',key='testme') Traceback (most recent call last): File "<ipython-input-20-37a68cfcdb3c>", line 1, in <module> testingthisout.to_hdf('test.h5',key='testme') File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pandas\core\generic.py", line 2377, in to_hdf return pytables.to_hdf(path_or_buf, key, self, **kwargs) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pandas\io\pytables.py", line 273, in to_hdf complib=complib) as store: File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pandas\io\pytables.py", line 466, in __init__ import tables # noqa File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\tables\__init__.py", line 142, in <module> from .tests import print_versions, test File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\tables\tests\__init__.py", line 22, in <module> from tables.tests.common import print_versions File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\tables\tests\common.py", line 27, in <module> from pkg_resources import resource_filename File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 3241, in <module> @_call_aside File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 3225, in _call_aside f(*args, **kwargs) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 3254, in _initialize_master_working_set working_set = WorkingSet._build_master() File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 574, in _build_master ws = cls() File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 567, in __init__ self.add_entry(entry) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 623, in add_entry for dist in find_distributions(entry, True): File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 1960, in find_distributions importer = get_importer(path_item) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\pkgutil.py", line 419, in get_importer importer = path_hook(path_item) TypeError: expected str, bytes or os.PathLike object, not function ``` #### Problem description Hi, I've been trying to debug the above error message for hours now, and it seems I'm getting stuck here. Whatever kind of data frame I'm producing (real data or simply just a few numbers), every time I try to save this to HDF5 (no matter the path or naming), I am receiving the above error message, whereas saving as .csv presents no problem. This error message occurs in pandas 0.25.0+138.g78c6843dc, 0.25, 0.24.2, 0.24.0, 0.23.0, but the above is from 0.24.2. I have also tried several versions of PyTables, but to no avail. This is on Win10, conda 4.7.11, pytables 3.5.2, Python 3.7.3. Thanks in advance, everyone! Oliver #### Expected Output (a successfully saved .h5 file) #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] pd.show_versions() Traceback (most recent call last): File "<ipython-input-10-3d232a07e144>", line 1, in <module> pd.show_versions() File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pandas-0.25.0+138.g78c6843dc-py3.7-win-amd64.egg\pandas\util\_print_versions.py", line 99, in show_versions modname, raise_on_missing=False, on_version="ignore" File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pandas-0.25.0+138.g78c6843dc-py3.7-win-amd64.egg\pandas\compat\_optional.py", line 90, in import_optional_dependency module = importlib.import_module(name) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\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 "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\setuptools\__init__.py", line 18, in <module> import setuptools.version File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\setuptools\version.py", line 1, in <module> import pkg_resources File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 3241, in <module> @_call_aside File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 3225, in _call_aside f(*args, **kwargs) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 3254, in _initialize_master_working_set working_set = WorkingSet._build_master() File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 574, in _build_master ws = cls() File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 567, in __init__ self.add_entry(entry) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 623, in add_entry for dist in find_distributions(entry, True): File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\site-packages\pkg_resources\__init__.py", line 1960, in find_distributions importer = get_importer(path_item) File "C:\Users\user-adm.BN-W-3015622\Anaconda3\envs\mouserun\lib\pkgutil.py", line 419, in get_importer importer = path_hook(path_item) TypeError: expected str, bytes or os.PathLike object, not function </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/27839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27839/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27840/events
https://github.com/pandas-dev/pandas/pull/27840
478,909,615
MDExOlB1bGxSZXF1ZXN0MzA1OTI2NDQz
27,840
PERF: Break reference cycle for all Index types
{ "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": "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": "e99695", "default"...
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
3
2019-08-09T10:11:28Z
2019-08-14T21:52:31Z
2019-08-14T20:11:35Z
CONTRIBUTOR
null
- [x] xref #27585 & #27607 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Generalizes the test in #27607 to be used for all index types. This finds ref cycle issues for ``PeriodIndex`` and ``CategoricalIndex`` which are solved in this PR.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27840/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27840.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27840", "merged_at": "2019-08-14T20:11:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27840.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27840" }
https://api.github.com/repos/pandas-dev/pandas/issues/27841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27841/events
https://github.com/pandas-dev/pandas/issues/27841
478,921,539
MDU6SXNzdWU0Nzg5MjE1Mzk=
27,841
ValueError when casting 1d data to MultiIndex column with incomplete labels and all data is object (wrong _is_consolidated output?)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4", "events_url": "https://api.github.com/users/toobaz/events{/privacy}", "followers_url": "https://api.github.com/users/toobaz/followers", "following_url": "https://api.github.com/users/toobaz/following{/other_user}", "gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/toobaz", "id": 1224492, "login": "toobaz", "node_id": "MDQ6VXNlcjEyMjQ0OTI=", "organizations_url": "https://api.github.com/users/toobaz/orgs", "received_events_url": "https://api.github.com/users/toobaz/received_events", "repos_url": "https://api.github.com/users/toobaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toobaz/subscriptions", "type": "User", "url": "https://api.github.com/users/toobaz" }
[ { "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": "e1...
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
6
2019-08-09T10:40:51Z
2019-08-13T01:04:21Z
2019-08-13T01:04:21Z
MEMBER
null
#### Code Sample, a copy-pastable example if possible ```python In [2]: datum = '1' In [3]: df = pd.DataFrame(datum, index=list('abcd'), ...: columns=pd.MultiIndex.from_product([['Main'], ('another', 'one')])) In [4]: df['labels'] = 'a' In [5]: df.loc[:, 'labels'] = df.index --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-5-fdece12e4959> in <module> ----> 1 df.loc[:, 'labels'] = df.index ~/nobackup/repo/pandas/pandas/core/indexing.py in __setitem__(self, key, value) 201 key = com.apply_if_callable(key, self.obj) 202 indexer = self._get_setitem_indexer(key) --> 203 self._setitem_with_indexer(indexer, value) 204 205 def _validate_key(self, key, axis: int): ~/nobackup/repo/pandas/pandas/core/indexing.py in _setitem_with_indexer(self, indexer, value) 572 # actually do the set 573 self.obj._consolidate_inplace() --> 574 self.obj._data = self.obj._data.setitem(indexer=indexer, value=value) 575 self.obj._maybe_update_cacher(clear=True) 576 ~/nobackup/repo/pandas/pandas/core/internals/managers.py in setitem(self, **kwargs) 558 559 def setitem(self, **kwargs): --> 560 return self.apply("setitem", **kwargs) 561 562 def putmask(self, **kwargs): ~/nobackup/repo/pandas/pandas/core/internals/managers.py in apply(self, f, axes, filter, do_integrity_check, consolidate, **kwargs) 436 kwargs[k] = obj.reindex(b_items, axis=axis, copy=align_copy) 437 --> 438 applied = getattr(b, f)(**kwargs) 439 result_blocks = _extend_blocks(applied, result_blocks) 440 ~/nobackup/repo/pandas/pandas/core/internals/blocks.py in setitem(self, indexer, value) 890 # set 891 else: --> 892 values[indexer] = value 893 894 if transpose: ValueError: could not broadcast input array from shape (4) into shape (4,1) ``` #### Problem description Replace ``datum = '1'`` with ``datum = 1`` and everything works. The problem might be related to the fact that ```python In [5]: df._data.blocks Out[5]: (ObjectBlock: slice(0, 2, 1), 2 x 4, dtype: object, ObjectBlock: slice(2, 3, 1), 1 x 4, dtype: object) In [6]: df._data._is_consolidated Out[6]: True ``` This is a regression, since it used to work in code of mine, but unfortunately I'm not sure which version this was working with. Vaguely related to #27286 . #### Expected Output None, the assignment should just work as it does when data is numeric. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-5-amd64 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : it_IT.UTF-8 LOCALE : it_IT.UTF-8 pandas : 0.25.0+141.g0227e69bb numpy : 1.16.4 pytz : 2019.1 dateutil : 2.8.0 pip : 18.1 setuptools : 41.0.1 Cython : 0.29.2 pytest : 4.6.3 hypothesis : 3.71.11 sphinx : 1.8.4 blosc : None feather : None xlsxwriter : 1.1.2 lxml.etree : 4.3.2 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.5.0 pandas_datareader: v0.7.0+52.gb1b54d6.dirty bs4 : 4.7.1 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.3.2 matplotlib : 3.0.2 numexpr : 2.6.9 odfpy : None openpyxl : 2.4.9 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.1.0 sqlalchemy : 1.2.18 tables : 3.4.4 xarray : None xlrd : 1.1.0 xlwt : 1.3.0 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/27841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27841/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27842/events
https://github.com/pandas-dev/pandas/issues/27842
478,932,048
MDU6SXNzdWU0Nzg5MzIwNDg=
27,842
invoking pivot_table results in unwanted row
{ "avatar_url": "https://avatars.githubusercontent.com/u/53938329?v=4", "events_url": "https://api.github.com/users/yuylyp/events{/privacy}", "followers_url": "https://api.github.com/users/yuylyp/followers", "following_url": "https://api.github.com/users/yuylyp/following{/other_user}", "gists_url": "https://api.github.com/users/yuylyp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yuylyp", "id": 53938329, "login": "yuylyp", "node_id": "MDQ6VXNlcjUzOTM4MzI5", "organizations_url": "https://api.github.com/users/yuylyp/orgs", "received_events_url": "https://api.github.com/users/yuylyp/received_events", "repos_url": "https://api.github.com/users/yuylyp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yuylyp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yuylyp/subscriptions", "type": "User", "url": "https://api.github.com/users/yuylyp" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
9
2019-08-09T11:09:02Z
2019-08-13T11:56:17Z
2019-08-09T13:33:32Z
NONE
null
#### I have encounterd an issue with pd.pivot_table. this function adds unexpected row and I have no idea to remove it. below is the code: ```python import pandas as pd import numpy as np dates = { 'animal': ['cat', 'cat', 'wolf'], 'color': ['white', 'black', 'black'], 'age': np.random.randint(15, 30, 3)} df = pd.DataFrame(dates) dfp = pd.pivot_table( df, index='animal', columns='color', values='age', aggfunc=[len, np.mean], fill_value=0 ) excel_file = pd.ExcelWriter('result.xlsx', mode='w') dfp.to_excel( excel_writer=excel_file, sheet_name='before' ) ``` ### the result is:   | len |  | mean|  -- | -- |-- |-- |-- color | black | white | black | white animal |   |   |   |   cat | 1 | 1 | 20 | 28 wolf | 1 | 0 | 24 | 0 #### Problem description pivot_table adds unwanted row below the MultiIndex. this row starts with 'animal' which is the index name. I have read though related docs and tried possible parameters. Finallly I found there is no way to remove it. #### Expected Output   | len |   | mean |   -- | -- | -- | -- | -- color | black | white | black | white cat | 1 | 1 | 20 | 28 wolf | 1 | 0 | 24 | 0 #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.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.0 numpy : 1.17.0 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.1 setuptools : 41.0.1 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.1 IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : 2.6.9 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.0 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 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/27842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27842/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27843/events
https://github.com/pandas-dev/pandas/issues/27843
479,009,538
MDU6SXNzdWU0NzkwMDk1Mzg=
27,843
CI: GBQ tests failing on master
{ "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" }
[]
closed
false
null
[]
null
1
2019-08-09T14:14:40Z
2019-08-09T14:48:12Z
2019-08-09T14:48:12Z
CONTRIBUTOR
null
https://travis-ci.org/pandas-dev/pandas/jobs/569827581 ``` _________ TestToGBQIntegrationWithServiceAccountKeyPath.test_roundtrip _________ 2328[gw0] linux -- Python 3.6.6 /home/travis/miniconda3/envs/pandas-dev/bin/python 2329 2330self = <pandas.tests.io.test_gbq.TestToGBQIntegrationWithServiceAccountKeyPath object at 0x7fb10497cbe0> 2331 2332 def test_roundtrip(self): 2333 destination_table = DESTINATION_TABLE + "1" 2334 2335 test_size = 20001 2336 df = make_mixed_dataframe_v2(test_size) 2337 2338 df.to_gbq( 2339 destination_table, 2340 _get_project_id(), 2341 chunksize=None, 2342 credentials=_get_credentials(), 2343 ) 2344 2345 result = pd.read_gbq( 2346 "SELECT COUNT(*) AS num_rows FROM {0}".format(destination_table), 2347 project_id=_get_project_id(), 2348 credentials=_get_credentials(), 2349 dialect="standard", 2350 ) 2351> assert result["num_rows"][0] == test_size 2352E assert 0 == 20001 2353 2354pandas/tests/io/test_gbq.py:194: AssertionError 2355- generated xml file: /home/travis/build/pandas-dev/pandas/test-data-single.xml - 2356 ``` https://travis-ci.org/pandas-dev/pandas/jobs/569818532 ``` ==================================== ERRORS ==================================== 2907_ ERROR at teardown of TestToGBQIntegrationWithServiceAccountKeyPath.test_roundtrip _ 2908[gw0] linux -- Python 3.6.9 /home/travis/miniconda3/envs/pandas-dev/bin/python 2909 2910cls = <class 'pandas.tests.io.test_gbq.TestToGBQIntegrationWithServiceAccountKeyPath'> 2911 2912 @classmethod 2913 def teardown_class(cls): 2914 # - GLOBAL CLASS FIXTURES - 2915 # put here any instruction you want to execute only *ONCE* *AFTER* 2916 # executing all tests. 2917> cls.client.delete_dataset(cls.dataset, delete_contents=True) 2918 2919pandas/tests/io/test_gbq.py:173: 2920_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2921../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery/client.py:627: in delete_dataset 2922 retry, method="DELETE", path=dataset.path, query_params=params 2923../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery/client.py:400: in _call_api 2924 return call() 2925../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/api_core/retry.py:273: in retry_wrapped_func 2926 on_error=on_error, 2927../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/api_core/retry.py:182: in retry_target 2928 return target() 2929_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2930 2931self = <google.cloud.bigquery._http.Connection object at 0x7f0c41a5a160> 2932method = 'DELETE' 2933path = '/projects/pandas-travis/datasets/pydata_pandas_bq_testing_py31' 2934query_params = {'deleteContents': 'true'}, data = None, content_type = None 2935headers = None, api_base_url = None, api_version = None, expect_json = True 2936_target_object = None 2937 2938 def api_request( 2939 self, 2940 method, 2941 path, 2942 query_params=None, 2943 data=None, 2944 content_type=None, 2945 headers=None, 2946 api_base_url=None, 2947 api_version=None, 2948 expect_json=True, 2949 _target_object=None, 2950 ): 2951 """Make a request over the HTTP transport to the API. 2952 2953 You shouldn't need to use this method, but if you plan to 2954 interact with the API using these primitives, this is the 2955 correct one to use. 2956 2957 :type method: str 2958 :param method: The HTTP method name (ie, ``GET``, ``POST``, etc). 2959 Required. 2960 2961 :type path: str 2962 :param path: The path to the resource (ie, ``'/b/bucket-name'``). 2963 Required. 2964 2965 :type query_params: dict or list 2966 :param query_params: A dictionary of keys and values (or list of 2967 key-value pairs) to insert into the query 2968 string of the URL. 2969 2970 :type data: str 2971 :param data: The data to send as the body of the request. Default is 2972 the empty string. 2973 2974 :type content_type: str 2975 :param content_type: The proper MIME type of the data provided. Default 2976 is None. 2977 2978 :type headers: dict 2979 :param headers: extra HTTP headers to be sent with the request. 2980 2981 :type api_base_url: str 2982 :param api_base_url: The base URL for the API endpoint. 2983 Typically you won't have to provide this. 2984 Default is the standard API base URL. 2985 2986 :type api_version: str 2987 :param api_version: The version of the API to call. Typically 2988 you shouldn't provide this and instead use 2989 the default for the library. Default is the 2990 latest API version supported by 2991 google-cloud-python. 2992 2993 :type expect_json: bool 2994 :param expect_json: If True, this method will try to parse the 2995 response as JSON and raise an exception if 2996 that cannot be done. Default is True. 2997 2998 :type _target_object: :class:`object` 2999 :param _target_object: 3000 (Optional) Protected argument to be used by library callers. This 3001 can allow custom behavior, for example, to defer an HTTP request 3002 and complete initialization of the object at a later time. 3003 3004 :raises ~google.cloud.exceptions.GoogleCloudError: if the response code 3005 is not 200 OK. 3006 :raises ValueError: if the response content type is not JSON. 3007 :rtype: dict or str 3008 :returns: The API response payload, either as a raw string or 3009 a dictionary if the response is valid JSON. 3010 """ 3011 url = self.build_api_url( 3012 path=path, 3013 query_params=query_params, 3014 api_base_url=api_base_url, 3015 api_version=api_version, 3016 ) 3017 3018 # Making the executive decision that any dictionary 3019 # data will be sent properly as JSON. 3020 if data and isinstance(data, dict): 3021 data = json.dumps(data) 3022 content_type = "application/json" 3023 3024 response = self._make_request( 3025 method=method, 3026 url=url, 3027 data=data, 3028 content_type=content_type, 3029 headers=headers, 3030 target_object=_target_object, 3031 ) 3032 3033 if not 200 <= response.status_code < 300: 3034> raise exceptions.from_http_response(response) 3035E google.api_core.exceptions.NotFound: 404 DELETE https://www.googleapis.com/bigquery/v2/projects/pandas-travis/datasets/pydata_pandas_bq_testing_py31?deleteContents=true: Not found: Dataset pandas-travis:pydata_pandas_bq_testing_py31 3036 3037../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/_http.py:319: NotFound 3038=================================== FAILURES =================================== 3039_________ TestToGBQIntegrationWithServiceAccountKeyPath.test_roundtrip _________ 3040[gw0] linux -- Python 3.6.9 /home/travis/miniconda3/envs/pandas-dev/bin/python 3041 3042self = <pandas.tests.io.test_gbq.TestToGBQIntegrationWithServiceAccountKeyPath object at 0x7f0c41a5a400> 3043 3044 def test_roundtrip(self): 3045 destination_table = DESTINATION_TABLE + "1" 3046 3047 test_size = 20001 3048 df = make_mixed_dataframe_v2(test_size) 3049 3050 df.to_gbq( 3051 destination_table, 3052 _get_project_id(), 3053 chunksize=None, 3054> credentials=_get_credentials(), 3055 ) 3056 3057pandas/tests/io/test_gbq.py:185: 3058_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 3059pandas/core/frame.py:1493: in to_gbq 3060 private_key=private_key, 3061pandas/io/gbq.py:209: in to_gbq 3062 private_key=private_key, 3063../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pandas_gbq/gbq.py:1204: in to_gbq 3064 progress_bar=progress_bar, 3065../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pandas_gbq/gbq.py:581: in load_data 3066 self.process_http_error(ex) 3067_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 3068 3069ex = NotFound('Not found: Dataset pandas-travis:pydata_pandas_bq_testing_py31',) 3070 3071 @staticmethod 3072 def process_http_error(ex): 3073 # See `BigQuery Troubleshooting Errors 3074 # <https://cloud.google.com/bigquery/troubleshooting-errors>`__ 3075 3076> raise GenericGBQException("Reason: {0}".format(ex)) 3077E pandas_gbq.gbq.GenericGBQException: Reason: 404 Not found: Dataset pandas-travis:pydata_pandas_bq_testing_py31 3078 3079../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pandas_gbq/gbq.py:437: GenericGBQException 3080=============================== warnings summary =============================== ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27843/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27844/events
https://github.com/pandas-dev/pandas/pull/27844
479,123,443
MDExOlB1bGxSZXF1ZXN0MzA2MTAxNjI3
27,844
DOC: GroupBy.head()/tail() documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/222778?v=4", "events_url": "https://api.github.com/users/mtrbean/events{/privacy}", "followers_url": "https://api.github.com/users/mtrbean/followers", "following_url": "https://api.github.com/users/mtrbean/following{/other_user}", "gists_url": "https://api.github.com/users/mtrbean/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mtrbean", "id": 222778, "login": "mtrbean", "node_id": "MDQ6VXNlcjIyMjc3OA==", "organizations_url": "https://api.github.com/users/mtrbean/orgs", "received_events_url": "https://api.github.com/users/mtrbean/received_events", "repos_url": "https://api.github.com/users/mtrbean/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mtrbean/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mtrbean/subscriptions", "type": "User", "url": "https://api.github.com/users/mtrbean" }
[ { "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": "729FCF", "default": false, "description": null, "id": 233160...
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
2019-08-09T18:57:21Z
2019-08-23T08:06:04Z
2019-08-23T08:06:04Z
CONTRIBUTOR
null
- [x] closes #6721 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Update DOC to make it consistent with actual behavior
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27844/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27844.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27844", "merged_at": "2019-08-23T08:06:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27844.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27844" }
https://api.github.com/repos/pandas-dev/pandas/issues/27845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27845/events
https://github.com/pandas-dev/pandas/pull/27845
479,123,530
MDExOlB1bGxSZXF1ZXN0MzA2MTAxNzAx
27,845
CI: pytest, xdist versions
{ "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": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
2
2019-08-09T18:57:36Z
2019-08-21T21:09:15Z
2019-08-12T02:29:48Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27845/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27845.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27845", "merged_at": "2019-08-12T02:29:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27845.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27845" }
https://api.github.com/repos/pandas-dev/pandas/issues/27846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27846/events
https://github.com/pandas-dev/pandas/pull/27846
479,130,981
MDExOlB1bGxSZXF1ZXN0MzA2MTA3ODIy
27,846
BUG: boxplot does not work when data has datetime column
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "e11d21", "default": false, "description": "Fu...
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
2019-08-09T19:19:08Z
2019-08-13T12:44:11Z
2019-08-13T12:44:11Z
MEMBER
null
- [ ] closes #22799 - [ ] 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/27846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27846/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27846.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27846", "merged_at": "2019-08-13T12:44:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27846.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27846" }
https://api.github.com/repos/pandas-dev/pandas/issues/27847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27847/events
https://github.com/pandas-dev/pandas/pull/27847
479,170,941
MDExOlB1bGxSZXF1ZXN0MzA2MTQwMTM5
27,847
TST: parametrize arithmetic 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" } ]
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
2019-08-09T21:19:09Z
2019-08-15T14:20:52Z
2019-08-15T12:39:57Z
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/27847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27847/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27847.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27847", "merged_at": "2019-08-15T12:39:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27847.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27847" }
https://api.github.com/repos/pandas-dev/pandas/issues/27848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27848/events
https://github.com/pandas-dev/pandas/issues/27848
479,208,426
MDU6SXNzdWU0NzkyMDg0MjY=
27,848
Series.str.extract not return pandas.Index object
{ "avatar_url": "https://avatars.githubusercontent.com/u/27927454?v=4", "events_url": "https://api.github.com/users/xinbinhuang/events{/privacy}", "followers_url": "https://api.github.com/users/xinbinhuang/followers", "following_url": "https://api.github.com/users/xinbinhuang/following{/other_user}", "gists_url": "https://api.github.com/users/xinbinhuang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xinbinhuang", "id": 27927454, "login": "xinbinhuang", "node_id": "MDQ6VXNlcjI3OTI3NDU0", "organizations_url": "https://api.github.com/users/xinbinhuang/orgs", "received_events_url": "https://api.github.com/users/xinbinhuang/received_events", "repos_url": "https://api.github.com/users/xinbinhuang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xinbinhuang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xinbinhuang/subscriptions", "type": "User", "url": "https://api.github.com/users/xinbinhuang" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2019-08-10T00:27:36Z
2019-08-12T14:24:36Z
2019-08-12T14:24:31Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # extract certain part of the column names df = pd.DataFrame({'a1': 1, 'b2':2, 'c3': 3}, index=[0]) df.columns = df.columns.str.extract(r'([0-9])') df # Out[]: # (1,) (2,) (3,) # 0 1 2 3 # Series object is returned instead of index cols = pd.Index(list('abc')) cols.str.extract(r'(.*)') # Out[]: # 0 # 0 a # 1 b # 2 c pd.__version__ # Out[]: '0.25.0' ``` #### Problem description I am dealing with files extracted from our Hive warehouse, and most of the time the column names follow this format `<table_name>.<col-name>`. To have a better workflow on downstream analysis, I would like to only keep the `<col_name>` part. So I use something like below this to replace the column names. ```python df.colums = df.columns.str.extract(r'\.(.*)') ``` However, as the example shown above, the column names would be messed up again because `Series` is returned instead of `Index`. #### Expected Output When the Input data type for `str.extract` is `Index`, `Index` shoul be returned. #### Output of ``pd.show_versions()`` <details> pd.show_versions() INSTALLED VERSIONS ------------------ commit : None python : 3.7.0.final.0 python-bits : 64 OS : Darwin OS-release : 18.6.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_CA.UTF-8 LOCALE : en_CA.UTF-8 pandas : 0.25.0 numpy : 1.17.0 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.1 setuptools : 40.4.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : 0.9.2 psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : 6.5.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.0.0 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.1.0 sqlalchemy : 1.2.12 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/27848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27848/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27849/events
https://github.com/pandas-dev/pandas/pull/27849
479,212,998
MDExOlB1bGxSZXF1ZXN0MzA2MTc0NDA2
27,849
CLN: op-->opname in Categorical _cat_compare_op
{ "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-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
2019-08-10T01:13:28Z
2019-08-12T19:04:48Z
2019-08-12T18:53:36Z
MEMBER
null
In general we use `op` to refer to operator.foo, and `opname` to refer to the string, which is what is passed in this 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/27849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27849/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27849.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27849", "merged_at": "2019-08-12T18:53:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27849.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27849" }
https://api.github.com/repos/pandas-dev/pandas/issues/27850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27850/events
https://github.com/pandas-dev/pandas/issues/27850
479,218,196
MDU6SXNzdWU0NzkyMTgxOTY=
27,850
read_excel throws XLRD error when used in a for loop but not when used outside of one.
{ "avatar_url": "https://avatars.githubusercontent.com/u/15369538?v=4", "events_url": "https://api.github.com/users/brandonsimpson21/events{/privacy}", "followers_url": "https://api.github.com/users/brandonsimpson21/followers", "following_url": "https://api.github.com/users/brandonsimpson21/following{/other_user}", "gists_url": "https://api.github.com/users/brandonsimpson21/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brandonsimpson21", "id": 15369538, "login": "brandonsimpson21", "node_id": "MDQ6VXNlcjE1MzY5NTM4", "organizations_url": "https://api.github.com/users/brandonsimpson21/orgs", "received_events_url": "https://api.github.com/users/brandonsimpson21/received_events", "repos_url": "https://api.github.com/users/brandonsimpson21/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brandonsimpson21/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brandonsimpson21/subscriptions", "type": "User", "url": "https://api.github.com/users/brandonsimpson21" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2019-08-10T02:23:39Z
2019-08-12T18:46:45Z
2019-08-12T18:46:45Z
NONE
null
I have a folder full of excel files if I go for i in range(0,len(os.listdir())): x=pd.read_excel(os.listdir()[i]) I get an xlrd error that reads "Unsupported format, or corrupt file: Expected BOF record; found b'\x00\x00\x00\x01Bud1'" but if I go x=pd.read_excel(os.listdir()[0]) I don't get an error
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27850/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27851/events
https://github.com/pandas-dev/pandas/pull/27851
479,227,368
MDExOlB1bGxSZXF1ZXN0MzA2MTg0NzE2
27,851
DOC: Add CoC to the README
{ "avatar_url": "https://avatars.githubusercontent.com/u/28490392?v=4", "events_url": "https://api.github.com/users/sparalic/events{/privacy}", "followers_url": "https://api.github.com/users/sparalic/followers", "following_url": "https://api.github.com/users/sparalic/following{/other_user}", "gists_url": "https://api.github.com/users/sparalic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sparalic", "id": 28490392, "login": "sparalic", "node_id": "MDQ6VXNlcjI4NDkwMzky", "organizations_url": "https://api.github.com/users/sparalic/orgs", "received_events_url": "https://api.github.com/users/sparalic/received_events", "repos_url": "https://api.github.com/users/sparalic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sparalic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sparalic/subscriptions", "type": "User", "url": "https://api.github.com/users/sparalic" }
[ { "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
[]
null
6
2019-08-10T04:43:03Z
2019-08-13T14:12:48Z
2019-08-13T14:12:45Z
CONTRIBUTOR
null
@datapythonista : Add CoC to README file
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27851/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27851.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27851", "merged_at": "2019-08-13T14:12:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27851.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27851" }
https://api.github.com/repos/pandas-dev/pandas/issues/27852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27852/events
https://github.com/pandas-dev/pandas/pull/27852
479,229,202
MDExOlB1bGxSZXF1ZXN0MzA2MTg2MDM2
27,852
DOC:add append example in to_excel documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4", "events_url": "https://api.github.com/users/sameshl/events{/privacy}", "followers_url": "https://api.github.com/users/sameshl/followers", "following_url": "https://api.github.com/users/sameshl/following{/other_user}", "gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sameshl", "id": 43701530, "login": "sameshl", "node_id": "MDQ6VXNlcjQzNzAxNTMw", "organizations_url": "https://api.github.com/users/sameshl/orgs", "received_events_url": "https://api.github.com/users/sameshl/received_events", "repos_url": "https://api.github.com/users/sameshl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sameshl/subscriptions", "type": "User", "url": "https://api.github.com/users/sameshl" }
[ { "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
[]
null
4
2019-08-10T05:13:15Z
2019-08-13T11:36:30Z
2019-08-13T09:41:59Z
CONTRIBUTOR
null
closes #27051
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27852/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27852.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27852", "merged_at": "2019-08-13T09:41:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27852.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27852" }
https://api.github.com/repos/pandas-dev/pandas/issues/27853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27853/events
https://github.com/pandas-dev/pandas/issues/27853
479,232,609
MDU6SXNzdWU0NzkyMzI2MDk=
27,853
Error dividing Dataframe by Series but only when size is large enough
{ "avatar_url": "https://avatars.githubusercontent.com/u/551879?v=4", "events_url": "https://api.github.com/users/deto/events{/privacy}", "followers_url": "https://api.github.com/users/deto/followers", "following_url": "https://api.github.com/users/deto/following{/other_user}", "gists_url": "https://api.github.com/users/deto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deto", "id": 551879, "login": "deto", "node_id": "MDQ6VXNlcjU1MTg3OQ==", "organizations_url": "https://api.github.com/users/deto/orgs", "received_events_url": "https://api.github.com/users/deto/received_events", "repos_url": "https://api.github.com/users/deto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deto/subscriptions", "type": "User", "url": "https://api.github.com/users/deto" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2019-08-10T06:07:12Z
2019-08-19T17:17:27Z
2019-08-19T17:17:20Z
NONE
null
#### Code Sample ```python # This works fine a = pd.DataFrame(np.random.randn(9999, 10)) b = a.divide(a.sum(axis=0), axis=1) # This doesn't a = pd.DataFrame(np.random.randn(10001, 10)) b = a.divide(a.sum(axis=0), axis=1) # │AttributeError: 'numpy.dtype' object has no attribute 'value_counts' ``` #### Problem description Should be able to divide the dataframe by the series and align on the axis. This works for smaller dataframes but breaks suddenly for larger ones. Doesn't happen for me on 0.24.0 but occurs on 0.25.0 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 4.13.0-45-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.0 numpy : 1.16.4 pytz : 2019.1 dateutil : 2.8.0 pip : 19.1.1 setuptools : 41.0.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : 0.4.0 xlsxwriter : 1.1.2 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.6.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.0 numexpr : 2.6.9 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.12.1 pytables : None s3fs : None scipy : 1.2.1 sqlalchemy : None tables : 3.5.2 xarray : None 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/27853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27853/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27854/events
https://github.com/pandas-dev/pandas/issues/27854
479,243,454
MDU6SXNzdWU0NzkyNDM0NTQ=
27,854
Pandas 0.25.0 - “ ImportError: cannot import name 'StringIO' ” - [removed pandas.compat.]
{ "avatar_url": "https://avatars.githubusercontent.com/u/45848763?v=4", "events_url": "https://api.github.com/users/DarkLord1111/events{/privacy}", "followers_url": "https://api.github.com/users/DarkLord1111/followers", "following_url": "https://api.github.com/users/DarkLord1111/following{/other_user}", "gists_url": "https://api.github.com/users/DarkLord1111/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DarkLord1111", "id": 45848763, "login": "DarkLord1111", "node_id": "MDQ6VXNlcjQ1ODQ4NzYz", "organizations_url": "https://api.github.com/users/DarkLord1111/orgs", "received_events_url": "https://api.github.com/users/DarkLord1111/received_events", "repos_url": "https://api.github.com/users/DarkLord1111/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DarkLord1111/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DarkLord1111/subscriptions", "type": "User", "url": "https://api.github.com/users/DarkLord1111" }
[]
closed
false
null
[]
null
1
2019-08-10T08:25:11Z
2019-08-10T11:09:03Z
2019-08-10T11:09:03Z
NONE
null
```python # import pandas_datareader ``` #### Problem description Import error, probably because in version .25 pandas.compat. has been removed #### Output C:\PycharmProjects\Demo\venv\Scripts\python.exe C:/PycharmProjects/Demo/stock.py Traceback (most recent call last): File "C:/PycharmProjects/Demo/stock.py", line 3, in <module> import pandas_datareader as wb File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\__init__.py", line 2, in <module> from .data import (DataReader, Options, get_components_yahoo, File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\data.py", line 7, in <module> from pandas_datareader.av.forex import AVForexReader File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\av\__init__.py", line 3, in <module> from pandas_datareader.base import _BaseReader File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\base.py", line 11, in <module> from pandas.compat import StringIO, bytes_to_str ImportError: cannot import name 'StringIO' <details> </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/27854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27854/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27855/events
https://github.com/pandas-dev/pandas/pull/27855
479,300,077
MDExOlB1bGxSZXF1ZXN0MzA2MjM0NTEz
27,855
BUG: add back check for MultiIndex case and take_split_path
{ "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": "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": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
5
2019-08-10T19:42:15Z
2019-08-14T07:08:40Z
2019-08-13T01:04:21Z
MEMBER
null
Closes #27841
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27855/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27855.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27855", "merged_at": "2019-08-13T01:04:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27855.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27855" }
https://api.github.com/repos/pandas-dev/pandas/issues/27856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27856/events
https://github.com/pandas-dev/pandas/issues/27856
479,357,589
MDU6SXNzdWU0NzkzNTc1ODk=
27,856
CI fails?
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[]
closed
false
null
[]
null
0
2019-08-11T10:59:35Z
2019-08-11T11:22:48Z
2019-08-11T11:22:48Z
MEMBER
null
Looks like Azure pipeline has failed for a while. Is it caused by version incompatibility?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27856/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27857/events
https://github.com/pandas-dev/pandas/issues/27857
479,377,495
MDU6SXNzdWU0NzkzNzc0OTU=
27,857
Pandas groupby transform count gives empty dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/13811914?v=4", "events_url": "https://api.github.com/users/bhishanpdl/events{/privacy}", "followers_url": "https://api.github.com/users/bhishanpdl/followers", "following_url": "https://api.github.com/users/bhishanpdl/following{/other_user}", "gists_url": "https://api.github.com/users/bhishanpdl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bhishanpdl", "id": 13811914, "login": "bhishanpdl", "node_id": "MDQ6VXNlcjEzODExOTE0", "organizations_url": "https://api.github.com/users/bhishanpdl/orgs", "received_events_url": "https://api.github.com/users/bhishanpdl/received_events", "repos_url": "https://api.github.com/users/bhishanpdl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bhishanpdl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bhishanpdl/subscriptions", "type": "User", "url": "https://api.github.com/users/bhishanpdl" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2019-08-11T14:48:48Z
2019-08-12T18:42:23Z
2019-08-12T18:42:20Z
NONE
null
I was surprised by the behaviour of `groupby transform count`. Versions: ``` np.__version__, pd.__version__ ('1.16.4', '0.24.2') ``` Code: ```python import numpy as np import pandas as pd df = pd.DataFrame({'A': list(range(10))}) b = df.groupby('A').transform('count') # I was expecting all ones. print(b) # empty dataframe ``` Results: ``` Empty DataFrame Columns: [] Index: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] ``` Question: Is this the desired behaviour, I was expecting all values to be 1 ? Also Another Question ==================== Code: ``` df = pd.DataFrame({'A': ['a']*5+['b']*4+list('ccde'), 'B': [1]*5 +[2]*4 +[3,3,4,5]}) df['xx'] = df.groupby('A').transform('count') # df['yy'] = df.groupby('A').transform('count') # when I uncomment this it will fail df ``` when I uncomment the line with `df['yy']` it will throw an error. Is that the desired behavior? ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2656 try: -> 2657 return self._engine.get_loc(key) 2658 except KeyError: pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() KeyError: 'yy' During handling of the above exception, another exception occurred: KeyError Traceback (most recent call last) 9 frames pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() KeyError: 'yy' During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/pandas/core/internals/blocks.py in __init__(self, values, placement, ndim) 85 raise ValueError( 86 'Wrong number of items passed {val}, placement implies ' ---> 87 '{mgr}'.format(val=len(self.values), mgr=len(self.mgr_locs))) 88 89 def _check_ndim(self, values, ndim): ValueError: Wrong number of items passed 2, placement implies 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/27857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27857/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27858/events
https://github.com/pandas-dev/pandas/pull/27858
479,378,784
MDExOlB1bGxSZXF1ZXN0MzA2Mjg2NjMw
27,858
BUG: DataFrameGroupBy.transform and ngroup do not work with cumcount
{ "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": "729FCF", "default": false, "description": null, "id": 233160, ...
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" }
17
2019-08-11T15:01:39Z
2019-10-29T00:04:49Z
2019-10-29T00:04:49Z
MEMBER
null
- [ ] closes #27472 - [ ] 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/27858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27858/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27858.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27858", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27858.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27858" }
https://api.github.com/repos/pandas-dev/pandas/issues/27859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27859/events
https://github.com/pandas-dev/pandas/issues/27859
479,422,998
MDU6SXNzdWU0Nzk0MjI5OTg=
27,859
DOC: Documentation says Series.items(), Series.iteritems() are equivalent to DataFrame.items(), but they're not.
{ "avatar_url": "https://avatars.githubusercontent.com/u/6099299?v=4", "events_url": "https://api.github.com/users/benthayer/events{/privacy}", "followers_url": "https://api.github.com/users/benthayer/followers", "following_url": "https://api.github.com/users/benthayer/following{/other_user}", "gists_url": "https://api.github.com/users/benthayer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benthayer", "id": 6099299, "login": "benthayer", "node_id": "MDQ6VXNlcjYwOTkyOTk=", "organizations_url": "https://api.github.com/users/benthayer/orgs", "received_events_url": "https://api.github.com/users/benthayer/received_events", "repos_url": "https://api.github.com/users/benthayer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benthayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benthayer/subscriptions", "type": "User", "url": "https://api.github.com/users/benthayer" }
[ { "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
[]
null
2
2019-08-11T22:48:04Z
2019-08-12T14:07:04Z
2019-08-12T14:07:04Z
CONTRIBUTOR
null
Documentation says `Series.items()`, `Series.iteritems()` are equivalent to `DataFrame.items()` for DataFrames, but they're not. Instead, they are equivalent to `DataFrame.iterrows()` https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.items.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.iteritems.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.items.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iterrows.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/27859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27860/events
https://github.com/pandas-dev/pandas/issues/27860
479,423,548
MDU6SXNzdWU0Nzk0MjM1NDg=
27,860
DOC: Use of "Yields" vs "Returns" for documentation of DataFrame.items() and DataFrame.iteritems()
{ "avatar_url": "https://avatars.githubusercontent.com/u/6099299?v=4", "events_url": "https://api.github.com/users/benthayer/events{/privacy}", "followers_url": "https://api.github.com/users/benthayer/followers", "following_url": "https://api.github.com/users/benthayer/following{/other_user}", "gists_url": "https://api.github.com/users/benthayer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benthayer", "id": 6099299, "login": "benthayer", "node_id": "MDQ6VXNlcjYwOTkyOTk=", "organizations_url": "https://api.github.com/users/benthayer/orgs", "received_events_url": "https://api.github.com/users/benthayer/received_events", "repos_url": "https://api.github.com/users/benthayer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benthayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benthayer/subscriptions", "type": "User", "url": "https://api.github.com/users/benthayer" }
[ { "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
[]
null
5
2019-08-11T22:51:46Z
2019-08-14T18:54:49Z
2019-08-14T18:54:49Z
CONTRIBUTOR
null
`DataFrame.items()` says it "Yields" the label and content of the columns whereas `DataFrame.iteritems()` says it "Returns" the label and content of the columns https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.items.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iteritems.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/27860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27860/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27861/events
https://github.com/pandas-dev/pandas/issues/27861
479,424,828
MDU6SXNzdWU0Nzk0MjQ4Mjg=
27,861
DOC: Standardize use of "Iterate" and "Iterator" in the documentation for DataFrame and Series iterators
{ "avatar_url": "https://avatars.githubusercontent.com/u/6099299?v=4", "events_url": "https://api.github.com/users/benthayer/events{/privacy}", "followers_url": "https://api.github.com/users/benthayer/followers", "following_url": "https://api.github.com/users/benthayer/following{/other_user}", "gists_url": "https://api.github.com/users/benthayer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benthayer", "id": 6099299, "login": "benthayer", "node_id": "MDQ6VXNlcjYwOTkyOTk=", "organizations_url": "https://api.github.com/users/benthayer/orgs", "received_events_url": "https://api.github.com/users/benthayer/received_events", "repos_url": "https://api.github.com/users/benthayer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benthayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benthayer/subscriptions", "type": "User", "url": "https://api.github.com/users/benthayer" }
[ { "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": 7171206...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2019-08-11T23:05:36Z
2019-08-13T11:57:29Z
2019-08-13T11:57:29Z
CONTRIBUTOR
null
Documentation for `DataFrame.items()` and `DataFrame.iteritems()` say "Iterator over..." while other iterators for `DataFrame` and `Series` say "Iterate over..." All of these methods return an iterator, so I think it would make sense to have them all say "Iterator over...", although the documentation for 4/6 of the iteration methods already use "Iterate over...". I'm not sure if there are other methods that also create iterators that we can use to justify one over the other. https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.items.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iteritems.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iterrows.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.itertuples.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.items.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.iteritems.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/27861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27861/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27862/events
https://github.com/pandas-dev/pandas/issues/27862
479,425,525
MDU6SXNzdWU0Nzk0MjU1MjU=
27,862
DOC: See also for DataFrame.iterrows() should say Dataframe.x() instead of just .x()
{ "avatar_url": "https://avatars.githubusercontent.com/u/6099299?v=4", "events_url": "https://api.github.com/users/benthayer/events{/privacy}", "followers_url": "https://api.github.com/users/benthayer/followers", "following_url": "https://api.github.com/users/benthayer/following{/other_user}", "gists_url": "https://api.github.com/users/benthayer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benthayer", "id": 6099299, "login": "benthayer", "node_id": "MDQ6VXNlcjYwOTkyOTk=", "organizations_url": "https://api.github.com/users/benthayer/orgs", "received_events_url": "https://api.github.com/users/benthayer/received_events", "repos_url": "https://api.github.com/users/benthayer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benthayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benthayer/subscriptions", "type": "User", "url": "https://api.github.com/users/benthayer" }
[ { "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": 7171206...
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
2019-08-11T23:14:43Z
2019-08-13T07:57:33Z
2019-08-13T07:57:20Z
CONTRIBUTOR
null
See also for DataFrame.iterrows() currently has a "See also" section that lists ``` itertuples items ``` while DataFrame.itertuples() shows ``` DataFrame.iterrows DataFrame.items ``` We should change DataFrame.iterrows() to be like DataFrame.itertuples() https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iterrows.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.itertuples.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/27862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27862/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27863/events
https://github.com/pandas-dev/pandas/issues/27863
479,464,989
MDU6SXNzdWU0Nzk0NjQ5ODk=
27,863
DataFrame Groupby Named Aggregation Using Lambda Results in a KeyError, Dict-of-Dicts Approach Works Fine
{ "avatar_url": "https://avatars.githubusercontent.com/u/54013474?v=4", "events_url": "https://api.github.com/users/tbarket/events{/privacy}", "followers_url": "https://api.github.com/users/tbarket/followers", "following_url": "https://api.github.com/users/tbarket/following{/other_user}", "gists_url": "https://api.github.com/users/tbarket/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tbarket", "id": 54013474, "login": "tbarket", "node_id": "MDQ6VXNlcjU0MDEzNDc0", "organizations_url": "https://api.github.com/users/tbarket/orgs", "received_events_url": "https://api.github.com/users/tbarket/received_events", "repos_url": "https://api.github.com/users/tbarket/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tbarket/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tbarket/subscriptions", "type": "User", "url": "https://api.github.com/users/tbarket" }
[]
closed
false
null
[]
null
4
2019-08-12T04:40:32Z
2019-08-12T13:09:28Z
2019-08-12T13:08:49Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import numpy as np import pandas as pd data = [['tom', 10, 'blue', 1000, 'a'], ['nick', 15, 'blue', 2000, 'b'], ['julie', 14, 'green', 3000, 'a'], ['bob', 11, 'green', 4000, 'a'], ['cindy', 16, 'red', 5000, 'b']] df = pd.DataFrame(data, columns = ['Name', 'Age', 'Color', 'Num', 'Letter']) # Dict-style renaming works fine: df.groupby(by='Color').agg({'Num': {'SumNum' : np.sum, 'SumNumIfLetterA': lambda x: x[df.iloc[x.index].Letter=='a'].sum()}}) Out[2]: Num SumNum SumNumIfLetterA Color blue 3000 1000 green 7000 7000 red 5000 0 # Named Aggregation using function also works fine: def simplefunc(x): return x[df.iloc[x.index].Letter=='a'].sum() df.groupby(by='Color').agg(SumNum = ('Num', np.sum), SumNumIfLetterA = ('Num', simplefunc)) Out[3]: SumNum SumNumIfLetterA Color blue 3000 1000 green 7000 7000 red 5000 0 # Named Aggregation using identical lambda throws a KeyError: df.groupby(by='Color').agg(SumNum = ('Num', np.sum), SumNumIfLetterA = ('Num', lambda x: x[df.iloc[x.index].Letter=='a'].sum())) ``` #### Problem description A lambda function that previously worked fine (using a Dict-of-Dict) no longer works with Named Aggregation. Using a function with Named Aggregation works fine but replacing the function with an identical lambda does not work with Named Aggregation. Is this expected behavior or it is a bug? #### Expected Output ~~~ SumNum SumNumIfLetterA Color blue 3000 1000 green 7000 7000 red 5000 0 ~~~ #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.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.0 numpy : 1.16.4 pytz : 2019.1 dateutil : 2.8.0 pip : 19.1.1 setuptools : 41.0.1 Cython : 0.29.12 pytest : 5.0.1 hypothesis : None sphinx : 2.1.2 blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.3.4 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.7.0 pandas_datareader: None bs4 : 4.7.1 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.3.4 matplotlib : 3.1.0 numexpr : 2.6.9 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.0 sqlalchemy : 1.3.5 tables : 3.5.2 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.1.8 </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/27863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27863/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27864/events
https://github.com/pandas-dev/pandas/issues/27864
479,478,503
MDU6SXNzdWU0Nzk0Nzg1MDM=
27,864
IntervalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/38411803?v=4", "events_url": "https://api.github.com/users/Janhonho/events{/privacy}", "followers_url": "https://api.github.com/users/Janhonho/followers", "following_url": "https://api.github.com/users/Janhonho/following{/other_user}", "gists_url": "https://api.github.com/users/Janhonho/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Janhonho", "id": 38411803, "login": "Janhonho", "node_id": "MDQ6VXNlcjM4NDExODAz", "organizations_url": "https://api.github.com/users/Janhonho/orgs", "received_events_url": "https://api.github.com/users/Janhonho/received_events", "repos_url": "https://api.github.com/users/Janhonho/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Janhonho/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Janhonho/subscriptions", "type": "User", "url": "https://api.github.com/users/Janhonho" }
[]
closed
false
null
[]
null
0
2019-08-12T05:56:06Z
2019-08-12T05:56:14Z
2019-08-12T05:56:14Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution.] **Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates! **Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary. For documentation-related issues, you can check the latest versions of the docs on `master` here: https://pandas-docs.github.io/pandas-docs-travis/ If the issue has not been resolved there, go ahead and file it in the issue tracker. #### Expected Output #### 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/27864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27864/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27865/events
https://github.com/pandas-dev/pandas/issues/27865
479,497,944
MDU6SXNzdWU0Nzk0OTc5NDQ=
27,865
Cannot use .ix in IntervaIndex('pandas._libs.interval.IntervalTree' object has no attribute 'get_value')
{ "avatar_url": "https://avatars.githubusercontent.com/u/38411803?v=4", "events_url": "https://api.github.com/users/Janhonho/events{/privacy}", "followers_url": "https://api.github.com/users/Janhonho/followers", "following_url": "https://api.github.com/users/Janhonho/following{/other_user}", "gists_url": "https://api.github.com/users/Janhonho/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Janhonho", "id": 38411803, "login": "Janhonho", "node_id": "MDQ6VXNlcjM4NDExODAz", "organizations_url": "https://api.github.com/users/Janhonho/orgs", "received_events_url": "https://api.github.com/users/Janhonho/received_events", "repos_url": "https://api.github.com/users/Janhonho/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Janhonho/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Janhonho/subscriptions", "type": "User", "url": "https://api.github.com/users/Janhonho" }
[ { "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": "e1...
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
3
2019-08-12T07:14:02Z
2019-08-19T19:26:21Z
2019-08-19T19:26:21Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python x = pd.Series([-2.801298, -2.882724, -3.007899, -2.704554, -3.398761, -2.805034, -2.87554, -2.805034, -2.886459, -2.471618]) y= pd.Series([0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) init_cut = pd.qcut(x, 5, duplicates='drop') retbin = pd.Series(init_cut.values.categories).sort_values() retbin.iloc[0] = pd.Interval(-np.inf, retbin.iloc[0].right) retbin.iloc[-1] = pd.Interval(retbin.iloc[-1].left, np.inf) init_cut = pd.cut(x, pd.IntervalIndex(retbin)) init_cut = init_cut.astype(object) bin_df = pd.crosstab(index=init_cut, columns=y) bin_df = bin_df.reindex(retbin) bin_df = bin_df.sort_index() bin_df = bin_df.fillna(0.0) bin_df['nbin'] = np.nan ``` #### Problem description bin_df = col_0 0 nbin (-inf, -2.911] 2 NaN (-2.911, -2.878] 2 NaN (-2.878, -2.805] 3 NaN (-2.805, -2.782] 1 NaN (-2.782, inf] 2 NaN if I use bin_df.ix[0:2,0], I got an error like: ```pytb Traceback (most recent call last): File "D:\anaconda\lib\site-packages\IPython\core\interactiveshell.py", line 2961, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-12-1ae8ba69565c>", line 1, in <module> bin_df.ix[0:1,'nbin'] File "D:\PyTest\venv\lib\site-packages\pandas\core\indexing.py", line 125, in __getitem__ values = self.obj._get_value(*key) File "D:\PyTest\venv\lib\site-packages\pandas\core\frame.py", line 2827, in _get_value return engine.get_value(series._values, index) AttributeError: 'pandas._libs.interval.IntervalTree' object has no attribute 'get_value' ``` the version is 0.25.0 but it works well in 0.24.x #### Expected Output #### 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/27865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27865/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27866/events
https://github.com/pandas-dev/pandas/pull/27866
479,618,694
MDExOlB1bGxSZXF1ZXN0MzA2NDczODg5
27,866
Added missing space to error description
{ "avatar_url": "https://avatars.githubusercontent.com/u/2225828?v=4", "events_url": "https://api.github.com/users/jimmycallin/events{/privacy}", "followers_url": "https://api.github.com/users/jimmycallin/followers", "following_url": "https://api.github.com/users/jimmycallin/following{/other_user}", "gists_url": "https://api.github.com/users/jimmycallin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jimmycallin", "id": 2225828, "login": "jimmycallin", "node_id": "MDQ6VXNlcjIyMjU4Mjg=", "organizations_url": "https://api.github.com/users/jimmycallin/orgs", "received_events_url": "https://api.github.com/users/jimmycallin/received_events", "repos_url": "https://api.github.com/users/jimmycallin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jimmycallin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jimmycallin/subscriptions", "type": "User", "url": "https://api.github.com/users/jimmycallin" }
[]
closed
false
null
[]
null
3
2019-08-12T12:28:32Z
2019-08-13T01:08:46Z
2019-08-13T01:08:38Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27866/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27866.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27866", "merged_at": "2019-08-13T01:08:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27866.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27866" }
https://api.github.com/repos/pandas-dev/pandas/issues/27867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27867/events
https://github.com/pandas-dev/pandas/issues/27867
479,652,579
MDU6SXNzdWU0Nzk2NTI1Nzk=
27,867
CI: Unpin 3.7.3 pins
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
6
2019-08-12T13:41:42Z
2019-08-15T18:18:43Z
2019-08-15T18:18:43Z
CONTRIBUTOR
null
Seen in at least two builds: https://travis-ci.org/pandas-dev/pandas/jobs/570645656 ``` $ ci/run_tests.sh 2333pytest -m "single and (not slow and not network)" -n 1 -s --strict --durations=10 --junitxml=test-data-single.xml pandas 2334ImportError while loading conftest '/home/travis/build/pandas-dev/pandas/pandas/conftest.py'. 2335pandas/__init__.py:38: in <module> 2336 "the C extensions first.".format(module) 2337E ImportError: C extension: No module named 'pandas._libs.tslibs.conversion' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first. 2338The command "ci/run_tests.sh" exited with 4. 2339 ``` Fixing in https://github.com/pandas-dev/pandas/pull/27868 Leaving this open to revert.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27867/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27868/events
https://github.com/pandas-dev/pandas/pull/27868
479,660,345
MDExOlB1bGxSZXF1ZXN0MzA2NTA3NzM3
27,868
CI: Pin Python to 3.7.3
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
6
2019-08-12T13:56:29Z
2019-08-21T14:40:00Z
2019-08-12T16:37:50Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27868/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27868.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27868", "merged_at": "2019-08-12T16:37:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27868.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27868" }
https://api.github.com/repos/pandas-dev/pandas/issues/27869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27869/events
https://github.com/pandas-dev/pandas/pull/27869
479,716,070
MDExOlB1bGxSZXF1ZXN0MzA2NTUyMjM0
27,869
DOC: Clarify that unique() promotes dtype to 64-bit
{ "avatar_url": "https://avatars.githubusercontent.com/u/1655821?v=4", "events_url": "https://api.github.com/users/stuarteberg/events{/privacy}", "followers_url": "https://api.github.com/users/stuarteberg/followers", "following_url": "https://api.github.com/users/stuarteberg/following{/other_user}", "gists_url": "https://api.github.com/users/stuarteberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stuarteberg", "id": 1655821, "login": "stuarteberg", "node_id": "MDQ6VXNlcjE2NTU4MjE=", "organizations_url": "https://api.github.com/users/stuarteberg/orgs", "received_events_url": "https://api.github.com/users/stuarteberg/received_events", "repos_url": "https://api.github.com/users/stuarteberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stuarteberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stuarteberg/subscriptions", "type": "User", "url": "https://api.github.com/users/stuarteberg" }
[ { "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", "de...
closed
false
null
[]
null
4
2019-08-12T15:39:59Z
2019-10-07T00:15:11Z
2019-08-15T13:42:18Z
CONTRIBUTOR
null
I found this behavior surprising: ```python In [1]: pd.Series([1,2,3], dtype=np.uint8).unique() Out[1]: array([1, 2, 3], dtype=uint64) ``` ... because I did not expect a different dtype in the result. This PR adds a sentence to the docs to clarify this. - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - (n/a) closes #xxxx - (n/a) tests added / passed - (n/a) 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/27869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27869/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27869.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27869", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27869.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27869" }
https://api.github.com/repos/pandas-dev/pandas/issues/27870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27870/events
https://github.com/pandas-dev/pandas/issues/27870
479,718,114
MDU6SXNzdWU0Nzk3MTgxMTQ=
27,870
New pandas website
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": "Requires discussion f...
open
false
null
[]
null
5
2019-08-12T15:44:05Z
2021-07-10T19:32:06Z
null
MEMBER
null
xref: #15556 I've been thinking in more detail about the website, and I think it'll make things much simpler if we keep the pandas website and the documentation separate. My previous proposal was to unify everything, and use nginx rules to show the latest version (`master`) for pages that we want to show the latest version. I still think that from the user perspective, there should be one single website, with one look and feel, a common header / navigation bar (no matter you're in the website or in the docs). It's easy to make it transparent that we're using different repos/hosts (with different domains or via nginx). To keep things simple, I'd move from the docs (currently in this repo) to the website repo, everything in the website that doesn't make sense to show outdated (latest stable) versions, including: - Install - Roadmap - Ecosystem - Contributing documentation I think this will make things much much simpler regarding Sphinx, will speed up a bit the documentation build, will avoid having to link users to the dev docs (like for contributing), and will simplify things in our workflow and the website set up. The only drawback I see is that we may have to repeat the main template, the css and the logo in both repositories. Those should change very rarely, and we can consider some CI check or automation (download them from one repo to another to build the docs). For the documentation, I think with this approach will make more sense to create a custom (very simple) theme. This will make things easier and with the bootstrap theme I had some limitations that the maintainers don't seem so keen to address (dropdowns in the top navigation bar, customization in the levels of the sidebar...). Another advantage is that I think we should be able to move much faster with this architecture when building the new website with the new design, compared to what would be with the Sphinx. My proposed top-level structure is as follows: - Home - Install - Documentation - Tutorials - User guide - API reference - What's new / Release notes - Community - Contributing - Roadmap - Ecosystem - Discuss / Mailing list - StackOverflow - Blog - Donate I think the home page should be a visual and concise about us, so users new to pandas can very easily understand what the project is about. For the blog, I'd mix the posts in the pandas blog, with a planet with the pandas related (tagged) posts of core devs, NumFOCUS, and anyone else we think it's worth. For the Donate, NumFOCUS works with a new provider, that for what I've seen (I can be wrong), is able to handle the donations in an iframe, and not make users leave the page. I'd also include mentions to the institutional sponsors, comments from individual donors, and things like that. Once there is agreement in the main structure, and we have a first draft, I'll open separate issues to discuss the exact details of the home, the community page, the blog and the donate page. CC: @pandas-dev/pandas-core @stijnvanhoey
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27870/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27871/events
https://github.com/pandas-dev/pandas/pull/27871
479,734,968
MDExOlB1bGxSZXF1ZXN0MzA2NTY3NDY1
27,871
DOC:Standardize use of "Iterate" and "Iterator"
{ "avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4", "events_url": "https://api.github.com/users/sameshl/events{/privacy}", "followers_url": "https://api.github.com/users/sameshl/followers", "following_url": "https://api.github.com/users/sameshl/following{/other_user}", "gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sameshl", "id": 43701530, "login": "sameshl", "node_id": "MDQ6VXNlcjQzNzAxNTMw", "organizations_url": "https://api.github.com/users/sameshl/orgs", "received_events_url": "https://api.github.com/users/sameshl/received_events", "repos_url": "https://api.github.com/users/sameshl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sameshl/subscriptions", "type": "User", "url": "https://api.github.com/users/sameshl" }
[ { "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
2019-08-12T16:20:20Z
2019-08-13T11:57:31Z
2019-08-13T11:57:29Z
CONTRIBUTOR
null
changed `Iterator over` --> `Iterate over` closes #27861
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27871/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27871.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27871", "merged_at": "2019-08-13T11:57:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27871.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27871" }
https://api.github.com/repos/pandas-dev/pandas/issues/27872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27872/events
https://github.com/pandas-dev/pandas/pull/27872
479,742,401
MDExOlB1bGxSZXF1ZXN0MzA2NTczMzM2
27,872
Backport PR #27868 on branch 0.25.x (CI: Pin Python to 3.7.3)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-12T16:38:19Z
2019-08-12T19:10:35Z
2019-08-12T19:10:35Z
NONE
null
Backport PR #27868: CI: Pin Python to 3.7.3
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27872/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27872.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27872", "merged_at": "2019-08-12T19:10:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27872.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27872" }
https://api.github.com/repos/pandas-dev/pandas/issues/27873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27873/events
https://github.com/pandas-dev/pandas/pull/27873
479,759,347
MDExOlB1bGxSZXF1ZXN0MzA2NTg2OTI4
27,873
requested edit to comparison method
{ "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": "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-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" }
8
2019-08-12T17:20:51Z
2019-08-14T20:09:42Z
2019-08-13T12:17:38Z
MEMBER
null
cc @jorisvandenbossche discussed in #27803
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27873/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27873.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27873", "merged_at": "2019-08-13T12:17:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27873.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27873" }
https://api.github.com/repos/pandas-dev/pandas/issues/27874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27874/events
https://github.com/pandas-dev/pandas/pull/27874
479,791,271
MDExOlB1bGxSZXF1ZXN0MzA2NjEyNTE4
27,874
COMPAT: unique() should preserve the dtype of the input
{ "avatar_url": "https://avatars.githubusercontent.com/u/1655821?v=4", "events_url": "https://api.github.com/users/stuarteberg/events{/privacy}", "followers_url": "https://api.github.com/users/stuarteberg/followers", "following_url": "https://api.github.com/users/stuarteberg/following{/other_user}", "gists_url": "https://api.github.com/users/stuarteberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stuarteberg", "id": 1655821, "login": "stuarteberg", "node_id": "MDQ6VXNlcjE2NTU4MjE=", "organizations_url": "https://api.github.com/users/stuarteberg/orgs", "received_events_url": "https://api.github.com/users/stuarteberg/received_events", "repos_url": "https://api.github.com/users/stuarteberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stuarteberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stuarteberg/subscriptions", "type": "User", "url": "https://api.github.com/users/stuarteberg" }
[ { "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", "de...
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
2019-08-12T18:38:24Z
2019-10-07T01:08:28Z
2019-10-07T01:08:25Z
CONTRIBUTOR
null
The behavior of `pd.unique()` is surprising, because -- unlike `np.unique()` -- the result does not have the same `dtype` as the input: ```python In [1]: pd.Series([1,2,3], dtype=np.uint8).unique() Out[1]: array([1, 2, 3], dtype=uint64) ``` This PR just casts the output array to match the input dtype. Supercedes #27869. **Update:** Augmented the tests to cover narrow dtypes. ~I added a new assertion in `test_value_counts_unique_nunique()`, but it may not be sufficient. From what I can see, there isn't good coverage of `Series` whose *data* is not `int`/`float`/ etc. There is only good coverage of various *index* types. Any advice concerning test coverage?~ - [x] closes #27869 - [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/27874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27874/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27874.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27874", "merged_at": "2019-10-07T01:08:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27874.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27874" }
https://api.github.com/repos/pandas-dev/pandas/issues/27875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27875/events
https://github.com/pandas-dev/pandas/pull/27875
479,794,708
MDExOlB1bGxSZXF1ZXN0MzA2NjE1MjU5
27,875
DOC: clarify see also for DataFrame.iterrows()
{ "avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4", "events_url": "https://api.github.com/users/sameshl/events{/privacy}", "followers_url": "https://api.github.com/users/sameshl/followers", "following_url": "https://api.github.com/users/sameshl/following{/other_user}", "gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sameshl", "id": 43701530, "login": "sameshl", "node_id": "MDQ6VXNlcjQzNzAxNTMw", "organizations_url": "https://api.github.com/users/sameshl/orgs", "received_events_url": "https://api.github.com/users/sameshl/received_events", "repos_url": "https://api.github.com/users/sameshl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sameshl/subscriptions", "type": "User", "url": "https://api.github.com/users/sameshl" }
[ { "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
2019-08-12T18:46:56Z
2019-08-13T08:15:27Z
2019-08-13T08:00:15Z
CONTRIBUTOR
null
changed ` .x()` to `Dataframe.x()` in See Also for DataFrame.iterrows.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27875/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27875.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27875", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27875.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27875" }
https://api.github.com/repos/pandas-dev/pandas/issues/27876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27876/events
https://github.com/pandas-dev/pandas/pull/27876
479,797,227
MDExOlB1bGxSZXF1ZXN0MzA2NjE3Mjg1
27,876
DOC:Use of "Yields" for documentation of DataFrame.iteritems()
{ "avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4", "events_url": "https://api.github.com/users/sameshl/events{/privacy}", "followers_url": "https://api.github.com/users/sameshl/followers", "following_url": "https://api.github.com/users/sameshl/following{/other_user}", "gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sameshl", "id": 43701530, "login": "sameshl", "node_id": "MDQ6VXNlcjQzNzAxNTMw", "organizations_url": "https://api.github.com/users/sameshl/orgs", "received_events_url": "https://api.github.com/users/sameshl/received_events", "repos_url": "https://api.github.com/users/sameshl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sameshl/subscriptions", "type": "User", "url": "https://api.github.com/users/sameshl" }
[ { "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" }
7
2019-08-12T18:52:46Z
2019-08-15T02:06:23Z
2019-08-14T18:54:49Z
CONTRIBUTOR
null
changed `Returns` to `Yields` closes #27860
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27876/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27876.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27876", "merged_at": "2019-08-14T18:54:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27876.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27876" }
https://api.github.com/repos/pandas-dev/pandas/issues/27877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27877/events
https://github.com/pandas-dev/pandas/pull/27877
479,804,787
MDExOlB1bGxSZXF1ZXN0MzA2NjIzMzU0
27,877
Backport PR #27777 on branch 0.25.x (Avoid calling S3File.s3)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-12T19:11:06Z
2019-08-13T07:54:42Z
2019-08-13T07:54:42Z
NONE
null
Backport PR #27777: Avoid calling S3File.s3
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27877/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27877.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27877", "merged_at": "2019-08-13T07:54:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27877.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27877" }
https://api.github.com/repos/pandas-dev/pandas/issues/27878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27878/events
https://github.com/pandas-dev/pandas/pull/27878
479,826,037
MDExOlB1bGxSZXF1ZXN0MzA2NjQwNTk2
27,878
TST: Raise ValueError and suggestion to use header=None if header=-1 is pa…
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
2
2019-08-12T20:05:22Z
2019-08-15T21:14:43Z
2019-08-15T20:27:18Z
MEMBER
null
…ssed - [x] closes #27779 - [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/27878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27878/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27878.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27878", "merged_at": "2019-08-15T20:27:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27878.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27878" }
https://api.github.com/repos/pandas-dev/pandas/issues/27879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27879/events
https://github.com/pandas-dev/pandas/pull/27879
479,826,836
MDExOlB1bGxSZXF1ZXN0MzA2NjQxMjQx
27,879
CLN: use invalid_comparison for incorrect case in Index comparison
{ "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": "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-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
2019-08-12T20:07:29Z
2019-08-13T13:55:52Z
2019-08-13T12:18:36Z
MEMBER
null
Only one test reaches this point, and we aren't currently checking for the output, just that a warning is emitted. This fixes the currently-incorrect output and updates the test to check for it.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27879", "merged_at": "2019-08-13T12:18:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27879" }
https://api.github.com/repos/pandas-dev/pandas/issues/27880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27880/events
https://github.com/pandas-dev/pandas/issues/27880
479,831,903
MDU6SXNzdWU0Nzk4MzE5MDM=
27,880
A range of tolerance level for pd.merge_asof?
{ "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" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, ...
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_use...
null
0
2019-08-12T20:19:57Z
2019-11-02T22:00:40Z
null
NONE
null
Quoting from Pandas document example : ```>>> quotes time ticker bid ask 0 2016-05-25 13:30:00.023 GOOG 720.50 720.93 1 2016-05-25 13:30:00.023 MSFT 51.95 51.96 2 2016-05-25 13:30:00.030 MSFT 51.97 51.98 3 2016-05-25 13:30:00.041 MSFT 51.99 52.00 4 2016-05-25 13:30:00.048 GOOG 720.50 720.93 5 2016-05-25 13:30:00.049 AAPL 97.99 98.01 6 2016-05-25 13:30:00.072 GOOG 720.50 720.88 7 2016-05-25 13:30:00.075 MSFT 52.01 52.03 >>> trades time ticker price quantity 0 2016-05-25 13:30:00.023 MSFT 51.95 75 1 2016-05-25 13:30:00.038 MSFT 51.95 155 2 2016-05-25 13:30:00.048 GOOG 720.77 100 3 2016-05-25 13:30:00.048 GOOG 720.92 100 4 2016-05-25 13:30:00.048 AAPL 98.00 100 >>> pd.merge_asof(trades, quotes, ... on='time', ... by='ticker', ... tolerance=pd.Timedelta('10ms'), ... allow_exact_matches=False) time ticker price quantity bid ask 0 2016-05-25 13:30:00.023 MSFT 51.95 75 NaN NaN 1 2016-05-25 13:30:00.038 MSFT 51.95 155 51.97 51.98 2 2016-05-25 13:30:00.048 GOOG 720.77 100 NaN NaN 3 2016-05-25 13:30:00.048 GOOG 720.92 100 NaN NaN 4 2016-05-25 13:30:00.048 AAPL 98.00 100 NaN NaN ``` Above example merges only when the time gap is strictly less than '10ms', with direction='backward'. I'm wondering if I can use a range of tolerance like between 10ms and 20ms? The expected output would be such that it merges the closest one that happened more than 10 ms before, but not more than 20 ms(direction ='backward').
{ "+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/27880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27880/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27881/events
https://github.com/pandas-dev/pandas/issues/27881
479,833,710
MDU6SXNzdWU0Nzk4MzM3MTA=
27,881
timedelta is considered as np.number?
{ "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": "5319e7", "default": false, "description": "Timedelta data type", ...
open
false
null
[]
null
2
2019-08-12T20:24:27Z
2020-05-03T21:47:27Z
null
MEMBER
null
When querying numbers from dataframe with `df.select_dtypes`, if i choose `include=np.number`, then timedelta will be also selected. But based on documentation, this should not happen. I checked the tests, it seems allow this to happen on purpose, then how should I only select numeric columns? should DOC be changed at least? ```python df = pd.DataFrame({'a': pd.date_range("2012-01-01", periods=2), 'b': np.random.randn(2), 'd': pd.date_range("2012-01-01", periods=2).astype(str), 'e': pd.date_range("2012-01-01", periods=2, tz='UTC'), 'f': pd.timedelta_range("1 days", periods=2) }) df.select_dtypes(include=['number']) ``` If diving to code, it seems because `timedelta` also is represented by `np.timedelta64` and is subclass of `np.number`. Output: the column b, f are selected Expected Output: only column b will be selected as a dataframe. Or a doc change instead?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27881/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27882/events
https://github.com/pandas-dev/pandas/pull/27882
479,848,506
MDExOlB1bGxSZXF1ZXN0MzA2NjU5MDMy
27,882
BUG: lzma is a required part of python, make it optional
{ "avatar_url": "https://avatars.githubusercontent.com/u/7663115?v=4", "events_url": "https://api.github.com/users/Salompas/events{/privacy}", "followers_url": "https://api.github.com/users/Salompas/followers", "following_url": "https://api.github.com/users/Salompas/following{/other_user}", "gists_url": "https://api.github.com/users/Salompas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Salompas", "id": 7663115, "login": "Salompas", "node_id": "MDQ6VXNlcjc2NjMxMTU=", "organizations_url": "https://api.github.com/users/Salompas/orgs", "received_events_url": "https://api.github.com/users/Salompas/received_events", "repos_url": "https://api.github.com/users/Salompas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Salompas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Salompas/subscriptions", "type": "User", "url": "https://api.github.com/users/Salompas" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
19
2019-08-12T21:01:21Z
2021-09-08T17:02:03Z
2019-08-19T13:06:15Z
CONTRIBUTOR
null
Importing `lzma` when Python has been compiled without its support (usually due to a lack of `xz` in the system) will raise a warning. Substituted `import lzma` for helper function. - [x] closes #27575 - [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/27882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27882/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27882.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27882", "merged_at": "2019-08-19T13:06:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27882.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27882" }
https://api.github.com/repos/pandas-dev/pandas/issues/27883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27883/events
https://github.com/pandas-dev/pandas/pull/27883
479,854,155
MDExOlB1bGxSZXF1ZXN0MzA2NjYzNzIy
27,883
CLN: Index.__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": "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-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
2019-08-12T21:16:22Z
2019-08-13T13:51:13Z
2019-08-13T12:20:40Z
MEMBER
null
underlying goal is to share code between Index.__new__ and pd.array Unrelated cleanup in DataFrame.select_dtypes because I found it cumbersome.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27883", "merged_at": "2019-08-13T12:20:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27883" }
https://api.github.com/repos/pandas-dev/pandas/issues/27884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27884/events
https://github.com/pandas-dev/pandas/issues/27884
479,857,936
MDU6SXNzdWU0Nzk4NTc5MzY=
27,884
DOC: read_fwf not appears on IO Formats table as function
{ "avatar_url": "https://avatars.githubusercontent.com/u/264640?v=4", "events_url": "https://api.github.com/users/isantolin/events{/privacy}", "followers_url": "https://api.github.com/users/isantolin/followers", "following_url": "https://api.github.com/users/isantolin/following{/other_user}", "gists_url": "https://api.github.com/users/isantolin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/isantolin", "id": 264640, "login": "isantolin", "node_id": "MDQ6VXNlcjI2NDY0MA==", "organizations_url": "https://api.github.com/users/isantolin/orgs", "received_events_url": "https://api.github.com/users/isantolin/received_events", "repos_url": "https://api.github.com/users/isantolin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/isantolin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/isantolin/subscriptions", "type": "User", "url": "https://api.github.com/users/isantolin" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2019-08-12T21:26:55Z
2019-08-19T11:43:34Z
2019-08-19T11:43:34Z
CONTRIBUTOR
null
#### Problem description I Think that needs to appear on that table because is not clearly documented ![image](https://user-images.githubusercontent.com/264640/62899533-67417880-bd2e-11e9-99e3-f33b659aed03.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/27884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27884/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27885/events
https://github.com/pandas-dev/pandas/issues/27885
479,858,973
MDU6SXNzdWU0Nzk4NTg5NzM=
27,885
UnboundLocalError: local variable 'arith_flex' referenced before assignment
{ "avatar_url": "https://avatars.githubusercontent.com/u/16566894?v=4", "events_url": "https://api.github.com/users/playermanny2/events{/privacy}", "followers_url": "https://api.github.com/users/playermanny2/followers", "following_url": "https://api.github.com/users/playermanny2/following{/other_user}", "gists_url": "https://api.github.com/users/playermanny2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/playermanny2", "id": 16566894, "login": "playermanny2", "node_id": "MDQ6VXNlcjE2NTY2ODk0", "organizations_url": "https://api.github.com/users/playermanny2/orgs", "received_events_url": "https://api.github.com/users/playermanny2/received_events", "repos_url": "https://api.github.com/users/playermanny2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/playermanny2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/playermanny2/subscriptions", "type": "User", "url": "https://api.github.com/users/playermanny2" }
[]
closed
false
null
[]
null
4
2019-08-12T21:29:55Z
2019-08-13T00:07:24Z
2019-08-13T00:07:24Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas ``` #### Problem description When importing pandas on fresh install of jupyterlab 1.0.4 via Anaconda, I'm receiving a unboundlocal error. I've never seen this happen before until pandas 0.2.5, so a bit confused on why this would be occurring ``` --------------------------------------------------------------------------- UnboundLocalError Traceback (most recent call last) <ipython-input-4-38d4b0363d82> in <module> ----> 1 import pandas /opt/conda/lib/python3.7/site-packages/pandas/__init__.py in <module> 40 import pandas.core.config_init 41 ---> 42 from pandas.core.api import * 43 from pandas.core.sparse.api import * 44 from pandas.tseries.api import * /opt/conda/lib/python3.7/site-packages/pandas/core/api.py in <module> 24 ) 25 from pandas.core.arrays import Categorical, array ---> 26 from pandas.core.groupby import Grouper 27 from pandas.io.formats.format import set_eng_float_format 28 from pandas.core.index import (Index, CategoricalIndex, Int64Index, /opt/conda/lib/python3.7/site-packages/pandas/core/groupby/__init__.py in <module> 1 from pandas.core.groupby.groupby import GroupBy # noqa: F401 ----> 2 from pandas.core.groupby.generic import ( # noqa: F401 3 SeriesGroupBy, DataFrameGroupBy, PanelGroupBy) 4 from pandas.core.groupby.grouper import Grouper # noqa: F401 /opt/conda/lib/python3.7/site-packages/pandas/core/groupby/generic.py in <module> 40 import pandas.core.indexes.base as ibase 41 from pandas.core.internals import BlockManager, make_block ---> 42 from pandas.core.panel import Panel 43 from pandas.core.series import Series 44 /opt/conda/lib/python3.7/site-packages/pandas/core/panel.py in <module> 1584 docs={}) 1585 -> 1586 ops.add_special_arithmetic_methods(Panel) 1587 ops.add_flex_arithmetic_methods(Panel) 1588 Panel._add_numeric_operations() /opt/conda/lib/python3.7/site-packages/pandas/core/ops/__init__.py in add_special_arithmetic_methods(cls) 810 special methods will be defined and pinned to this class 811 """ --> 812 _, _, arith_method, comp_method, bool_method = _get_method_wrappers(cls) 813 new_methods = _create_methods( 814 cls, arith_method, comp_method, bool_method, special=True /opt/conda/lib/python3.7/site-packages/pandas/core/ops/__init__.py in _get_method_wrappers(cls) 717 comp_special = _comp_method_FRAME 718 bool_special = _arith_method_FRAME --> 719 return arith_flex, comp_flex, arith_special, comp_special, bool_special 720 721 UnboundLocalError: local variable 'arith_flex' referenced before assignment ``` #### Expected Output pandas would import properly #### Output of ``pd.show_versions()`` N/A due to unable to import pandas properly
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27885/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27886/events
https://github.com/pandas-dev/pandas/pull/27886
479,889,855
MDExOlB1bGxSZXF1ZXN0MzA2NjkxODUz
27,886
CLN: remove unnecessary validate_for_numeric_binop
{ "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-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
2019-08-12T23:13:41Z
2019-08-13T13:56:57Z
2019-08-13T12:21:42Z
MEMBER
null
Lots of Index ops cleanup, breaking it up into small pieces.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27886/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27886.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27886", "merged_at": "2019-08-13T12:21:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27886.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27886" }
https://api.github.com/repos/pandas-dev/pandas/issues/27887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27887/events
https://github.com/pandas-dev/pandas/pull/27887
479,913,405
MDExOlB1bGxSZXF1ZXN0MzA2NzEwODA3
27,887
Backport PR #27855 on branch 0.25.x (BUG: add back check for MultiIndex case and take_split_path)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
0
2019-08-13T01:04:32Z
2019-08-13T08:40:19Z
2019-08-13T08:40:19Z
NONE
null
Backport PR #27855: BUG: add back check for MultiIndex case and take_split_path
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27887/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27887.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27887", "merged_at": "2019-08-13T08:40:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27887.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27887" }
https://api.github.com/repos/pandas-dev/pandas/issues/27888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27888/events
https://github.com/pandas-dev/pandas/pull/27888
479,915,403
MDExOlB1bGxSZXF1ZXN0MzA2NzEyMzEx
27,888
DOC: Updated Series.items 'See also' section for clarity
{ "avatar_url": "https://avatars.githubusercontent.com/u/6099299?v=4", "events_url": "https://api.github.com/users/benthayer/events{/privacy}", "followers_url": "https://api.github.com/users/benthayer/followers", "following_url": "https://api.github.com/users/benthayer/following{/other_user}", "gists_url": "https://api.github.com/users/benthayer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benthayer", "id": 6099299, "login": "benthayer", "node_id": "MDQ6VXNlcjYwOTkyOTk=", "organizations_url": "https://api.github.com/users/benthayer/orgs", "received_events_url": "https://api.github.com/users/benthayer/received_events", "repos_url": "https://api.github.com/users/benthayer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benthayer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benthayer/subscriptions", "type": "User", "url": "https://api.github.com/users/benthayer" }
[ { "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" }
1
2019-08-13T01:14:57Z
2019-08-13T07:50:48Z
2019-08-13T07:50:40Z
CONTRIBUTOR
null
I changed the See also to: DataFrame.items : Iterate over (column name, Series) pairs. DataFrame.iterrows : Iterate over DataFrame rows as (index, Series) pairs. No assertions about the equivalence of DataFrame.items and Series.items closes #27859
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27888/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27888.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27888", "merged_at": "2019-08-13T07:50:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27888.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27888" }
https://api.github.com/repos/pandas-dev/pandas/issues/27889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27889/events
https://github.com/pandas-dev/pandas/pull/27889
479,916,526
MDExOlB1bGxSZXF1ZXN0MzA2NzEzMTYz
27,889
CLN: remove unnecessary dtype checks
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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" }
1
2019-08-13T01:20:48Z
2019-08-13T13:50:42Z
2019-08-13T12:22:41Z
MEMBER
null
these aren't accomplishing anything and are very non-performant. Also, remove an unnecessary values_from_object call and use operator.foo instead of `"__foo__"` in categorical ops.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27889/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27889.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27889", "merged_at": "2019-08-13T12:22:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27889.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27889" }
https://api.github.com/repos/pandas-dev/pandas/issues/27890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27890/events
https://github.com/pandas-dev/pandas/pull/27890
479,922,712
MDExOlB1bGxSZXF1ZXN0MzA2NzE3NzYy
27,890
BUG: fix Sparse reduction
{ "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "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
2019-08-13T01:52:58Z
2019-08-13T16:23:38Z
2019-08-13T16:15:37Z
MEMBER
null
- [x] closes #27080 - [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/27890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27890/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27890.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27890", "merged_at": "2019-08-13T16:15:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27890.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27890" }
https://api.github.com/repos/pandas-dev/pandas/issues/27891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27891/events
https://github.com/pandas-dev/pandas/pull/27891
479,924,287
MDExOlB1bGxSZXF1ZXN0MzA2NzE4OTYw
27,891
CLN: remove unnecessary validate_for_numeric_unary
{ "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-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
2019-08-13T02:01:04Z
2019-08-14T21:33:55Z
2019-08-14T20:39: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/27891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27891/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27891.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27891", "merged_at": "2019-08-14T20:39:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27891.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27891" }
https://api.github.com/repos/pandas-dev/pandas/issues/27892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27892/events
https://github.com/pandas-dev/pandas/issues/27892
479,928,745
MDU6SXNzdWU0Nzk5Mjg3NDU=
27,892
DataFrameGroupBy.quantile raises for non-numeric dtypes rather than dropping columns
{ "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": "729FCF", "default": false, "description": null, "id": 233160, ...
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" }
10
2019-08-13T02:22:42Z
2020-07-16T22:48:30Z
2020-07-16T22:48:30Z
CONTRIBUTOR
null
In pandas 0.24.x, we had ```python In [1]: import pandas as pd In [2]: pd.DataFrame({"A": ['a', 'b']}).groupby([0, 0]).quantile() Out[2]: Empty DataFrame Columns: [] Index: [] ``` In 0.25.0, we have ```python In [3]: pd.DataFrame({"A": ['a', 'b']}).groupby([0, 0]).quantile() --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-8152ffc0932b> in <module> ----> 1 pd.DataFrame({"A": ['a', 'b']}).groupby([0, 0]).quantile() ~/sandbox/pandas/pandas/core/groupby/groupby.py in quantile(self, q, interpolation) 1908 post_processing=post_processor, 1909 q=q, -> 1910 interpolation=interpolation, 1911 ) 1912 ~/sandbox/pandas/pandas/core/groupby/groupby.py in _get_cythonized_result(self, how, grouper, aggregate, cython_dtype, needs_values, needs_mask, needs_ngroups, result_is_index, pre_processing, post_processing, **kwargs) 2236 vals = obj.values 2237 if pre_processing: -> 2238 vals, inferences = pre_processing(vals) 2239 func = partial(func, vals) 2240 ~/sandbox/pandas/pandas/core/groupby/groupby.py in pre_processor(vals) 1875 if is_object_dtype(vals): 1876 raise TypeError( -> 1877 "'quantile' cannot be performed against 'object' dtypes!" 1878 ) 1879 TypeError: 'quantile' cannot be performed against 'object' dtypes! ``` This is most relevant for mixed dataframes ```python In [6]: df = pd.DataFrame({"A": [0, 1], 'B': ['a', 'b']}) In [7]: df.groupby([0, 1]).quantile(0.5) ... TypeError: 'quantile' cannot be performed against 'object' dtypes! ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27892/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27893/events
https://github.com/pandas-dev/pandas/pull/27893
479,935,695
MDExOlB1bGxSZXF1ZXN0MzA2NzI3NTMx
27,893
DOC: clarify see also for DataFrame.iterrows()
{ "avatar_url": "https://avatars.githubusercontent.com/u/25135844?v=4", "events_url": "https://api.github.com/users/Ankit-Dhankhar/events{/privacy}", "followers_url": "https://api.github.com/users/Ankit-Dhankhar/followers", "following_url": "https://api.github.com/users/Ankit-Dhankhar/following{/other_user}", "gists_url": "https://api.github.com/users/Ankit-Dhankhar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ankit-Dhankhar", "id": 25135844, "login": "Ankit-Dhankhar", "node_id": "MDQ6VXNlcjI1MTM1ODQ0", "organizations_url": "https://api.github.com/users/Ankit-Dhankhar/orgs", "received_events_url": "https://api.github.com/users/Ankit-Dhankhar/received_events", "repos_url": "https://api.github.com/users/Ankit-Dhankhar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ankit-Dhankhar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ankit-Dhankhar/subscriptions", "type": "User", "url": "https://api.github.com/users/Ankit-Dhankhar" }
[ { "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" }
1
2019-08-13T02:57:17Z
2019-08-13T07:57:21Z
2019-08-13T07:57:20Z
CONTRIBUTOR
null
- [x] closes #27862 - [ ] 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/27893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27893/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27893.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27893", "merged_at": "2019-08-13T07:57:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27893.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27893" }
https://api.github.com/repos/pandas-dev/pandas/issues/27894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27894/events
https://github.com/pandas-dev/pandas/issues/27894
479,935,746
MDU6SXNzdWU0Nzk5MzU3NDY=
27,894
remove index column in SeriesGroupBy.nlargest
{ "avatar_url": "https://avatars.githubusercontent.com/u/23121539?v=4", "events_url": "https://api.github.com/users/RainFung/events{/privacy}", "followers_url": "https://api.github.com/users/RainFung/followers", "following_url": "https://api.github.com/users/RainFung/following{/other_user}", "gists_url": "https://api.github.com/users/RainFung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RainFung", "id": 23121539, "login": "RainFung", "node_id": "MDQ6VXNlcjIzMTIxNTM5", "organizations_url": "https://api.github.com/users/RainFung/orgs", "received_events_url": "https://api.github.com/users/RainFung/received_events", "repos_url": "https://api.github.com/users/RainFung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RainFung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RainFung/subscriptions", "type": "User", "url": "https://api.github.com/users/RainFung" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2019-08-13T02:57:30Z
2019-08-14T21:15:16Z
2019-08-14T21:15:12Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here pdf = pd.DataFrame({ 'a': [1, 1, 1, 2, 2, 2, 3, 3, 3], 'b': [1, 2, 2, 2, 3, 3, 3, 4, 4]}, columns=['a', 'b']) pdf.groupby(['a'])['b'].nlargest(1) a 1 1 2 2 4 3 3 7 4 Name: b, dtype: int64 ``` #### Problem description It raise the index to column(1, 4, 7) above. But we dont need it most time. #### Expected Output ```python pdf.groupby(['a'])['b'].nlargest(1) a 1 2 2 3 3 4 ``` #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit: None python: 3.6.7.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-693.5.2.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: zh_CN.utf8 LANG: None LOCALE: zh_CN.UTF-8 pandas: 0.24.2 pytest: 5.0.1 pip: 18.1 setuptools: 41.0.1 Cython: 0.29.10 numpy: 1.17.0 scipy: 1.1.0 pyarrow: 0.14.1 xarray: None IPython: 7.2.0 sphinx: 2.1.2 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2019.1 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.9 feather: 0.4.0 matplotlib: 3.1.1 openpyxl: 2.6.1 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.8 lxml.etree: 4.2.5 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.3.5 pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27894/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27895/events
https://github.com/pandas-dev/pandas/pull/27895
479,936,377
MDExOlB1bGxSZXF1ZXN0MzA2NzI4MDMz
27,895
Infer names in MultiIndex.from_product
{ "avatar_url": "https://avatars.githubusercontent.com/u/7414804?v=4", "events_url": "https://api.github.com/users/christopherzimmerman/events{/privacy}", "followers_url": "https://api.github.com/users/christopherzimmerman/followers", "following_url": "https://api.github.com/users/christopherzimmerman/following{/other_user}", "gists_url": "https://api.github.com/users/christopherzimmerman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/christopherzimmerman", "id": 7414804, "login": "christopherzimmerman", "node_id": "MDQ6VXNlcjc0MTQ4MDQ=", "organizations_url": "https://api.github.com/users/christopherzimmerman/orgs", "received_events_url": "https://api.github.com/users/christopherzimmerman/received_events", "repos_url": "https://api.github.com/users/christopherzimmerman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/christopherzimmerman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/christopherzimmerman/subscriptions", "type": "User", "url": "https://api.github.com/users/christopherzimmerman" }
[ { "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
2019-08-13T03:00:46Z
2019-09-12T16:00:17Z
2019-09-12T16:00:06Z
CONTRIBUTOR
null
- [x] closes #27292 - [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/27895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27895/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27895.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27895", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27895.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27895" }
https://api.github.com/repos/pandas-dev/pandas/issues/27896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27896/events
https://github.com/pandas-dev/pandas/pull/27896
479,943,653
MDExOlB1bGxSZXF1ZXN0MzA2NzMzNjEx
27,896
CLN: remove _maybe_update_attributes
{ "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-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
2019-08-13T03:37:31Z
2019-10-19T12:11:51Z
2019-08-15T12:42:38Z
MEMBER
null
It is only non-trivial for DTI and TDI, and only actually needed in `__array_wrap__`. It is cleaner to implement the relevant patch in `DatetimeIndexOpsMixin.__array_wrap__` and avoid the need for maybe_update_attributes altogether.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27896/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27896.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27896", "merged_at": "2019-08-15T12:42:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27896.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27896" }
https://api.github.com/repos/pandas-dev/pandas/issues/27897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27897/events
https://github.com/pandas-dev/pandas/issues/27897
480,017,857
MDU6SXNzdWU0ODAwMTc4NTc=
27,897
DataFrame.groupby.fillna(method='bfill) not equal as DataFrame.groupby.bfill()
{ "avatar_url": "https://avatars.githubusercontent.com/u/23121539?v=4", "events_url": "https://api.github.com/users/RainFung/events{/privacy}", "followers_url": "https://api.github.com/users/RainFung/followers", "following_url": "https://api.github.com/users/RainFung/following{/other_user}", "gists_url": "https://api.github.com/users/RainFung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RainFung", "id": 23121539, "login": "RainFung", "node_id": "MDQ6VXNlcjIzMTIxNTM5", "organizations_url": "https://api.github.com/users/RainFung/orgs", "received_events_url": "https://api.github.com/users/RainFung/received_events", "repos_url": "https://api.github.com/users/RainFung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RainFung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RainFung/subscriptions", "type": "User", "url": "https://api.github.com/users/RainFung" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2019-08-13T08:09:31Z
2019-08-13T16:14:27Z
2019-08-13T16:14:21Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python df = pd.DataFrame({ 'A': [1, 1, 2, 2], 'B': [2, 4, None, 3], 'C': [None, None, None, 1], 'D': [0, 1, 5, 4] }, columns=['A', 'B', 'C', 'D']) df.groupby(['A']).fillna(method='bfill') B C D 0 2.0 NaN 0 1 4.0 NaN 1 2 3.0 1.0 5 3 3.0 1.0 4 df.groupby(['A']).bfill() A B C D 0 1 2.0 NaN 0 1 1 4.0 NaN 1 2 2 3.0 1.0 5 3 2 3.0 1.0 4 ``` #### Problem description `DataFrame.groupby.bfill()` contains groupby col ['A'] while DataFrame.groupby.fillna(method='bfill) dont have it . Same problem in `ffill`. #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit: None python: 3.6.7.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-693.5.2.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: zh_CN.utf8 LANG: None LOCALE: zh_CN.UTF-8 pandas: 0.24.2 pytest: 5.0.1 pip: 18.1 setuptools: 41.0.1 Cython: 0.29.10 numpy: 1.17.0 scipy: 1.1.0 pyarrow: 0.14.1 xarray: None IPython: 7.2.0 sphinx: 2.1.2 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2019.1 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.9 feather: 0.4.0 matplotlib: 3.1.1 openpyxl: 2.6.1 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.8 lxml.etree: 4.2.5 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.3.5 pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27897/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27898/events
https://github.com/pandas-dev/pandas/issues/27898
480,032,649
MDU6SXNzdWU0ODAwMzI2NDk=
27,898
Issue with str.contains output
{ "avatar_url": "https://avatars.githubusercontent.com/u/30368631?v=4", "events_url": "https://api.github.com/users/ashishstats/events{/privacy}", "followers_url": "https://api.github.com/users/ashishstats/followers", "following_url": "https://api.github.com/users/ashishstats/following{/other_user}", "gists_url": "https://api.github.com/users/ashishstats/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ashishstats", "id": 30368631, "login": "ashishstats", "node_id": "MDQ6VXNlcjMwMzY4NjMx", "organizations_url": "https://api.github.com/users/ashishstats/orgs", "received_events_url": "https://api.github.com/users/ashishstats/received_events", "repos_url": "https://api.github.com/users/ashishstats/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ashishstats/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ashishstats/subscriptions", "type": "User", "url": "https://api.github.com/users/ashishstats" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2019-08-13T08:44:27Z
2019-08-14T05:29:30Z
2019-08-14T05:29:30Z
NONE
null
#### Code Sample, a copy-pastable example if possible import pandas as pd import numpy as np pd.set_option('display.max_rows', 500) pd.set_option('display.max_columns', 500) pd.set_option('display.width', 1000) csv1="multiple_responses.csv" df1 = pd.read_csv(csv1, index_col='id' , na_values = [' '] , low_memory=False) ## creating a list containing 8 family planning method names method_names = ['female_condoms', 'emergency', 'male_condoms', 'pill', 'injectables', 'iud', 'male_sterilization', 'female_sterilization'] for method in method_names: print(method) for method in method_names: df1[method]=df1["methods_discussed"].str.contains(pat = method) df1.head(10) ## output id | methods_discussed | female_condoms | emergency | male_condoms | pill | injectables | iud | male_sterilization | female_sterilization 1 | emergency | FALSE | TRUE | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE 2 | female_sterilization | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | _**TRUE**_ | TRUE 3 | male_sterilization | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE | FALSE 4 | iud | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE | FALSE | FALSE 5 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN 6 | injectables male_condoms | FALSE | FALSE | TRUE | FALSE | TRUE | FALSE | FALSE | FALSE 7 | male_condoms | FALSE | FALSE | TRUE | FALSE | FALSE | FALSE | FALSE | FALSE 8 | female_sterilization male_sterilization | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE | TRUE 9 | injectables | FALSE | FALSE | FALSE | FALSE | TRUE | FALSE | FALSE | FALSE 10 | iud male_condoms | FALSE | FALSE | TRUE | FALSE | FALSE | TRUE | FALSE | FALSE #### Problem description I used CSV file [multiple_responses.zip](https://github.com/pandas-dev/pandas/files/3496001/multiple_responses.zip) which contains two columns "id" and "methods_discussed". After running above code the ouput shown is wrong as at index [2] column male_sterilization shows TRUE (I have made it bold and italic. It should be FALSE as "methods_discussed" contains only female_sterilization. #### Expected Output id | methods_discussed | female_condoms | emergency | male_condoms | pill | injectables | iud | male_sterilization | female_sterilization 1 | emergency | FALSE | TRUE | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE 2 | female_sterilization | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | **_FALSE_** | TRUE 3 | male_sterilization | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE | FALSE 4 | iud | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE | FALSE | FALSE 5 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN 6 | injectables male_condoms | FALSE | FALSE | TRUE | FALSE | TRUE | FALSE | FALSE | FALSE 7 | male_condoms | FALSE | FALSE | TRUE | FALSE | FALSE | FALSE | FALSE | FALSE 8 | female_sterilization male_sterilization | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE | TRUE 9 | injectables | FALSE | FALSE | FALSE | FALSE | TRUE | FALSE | FALSE | FALSE 10 | iud male_condoms | FALSE | FALSE | TRUE | FALSE | FALSE | TRUE | FALSE | FALSE I have also used str.match but it did not work for me. Any idea if I don't want to generate values if methods_discussed contains NaN. #### 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: 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.24.2 pytest: 5.0.1 pip: 19.1.1 setuptools: 41.0.1 Cython: 0.29.12 numpy: 1.16.4 scipy: 1.2.1 pyarrow: None xarray: None IPython: 7.6.1 sphinx: 2.1.2 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2019.1 blosc: None bottleneck: 1.2.1 tables: 3.5.2 numexpr: 2.6.9 feather: None matplotlib: 3.1.0 openpyxl: 2.6.2 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.8 lxml.etree: 4.3.4 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.3.5 pymysql: None psycopg2: None jinja2: 2.10.1 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27898/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27899/events
https://github.com/pandas-dev/pandas/pull/27899
480,108,865
MDExOlB1bGxSZXF1ZXN0MzA2ODY3MzEx
27,899
EHN: Add encoding_errors option in pandas.DataFrame.to_csv (#27750)
{ "avatar_url": "https://avatars.githubusercontent.com/u/795197?v=4", "events_url": "https://api.github.com/users/shigemk2/events{/privacy}", "followers_url": "https://api.github.com/users/shigemk2/followers", "following_url": "https://api.github.com/users/shigemk2/following{/other_user}", "gists_url": "https://api.github.com/users/shigemk2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shigemk2", "id": 795197, "login": "shigemk2", "node_id": "MDQ6VXNlcjc5NTE5Nw==", "organizations_url": "https://api.github.com/users/shigemk2/orgs", "received_events_url": "https://api.github.com/users/shigemk2/received_events", "repos_url": "https://api.github.com/users/shigemk2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shigemk2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shigemk2/subscriptions", "type": "User", "url": "https://api.github.com/users/shigemk2" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv...
closed
false
null
[]
null
24
2019-08-13T11:39:49Z
2019-09-10T21:05:20Z
2019-09-10T21:05:20Z
NONE
null
- [x] closes #27750 - [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/27899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27899/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27899.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27899", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27899.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27899" }
https://api.github.com/repos/pandas-dev/pandas/issues/27900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27900/events
https://github.com/pandas-dev/pandas/issues/27900
480,110,219
MDU6SXNzdWU0ODAxMTAyMTk=
27,900
Tab completion triggers deprecation warnings with latest Jedi (0.15.1)
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2019-10-19T17:01:24Z", "closed_issues": 52, "created_at": "2019-08-23T11:48:40Z", "creator": { "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" }, "description": "on-merge: backport to 0.25.x", "due_on": "2019-10-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/66", "id": 4597769, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66/labels", "node_id": "MDk6TWlsZXN0b25lNDU5Nzc2OQ==", "number": 66, "open_issues": 0, "state": "closed", "title": "0.25.2", "updated_at": "2019-10-19T17:01:24Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66" }
5
2019-08-13T11:43:16Z
2019-09-20T12:43:53Z
2019-09-20T12:43:53Z
MEMBER
null
I reported it at Jedi: https://github.com/davidhalter/jedi/issues/1383 But opening an issue here as well in case there are workarounds we need to do in pandas itself (last time we did do something: https://github.com/pandas-dev/pandas/pull/16414)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27900/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27901/events
https://github.com/pandas-dev/pandas/issues/27901
480,173,941
MDU6SXNzdWU0ODAxNzM5NDE=
27,901
Move `.github` files to the organization level
{ "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": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" } ]
open
false
null
[]
null
2
2019-08-13T14:00:21Z
2020-04-03T03:55:30Z
null
CONTRIBUTOR
null
Described in https://help.github.com/en/articles/creating-a-default-community-health-file-for-your-organization, we can make a `.github` repo under pandas-dev. Then all the "community" files (code of conduct, funding, security, etc) will apply to every repo in the organization. This makes it clear that these policies apply everywhere, but we don't have to worry about copying / updating the files to every repo.
{ "+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/27901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27901/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27902
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27902/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27902/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27902/events
https://github.com/pandas-dev/pandas/issues/27902
480,177,739
MDU6SXNzdWU0ODAxNzc3Mzk=
27,902
CI: master failing windows py37_np141 builds
{ "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" }
[]
closed
false
null
[]
null
6
2019-08-13T14:07:25Z
2019-08-16T20:06:35Z
2019-08-16T20:06:35Z
CONTRIBUTOR
null
e.g https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=15921 ```python ================================== FAILURES =================================== ______________________________ test_apply[True] _______________________________ [gw1] win32 -- Python 3.7.4 C:\Miniconda\envs\pandas-dev\python.exe ordered = True @pytest.mark.parametrize("ordered", [True, False]) def test_apply(ordered): # GH 10138 dense = Categorical(list("abc"), ordered=ordered) # 'b' is in the categories but not in the list missing = Categorical(list("aaa"), categories=["a", "b"], ordered=ordered) values = np.arange(len(dense)) df = DataFrame({"missing": missing, "dense": dense, "values": values}) grouped = df.groupby(["missing", "dense"], observed=True) # missing category 'b' should still exist in the output index idx = MultiIndex.from_arrays([missing, dense], names=["missing", "dense"]) expected = DataFrame([0, 1, 2.0], index=idx, columns=["values"]) result = grouped.apply(lambda x: np.mean(x)) > assert_frame_equal(result, expected) E AssertionError: DataFrame are different E E DataFrame shape mismatch E [left]: (3, 3) E [right]: (3, 1) pandas\tests\groupby\test_categorical.py:228: AssertionError ______________________________ test_apply[False] ______________________________ [gw1] win32 -- Python 3.7.4 C:\Miniconda\envs\pandas-dev\python.exe ordered = False @pytest.mark.parametrize("ordered", [True, False]) def test_apply(ordered): # GH 10138 dense = Categorical(list("abc"), ordered=ordered) # 'b' is in the categories but not in the list missing = Categorical(list("aaa"), categories=["a", "b"], ordered=ordered) values = np.arange(len(dense)) df = DataFrame({"missing": missing, "dense": dense, "values": values}) grouped = df.groupby(["missing", "dense"], observed=True) # missing category 'b' should still exist in the output index idx = MultiIndex.from_arrays([missing, dense], names=["missing", "dense"]) expected = DataFrame([0, 1, 2.0], index=idx, columns=["values"]) result = grouped.apply(lambda x: np.mean(x)) > assert_frame_equal(result, expected) E AssertionError: DataFrame are different E E DataFrame shape mismatch E [left]: (3, 3) E [right]: (3, 1) pandas\tests\groupby\test_categorical.py:228: AssertionError ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27902/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27902/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27903
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27903/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27903/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27903/events
https://github.com/pandas-dev/pandas/issues/27903
480,198,817
MDU6SXNzdWU0ODAxOTg4MTc=
27,903
Standardize pandas distribution lists
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "color": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" } ]
open
false
null
[]
null
6
2019-08-13T14:45:09Z
2021-07-10T19:36:44Z
null
MEMBER
null
As the project and the community grows, I think it'd be good to keep some consistency among the different channels to communicate. Currently we have: - pydata@googlegroups.com (broader than pandas, but it's kind of our users list) - pandas-dev@python.org - pandas-core-team@googlegroups.com - pydata/pandas on Gitter for IM (I guess it's more intended for devs, but a mix of dev/users in practice) I don't have a preference on the platform (google groups, mailman, discourse if it's free for open source projects,...), but I think it'd make things simpler and better if we had: - pandas-users@... - pandas-contributors@... - pandas-maintainers@... And same channels in Gitter. The pandas-maintainers ones should be private for the active maintainers (both the list and the gitter channel). I think the names would make it clear what's expected to be discussed, and should help keep each of them focused (I'd avoid pandas-dev, since I think for beginners it can be ambiguous if a pandas dev is a person working with pandas or on pandas). CC: @pandas-dev/pandas-core
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27903/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27903/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27904
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27904/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27904/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27904/events
https://github.com/pandas-dev/pandas/issues/27904
480,319,139
MDU6SXNzdWU0ODAzMTkxMzk=
27,904
groupby nunique() with dates vs datetimes in presence of NaTs
{ "avatar_url": "https://avatars.githubusercontent.com/u/249455?v=4", "events_url": "https://api.github.com/users/thierryherrmann/events{/privacy}", "followers_url": "https://api.github.com/users/thierryherrmann/followers", "following_url": "https://api.github.com/users/thierryherrmann/following{/other_user}", "gists_url": "https://api.github.com/users/thierryherrmann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thierryherrmann", "id": 249455, "login": "thierryherrmann", "node_id": "MDQ6VXNlcjI0OTQ1NQ==", "organizations_url": "https://api.github.com/users/thierryherrmann/orgs", "received_events_url": "https://api.github.com/users/thierryherrmann/received_events", "repos_url": "https://api.github.com/users/thierryherrmann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thierryherrmann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thierryherrmann/subscriptions", "type": "User", "url": "https://api.github.com/users/thierryherrmann" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
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
2019-08-13T19:08:00Z
2019-09-07T11:29:41Z
2019-09-07T11:29:41Z
NONE
null
#### Code Sample ```python import numpy as np import pandas as pd import datetime df = pd.DataFrame({'a': ['x','x','x','x','x'], 'b': [datetime.date(2019,1,1), pd.NaT, datetime.date(2019,1,1), pd.NaT, datetime.date(2019,1,1)]}) print(df) # unique() returns only 1 value (plus the NaT) as expected print('unique() with dates') print(df.groupby(['a'])['b'].unique()) # nunique() returns 3 instead of the expected 1 (NaTs are dropped). Seems to be due to the NaTs print('nunique() with dates') print(df.groupby(['a'])['b'].nunique()) # convert date column to datetime df['b'] = df.b.astype(np.datetime64) # with datetime, unique() still returns 1 value (plus the NaT) as expected print('unique() with datetimes') print(df.groupby(['a'])['b'].unique()) # with datetime, nunique() returns 1 as expected print('nunique() with datetimes') print(df.groupby(['a'])['b'].nunique()) ``` #### Problem description `Series.groupby().nunique()` seems to have a different behavior with dates vs datetimes when NaTs are in the Series. The behavior with `date` seems to return more distinct values than there are. This is not the same issue as https://github.com/pandas-dev/pandas/issues/14149 #### Expected Output For nunique() with dates the expected output is: ``` a x 1 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.18.0-25-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.0 numpy : 1.16.4 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.2 setuptools : 41.0.1 Cython : 0.29.13 pytest : 5.0.1 hypothesis : None sphinx : 2.1.2 blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.7.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.6.9 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.6 tables : 3.5.2 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.1.8 </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/27904/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27904/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27905
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27905/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27905/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27905/events
https://github.com/pandas-dev/pandas/issues/27905
480,335,872
MDU6SXNzdWU0ODAzMzU4NzI=
27,905
Functions allowed in DataFrameGroupby.transform are not all tested
{ "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": "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": "729FCF", "d...
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
2019-08-13T19:47:11Z
2020-03-03T15:48:41Z
2020-03-03T15:45:44Z
MEMBER
null
e.g. `fillna`, `tshift`and `corrwith` are all allowed in `group.transform()`, but looking at `pandas/tests/groupby/test_transform.py`, they are not tested. There are more, and I will add to here and make a PR to tests these cases.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27905/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27905/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27906
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27906/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27906/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27906/events
https://github.com/pandas-dev/pandas/pull/27906
480,368,012
MDExOlB1bGxSZXF1ZXN0MzA3MDc4Mzkw
27,906
CI: Skip flaky test that fails Azure to make pipeline succeed
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[]
closed
false
null
[]
null
2
2019-08-13T21:04:05Z
2019-08-14T13:29:56Z
2019-08-14T13:29:56Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27906/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27906/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27906.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27906", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/27906.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27906" }
https://api.github.com/repos/pandas-dev/pandas/issues/27907
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27907/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27907/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27907/events
https://github.com/pandas-dev/pandas/pull/27907
480,375,675
MDExOlB1bGxSZXF1ZXN0MzA3MDg0Njg2
27,907
Revert 37 pins
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2019-08-22T19:23:14Z", "closed_issues": 145, "created_at": "2019-06-30T19:32:22Z", "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 0.25.x", "due_on": "2019-08-21T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/65", "id": 4452219, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels", "node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==", "number": 65, "open_issues": 0, "state": "closed", "title": "0.25.1", "updated_at": "2019-08-22T19:52:56Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65" }
6
2019-08-13T21:23:55Z
2019-08-14T19:46:11Z
2019-08-14T19:34:11Z
CONTRIBUTOR
null
~second commit is temporary.~ Closes #27907 cc @jjhelmus
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27907/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27907/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27907.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27907", "merged_at": "2019-08-14T19:34:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27907.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27907" }
https://api.github.com/repos/pandas-dev/pandas/issues/27908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27908/events
https://github.com/pandas-dev/pandas/pull/27908
480,378,181
MDExOlB1bGxSZXF1ZXN0MzA3MDg2Nzg2
27,908
CLN: remove never-True checks in algorithms.py
{ "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-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
2019-08-13T21:30:25Z
2019-08-14T21:35:58Z
2019-08-14T20:21:30Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27908/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27908.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27908", "merged_at": "2019-08-14T20:21:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27908.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27908" }
https://api.github.com/repos/pandas-dev/pandas/issues/27909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27909/events
https://github.com/pandas-dev/pandas/pull/27909
480,381,925
MDExOlB1bGxSZXF1ZXN0MzA3MDg5OTUy
27,909
CLN: Catch more specific exceptions in groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": ...
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
2019-08-13T21:39:09Z
2019-09-03T14:20:56Z
2019-09-03T11:39:20Z
MEMBER
null
Working hypothesis is that this will help turn up the problem underlying #27902. Regardless catching more specific exceptions is worthwhile.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27909/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27909.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27909", "merged_at": "2019-09-03T11:39:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27909.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27909" }
https://api.github.com/repos/pandas-dev/pandas/issues/27910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27910/events
https://github.com/pandas-dev/pandas/pull/27910
480,415,427
MDExOlB1bGxSZXF1ZXN0MzA3MTE3MzU1
27,910
CLN: missing boilerplate in Sparse op
{ "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "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
2019-08-13T23:33:04Z
2019-08-19T18:07:22Z
2019-08-19T16:45:42Z
MEMBER
null
After this I think we'll be ready for #23853
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27910/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27910.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27910", "merged_at": "2019-08-19T16:45:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27910.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27910" }
https://api.github.com/repos/pandas-dev/pandas/issues/27911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27911/events
https://github.com/pandas-dev/pandas/issues/27911
480,426,628
MDU6SXNzdWU0ODA0MjY2Mjg=
27,911
API: when to cast list-like to ndarray, check len match
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "Arithmet...
open
false
null
[]
null
3
2019-08-14T00:23:02Z
2021-07-10T19:37:37Z
null
MEMBER
null
xref #27873 In many arithmetic/comparison ops we do something like ``` if is_list_like(other) and not hasattr(other, "dtype"): other = np.asarray(other) if is_list_like(other) and len(other) != len(self): raise ValueError("Lengths must match") ``` but we are not entirely consistent about this (see below for summary of what we do where). AFAICT the only case where we wouldn't want to do both of these consistently is if we have an object-dtype, the relevant test case being something like: ``` ser = pd.Series([["A"], ("A", "B"), frozenset("C")], dtype=np.object_) ser == ("A", "B") ``` (note in this example ATM `ser == ser[0]` will raise `ValueError`). We should be consistent in what we are doing for these, but need to decide what that consistent behavior should be. Summary of current behavior: - Series comparison - wraps list in ndarray (not listlike) - checks length matching for list, ndarray, Index, Series (not tuple, set, ...) - Series arithmetic - doesn't wrap listlike at all - length checks are left implicit - Categorical comparisons do the "full" checks - What if we have list-like categories? - DatetimeArray/TimedeltaArray/PeriodArray arithmetic - no wrapping, no explicit checks - DatetimeArray comparisons - wrap only list - Checks length match for all listlikes, but not at the beginning - TimedeltaArray comparisons - wrap any listlike (though indirectly) - Checks length match for all listlikes, but not at the beginning - PeriodArray comparisons - dont wrap _any_ listlikes - check all list-likes up-front Not yet reviewed: IntegerArray, PandasArray, SparseArray, Index, FooIndex
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27911/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/27912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/27912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/27912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/27912/events
https://github.com/pandas-dev/pandas/pull/27912
480,432,360
MDExOlB1bGxSZXF1ZXN0MzA3MTMwOTUy
27,912
REF: use should_extension_dispatch for comparison method
{ "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": "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
2019-08-14T00:50:52Z
2019-08-19T21:57:36Z
2019-08-19T21:48:39Z
MEMBER
null
This sits on top of #27815
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/27912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/27912/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/27912.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/27912", "merged_at": "2019-08-19T21:48:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/27912.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27912" }