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/34317
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34317/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34317/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34317/events
https://github.com/pandas-dev/pandas/pull/34317
623,292,601
MDExOlB1bGxSZXF1ZXN0NDIxOTg4NTkw
34,317
BUG: GH29461 strftime() with nanoseconds for Timestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/13473688?v=4", "events_url": "https://api.github.com/users/matteosantama/events{/privacy}", "followers_url": "https://api.github.com/users/matteosantama/followers", "following_url": "https://api.github.com/users/matteosantama/following{/other_user}", "gists_url": "https://api.github.com/users/matteosantama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matteosantama", "id": 13473688, "login": "matteosantama", "node_id": "MDQ6VXNlcjEzNDczNjg4", "organizations_url": "https://api.github.com/users/matteosantama/orgs", "received_events_url": "https://api.github.com/users/matteosantama/received_events", "repos_url": "https://api.github.com/users/matteosantama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matteosantama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matteosantama/subscriptions", "type": "User", "url": "https://api.github.com/users/matteosantama" }
[ { "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": "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
[]
null
5
2020-05-22T15:32:58Z
2020-06-09T14:41:34Z
2020-06-09T14:41:34Z
CONTRIBUTOR
null
- [x] closes #29461 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The new method displays %f to the full precision, including trailing zeroes. I could add a check that only displays nanoseconds if they are non-zero.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34317/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34317/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34317.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34317", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34317.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34317" }
https://api.github.com/repos/pandas-dev/pandas/issues/34318
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34318/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34318/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34318/events
https://github.com/pandas-dev/pandas/issues/34318
623,329,370
MDU6SXNzdWU2MjMzMjkzNzA=
34,318
BUG: "IndexingError: Too many indexers" when accessing a None value using .loc through a MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/866859?v=4", "events_url": "https://api.github.com/users/dechamps/events{/privacy}", "followers_url": "https://api.github.com/users/dechamps/followers", "following_url": "https://api.github.com/users/dechamps/following{/other_user}", "gists_url": "https://api.github.com/users/dechamps/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dechamps", "id": 866859, "login": "dechamps", "node_id": "MDQ6VXNlcjg2Njg1OQ==", "organizations_url": "https://api.github.com/users/dechamps/orgs", "received_events_url": "https://api.github.com/users/dechamps/received_events", "repos_url": "https://api.github.com/users/dechamps/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dechamps/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dechamps/subscriptions", "type": "User", "url": "https://api.github.com/users/dechamps" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "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" }
7
2020-05-22T16:26:51Z
2020-06-03T18:02:23Z
2020-06-03T18:02:23Z
NONE
null
#### Steps to reproduce ```python print(pd.Series( [None], pd.MultiIndex.from_arrays([['Level1'], ['Level2']])) .loc[('Level1', 'Level2')]) ``` #### Expected output ``` None ``` #### Actual output ``` /usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py in __getitem__(self, key) 1760 except (KeyError, IndexError, AttributeError): 1761 pass -> 1762 return self._getitem_tuple(key) 1763 else: 1764 # we by definition only have the 0th axis /usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py in _getitem_tuple(self, tup) 1275 1276 # no multi-index, so validate all of the indexers -> 1277 self._has_valid_tuple(tup) 1278 1279 # ugly hack for GH #836 /usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py in _has_valid_tuple(self, key) 699 for i, k in enumerate(key): 700 if i >= self.ndim: --> 701 raise IndexingError("Too many indexers") 702 try: 703 self._validate_key(k, i) IndexingError: Too many indexers ``` #### Additional information If any value other than `None` (even `np.nan`) is used, the code behaves correctly. If a single index level is used, the code behaves correctly. #### Workaround Seems to work if `.loc(axis=0)[('Level1', 'Level2')]` is used instead. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.candidate.1 python-bits : 64 OS : Linux OS-release : 5.6.0-1-amd64 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.3 Cython : None pytest : 4.6.9 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 4.6.9 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34318/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34318/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34319
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34319/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34319/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34319/events
https://github.com/pandas-dev/pandas/issues/34319
623,378,523
MDU6SXNzdWU2MjMzNzg1MjM=
34,319
BUG: Fillna with timedelta min/max overflow
{ "avatar_url": "https://avatars.githubusercontent.com/u/16714174?v=4", "events_url": "https://api.github.com/users/asundt/events{/privacy}", "followers_url": "https://api.github.com/users/asundt/followers", "following_url": "https://api.github.com/users/asundt/following{/other_user}", "gists_url": "https://api.github.com/users/asundt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/asundt", "id": 16714174, "login": "asundt", "node_id": "MDQ6VXNlcjE2NzE0MTc0", "organizations_url": "https://api.github.com/users/asundt/orgs", "received_events_url": "https://api.github.com/users/asundt/received_events", "repos_url": "https://api.github.com/users/asundt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/asundt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asundt/subscriptions", "type": "User", "url": "https://api.github.com/users/asundt" }
[ { "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", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
null
1
2020-05-22T17:35:32Z
2020-05-23T21:31:20Z
2020-05-23T21:31:20Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np print(pd.to_timedelta(np.full(10, pd.NaT),unit='seconds').fillna(pd.Timedelta.max)) ``` #### Problem description Output of the code: ```python TimedeltaIndex(['-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224', '-106752 days +00:12:43.145224'], dtype='timedelta64[ns]', freq=None) ``` The returned Series is filled with the value for pd.Timedelta.min and not the max value as expected. The opposite happens when trying to fillna with pd.Timedelta.min, which returns a series of the max values instead. This doesn't seem to occur when filling a series that isn't converted to timedelta: ```python pd.Series(pd.NaT, index=np.arange(10)).fillna(pd.Timedelta.max) ``` And it seems to be an overflow problem because the following produces a number close to pd.Timedelta.max, as expected: ```python pd.to_timedelta(np.full(10, pd.NaT),unit='seconds').fillna(pd.Timedelta.max - pd.Timedelta('1 s')) ``` #### Expected Output ```python 0 106751 days 23:47:16.854775 1 106751 days 23:47:16.854775 2 106751 days 23:47:16.854775 3 106751 days 23:47:16.854775 4 106751 days 23:47:16.854775 5 106751 days 23:47:16.854775 6 106751 days 23:47:16.854775 7 106751 days 23:47:16.854775 8 106751 days 23:47:16.854775 9 106751 days 23:47:16.854775 dtype: timedelta64[ns] ``` #### Output of ``pd.show_versions()`` <details> commit : None python : 3.7.3.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : 0.29.17 pytest : 5.4.2 hypothesis : 5.11.0 sphinx : 3.0.3 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : 4.9.0 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.2 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.5.2 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.8 numba : 0.49.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34319/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34319/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34320
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34320/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34320/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34320/events
https://github.com/pandas-dev/pandas/issues/34320
623,395,066
MDU6SXNzdWU2MjMzOTUwNjY=
34,320
ENH: `name` attribute for pd.Interval
{ "avatar_url": "https://avatars.githubusercontent.com/u/9061708?v=4", "events_url": "https://api.github.com/users/jolespin/events{/privacy}", "followers_url": "https://api.github.com/users/jolespin/followers", "following_url": "https://api.github.com/users/jolespin/following{/other_user}", "gists_url": "https://api.github.com/users/jolespin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jolespin", "id": 9061708, "login": "jolespin", "node_id": "MDQ6VXNlcjkwNjE3MDg=", "organizations_url": "https://api.github.com/users/jolespin/orgs", "received_events_url": "https://api.github.com/users/jolespin/received_events", "repos_url": "https://api.github.com/users/jolespin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jolespin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jolespin/subscriptions", "type": "User", "url": "https://api.github.com/users/jolespin" }
[ { "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
6
2020-05-22T18:10:56Z
2020-05-23T06:29:33Z
2020-05-23T06:29:33Z
NONE
null
#### Is your feature request related to a problem? No #### Describe the solution you'd like `pd.Interval(x, y, name="Feature")` #### API breaking implications Not that I know of. #### Describe alternatives you've considered Tried `setattr`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34320/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34320/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34321
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34321/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34321/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34321/events
https://github.com/pandas-dev/pandas/pull/34321
623,473,421
MDExOlB1bGxSZXF1ZXN0NDIyMTM2NTQz
34,321
CI: Numpy compat
{ "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" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-05-22T21:01:36Z
2020-05-22T23:39:58Z
2020-05-22T23:39:58Z
CONTRIBUTOR
null
- [x] closes #34306 Likely related to: https://github.com/pandas-dev/pandas/pull/32510. Seems doc builds have started using: numpy 1.17.5 py38h95a1406_0 conda-forge https://github.com/pandas-dev/pandas/pull/34317/checks?check_run_id=700337761 (Previous pipelines where using 1.18) In numpy 1.17.5 BitGenerator path is: `np.random.bit_generator.BitGenerator` In numpy 1.18.0 path is `np.random.BitGenerator`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34321/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34321/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34321.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34321", "merged_at": "2020-05-22T23:39:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34321.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34321" }
https://api.github.com/repos/pandas-dev/pandas/issues/34322
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34322/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34322/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34322/events
https://github.com/pandas-dev/pandas/pull/34322
623,487,703
MDExOlB1bGxSZXF1ZXN0NDIyMTQ3NTcz
34,322
REF: make FY523Mixin a cdef class
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-22T21:37:31Z
2020-05-23T02:19:35Z
2020-05-23T02:16:24Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34322/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34322/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34322.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34322", "merged_at": "2020-05-23T02:16:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34322.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34322" }
https://api.github.com/repos/pandas-dev/pandas/issues/34323
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34323/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34323/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34323/events
https://github.com/pandas-dev/pandas/pull/34323
623,488,413
MDExOlB1bGxSZXF1ZXN0NDIyMTQ4MTE0
34,323
REF: make SingleConstructorOffset a cdef class
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-22T21:39:36Z
2020-05-23T01:11:15Z
2020-05-22T23:44:11Z
MEMBER
null
Bite the bullet on importing cache_readonly into liboffsets
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34323/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34323/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34323.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34323", "merged_at": "2020-05-22T23:44:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34323.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34323" }
https://api.github.com/repos/pandas-dev/pandas/issues/34324
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34324/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34324/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34324/events
https://github.com/pandas-dev/pandas/pull/34324
623,489,298
MDExOlB1bGxSZXF1ZXN0NDIyMTQ4ODY2
34,324
REF: make MonthOffset a cdef class
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-22T21:41:33Z
2020-05-23T01:10:41Z
2020-05-22T23:43:39Z
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/34324/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34324/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34324.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34324", "merged_at": "2020-05-22T23:43:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34324.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34324" }
https://api.github.com/repos/pandas-dev/pandas/issues/34325
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34325/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34325/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34325/events
https://github.com/pandas-dev/pandas/pull/34325
623,501,645
MDExOlB1bGxSZXF1ZXN0NDIyMTU4MDk3
34,325
REF: get str_rep in numexpr code
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-22T22:16:23Z
2020-05-23T00:48:33Z
2020-05-22T23:42:50Z
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/34325/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34325/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34325.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34325", "merged_at": "2020-05-22T23:42:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34325.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34325" }
https://api.github.com/repos/pandas-dev/pandas/issues/34326
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34326/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34326/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34326/events
https://github.com/pandas-dev/pandas/issues/34326
623,537,274
MDU6SXNzdWU2MjM1MzcyNzQ=
34,326
ENH: pd.DataFrame.plot.hist() does not use sharex argument
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
1
2020-05-23T00:54:40Z
2020-05-28T11:27:14Z
null
CONTRIBUTOR
null
The command df.plot.hist(subplots=True, layout=(4, 4), figsize=(15,10), sharex=False, sharey=False) produces a grid of histograms. Unfortunately, sharex and y arguments are not taken into account and the plots all share the same axis. This only makes sense if all columns have the similar scales. But in general this behaviour is not very useful. Apparently, `df.plot.density()` accepts the keywords and uses them correctly. I would hope the function could be extended to provide the functionality as well as df.hist(...)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34326/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34326/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34327
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34327/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34327/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34327/events
https://github.com/pandas-dev/pandas/issues/34327
623,539,263
MDU6SXNzdWU2MjM1MzkyNjM=
34,327
ENH: Add hue functionality to df.hist()
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
1
2020-05-23T01:05:39Z
2020-05-26T02:59:03Z
null
CONTRIBUTOR
null
The following command: df.hist(layout=(4, 4), figsize=(15,10), bins=30) produces a grid of histograms. I would like to group the data by a column value and plot the corresponding histograms in the same plot with different colors. Unfortunately, the `by=` argument generates subplots. And plots all the data regardless the scale in as many subplots as unique values in the dataframe. I wonder if either an argument `hue=` as used in seaborn could be added so to produce the desired result.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34327/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34327/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34328
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34328/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34328/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34328/events
https://github.com/pandas-dev/pandas/issues/34328
623,541,655
MDU6SXNzdWU2MjM1NDE2NTU=
34,328
ENH: Don't omit columns with categorical data in df.hist()
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
3
2020-05-23T01:19:42Z
2021-06-23T14:42:21Z
null
CONTRIBUTOR
null
For some strange reason `df.hist` can plot categorical features where features are given as string values. df.cat.hist() If the dataframe in column "cat" contains string type values the histogram is generated correctly. But when called like this `df.hist()` the corresponding plot is left out. Along the lines, it would be nice if `df.bool.hist()`, where "bool" contains boolean values, would not throw an error but would handle it as binary category value and label it True and False. I am realizing there are many improvements possible with df.hist(). Not sure if I should open a new issue for each one.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34328/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34328/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34329
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34329/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34329/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34329/events
https://github.com/pandas-dev/pandas/pull/34329
623,541,847
MDExOlB1bGxSZXF1ZXN0NDIyMTg5MDQ5
34,329
Fix MultiIndex melt when col_level is used
{ "avatar_url": "https://avatars.githubusercontent.com/u/29808128?v=4", "events_url": "https://api.github.com/users/ashtou/events{/privacy}", "followers_url": "https://api.github.com/users/ashtou/followers", "following_url": "https://api.github.com/users/ashtou/following{/other_user}", "gists_url": "https://api.github.com/users/ashtou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ashtou", "id": 29808128, "login": "ashtou", "node_id": "MDQ6VXNlcjI5ODA4MTI4", "organizations_url": "https://api.github.com/users/ashtou/orgs", "received_events_url": "https://api.github.com/users/ashtou/received_events", "repos_url": "https://api.github.com/users/ashtou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ashtou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ashtou/subscriptions", "type": "User", "url": "https://api.github.com/users/ashtou" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-23T01:20:51Z
2020-05-26T23:17:26Z
2020-05-26T23:17:17Z
CONTRIBUTOR
null
- [x] closes #34129 - [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/34329/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34329/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34329.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34329", "merged_at": "2020-05-26T23:17:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34329.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34329" }
https://api.github.com/repos/pandas-dev/pandas/issues/34330
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34330/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34330/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34330/events
https://github.com/pandas-dev/pandas/pull/34330
623,545,862
MDExOlB1bGxSZXF1ZXN0NDIyMTkyMTU4
34,330
BUG: Fix using dtype with parse_dates in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/38814059?v=4", "events_url": "https://api.github.com/users/mproszewska/events{/privacy}", "followers_url": "https://api.github.com/users/mproszewska/followers", "following_url": "https://api.github.com/users/mproszewska/following{/other_user}", "gists_url": "https://api.github.com/users/mproszewska/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mproszewska", "id": 38814059, "login": "mproszewska", "node_id": "MDQ6VXNlcjM4ODE0MDU5", "organizations_url": "https://api.github.com/users/mproszewska/orgs", "received_events_url": "https://api.github.com/users/mproszewska/received_events", "repos_url": "https://api.github.com/users/mproszewska/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mproszewska/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mproszewska/subscriptions", "type": "User", "url": "https://api.github.com/users/mproszewska" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
closed
false
null
[]
null
7
2020-05-23T01:45:15Z
2020-12-29T20:42:50Z
2020-12-29T20:42:50Z
CONTRIBUTOR
null
- [x] closes #34066 - [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/34330/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34330/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34330.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34330", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34330.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34330" }
https://api.github.com/repos/pandas-dev/pandas/issues/34331
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34331/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34331/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34331/events
https://github.com/pandas-dev/pandas/issues/34331
623,590,210
MDU6SXNzdWU2MjM1OTAyMTA=
34,331
BUG: writing dataframe to excel if one of the rows has name "render" fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/9555281?v=4", "events_url": "https://api.github.com/users/dwintergruen/events{/privacy}", "followers_url": "https://api.github.com/users/dwintergruen/followers", "following_url": "https://api.github.com/users/dwintergruen/following{/other_user}", "gists_url": "https://api.github.com/users/dwintergruen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dwintergruen", "id": 9555281, "login": "dwintergruen", "node_id": "MDQ6VXNlcjk1NTUyODE=", "organizations_url": "https://api.github.com/users/dwintergruen/orgs", "received_events_url": "https://api.github.com/users/dwintergruen/received_events", "repos_url": "https://api.github.com/users/dwintergruen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dwintergruen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dwintergruen/subscriptions", "type": "User", "url": "https://api.github.com/users/dwintergruen" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-23T06:02:33Z
2020-05-26T22:21:44Z
2020-05-26T22:21:44Z
NONE
null
I try to write an dataframe to excel with excel. It fails if a row is called "render". Pandas version 1.0.3 Reproduce with: s1 = pandas.Series(("1","2"),index=["a","b"]) s2 = pandas.Series(("3","4"),index=["b","b"]) df = pandas.DataFrame({"render":s1,"huhu":s2}) df.to_excel("/tmp/out.xlsx") gives: AttributeError Traceback (most recent call last) <ipython-input-44-02936207a82a> in <module> ----> 1 df.to_excel("/tmp/out.xlsx") /usr/local/anaconda3/envs/exoplanets/lib/python3.7/site-packages/pandas/core/generic.py in to_excel(self, excel_writer, sheet_name, na_rep, float_format, columns, header, index, index_label, startrow, startcol, engine, merge_cells, encoding, inf_rep, verbose, freeze_panes) 2171 index_label=index_label, 2172 merge_cells=merge_cells, -> 2173 inf_rep=inf_rep, 2174 ) 2175 formatter.write( /usr/local/anaconda3/envs/exoplanets/lib/python3.7/site-packages/pandas/io/formats/excel.py in __init__(self, df, na_rep, float_format, cols, header, index, index_label, merge_cells, inf_rep, style_converter) 384 if hasattr(df, "render"): 385 self.styler = df --> 386 df = df.data 387 if style_converter is None: 388 style_converter = CSSToExcelConverter() /usr/local/anaconda3/envs/exoplanets/lib/python3.7/site-packages/pandas/core/generic.py in __getattr__(self, name) 5272 if self._info_axis._can_hold_identifiers_and_holds_name(name): 5273 return self[name] -> 5274 return object.__getattribute__(self, name) 5275 5276 def __setattr__(self, name: str, value) -> None: AttributeError: 'DataFrame' object has no attribute 'data'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34331/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34331/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34332
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34332/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34332/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34332/events
https://github.com/pandas-dev/pandas/issues/34332
623,591,559
MDU6SXNzdWU2MjM1OTE1NTk=
34,332
ENH: A keep_fields type argument for merge operation
{ "avatar_url": "https://avatars.githubusercontent.com/u/31745366?v=4", "events_url": "https://api.github.com/users/MuditJ/events{/privacy}", "followers_url": "https://api.github.com/users/MuditJ/followers", "following_url": "https://api.github.com/users/MuditJ/following{/other_user}", "gists_url": "https://api.github.com/users/MuditJ/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MuditJ", "id": 31745366, "login": "MuditJ", "node_id": "MDQ6VXNlcjMxNzQ1MzY2", "organizations_url": "https://api.github.com/users/MuditJ/orgs", "received_events_url": "https://api.github.com/users/MuditJ/received_events", "repos_url": "https://api.github.com/users/MuditJ/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MuditJ/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MuditJ/subscriptions", "type": "User", "url": "https://api.github.com/users/MuditJ" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
null
0
2020-05-23T06:12:49Z
2020-08-21T17:05:41Z
2020-05-23T06:18:42Z
NONE
null
#### Is your feature request related to a problem? It would increase user convenience if there were an argument where the user could specify the fields from the two data frames to be be merged which should be kept(or alternatively, a discard_fields column to specify which ones should be discarded) This would make the merge operation more analogous to its SQL counterpart #### Describe the solution you'd like For two data frames A and B where A has fields 'c' and 'd' and B has fields 'e' and 'f' respectively, it would simply result in the merge API looking like: `pd.merge(A,B,left_on = 'c', right_on = 'e', keep_fields = ['c','d','e']) `
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34332/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34332/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34333
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34333/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34333/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34333/events
https://github.com/pandas-dev/pandas/pull/34333
623,625,634
MDExOlB1bGxSZXF1ZXN0NDIyMjUyMDI3
34,333
DOC: fix deprecated groupby squeeze example in v0.12.0 whatsnew
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-23T10:06:22Z
2020-05-23T11:52:01Z
2020-05-23T11:51:56Z
MEMBER
null
This should fix failing CI, due to https://github.com/pandas-dev/pandas/pull/33218
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34333/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34333/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34333.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34333", "merged_at": "2020-05-23T11:51:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34333.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34333" }
https://api.github.com/repos/pandas-dev/pandas/issues/34334
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34334/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34334/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34334/events
https://github.com/pandas-dev/pandas/pull/34334
623,632,623
MDExOlB1bGxSZXF1ZXN0NDIyMjU2NDYx
34,334
BUG: xticks unnecessarily rotated
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-05-23T10:48:10Z
2020-09-14T07:25:10Z
2020-09-13T20:46:09Z
MEMBER
null
- [x] closes #29460 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry On `master`, xticklabels are rotated if ```python not self._use_dynamic_x() and data.index.is_all_dates and not self.subplots or (self.subplots and self.sharex) ``` There's a comment saying ```python if condition: # irregular TS rotated 30 deg. by default # probably a better place to check / set this. if not self._rot_set: self.rot = 30 ``` , and it seems that the _intention_ was to rotate ticklabels if there's an irregular timeseries. With the condition as it is written, they will also be rotated if the following is true: ```python (self.subplots and self.sharex) ``` I don't see why that should warrant rotating the ticklabels, so I'd like to suggest that there was a bracketing error. Also, the condition `data.index.is_all_dates` is (as far as I can tell) only relevant if `use_index=True`, so I've changed that. Here's what the OP's plot looks like with these changes: ![image](https://user-images.githubusercontent.com/33491632/82729010-04810280-9cec-11ea-825c-5244a2a1f828.png) Here's what it looks like on master: ![image](https://user-images.githubusercontent.com/33491632/82729022-1bbff000-9cec-11ea-9954-4e75488f91b8.png) Irregular time series still have their ticklabels rotated: ![image](https://user-images.githubusercontent.com/33491632/84986706-e796ee00-b136-11ea-9df1-d067a0de134b.png) Regular time series' ticklabels don't rotate: ![image](https://user-images.githubusercontent.com/33491632/84986756-fd0c1800-b136-11ea-857d-738f17bb74c1.png) (unless you pass `xcompat=True`, but that's unaffected by this change)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34334/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34334/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34334.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34334", "merged_at": "2020-09-13T20:46:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34334.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34334" }
https://api.github.com/repos/pandas-dev/pandas/issues/34335
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34335/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34335/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34335/events
https://github.com/pandas-dev/pandas/pull/34335
623,641,900
MDExOlB1bGxSZXF1ZXN0NDIyMjYyMjM1
34,335
BUG: Fix render as column name in to_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-05-23T11:44:13Z
2020-05-27T16:30:02Z
2020-05-26T22:21:44Z
MEMBER
null
- [x] closes #34331 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Should I add a whats new enty? Under which section? https://github.com/phofl/pandas/blob/34331_render_column_name_raises_error_in_to_excel/pandas/io/formats/excel.py#L389 The previous code checked if the `df` had a attribute `render`. This check was True, if there was a `DataFrame` given as input with a column `render`. I think that this check should only be True if a `Styler` object is given, so I added an `isinstace` check for `Styler`. Does the `Styler` object always an attribute `render`? If not, we would run into problems, if we get a `Styler` object with a column named `render` but without the `render` attribute. If a `Styler` object has always an attribute `render`, we could delete the `hasattr` check. Edit: I changed the check to `not isinstance(df, DataFrame)` to avoid the jinja issues.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34335/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34335/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34335.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34335", "merged_at": "2020-05-26T22:21:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34335.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34335" }
https://api.github.com/repos/pandas-dev/pandas/issues/34336
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34336/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34336/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34336/events
https://github.com/pandas-dev/pandas/issues/34336
623,644,938
MDU6SXNzdWU2MjM2NDQ5Mzg=
34,336
REGR: concat of Sparse with incompatible dtype now gives Sparse[object] instead of object
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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" }, { "color": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" } ]
closed
false
{ "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" }
[ { "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" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-23T12:00:32Z
2020-05-29T16:03:30Z
2020-05-29T16:03:30Z
MEMBER
null
Regression on master related to the `common_dtype` mechanism, I suppose: ``` In [5]: pd.__version__ Out[5]: '1.0.3' In [6]: s1 = pd.Series([1, 0, 2], dtype=pd.SparseDtype("int64", 0)) In [7]: s2 = pd.Series(["a", "b", "c"], dtype="category") In [8]: pd.concat([s1, s2]) Out[8]: 0 1 1 0 2 2 0 a 1 b 2 c dtype: object In [9]: pd.concat([s2, s1]) Out[9]: 0 a 1 b 2 c 0 1 1 0 2 2 dtype: object ``` (and the same on v0.25.3) But on master: ``` # raising in SparseDtype._get_common_dtype In [3]: pd.concat([s1, s2]) ... TypeError: data type not understood In [4]: pd.concat([s2, s1]) Out[4]: 0 a 1 b 2 c 0 1 1 0 2 2 dtype: Sparse[object, 0] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34336/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34336/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34337
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34337/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34337/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34337/events
https://github.com/pandas-dev/pandas/pull/34337
623,645,384
MDExOlB1bGxSZXF1ZXN0NDIyMjY0NTM4
34,337
don't need len around shape
{ "avatar_url": "https://avatars.githubusercontent.com/u/7523034?v=4", "events_url": "https://api.github.com/users/SilasK/events{/privacy}", "followers_url": "https://api.github.com/users/SilasK/followers", "following_url": "https://api.github.com/users/SilasK/following{/other_user}", "gists_url": "https://api.github.com/users/SilasK/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SilasK", "id": 7523034, "login": "SilasK", "node_id": "MDQ6VXNlcjc1MjMwMzQ=", "organizations_url": "https://api.github.com/users/SilasK/orgs", "received_events_url": "https://api.github.com/users/SilasK/received_events", "repos_url": "https://api.github.com/users/SilasK/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SilasK/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SilasK/subscriptions", "type": "User", "url": "https://api.github.com/users/SilasK" }
[ { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "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
[]
null
7
2020-05-23T12:02:59Z
2020-07-24T12:15:42Z
2020-07-24T12:15:42Z
NONE
null
#Fix #34274 - [x] closes #34274 - [ ] 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/34337/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34337/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34337.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34337", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34337.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34337" }
https://api.github.com/repos/pandas-dev/pandas/issues/34338
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34338/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34338/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34338/events
https://github.com/pandas-dev/pandas/pull/34338
623,656,516
MDExOlB1bGxSZXF1ZXN0NDIyMjcxODkx
34,338
BUG: fix concat of Sparse with non-sparse dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-23T13:02:59Z
2020-06-07T09:37:06Z
2020-05-29T16:03:31Z
MEMBER
null
Closes #34336 This adds tests with the behaviour as it was on 0.25.3 / 1.0.3, and some changes to get back to that behaviour. (but whether this behaviour is fully "sane", I am not sure ..)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34338/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34338/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34338.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34338", "merged_at": "2020-05-29T16:03:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34338.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34338" }
https://api.github.com/repos/pandas-dev/pandas/issues/34339
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34339/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34339/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34339/events
https://github.com/pandas-dev/pandas/pull/34339
623,657,882
MDExOlB1bGxSZXF1ZXN0NDIyMjcyNzQ5
34,339
BUG: Fix concat of frames with extension types (no reindexed columns)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "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-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" }
9
2020-05-23T13:11:22Z
2020-09-07T10:52:48Z
2020-06-19T09:16:11Z
MEMBER
null
This PR tries to fix the case of concatting dataframes with extension dtypes and non-extension dtypes, like this example (giving object dtype on master, instead of preserving Int64 dtype): ``` In [15]: df1 = pd.DataFrame({"a": pd.array([1, 2, 3], dtype="Int64")}) ...: df2 = pd.DataFrame({"a": np.array([4, 5, 6])}) In [16]: pd.concat([df1, df2]) Out[16]: a 0 1 1 2 2 3 0 4 1 5 2 6 In [17]: pd.concat([df1, df2]).dtypes Out[17]: a object dtype: object ``` Up to now, the `_get_common_dtype` machinery of the ExtensionArrays was only used for concatting Series (`axis=0` in `concat_compat`). Now I also try to make use of this for DataFrame columns, if there is any extension dtype in the to-concat arrays. This is checked in `_concatenate_join_units`. And we need to handle the dimension-mismach. I decided to handle that inside the internals code (reducing the dimension for non-EAs, and if the concat result is not an EA, adding back a dimension), so `concat_compat` does not need to be aware of this. Partly overlapping with https://github.com/pandas-dev/pandas/pull/33522 (cc @TomAugspurger), but this PR does *not yet* fix the original case the other PR is fixing: concat with reindexed (thus all missing) columns becoming object instead of preserving object dtype.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34339/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34339/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34339.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34339", "merged_at": "2020-06-19T09:16:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34339.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34339" }
https://api.github.com/repos/pandas-dev/pandas/issues/34340
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34340/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34340/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34340/events
https://github.com/pandas-dev/pandas/pull/34340
623,658,216
MDExOlB1bGxSZXF1ZXN0NDIyMjcyOTQ0
34,340
DOC: Fix reference, old file was separated last year
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-23T13:13:23Z
2020-05-27T16:30:04Z
2020-05-26T23:03:19Z
MEMBER
null
- [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` The comment referenced a file deleted last year after separating the tests into a few files. I referenced the correct folder again
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34340/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34340/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34340.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34340", "merged_at": "2020-05-26T23:03:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34340.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34340" }
https://api.github.com/repos/pandas-dev/pandas/issues/34341
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34341/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34341/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34341/events
https://github.com/pandas-dev/pandas/issues/34341
623,682,576
MDU6SXNzdWU2MjM2ODI1NzY=
34,341
BUG: Failing clipboard tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/13473688?v=4", "events_url": "https://api.github.com/users/matteosantama/events{/privacy}", "followers_url": "https://api.github.com/users/matteosantama/followers", "following_url": "https://api.github.com/users/matteosantama/following{/other_user}", "gists_url": "https://api.github.com/users/matteosantama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matteosantama", "id": 13473688, "login": "matteosantama", "node_id": "MDQ6VXNlcjEzNDczNjg4", "organizations_url": "https://api.github.com/users/matteosantama/orgs", "received_events_url": "https://api.github.com/users/matteosantama/received_events", "repos_url": "https://api.github.com/users/matteosantama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matteosantama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matteosantama/subscriptions", "type": "User", "url": "https://api.github.com/users/matteosantama" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
0
2020-05-23T15:25:42Z
2020-08-21T17:05:41Z
2020-05-23T20:17:21Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python # Your code here >>> pd.__version__ '1.1.0.dev0+1655.g1132aba3e' pytest pandas/tests/io/test_clipboard.py ``` #### Problem description Final three tests fail. Looks like the test is designed for Windows, I'm running a Mac. The test references [PR#25040](https://github.com/pandas-dev/pandas/pull/25040) **EDIT:** Just realized I'm actually running it in a Docker container. From Pyperclip documentation, looks like I need either gtk or PyQt4 (for Linux) or pbcopy and pbpaste (for Mac) installed. I suppose that should be included as a dependency in the Dockerfile?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34341/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34341/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34342
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34342/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34342/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34342/events
https://github.com/pandas-dev/pandas/pull/34342
623,686,100
MDExOlB1bGxSZXF1ZXN0NDIyMjkwODQ4
34,342
REF: cdef BusinessHourMixin
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-23T15:44:15Z
2020-05-25T17:38:34Z
2020-05-25T16:18:52Z
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/34342/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34342/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34342.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34342", "merged_at": "2020-05-25T16:18:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34342.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34342" }
https://api.github.com/repos/pandas-dev/pandas/issues/34343
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34343/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34343/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34343/events
https://github.com/pandas-dev/pandas/pull/34343
623,690,131
MDExOlB1bGxSZXF1ZXN0NDIyMjkzNDMz
34,343
Added missing import in boxplot_frame_groupby example
{ "avatar_url": "https://avatars.githubusercontent.com/u/65821810?v=4", "events_url": "https://api.github.com/users/gsyqax/events{/privacy}", "followers_url": "https://api.github.com/users/gsyqax/followers", "following_url": "https://api.github.com/users/gsyqax/following{/other_user}", "gists_url": "https://api.github.com/users/gsyqax/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gsyqax", "id": 65821810, "login": "gsyqax", "node_id": "MDQ6VXNlcjY1ODIxODEw", "organizations_url": "https://api.github.com/users/gsyqax/orgs", "received_events_url": "https://api.github.com/users/gsyqax/received_events", "repos_url": "https://api.github.com/users/gsyqax/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gsyqax/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gsyqax/subscriptions", "type": "User", "url": "https://api.github.com/users/gsyqax" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "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" }
15
2020-05-23T16:05:51Z
2020-07-07T11:09:15Z
2020-07-07T11:09:11Z
CONTRIBUTOR
null
- [X] closes #28903 - [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/34343/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34343/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34343.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34343", "merged_at": "2020-07-07T11:09:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34343.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34343" }
https://api.github.com/repos/pandas-dev/pandas/issues/34344
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34344/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34344/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34344/events
https://github.com/pandas-dev/pandas/pull/34344
623,701,754
MDExOlB1bGxSZXF1ZXN0NDIyMzAxMDg3
34,344
BUG: don't plot colorbar if c is column containing colors
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-23T17:09:49Z
2020-06-14T16:31:23Z
2020-06-14T14:46:35Z
MEMBER
null
- [x] closes #34316 - [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/34344/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34344/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34344.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34344", "merged_at": "2020-06-14T14:46:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34344.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34344" }
https://api.github.com/repos/pandas-dev/pandas/issues/34345
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34345/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34345/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34345/events
https://github.com/pandas-dev/pandas/pull/34345
623,716,585
MDExOlB1bGxSZXF1ZXN0NDIyMzEwNjY3
34,345
REF: make CustomMixin a cdef class
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
21
2020-05-23T18:31:29Z
2020-05-28T15:53:12Z
2020-05-27T23:10:39Z
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/34345/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34345/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34345.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34345", "merged_at": "2020-05-27T23:10:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34345.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34345" }
https://api.github.com/repos/pandas-dev/pandas/issues/34346
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34346/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34346/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34346/events
https://github.com/pandas-dev/pandas/pull/34346
623,733,365
MDExOlB1bGxSZXF1ZXN0NDIyMzIxMjQ2
34,346
REF: move Year/Month/Quarter offsets to liboffsets
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-23T20:09:57Z
2020-05-25T17:39:07Z
2020-05-25T16:15:35Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34346/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34346/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34346.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34346", "merged_at": "2020-05-25T16:15:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34346.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34346" }
https://api.github.com/repos/pandas-dev/pandas/issues/34347
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34347/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34347/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34347/events
https://github.com/pandas-dev/pandas/pull/34347
623,733,746
MDExOlB1bGxSZXF1ZXN0NDIyMzIxNDY0
34,347
CLN: always pass op to combine_series_frame
{ "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-23T20:12:25Z
2020-05-25T17:40:59Z
2020-05-25T07:38:51Z
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/34347/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34347/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34347.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34347", "merged_at": "2020-05-25T07:38:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34347.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34347" }
https://api.github.com/repos/pandas-dev/pandas/issues/34348
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34348/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34348/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34348/events
https://github.com/pandas-dev/pandas/issues/34348
623,750,538
MDU6SXNzdWU2MjM3NTA1Mzg=
34,348
BUG: Clipboard tests failing in Dockerfile
{ "avatar_url": "https://avatars.githubusercontent.com/u/13473688?v=4", "events_url": "https://api.github.com/users/matteosantama/events{/privacy}", "followers_url": "https://api.github.com/users/matteosantama/followers", "following_url": "https://api.github.com/users/matteosantama/following{/other_user}", "gists_url": "https://api.github.com/users/matteosantama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matteosantama", "id": 13473688, "login": "matteosantama", "node_id": "MDQ6VXNlcjEzNDczNjg4", "organizations_url": "https://api.github.com/users/matteosantama/orgs", "received_events_url": "https://api.github.com/users/matteosantama/received_events", "repos_url": "https://api.github.com/users/matteosantama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matteosantama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matteosantama/subscriptions", "type": "User", "url": "https://api.github.com/users/matteosantama" }
[ { "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
8
2020-05-23T22:04:09Z
2020-05-27T19:26:09Z
2020-05-27T19:26:09Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python pytest pandas/tests/io/test_clipboard.py ``` #### Problem description Last three clipboard tests are failing in a Docker image running on Mac. Dug into the pyperclip code and the issue appears to be that the Docker container does not have a DISPLAY environment variable set correctly. Pyperclip code does not recognize my machine as a Mac, so it tries to proceed as if its a Linux. I've tried manually setting it, and the tests run through completion but the assertions fail and I get `Could not open display`. Does anyone have an idea how to fix this? Or is Dockerfile not supported for Macs?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34348/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34348/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34349
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34349/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34349/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34349/events
https://github.com/pandas-dev/pandas/pull/34349
623,823,549
MDExOlB1bGxSZXF1ZXN0NDIyMzgzODUy
34,349
DOC: Fix error in pandas.Index.to_series
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
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" }
7
2020-05-24T08:56:13Z
2020-05-25T16:25:46Z
2020-05-25T16:13:44Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.Index.to_series`: ``` ################################################################################ ################################## Validation ################################## ################################################################################ ``` Notes: While working with the documentation, I noticed that index parameter in `pandas.Index.to_series` has different behaviour with `pandas.Index.to_frame`. You can't specify index parameter to False in `pandas.Index.to_series` to achieve the same index result with `pandas.Index.to_frame`. Is this intentional?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34349/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34349/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34349.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34349", "merged_at": "2020-05-25T16:13:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34349.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34349" }
https://api.github.com/repos/pandas-dev/pandas/issues/34350
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34350/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34350/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34350/events
https://github.com/pandas-dev/pandas/issues/34350
623,829,962
MDU6SXNzdWU2MjM4Mjk5NjI=
34,350
retrieve unwanted things later
{ "avatar_url": "https://avatars.githubusercontent.com/u/25504213?v=4", "events_url": "https://api.github.com/users/ramimohammad/events{/privacy}", "followers_url": "https://api.github.com/users/ramimohammad/followers", "following_url": "https://api.github.com/users/ramimohammad/following{/other_user}", "gists_url": "https://api.github.com/users/ramimohammad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ramimohammad", "id": 25504213, "login": "ramimohammad", "node_id": "MDQ6VXNlcjI1NTA0MjEz", "organizations_url": "https://api.github.com/users/ramimohammad/orgs", "received_events_url": "https://api.github.com/users/ramimohammad/received_events", "repos_url": "https://api.github.com/users/ramimohammad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ramimohammad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ramimohammad/subscriptions", "type": "User", "url": "https://api.github.com/users/ramimohammad" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
6
2020-05-24T09:40:51Z
2020-08-21T17:05:41Z
2020-05-24T13:22:09Z
NONE
null
If I'm trying to make some data processing and I want to hide unwanted symbols or html codes during processing stage and I want to popup those unwanted things again on their origin place within the text after finishing. My question is : is that doable ? if yes .. how to do that ? Thanks
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34350/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34350/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34351
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34351/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34351/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34351/events
https://github.com/pandas-dev/pandas/issues/34351
623,838,508
MDU6SXNzdWU2MjM4Mzg1MDg=
34,351
BUG: set Index parameter to False in Index.to_series doesn't work as expected
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
null
3
2020-05-24T10:40:34Z
2021-08-07T22:17:33Z
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here In [1]: import pandas as pd In [2]: idx = pd.Index(['Ant', 'Bear', 'Cow'], name='animal') In [3]: idx.to_frame(index=False) Out[3]: animal 0 Ant 1 Bear 2 Cow In [4]: idx.to_series(index=False) ``` #### Traceback <details> ```python TypeError Traceback (most recent call last) <ipython-input-4-bc071128e429> in <module> ----> 1 idx.to_series(index=False) pandas\core\indexes\base.py in to_series(self, index, name) 1053 name = self.name 1054 -> 1055 return Series(self.values.copy(), index=index, name=name) 1056 1057 def to_frame(self, index: bool = True, name=None): pandas\core\series.py in __init__(self, data, index, dtype, name, copy, fastpath) 239 240 if index is not None: --> 241 index = ensure_index(index) 242 243 if data is None: pandas\core\indexes\base.py in ensure_index(index_like, copy) 5557 index_like = copy_func(index_like) 5558 -> 5559 return Index(index_like) 5560 5561 pandas\core\indexes\base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs) 403 404 elif data is None or is_scalar(data): --> 405 raise cls._scalar_data_error(data) 406 elif hasattr(data, "__array__"): 407 return Index(np.asarray(data), dtype=dtype, copy=copy, name=name, **kwargs) TypeError: Index(...) must be called with a collection of some kind, False was passed ``` </details> #### Problem description You can't specify index parameter to False in `pandas.Index.to_series` to achieve the same index result with `pandas.Index.to_frame`. It would be more intuitive if we could also specify index to False in `pandas.Index.to_series` and get default index, to match its counterpart. #### Expected Output ```python In [4]: idx.to_series(index=False) Out[4]: 0 Ant 1 Bear 2 Cow Name: animal, dtype: object ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 6ea1855489f5b1cc885ba1163451ccb717686ceb python : 3.8.2.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.16299 machine : AMD64 processor : Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : English_United States.1252 pandas : 1.1.0.dev0+1650.g6ea185548 numpy : 1.17.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 46.4.0.post20200518 Cython : 0.29.19 pytest : 5.4.2 hypothesis : 5.15.1 sphinx : 3.0.3 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.14.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fastparquet : 0.4.0 gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.3.2 sqlalchemy : 1.3.17 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.49.1 </details> If possible, I would really love to work on this issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34351/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34351/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34352
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34352/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34352/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34352/events
https://github.com/pandas-dev/pandas/pull/34352
623,840,147
MDExOlB1bGxSZXF1ZXN0NDIyMzk1NDUz
34,352
Use repr of fill_value in SparseDtype repr
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "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-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" }
7
2020-05-24T10:51:24Z
2020-05-26T06:36:09Z
2020-05-25T19:47:13Z
CONTRIBUTOR
null
This proposes changing the StringDtype repr to show the fill_value's repr rather than its string representation: ```python >>> arr = pd.arrays.SparseArray([0, 1]) >>> arr.dtype Sparse[int64, 0] # master & this PR, unchanged >>> arr.astype(str).dtype Sparse[object, 0] # master Sparse[object, '0'] # this PR, notice quotes ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34352/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34352/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34352.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34352", "merged_at": "2020-05-25T19:47:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34352.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34352" }
https://api.github.com/repos/pandas-dev/pandas/issues/34353
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34353/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34353/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34353/events
https://github.com/pandas-dev/pandas/issues/34353
623,854,530
MDU6SXNzdWU2MjM4NTQ1MzA=
34,353
ENH: should users be able to adjust subplot parameters?
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
2
2020-05-24T12:26:22Z
2020-05-28T15:38:20Z
2020-05-28T15:38:20Z
MEMBER
null
Noticed this while reviewing #34343 Currently, the example in the doc would look like this: ![image](https://user-images.githubusercontent.com/33491632/82753854-0799f280-9dc1-11ea-9675-7716dd75162f.png) IMO there's insufficient separation between the subplots. If we change [this line](https://github.com/pandas-dev/pandas/blob/cb35d8a938c9222d903482d2f66c62fece5a7aae/pandas/plotting/_matplotlib/boxplot.py#L427) to ```python fig.subplots_adjust(bottom=0.15, top=0.9, left=0.1, right=0.9, wspace=0.2, hspace=.5) ``` then this example would look like this ![image](https://user-images.githubusercontent.com/33491632/82754046-44b2b480-9dc2-11ea-97ad-a13b58d0d218.png) It seems these subplot adjustments aren't adjustable by the user. So, should the user be allowed to pass in these parameters (e.g. `hspace`), or should the fix here be to just hardcode `hspace=.5` into the line mentioned above, and if users want extra customisability they can use matplotlib directly?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34353/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34353/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34354
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34354/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34354/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34354/events
https://github.com/pandas-dev/pandas/pull/34354
623,872,084
MDExOlB1bGxSZXF1ZXN0NDIyNDE4NTgy
34,354
34297 sub slow in first call
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-24T14:09:46Z
2020-05-27T16:30:00Z
2020-05-26T22:52:51Z
MEMBER
null
- [x] closes #34297 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` @jbrockmendel I added a lenght check as suggested by you. I could not find another method to check the indices (nlevels for example does not work). I'm open to recommendations about adding additional checks before running into the values call. I have added a test, which measures the execution time of both calls to `sub`. Is there a better way to test, if they are equally fast?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34354/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34354/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34354.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34354", "merged_at": "2020-05-26T22:52:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34354.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34354" }
https://api.github.com/repos/pandas-dev/pandas/issues/34355
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34355/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34355/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34355/events
https://github.com/pandas-dev/pandas/pull/34355
623,901,480
MDExOlB1bGxSZXF1ZXN0NDIyNDM5NDUy
34,355
TST: sparse and dense concat test GH30667
{ "avatar_url": "https://avatars.githubusercontent.com/u/3820751?v=4", "events_url": "https://api.github.com/users/ricalanis/events{/privacy}", "followers_url": "https://api.github.com/users/ricalanis/followers", "following_url": "https://api.github.com/users/ricalanis/following{/other_user}", "gists_url": "https://api.github.com/users/ricalanis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ricalanis", "id": 3820751, "login": "ricalanis", "node_id": "MDQ6VXNlcjM4MjA3NTE=", "organizations_url": "https://api.github.com/users/ricalanis/orgs", "received_events_url": "https://api.github.com/users/ricalanis/received_events", "repos_url": "https://api.github.com/users/ricalanis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ricalanis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ricalanis/subscriptions", "type": "User", "url": "https://api.github.com/users/ricalanis" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-24T16:49:09Z
2020-05-25T12:41:33Z
2020-05-25T12:41:13Z
CONTRIBUTOR
null
- [x] closes #30668 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] Adds testing to ensure concat between dense and sparse
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34355/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34355/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34355.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34355", "merged_at": "2020-05-25T12:41:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34355.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34355" }
https://api.github.com/repos/pandas-dev/pandas/issues/34356
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34356/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34356/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34356/events
https://github.com/pandas-dev/pandas/issues/34356
623,953,358
MDU6SXNzdWU2MjM5NTMzNTg=
34,356
BUG: int64 and uint64 values converted to float64 when concatenated
{ "avatar_url": "https://avatars.githubusercontent.com/u/410028?v=4", "events_url": "https://api.github.com/users/bergkvist/events{/privacy}", "followers_url": "https://api.github.com/users/bergkvist/followers", "following_url": "https://api.github.com/users/bergkvist/following{/other_user}", "gists_url": "https://api.github.com/users/bergkvist/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bergkvist", "id": 410028, "login": "bergkvist", "node_id": "MDQ6VXNlcjQxMDAyOA==", "organizations_url": "https://api.github.com/users/bergkvist/orgs", "received_events_url": "https://api.github.com/users/bergkvist/received_events", "repos_url": "https://api.github.com/users/bergkvist/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bergkvist/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bergkvist/subscriptions", "type": "User", "url": "https://api.github.com/users/bergkvist" }
[]
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" }
14
2020-05-24T21:51:51Z
2020-05-26T06:27:40Z
2020-05-26T06:27:33Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd pd.concat([ pd.Series([1,2], dtype='uint64'), pd.Series([3,4], dtype='int64') ]) # Output: 0 1.0 1 2.0 0 3.0 1 4.0 dtype: float64 ``` #### Problem description The output datatype becomes float when the input datatypes are different integer types. Since there are no NaN-values or decimals involved, it can be confusing that you suddenly get float output. #### Expected Output ```py 0 1 1 2 0 3 1 4 dtype: int64 ``` *union(int64, uint64) ⊆ int65, which is the same as int64 unless you have numbers close to "the edge".* #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.9.125-linuxkit machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.0 numpy : 1.17.0 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.1 setuptools : 41.0.1 Cython : 0.29.13 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.7.0 pandas_datareader: None bs4 : 4.8.0 bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.1 numexpr : 2.6.9 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.0 sqlalchemy : 1.3.6 tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34356/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34356/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34357
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34357/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34357/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34357/events
https://github.com/pandas-dev/pandas/issues/34357
623,955,659
MDU6SXNzdWU2MjM5NTU2NTk=
34,357
BUG: merge drops index components sometimes, when join is empty
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
null
[]
null
4
2020-05-24T22:06:32Z
2020-09-05T20:42:22Z
null
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd left = pd.DataFrame({'a': [1], 'i': [1]}).set_index(['a', 'i']) right = pd.DataFrame({'i': [1]}).set_index(['i']) df = pd.merge( left, right, left_on="i", right_on="i", how="left") print(df) print(df.reset_index()) df = pd.merge( left, right, right_index=True, left_on="i", how="left") print(df) print(df.reset_index()) ``` #### Problem description The first merge changes the index of the left `DataFrame` in a way, that the index component `a` is dropped. ``` Empty DataFrame Columns: [] Index: [1] i 0 1 ``` The second merge returns the original index respectively `DataFrame` after resetting the index. I think this is the expected output. #### Expected Output ``` Empty DataFrame Columns: [] Index: [(1, 1)] a i 0 1 1 ``` #### Output of ``pd.show_versions()`` Was tested on master.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34357/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34357/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34358
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34358/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34358/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34358/events
https://github.com/pandas-dev/pandas/issues/34358
623,958,246
MDU6SXNzdWU2MjM5NTgyNDY=
34,358
BUG: reset_index() and set_index() expands uint32 to uint64
{ "avatar_url": "https://avatars.githubusercontent.com/u/410028?v=4", "events_url": "https://api.github.com/users/bergkvist/events{/privacy}", "followers_url": "https://api.github.com/users/bergkvist/followers", "following_url": "https://api.github.com/users/bergkvist/following{/other_user}", "gists_url": "https://api.github.com/users/bergkvist/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bergkvist", "id": 410028, "login": "bergkvist", "node_id": "MDQ6VXNlcjQxMDAyOA==", "organizations_url": "https://api.github.com/users/bergkvist/orgs", "received_events_url": "https://api.github.com/users/bergkvist/received_events", "repos_url": "https://api.github.com/users/bergkvist/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bergkvist/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bergkvist/subscriptions", "type": "User", "url": "https://api.github.com/users/bergkvist" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
null
3
2020-05-24T22:23:19Z
2020-05-26T00:26:14Z
2020-05-24T22:36:00Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python xy = pd.Series( index=pd.Index([1,2,3], dtype='uint32', name='x'), data=[4,5,6], dtype='uint32', name='y' ) >>> xy.reset_index().dtypes x uint64 y uint32 dtype: object >>> xy.reset_index().set_index('y').index.dtype dtype('uint64') ``` #### Problem description When using reset_index() or set_index(), the datatype of the affected array is expanded from uint32 to uint64. The dtype should remain unaffected. #### Expected Output ```py >>> xy.reset_index().dtypes x uint32 y uint32 dtype: object >>> xy.reset_index().set_index('y').index.dtype dtype('uint32') ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.9.125-linuxkit machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.0 numpy : 1.17.0 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.1 setuptools : 41.0.1 Cython : 0.29.13 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.7.0 pandas_datareader: None bs4 : 4.8.0 bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.1 numexpr : 2.6.9 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.0 sqlalchemy : 1.3.6 tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34358/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34358/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34359
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34359/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34359/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34359/events
https://github.com/pandas-dev/pandas/issues/34359
624,003,701
MDU6SXNzdWU2MjQwMDM3MDE=
34,359
BUG: inplace parameter will not perform the operation in place on multi column-sliced DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/23043207?v=4", "events_url": "https://api.github.com/users/fluid-gun/events{/privacy}", "followers_url": "https://api.github.com/users/fluid-gun/followers", "following_url": "https://api.github.com/users/fluid-gun/following{/other_user}", "gists_url": "https://api.github.com/users/fluid-gun/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fluid-gun", "id": 23043207, "login": "fluid-gun", "node_id": "MDQ6VXNlcjIzMDQzMjA3", "organizations_url": "https://api.github.com/users/fluid-gun/orgs", "received_events_url": "https://api.github.com/users/fluid-gun/received_events", "repos_url": "https://api.github.com/users/fluid-gun/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fluid-gun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fluid-gun/subscriptions", "type": "User", "url": "https://api.github.com/users/fluid-gun" }
[ { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
closed
false
null
[]
null
5
2020-05-25T02:21:31Z
2020-05-25T07:43:01Z
2020-05-25T07:43:01Z
NONE
null
Environment: Python 3.7.7 / NumPy 1.18.4 / Pandas 1.0.3 I have been testing the `inplace=True` parameters for a couple of functions, including `DataFrame.fillna()` and `DataFrame.clip()`. When I use the inplace parameter on a multi-column slicing of a DataFrame, it will not alter the original DataFrame. For instance, using the simple DataFrame below, ```python df = pd.DataFrame({'A':[1,None,5],'B':[3,4,-1]}) print(df) Out: A B 0 1.0 3 1 NaN 4 2 5.0 -1 ``` the code ```python df.loc[:, ['A','B']].fillna(0, inplace=True) # or df.loc[:, 'A':'B'].fillna(0, inplace=True) # or df.iloc[:,[0,1]].fillna(0, inplace=True) # or df.iloc[:,0:2].fillna(0, inplace=True) print(df) ``` will produce ```python Out: A B 0 1.0 3 1 NaN 4 2 5.0 -1 ``` as opposed to ```python Out: A B 0 1.0 3 1 0.0 4 2 5.0 -1 ``` Strangely enough, the parameter works perfectly when I'm slicing out just a single column ```python df[:, 'A'].fillna(0, inplace=True) print(df) Out: A B 0 1.0 3 1 0.0 4 2 5.0 -1 ``` or when I'm using the position-based slicing method `.iloc` without specifying the first column ```python df.iloc[:,:2].fillna(0, inplace=True) print(df) Out: A B 0 1.0 3 1 0.0 4 2 5.0 -1 ``` Let me know if this is the accepted/expected behavior or if there is a workaround. Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34359/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34359/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34360
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34360/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34360/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34360/events
https://github.com/pandas-dev/pandas/issues/34360
624,006,014
MDU6SXNzdWU2MjQwMDYwMTQ=
34,360
ENH: Correct use of `longtable`, `label`, and `caption` with LaTeX
{ "avatar_url": "https://avatars.githubusercontent.com/u/11929622?v=4", "events_url": "https://api.github.com/users/jdossgollin/events{/privacy}", "followers_url": "https://api.github.com/users/jdossgollin/followers", "following_url": "https://api.github.com/users/jdossgollin/following{/other_user}", "gists_url": "https://api.github.com/users/jdossgollin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jdossgollin", "id": 11929622, "login": "jdossgollin", "node_id": "MDQ6VXNlcjExOTI5NjIy", "organizations_url": "https://api.github.com/users/jdossgollin/orgs", "received_events_url": "https://api.github.com/users/jdossgollin/received_events", "repos_url": "https://api.github.com/users/jdossgollin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jdossgollin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jdossgollin/subscriptions", "type": "User", "url": "https://api.github.com/users/jdossgollin" }
[ { "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": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/36767735?v=4", "events_url": "https://api.github.com/users/jeschwar/events{/privacy}", "followers_url": "https://api.github.com/users/jeschwar/followers", "following_url": "https://api.github.com/users/jeschwar/following{/other_user}", "gists_url": "https://api.github.com/users/jeschwar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeschwar", "id": 36767735, "login": "jeschwar", "node_id": "MDQ6VXNlcjM2NzY3NzM1", "organizations_url": "https://api.github.com/users/jeschwar/orgs", "received_events_url": "https://api.github.com/users/jeschwar/received_events", "repos_url": "https://api.github.com/users/jeschwar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeschwar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeschwar/subscriptions", "type": "User", "url": "https://api.github.com/users/jeschwar" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/36767735?v=4", "events_url": "https://api.github.com/users/jeschwar/events{/privacy}", "followers_url": "https://api.github.com/users/jeschwar/followers", "following_url": "https://api.github.com/users/jeschwar/following{/other_user}", "gists_url": "https://api.github.com/users/jeschwar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeschwar", "id": 36767735, "login": "jeschwar", "node_id": "MDQ6VXNlcjM2NzY3NzM1", "organizations_url": "https://api.github.com/users/jeschwar/orgs", "received_events_url": "https://api.github.com/users/jeschwar/received_events", "repos_url": "https://api.github.com/users/jeschwar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeschwar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeschwar/subscriptions", "type": "User", "url": "https://api.github.com/users/jeschwar" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-05-25T02:31:13Z
2020-09-19T22:05:12Z
2020-09-19T22:05:12Z
NONE
null
#### Is your feature request related to a problem? Currently `DataFrame.to_latex()` has a `longtable` argument, which writes the DataFrame to latex using the syntax of the longtable package. When used with the `label` and `caption` arguments, it writes a latex table with all of these features. However, the caption and label are both placed between a `\begin{longtable}` line and `\endhead`. As a consequence, the table appears twice in the `listoftables` and leads to warnings about the reference being multiply defined #### Describe the solution you'd like the `.to_latex()` method when `longtable=True` and `caption=X` and `label=Y` should print out as follows ```latex \begin{longtable}{...}% alignment characters \caption{Caption here}\label{label-here} \endfirsthead \caption{Caption here} \endhead ``` This will prevent a separate label from being defined multiple times in latex (once for each page the caption is printed on). See page 5 of http://www.texdoc.net/texmf-dist/doc/latex/tools/longtable.pdf. #### API breaking implications None #### Describe alternatives you've considered An alternative is to set the caption and label to False, and to add them myself. This works but defeats the purpose of calling the `.to_latex()` API
{ "+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/34360/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34360/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34361
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34361/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34361/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34361/events
https://github.com/pandas-dev/pandas/issues/34361
624,047,332
MDU6SXNzdWU2MjQwNDczMzI=
34,361
BUG: Series.value_counts(normalize=True) fails with Int64Dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/3865159?v=4", "events_url": "https://api.github.com/users/elnikkis/events{/privacy}", "followers_url": "https://api.github.com/users/elnikkis/followers", "following_url": "https://api.github.com/users/elnikkis/following{/other_user}", "gists_url": "https://api.github.com/users/elnikkis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/elnikkis", "id": 3865159, "login": "elnikkis", "node_id": "MDQ6VXNlcjM4NjUxNTk=", "organizations_url": "https://api.github.com/users/elnikkis/orgs", "received_events_url": "https://api.github.com/users/elnikkis/received_events", "repos_url": "https://api.github.com/users/elnikkis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/elnikkis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elnikkis/subscriptions", "type": "User", "url": "https://api.github.com/users/elnikkis" }
[ { "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": "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
2020-05-25T05:05:43Z
2020-06-03T08:14:21Z
2020-05-25T06:10:23Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd pd.Series([1,2,3, None], dtype=pd.Int64Dtype()).value_counts(normalize=True) ``` Traceback: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/xxx/.pyenv/versions/pandas-test/lib/python3.8/site-packages/pandas/core/base.py", line 1229, in value_counts result = value_counts( File "/home/xxx/.pyenv/versions/pandas-test/lib/python3.8/site-packages/pandas/core/algorithms.py", line 731, in value_counts result = result / float(counts.sum()) AttributeError: 'IntegerArray' object has no attribute 'sum' ``` #### Problem description An error occurd when I called `Series.value_counts(normalize = True)` with Int64Dtype. #### Expected Output The result probably should be: ``` 3 0.333333 2 0.333333 1 0.333333 dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.0.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-6-amd64 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : ja_JP.UTF-8 LOCALE : ja_JP.UTF-8 pandas : 1.0.3 numpy : 1.18.4 pytz : 2020.1 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34361/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34361/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34362
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34362/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34362/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34362/events
https://github.com/pandas-dev/pandas/pull/34362
624,122,619
MDExOlB1bGxSZXF1ZXN0NDIyNjA3MTYw
34,362
DOC: Fix EX02 and SA01 in DataFrame.select_dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-25T08:04:59Z
2020-05-27T04:37:08Z
2020-05-27T04:37:02Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.DataFrame.select_dtypes`: ``` ################################################################################ ################################## Validation ################################## ################################################################################ 1 Errors found: No extended summary found ``` Notes: It seems like passing `int` to the parameter do not include/exclude all integer dtypes. But, passing `integer` would do otherwise. I think it is related to this issue https://github.com/pandas-dev/pandas/issues/29394. It would be more convenient if passing `int` as an input would match the result with passing `integer`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34362/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34362/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34362.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34362", "merged_at": "2020-05-27T04:37:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34362.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34362" }
https://api.github.com/repos/pandas-dev/pandas/issues/34363
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34363/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34363/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34363/events
https://github.com/pandas-dev/pandas/pull/34363
624,143,218
MDExOlB1bGxSZXF1ZXN0NDIyNjIzMzc5
34,363
TST: category isin on frame
{ "avatar_url": "https://avatars.githubusercontent.com/u/30647909?v=4", "events_url": "https://api.github.com/users/vampypandya/events{/privacy}", "followers_url": "https://api.github.com/users/vampypandya/followers", "following_url": "https://api.github.com/users/vampypandya/following{/other_user}", "gists_url": "https://api.github.com/users/vampypandya/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vampypandya", "id": 30647909, "login": "vampypandya", "node_id": "MDQ6VXNlcjMwNjQ3OTA5", "organizations_url": "https://api.github.com/users/vampypandya/orgs", "received_events_url": "https://api.github.com/users/vampypandya/received_events", "repos_url": "https://api.github.com/users/vampypandya/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vampypandya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vampypandya/subscriptions", "type": "User", "url": "https://api.github.com/users/vampypandya" }
[ { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-25T08:42:07Z
2020-07-10T00:08:31Z
2020-07-10T00:08:27Z
CONTRIBUTOR
null
- [x] closes #34256 - [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/34363/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34363/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34363.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34363", "merged_at": "2020-07-10T00:08:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34363.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34363" }
https://api.github.com/repos/pandas-dev/pandas/issues/34364
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34364/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34364/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34364/events
https://github.com/pandas-dev/pandas/issues/34364
624,254,494
MDU6SXNzdWU2MjQyNTQ0OTQ=
34,364
Unexpected behaviour
{ "avatar_url": "https://avatars.githubusercontent.com/u/7630415?v=4", "events_url": "https://api.github.com/users/rangeonnicolas/events{/privacy}", "followers_url": "https://api.github.com/users/rangeonnicolas/followers", "following_url": "https://api.github.com/users/rangeonnicolas/following{/other_user}", "gists_url": "https://api.github.com/users/rangeonnicolas/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rangeonnicolas", "id": 7630415, "login": "rangeonnicolas", "node_id": "MDQ6VXNlcjc2MzA0MTU=", "organizations_url": "https://api.github.com/users/rangeonnicolas/orgs", "received_events_url": "https://api.github.com/users/rangeonnicolas/received_events", "repos_url": "https://api.github.com/users/rangeonnicolas/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rangeonnicolas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rangeonnicolas/subscriptions", "type": "User", "url": "https://api.github.com/users/rangeonnicolas" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "36ede0", "default": false, "description": "Non-Recoverable Error", "id": 1121248195, "name": "Segfault", "node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault" } ]
open
false
null
[]
null
6
2020-05-25T11:58:18Z
2021-08-07T22:20:01Z
null
NONE
null
Hello ! I discovered an unexpected behaviour while using pandas ## Code Sample ``` import pandas as pd def process(df): df.index = df["A"] df.loc['first', 'A'] = 'first' print("Before") print(df) print() df.loc['first', 'B'] = 99 print("After") print(df) print("First processing : without csv file :\n") df = pd.DataFrame({'A': ["first", "second"], 'B': [3,4]}) process(df) print("\n\nSecond processing : via a csv file :\n") df = pd.DataFrame({'A': ["first", "second"], 'B': [3,4]}) df.to_csv("df.csv",index=False) df = pd.read_csv("df.csv") process(df) ``` ## Problem description The 2 output that `process(df)` produces are different if `df` have been previously exported to a csv file or not. ## Expected output ``` First processing : without csv file : Before A B A first first 3 second second 4 After A B A first first 99 second second 4 Second processing : via a csv file : Before A B A first first 3 second second 4 After A B A first first 99 second second 4 ``` ## Actual output ``` First processing : without csv file : Before A B A first first 3 second second 4 After A B A first first 99 second second 4 Second processing : via a csv file : Before A B A first first 3 second second 4 After A B A first NaN 99.0 second second 4.0 first NaN 99.0 ``` ## Mea culpa I guess that writing `df.index = df["A"]` is a bad practice because comumn `A` is still linked to the index. So when we modify column `A`, the index is changed as well. It could be good to raise a Warning to tell silly people like me that I shouldn't do that. Thank you, and have a cute day ! [show_versions.txt](https://github.com/pandas-dev/pandas/files/4677020/show_versions.txt)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34364/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34364/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34365
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34365/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34365/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34365/events
https://github.com/pandas-dev/pandas/issues/34365
624,324,004
MDU6SXNzdWU2MjQzMjQwMDQ=
34,365
ENH: Make DataFrame.insert more flexible
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
4
2020-05-25T14:09:51Z
2020-05-25T23:34:25Z
null
CONTRIBUTOR
null
``DataFrame.insert`` is very inflexible today and can not really be used in pipes. I'd like to do several changes to the method: * Add a inplace parameter, so the result from the op can be returned. * allow a callable for ``value``, so the new values can be computed from existing column values. * allow a dict for ``value``, so the several columns can be inserted simultaneously, * add ``insert_after`` and ``insert_before`` parameters to allow label-based insertion location. * move ``loc`` to the after ``value`` and let it have a default value of None, i.e. insert the new column at the end of the frame if location is not specified. * deprecate ``DataFrame.assign``. It's functionality would be covered by the changed ``DataFrame.insert`` method. The above change would allow us to be quite flexible when creating new columns in pipes. For example we could do ```python df.insert("formal_name", lambda: "Mr. " + x["last_name"], insert_after="last_name") .pipe(...) ``` The above is obviously quite a large change. It could be discussed if it would be better make it a new method instead of changing an existing one...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34365/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34365/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34366
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34366/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34366/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34366/events
https://github.com/pandas-dev/pandas/pull/34366
624,400,336
MDExOlB1bGxSZXF1ZXN0NDIyODMxMTEy
34,366
DOC - Moving Tips and Trick from wiki to Style Guide - added Reading …
{ "avatar_url": "https://avatars.githubusercontent.com/u/7084628?v=4", "events_url": "https://api.github.com/users/vijaysaimutyala/events{/privacy}", "followers_url": "https://api.github.com/users/vijaysaimutyala/followers", "following_url": "https://api.github.com/users/vijaysaimutyala/following{/other_user}", "gists_url": "https://api.github.com/users/vijaysaimutyala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vijaysaimutyala", "id": 7084628, "login": "vijaysaimutyala", "node_id": "MDQ6VXNlcjcwODQ2Mjg=", "organizations_url": "https://api.github.com/users/vijaysaimutyala/orgs", "received_events_url": "https://api.github.com/users/vijaysaimutyala/received_events", "repos_url": "https://api.github.com/users/vijaysaimutyala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vijaysaimutyala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vijaysaimutyala/subscriptions", "type": "User", "url": "https://api.github.com/users/vijaysaimutyala" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
17
2020-05-25T16:50:26Z
2020-07-08T16:05:44Z
2020-07-08T15:36:29Z
CONTRIBUTOR
null
This changes referring to https://github.com/pandas-dev/pandas/issues/30964 is for removing tips and tricks section page from the [wiki](https://github.com/pandas-dev/pandas/wiki/Tips-&-Tricks-for-pandas-dev) to the [Code Style guide](https://pandas.io/docs/development/code_style.html). Since this is my first contribution, I've tried to keep this as simple as possible. @simonjayhawkins mentioned that the conventions for urlopen and ZipFile should be captured under our contributing style guide, testing section. I've seen that there is no Testing section and have created a new section and added these two sections from the Wiki post here. Enabling the Travis-CI and Azure CI pipeline build seemed a bit tough for me. I will try to do the build from my side in my next PR. Let me know if any corrections are needed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34366/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34366/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34366.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34366", "merged_at": "2020-07-08T15:36:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34366.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34366" }
https://api.github.com/repos/pandas-dev/pandas/issues/34367
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34367/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34367/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34367/events
https://github.com/pandas-dev/pandas/issues/34367
624,427,084
MDU6SXNzdWU2MjQ0MjcwODQ=
34,367
REGR: frame/frame op with unaligned blocks + non-slice-like placement failing with assertion error
{ "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" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-25T18:06:00Z
2020-05-28T17:19:47Z
2020-05-28T17:19:47Z
MEMBER
null
``` In [7]: arr = np.random.randint(0, 1000, (100, 10)) In [8]: df1 = pd.DataFrame(arr) In [9]: df2 = df1.copy() ...: df2.iloc[0, [1, 3, 7]] = np.nan In [10]: df1 + df2 --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) <ipython-input-10-fa4784095cc3> in <module> ----> 1 df1 + df2 ~/scipy/pandas/pandas/core/ops/__init__.py in f(self, other, axis, level, fill_value) 663 if isinstance(other, ABCDataFrame): 664 # Another DataFrame --> 665 new_data = self._combine_frame(other, na_op, fill_value) 666 667 elif isinstance(other, ABCSeries): ~/scipy/pandas/pandas/core/frame.py in _combine_frame(self, other, func, fill_value) 5734 return func(left, right) 5735 -> 5736 new_data = ops.dispatch_to_series(self, other, _arith_op) 5737 return new_data 5738 ~/scipy/pandas/pandas/core/ops/__init__.py in dispatch_to_series(left, right, func, axis) 283 284 array_op = get_array_op(func) --> 285 bm = left._mgr.operate_blockwise(right._mgr, array_op) 286 return type(left)(bm) 287 ~/scipy/pandas/pandas/core/internals/managers.py in operate_blockwise(self, other, array_op) 358 Apply array_op blockwise with another (aligned) BlockManager. 359 """ --> 360 return operate_blockwise(self, other, array_op) 361 362 def apply(self: T, f, align_keys=None, **kwargs) -> T: ~/scipy/pandas/pandas/core/internals/ops.py in operate_blockwise(left, right, array_op) 34 right_ea = not isinstance(rblk.values, np.ndarray) 35 ---> 36 lvals, rvals = _get_same_shape_values(blk, rblk, left_ea, right_ea) 37 38 res_values = array_op(lvals, rvals) ~/scipy/pandas/pandas/core/internals/ops.py in _get_same_shape_values(lblk, rblk, left_ea, right_ea) 84 85 # Require that the indexing into lvals be slice-like ---> 86 assert rblk.mgr_locs.is_slice_like, rblk.mgr_locs 87 88 # TODO(EA2D): with 2D EAs pnly this first clause would be needed AssertionError: BlockPlacement([0 2 4 5 6 8 9]) ``` cc @jbrockmendel I suppose caused by the frame-frame blockwise PR (https://github.com/pandas-dev/pandas/pull/32779), but didn't yet look into detail Just removing the assertion seems to still work (for this case), but I don't know if that `_get_same_shape_values` functino relies on the `is_slice_like` characteristic for its implementation to be correct
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34367/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34367/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34368
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34368/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34368/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34368/events
https://github.com/pandas-dev/pandas/pull/34368
624,451,213
MDExOlB1bGxSZXF1ZXN0NDIyODcwMzU2
34,368
BUG: new method for join with multiindex and single index (#34292)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13030185?v=4", "events_url": "https://api.github.com/users/CuylenE/events{/privacy}", "followers_url": "https://api.github.com/users/CuylenE/followers", "following_url": "https://api.github.com/users/CuylenE/following{/other_user}", "gists_url": "https://api.github.com/users/CuylenE/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CuylenE", "id": 13030185, "login": "CuylenE", "node_id": "MDQ6VXNlcjEzMDMwMTg1", "organizations_url": "https://api.github.com/users/CuylenE/orgs", "received_events_url": "https://api.github.com/users/CuylenE/received_events", "repos_url": "https://api.github.com/users/CuylenE/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CuylenE/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CuylenE/subscriptions", "type": "User", "url": "https://api.github.com/users/CuylenE" }
[ { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
closed
false
null
[]
null
3
2020-05-25T19:19:58Z
2020-11-29T04:47:14Z
2020-11-29T04:47:14Z
CONTRIBUTOR
null
- [x] closes #34292 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Tests still to be added. I replaced the method to join a multiindex & a single index because outer joins didn't include data from the single index. The new method is similar to a join between 2 multiindexes. I'm not sure what the keep_order parameter was, but it was never used and in other _join-methods it didn't exist either. So I suggest removing it all together.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34368/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34368/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34368.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34368", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34368.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34368" }
https://api.github.com/repos/pandas-dev/pandas/issues/34369
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34369/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34369/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34369/events
https://github.com/pandas-dev/pandas/pull/34369
624,454,283
MDExOlB1bGxSZXF1ZXN0NDIyODcyNjQ5
34,369
Backport PR #32479 on branch 1.0.x (BUG: Fix issue with datetime[ns, tz] input in Block.setitem)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
0
2020-05-25T19:29:07Z
2020-05-26T07:41:02Z
2020-05-26T07:40:42Z
MEMBER
null
xref #32479, #32395 regression in 1.0.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34369/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34369/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34369.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34369", "merged_at": "2020-05-26T07:40:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34369.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34369" }
https://api.github.com/repos/pandas-dev/pandas/issues/34370
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34370/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34370/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34370/events
https://github.com/pandas-dev/pandas/pull/34370
624,474,164
MDExOlB1bGxSZXF1ZXN0NDIyODg4MjAz
34,370
CLN Replace old string formatting syntax with f-strings #29547: 2 files w…
{ "avatar_url": "https://avatars.githubusercontent.com/u/59281854?v=4", "events_url": "https://api.github.com/users/OlivierLuG/events{/privacy}", "followers_url": "https://api.github.com/users/OlivierLuG/followers", "following_url": "https://api.github.com/users/OlivierLuG/following{/other_user}", "gists_url": "https://api.github.com/users/OlivierLuG/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/OlivierLuG", "id": 59281854, "login": "OlivierLuG", "node_id": "MDQ6VXNlcjU5MjgxODU0", "organizations_url": "https://api.github.com/users/OlivierLuG/orgs", "received_events_url": "https://api.github.com/users/OlivierLuG/received_events", "repos_url": "https://api.github.com/users/OlivierLuG/repos", "site_admin": false, "starred_url": "https://api.github.com/users/OlivierLuG/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OlivierLuG/subscriptions", "type": "User", "url": "https://api.github.com/users/OlivierLuG" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-25T20:32:04Z
2020-05-28T21:44:46Z
2020-05-26T13:00:16Z
CONTRIBUTOR
null
Hello, i'm new to github / opensource. Let me know if I'm doing things correctly pandas/_libs/tslibs/timedeltas.pyx pandas/_libs/tslibs/timestamps.pyx Replace old string formatting syntax with f-strings #29547 - [ 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/34370/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34370/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34370.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34370", "merged_at": "2020-05-26T13:00:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34370.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34370" }
https://api.github.com/repos/pandas-dev/pandas/issues/34371
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34371/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34371/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34371/events
https://github.com/pandas-dev/pandas/pull/34371
624,483,331
MDExOlB1bGxSZXF1ZXN0NDIyODk1NDE4
34,371
DOC: GH4607 added clarification to business DateOffset
{ "avatar_url": "https://avatars.githubusercontent.com/u/60854603?v=4", "events_url": "https://api.github.com/users/dhuettenmoser/events{/privacy}", "followers_url": "https://api.github.com/users/dhuettenmoser/followers", "following_url": "https://api.github.com/users/dhuettenmoser/following{/other_user}", "gists_url": "https://api.github.com/users/dhuettenmoser/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dhuettenmoser", "id": 60854603, "login": "dhuettenmoser", "node_id": "MDQ6VXNlcjYwODU0NjAz", "organizations_url": "https://api.github.com/users/dhuettenmoser/orgs", "received_events_url": "https://api.github.com/users/dhuettenmoser/received_events", "repos_url": "https://api.github.com/users/dhuettenmoser/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dhuettenmoser/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dhuettenmoser/subscriptions", "type": "User", "url": "https://api.github.com/users/dhuettenmoser" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-25T21:01:34Z
2020-05-27T01:00:57Z
2020-05-26T13:07:03Z
CONTRIBUTOR
null
- [x] closes #4607 Added clarifying details to Business Year, Quarter, and Month, End and Begin docs
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34371/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34371/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34371.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34371", "merged_at": "2020-05-26T13:07:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34371.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34371" }
https://api.github.com/repos/pandas-dev/pandas/issues/34372
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34372/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34372/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34372/events
https://github.com/pandas-dev/pandas/pull/34372
624,502,748
MDExOlB1bGxSZXF1ZXN0NDIyOTEwNDEx
34,372
CLN: Unify signatures in _libs.groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "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": "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-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
2020-05-25T22:11:25Z
2020-07-11T16:01:52Z
2020-06-18T22:59:07Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref https://github.com/pandas-dev/pandas/pull/33630#discussion_r428737327 The main goal is to allow _get_cythonized_result to be used with the cython implementation of var. In order to do this, it was best to modify the signatures in _libs.groupby of - group_any_all; - _group_var; and - group_quantile so that the order of the arguments matches other cython functions (e.g. those used in ops.BaseGrouper.aggregate or transform). Note this PR has the fix for #33955 that is also in #33988 - that PR should be merged first. Tests using %timeit on dataframes of various shapes (code for generating is at the bottom): ![image](https://user-images.githubusercontent.com/45562402/83825639-e3cf8a00-a6a7-11ea-84c7-c224870cae8b.png) I looked into the last row. 26.7% of the time is spent in just iterating over the columns, 12.8% in the cython call, and 35.7% in the call to ``_wrap_aggregated_output``. While working on this, it seemed best to implement ``ddof != 1`` in cython for var. The following code takes 26.5ms on master and 3.88ms in this PR. ```` ncol, order = 1, 6 df = pd.DataFrame(np.random.uniform(low=0.0, high=10.0, size=(10**order, ncol))) df['key'] = np.random.randint(0, 50, (10**order, 1)) g = df.groupby('key') t = %timeit -o g.std(ddof=4) ````
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34372/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34372/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34372.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34372", "merged_at": "2020-06-18T22:59:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34372.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34372" }
https://api.github.com/repos/pandas-dev/pandas/issues/34373
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34373/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34373/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34373/events
https://github.com/pandas-dev/pandas/issues/34373
624,508,314
MDU6SXNzdWU2MjQ1MDgzMTQ=
34,373
BUG: test_finalize.py tests failing on master with pytest-randomly
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "Unit tests that occasionally fail", "id": 76939933, "name": "Unreliable Test", "node_id": "MDU6TGFiZWw3NjkzOTkzMw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test" }, { "color": "f9c1b1", "default": false, "description": "Linux OS", "id": 1233745380, "name": "Linux", "node_id": "MDU6TGFiZWwxMjMzNzQ1Mzgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Linux" } ]
open
false
null
[]
null
10
2020-05-25T22:35:08Z
2021-08-07T22:21:10Z
null
MEMBER
null
On Ubuntu18 im seeing a variable number of tests in test_binops failing with empty `.attrs` cc @TomAugspurger
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34373/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34373/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34374
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34374/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34374/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34374/events
https://github.com/pandas-dev/pandas/pull/34374
624,511,532
MDExOlB1bGxSZXF1ZXN0NDIyOTE3MjIy
34,374
CLN: remove _combine_series_frame
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-25T22:50:33Z
2020-05-26T01:21:43Z
2020-05-26T01:17:04Z
MEMBER
null
Following this we can consolidate some dispatch_to_series calls, saving that for a separate step for clarity of exposition.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34374/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34374/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34374.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34374", "merged_at": "2020-05-26T01:17:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34374.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34374" }
https://api.github.com/repos/pandas-dev/pandas/issues/34375
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34375/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34375/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34375/events
https://github.com/pandas-dev/pandas/pull/34375
624,518,357
MDExOlB1bGxSZXF1ZXN0NDIyOTIyNTc5
34,375
BUG:#29928 Fix to_json output 'table' orient for single level MultiIndex.
{ "avatar_url": "https://avatars.githubusercontent.com/u/44552904?v=4", "events_url": "https://api.github.com/users/LucasG0/events{/privacy}", "followers_url": "https://api.github.com/users/LucasG0/followers", "following_url": "https://api.github.com/users/LucasG0/following{/other_user}", "gists_url": "https://api.github.com/users/LucasG0/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/LucasG0", "id": 44552904, "login": "LucasG0", "node_id": "MDQ6VXNlcjQ0NTUyOTA0", "organizations_url": "https://api.github.com/users/LucasG0/orgs", "received_events_url": "https://api.github.com/users/LucasG0/received_events", "repos_url": "https://api.github.com/users/LucasG0/repos", "site_admin": false, "starred_url": "https://api.github.com/users/LucasG0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LucasG0/subscriptions", "type": "User", "url": "https://api.github.com/users/LucasG0" }
[ { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
10
2020-05-25T23:23:16Z
2021-02-11T01:41:37Z
2021-02-11T01:41:36Z
NONE
null
`dataframe.to_json()` was writing incorrect index field name, so applying read_json resulted in NaN index values. `dataframe.to_json()` now converts single level MultiIndex into single Index before encoding. - [x] closes #29928 - [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/34375/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34375/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34375.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34375", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34375.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34375" }
https://api.github.com/repos/pandas-dev/pandas/issues/34376
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34376/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34376/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34376/events
https://github.com/pandas-dev/pandas/issues/34376
624,545,582
MDU6SXNzdWU2MjQ1NDU1ODI=
34,376
DOC: Add D-Tale to Visualizations section of Pandas Ecosystem
{ "avatar_url": "https://avatars.githubusercontent.com/u/11547371?v=4", "events_url": "https://api.github.com/users/aschonfeld/events{/privacy}", "followers_url": "https://api.github.com/users/aschonfeld/followers", "following_url": "https://api.github.com/users/aschonfeld/following{/other_user}", "gists_url": "https://api.github.com/users/aschonfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aschonfeld", "id": 11547371, "login": "aschonfeld", "node_id": "MDQ6VXNlcjExNTQ3Mzcx", "organizations_url": "https://api.github.com/users/aschonfeld/orgs", "received_events_url": "https://api.github.com/users/aschonfeld/received_events", "repos_url": "https://api.github.com/users/aschonfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aschonfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aschonfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/aschonfeld" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-26T01:31:32Z
2020-05-27T18:28:32Z
2020-05-27T18:28:32Z
CONTRIBUTOR
null
#### Location of the documentation [Pandas Ecosystem - Visualization](https://pandas.pydata.org/docs/ecosystem.html#visualization) #### Documentation problem This isn't a problem, just a suggestion for improving the current ecosystem listing. #### Suggested fix for documentation [D-Tale](https://github.com/man-group/dtale) is a open-source tool for visualizing pandas data structures and it has really started to gain some traction in the data science community. 1K+ stars since 9/2019. I think it would be nice addition to the visualization section of "Pandas Ecosystem". Here's an example of the listing for it, but feel free to write your own (assuming you think it should be added): ### [D-Tale](https://github.com/man-group/dtale) D-Tale is the combination of a Flask back-end and React front-end to bring you an easy way to view, edit & analyze Pandas data structures. Also, includes a fully-featured chart builder by way of Plotly Dash. It integrates seamlessly with jupyter notebooks, python terminals, kaggle. Currently this tool supports such Pandas objects as DataFrame, Series, MultiIndex, DatetimeIndex & RangeIndex. A nice demo is located [here](http://alphatechadmin.pythonanywhere.com/).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34376/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34376/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34377
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34377/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34377/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34377/events
https://github.com/pandas-dev/pandas/pull/34377
624,553,285
MDExOlB1bGxSZXF1ZXN0NDIyOTQ5MDQw
34,377
BUG: pd.DataFrame.transform recursively loops in some cases #34224
{ "avatar_url": "https://avatars.githubusercontent.com/u/26471690?v=4", "events_url": "https://api.github.com/users/pedrooa/events{/privacy}", "followers_url": "https://api.github.com/users/pedrooa/followers", "following_url": "https://api.github.com/users/pedrooa/following{/other_user}", "gists_url": "https://api.github.com/users/pedrooa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pedrooa", "id": 26471690, "login": "pedrooa", "node_id": "MDQ6VXNlcjI2NDcxNjkw", "organizations_url": "https://api.github.com/users/pedrooa/orgs", "received_events_url": "https://api.github.com/users/pedrooa/received_events", "repos_url": "https://api.github.com/users/pedrooa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pedrooa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pedrooa/subscriptions", "type": "User", "url": "https://api.github.com/users/pedrooa" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-05-26T02:02:16Z
2020-06-03T18:05:44Z
2020-06-03T18:05:38Z
CONTRIBUTOR
null
- [x] closes #34224 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Error handling within try/except in aggregate function of frame.py 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/34377/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34377/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34377.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34377", "merged_at": "2020-06-03T18:05:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34377.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34377" }
https://api.github.com/repos/pandas-dev/pandas/issues/34378
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34378/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34378/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34378/events
https://github.com/pandas-dev/pandas/pull/34378
624,575,153
MDExOlB1bGxSZXF1ZXN0NDIyOTY1NzQz
34,378
REF: Week, Semi-Month, FY5253 offsets to liboffsets
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-26T03:22:19Z
2020-05-26T22:20:00Z
2020-05-26T22:17:47Z
MEMBER
null
Bigger chunk than usual.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34378/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34378/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34378.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34378", "merged_at": "2020-05-26T22:17:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34378.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34378" }
https://api.github.com/repos/pandas-dev/pandas/issues/34379
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34379/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34379/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34379/events
https://github.com/pandas-dev/pandas/pull/34379
624,589,609
MDExOlB1bGxSZXF1ZXN0NDIyOTc2NzQz
34,379
BUG/API: to_timedelta unit-argument ignored for string input
{ "avatar_url": "https://avatars.githubusercontent.com/u/12197385?v=4", "events_url": "https://api.github.com/users/pdnm/events{/privacy}", "followers_url": "https://api.github.com/users/pdnm/followers", "following_url": "https://api.github.com/users/pdnm/following{/other_user}", "gists_url": "https://api.github.com/users/pdnm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pdnm", "id": 12197385, "login": "pdnm", "node_id": "MDQ6VXNlcjEyMTk3Mzg1", "organizations_url": "https://api.github.com/users/pdnm/orgs", "received_events_url": "https://api.github.com/users/pdnm/received_events", "repos_url": "https://api.github.com/users/pdnm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pdnm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pdnm/subscriptions", "type": "User", "url": "https://api.github.com/users/pdnm" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
null
2
2020-05-26T04:15:42Z
2020-06-08T01:56:49Z
2020-06-08T01:56:49Z
CONTRIBUTOR
null
Supersedes #23025 - [x] closes #12136 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - [x] merge master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34379/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34379/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34379.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34379", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34379.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34379" }
https://api.github.com/repos/pandas-dev/pandas/issues/34380
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34380/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34380/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34380/events
https://github.com/pandas-dev/pandas/issues/34380
624,626,306
MDU6SXNzdWU2MjQ2MjYzMDY=
34,380
BUG:
{ "avatar_url": "https://avatars.githubusercontent.com/u/10682573?v=4", "events_url": "https://api.github.com/users/jesrael/events{/privacy}", "followers_url": "https://api.github.com/users/jesrael/followers", "following_url": "https://api.github.com/users/jesrael/following{/other_user}", "gists_url": "https://api.github.com/users/jesrael/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jesrael", "id": 10682573, "login": "jesrael", "node_id": "MDQ6VXNlcjEwNjgyNTcz", "organizations_url": "https://api.github.com/users/jesrael/orgs", "received_events_url": "https://api.github.com/users/jesrael/received_events", "repos_url": "https://api.github.com/users/jesrael/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jesrael/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jesrael/subscriptions", "type": "User", "url": "https://api.github.com/users/jesrael" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
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" }
15
2020-05-26T06:14:40Z
2020-08-21T17:05:42Z
2020-06-10T15:58:18Z
NONE
null
From [SO](https://stackoverflow.com/q/62015410/2901002): --- After specified column after groupby output is incorrect. df = pd.DataFrame({'token': [12345.0, 12345.0, 12345.0, 12345.0, 12345.0, 12345.0, 6789.0, 6789.0, 6789.0, 6789.0, 6789.0, 6789.0], 'name': ['abc', 'abc', 'abc', 'abc', 'abc', 'abc', 'xyz', 'xyz', 'xyz', 'xyz', 'xyz', 'xyz'], 'ltp': [2.0, 5.0, 3.0, 9.0, 5.0, 16.0, 1.0, 5.0, 3.0, 13.0, 9.0, 20.0], 'change': [np.nan, 1.5, -0.4, 2.0, -0.44444399999999995, 2.2, np.nan, 4.0, -0.4, 3.333333, -0.307692, 1.222222]}) print (df) token name ltp change 0 12345.0 abc 2.0 NaN 1 12345.0 abc 5.0 1.500000 2 12345.0 abc 3.0 -0.400000 3 12345.0 abc 9.0 2.000000 4 12345.0 abc 5.0 -0.444444 5 12345.0 abc 16.0 2.200000 6 6789.0 xyz 1.0 NaN 7 6789.0 xyz 5.0 4.000000 8 6789.0 xyz 3.0 -0.400000 9 6789.0 xyz 13.0 3.333333 10 6789.0 xyz 9.0 -0.307692 11 6789.0 xyz 20.0 1.222222 --- Correct using named aggregation: df0 = df.groupby('name').agg(pos=pd.NamedAgg(column='change',aggfunc=lambda x: x.gt(0).sum()),\ neg = pd.NamedAgg(column='change',aggfunc=lambda x:x.lt(0).sum())) print (df0) pos neg name abc 3.0 2.0 xyz 3.0 2.0 Wrong output: df1 = df.groupby('name')['change'].agg(pos = pd.NamedAgg(column='change',aggfunc=lambda x:x.gt(0).sum()),\ neg = pd.NamedAgg(column='change',aggfunc=lambda x:x.lt(0).sum())) print (df1) pos neg name abc 2.0 2.0 xyz 2.0 2.0 Correct using column after groupby: df2 = df.groupby('name')['change'].agg(pos = lambda x:x.gt(0).sum(),\ neg = lambda x:x.lt(0).sum()) print (df2) pos neg name abc 3.0 2.0 xyz 3.0 2.0 In my opinion instead wrong output it should raise error/warning. Version of pandas: INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 7 machine : AMD64 processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : en LOCALE : None.None pandas : 1.0.1 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200210 Cython : 0.29.15 pytest : 5.3.5 hypothesis : 5.5.4 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.5 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.13 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 numba : 0.48.0 None
{ "+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/34380/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34380/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34381
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34381/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34381/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34381/events
https://github.com/pandas-dev/pandas/issues/34381
624,672,502
MDU6SXNzdWU2MjQ2NzI1MDI=
34,381
BUG: pd.tseries.frequencies.to_offset() does not really provide a DateOffset object
{ "avatar_url": "https://avatars.githubusercontent.com/u/27021858?v=4", "events_url": "https://api.github.com/users/meteoDaniel/events{/privacy}", "followers_url": "https://api.github.com/users/meteoDaniel/followers", "following_url": "https://api.github.com/users/meteoDaniel/following{/other_user}", "gists_url": "https://api.github.com/users/meteoDaniel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meteoDaniel", "id": 27021858, "login": "meteoDaniel", "node_id": "MDQ6VXNlcjI3MDIxODU4", "organizations_url": "https://api.github.com/users/meteoDaniel/orgs", "received_events_url": "https://api.github.com/users/meteoDaniel/received_events", "repos_url": "https://api.github.com/users/meteoDaniel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meteoDaniel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meteoDaniel/subscriptions", "type": "User", "url": "https://api.github.com/users/meteoDaniel" }
[ { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
open
false
null
[]
null
4
2020-05-26T07:50:29Z
2021-08-07T22:22:08Z
null
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd from datetime import datetime data=pd.DataFrame([[430., 630.], [540., 660.], [610., 720.]], columns=[1, 2], index=pd.date_range(datetime(2019, 1, 1, 12), datetime(2019, 1, 1, 12, 30), freq='15min')) pd.tseries.frequencies.to_offset(pd.infer_freq(data.index)) >> <15 * Minutes> pd.tseries.frequencies.to_offset(pd.infer_freq(data.index)) / 2 >> <450 * Secondes> pd.tseries.offsets.DateOffset(minutes=15) >> <DateOffset: minutes=15> pd.tseries.offsets.DateOffset(minutes=15) / 2 >> TypeError: unsupported operand type(s) for /: 'DateOffset' and 'int' ``` #### Problem description The function `pd.tseries.frequencies.to_offset` does not really provide a `DateOffset`object. As I understand the code right there are several types of DateOffsets e.g. Minutes, Seconds that are not compareable with the DateOffset object because they are having different properties. #### Expected Output One Unified pd.DateOffset Object with same properties for all inherit Objects like Minutes and Seconds #### Output of ``pd.show_versions()`` <details> [INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-99-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.0.3 numpy : 1.16.0 pytz : 2018.9 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 Cython : 0.28.3 pytest : 4.3.0 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.2.1 html5lib : 0.999999999 pymysql : 0.9.3 psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : 7.11.1 pandas_datareader: None bs4 : 4.6.0 bottleneck : 1.3.0 fastparquet : None gcsfs : None lxml.etree : 4.2.1 matplotlib : 2.2.2 numexpr : 2.6.4 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.13.0 pytables : None pytest : 4.3.0 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.16 tables : 3.4.2 tabulate : 0.8.5 xarray : 0.10.9 xlrd : 1.1.0 xlwt : None xlsxwriter : None numba : 0.42.0 ] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34381/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34381/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34382
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34382/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34382/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34382/events
https://github.com/pandas-dev/pandas/pull/34382
624,695,579
MDExOlB1bGxSZXF1ZXN0NDIzMDU5MDQx
34,382
Backport PR #33644 on branch 1.0.x (BUG: Groupby quantiles incorrect bins)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
0
2020-05-26T08:26:15Z
2020-05-26T09:14:57Z
2020-05-26T09:14:50Z
MEMBER
null
xref #33644, #33200, #33569 regression in #20405 (0.25.0)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34382/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34382/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34382.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34382", "merged_at": "2020-05-26T09:14:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34382.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34382" }
https://api.github.com/repos/pandas-dev/pandas/issues/34383
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34383/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34383/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34383/events
https://github.com/pandas-dev/pandas/issues/34383
624,732,202
MDU6SXNzdWU2MjQ3MzIyMDI=
34,383
DOC: Indexing and selecting data and the use of mask/where
{ "avatar_url": "https://avatars.githubusercontent.com/u/1465603?v=4", "events_url": "https://api.github.com/users/psteinb/events{/privacy}", "followers_url": "https://api.github.com/users/psteinb/followers", "following_url": "https://api.github.com/users/psteinb/following{/other_user}", "gists_url": "https://api.github.com/users/psteinb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/psteinb", "id": 1465603, "login": "psteinb", "node_id": "MDQ6VXNlcjE0NjU2MDM=", "organizations_url": "https://api.github.com/users/psteinb/orgs", "received_events_url": "https://api.github.com/users/psteinb/received_events", "repos_url": "https://api.github.com/users/psteinb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/psteinb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/psteinb/subscriptions", "type": "User", "url": "https://api.github.com/users/psteinb" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-26T09:18:32Z
2020-06-02T22:57:43Z
2020-06-02T22:57:43Z
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#evaluation-order-matters #### Documentation problem The documentation talks about how **not** to use `dfb['c'][dfb['a'].str.startswith('o')] = 42` for assignment of multiple values to a `pandas.Series` or `pandas.DataFrame` column. it does however fail to make a concrete suggestion how to do it given the example. #### Suggested fix for documentation I suggest to mention the `pandas.Series.where` and `pandas.Series.mask` methods here in order to show how the assignment can be done, i.e. by adding an example like: ```python dfb['c'].mask(dfb['a'].str.startswith('o'), 42) ``` which performs the desired assigment of rows matching `o` to `42`. I am happy to contribute this as a PR myself.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34383/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34383/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34384
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34384/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34384/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34384/events
https://github.com/pandas-dev/pandas/issues/34384
624,868,083
MDU6SXNzdWU2MjQ4NjgwODM=
34,384
TST: use ensure_clean rather than explicit os.remove
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/18306309?v=4", "events_url": "https://api.github.com/users/jnecus/events{/privacy}", "followers_url": "https://api.github.com/users/jnecus/followers", "following_url": "https://api.github.com/users/jnecus/following{/other_user}", "gists_url": "https://api.github.com/users/jnecus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnecus", "id": 18306309, "login": "jnecus", "node_id": "MDQ6VXNlcjE4MzA2MzA5", "organizations_url": "https://api.github.com/users/jnecus/orgs", "received_events_url": "https://api.github.com/users/jnecus/received_events", "repos_url": "https://api.github.com/users/jnecus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnecus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnecus/subscriptions", "type": "User", "url": "https://api.github.com/users/jnecus" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/18306309?v=4", "events_url": "https://api.github.com/users/jnecus/events{/privacy}", "followers_url": "https://api.github.com/users/jnecus/followers", "following_url": "https://api.github.com/users/jnecus/following{/other_user}", "gists_url": "https://api.github.com/users/jnecus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnecus", "id": 18306309, "login": "jnecus", "node_id": "MDQ6VXNlcjE4MzA2MzA5", "organizations_url": "https://api.github.com/users/jnecus/orgs", "received_events_url": "https://api.github.com/users/jnecus/received_events", "repos_url": "https://api.github.com/users/jnecus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnecus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnecus/subscriptions", "type": "User", "url": "https://api.github.com/users/jnecus" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-05-26T13:04:56Z
2020-10-12T15:11:12Z
2020-10-12T15:11:12Z
CONTRIBUTOR
null
``` ~/pandas-dev$ grep -r os.remove pandas/tests/ pandas/tests/io/excel/test_openpyxl.py: os.remove(filename) pandas/tests/io/excel/test_writers.py: # os.remove(filename) pandas/tests/io/excel/test_writers.py: # os.remove(filename) pandas/tests/io/pytables/common.py: os.remove(path) ``` we should also create a rule in code_checks.sh to avoid doing this in the future
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34384/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34384/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34385
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34385/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34385/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34385/events
https://github.com/pandas-dev/pandas/pull/34385
624,901,482
MDExOlB1bGxSZXF1ZXN0NDIzMjIwMzk5
34,385
use ensure_clean rather than explicit os.remove #34384
{ "avatar_url": "https://avatars.githubusercontent.com/u/18306309?v=4", "events_url": "https://api.github.com/users/jnecus/events{/privacy}", "followers_url": "https://api.github.com/users/jnecus/followers", "following_url": "https://api.github.com/users/jnecus/following{/other_user}", "gists_url": "https://api.github.com/users/jnecus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnecus", "id": 18306309, "login": "jnecus", "node_id": "MDQ6VXNlcjE4MzA2MzA5", "organizations_url": "https://api.github.com/users/jnecus/orgs", "received_events_url": "https://api.github.com/users/jnecus/received_events", "repos_url": "https://api.github.com/users/jnecus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnecus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnecus/subscriptions", "type": "User", "url": "https://api.github.com/users/jnecus" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
11
2020-05-26T13:53:08Z
2020-10-13T07:32:40Z
2020-10-12T15:11:12Z
CONTRIBUTOR
null
closes #34384 I have made a start at this issue #34384. Please let me know if I am along the right lines (beginner contributor). I've left a space in code_checks.sh where I expect to implement the check for instances of 'os.remove' throughout the code.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34385/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34385/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34385.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34385", "merged_at": "2020-10-12T15:11:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34385.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34385" }
https://api.github.com/repos/pandas-dev/pandas/issues/34386
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34386/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34386/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34386/events
https://github.com/pandas-dev/pandas/pull/34386
624,918,223
MDExOlB1bGxSZXF1ZXN0NDIzMjM0MDYx
34,386
CLN: de-duplicate dispatch_to_series calls
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-26T14:16:03Z
2020-05-26T22:20:34Z
2020-05-26T22:12:46Z
MEMBER
null
Unwrap td64/dt64 so those operate blockwise.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34386/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34386/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34386.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34386", "merged_at": "2020-05-26T22:12:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34386.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34386" }
https://api.github.com/repos/pandas-dev/pandas/issues/34387
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34387/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34387/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34387/events
https://github.com/pandas-dev/pandas/pull/34387
624,936,029
MDExOlB1bGxSZXF1ZXN0NDIzMjQ4NDkx
34,387
REF: is_subperiod, is_superperiod out of libfreqs
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-26T14:39:51Z
2020-05-26T22:10:25Z
2020-05-26T21:41:18Z
MEMBER
null
When we first moved these functions from tseries.frequencies to libfrequencies a couple years ago there was a question of it was really necessary, and the answer is now an unambiguous "no"
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34387/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34387/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34387.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34387", "merged_at": "2020-05-26T21:41:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34387.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34387" }
https://api.github.com/repos/pandas-dev/pandas/issues/34388
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34388/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34388/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34388/events
https://github.com/pandas-dev/pandas/issues/34388
624,952,326
MDU6SXNzdWU2MjQ5NTIzMjY=
34,388
BUG: pd.DataFrame.add() does not broadcast across levels, when level is None
{ "avatar_url": "https://avatars.githubusercontent.com/u/8992201?v=4", "events_url": "https://api.github.com/users/iyer/events{/privacy}", "followers_url": "https://api.github.com/users/iyer/followers", "following_url": "https://api.github.com/users/iyer/following{/other_user}", "gists_url": "https://api.github.com/users/iyer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/iyer", "id": 8992201, "login": "iyer", "node_id": "MDQ6VXNlcjg5OTIyMDE=", "organizations_url": "https://api.github.com/users/iyer/orgs", "received_events_url": "https://api.github.com/users/iyer/received_events", "repos_url": "https://api.github.com/users/iyer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/iyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iyer/subscriptions", "type": "User", "url": "https://api.github.com/users/iyer" }
[ { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/29053090?v=4", "events_url": "https://api.github.com/users/gabrieldi95/events{/privacy}", "followers_url": "https://api.github.com/users/gabrieldi95/followers", "following_url": "https://api.github.com/users/gabrieldi95/following{/other_user}", "gists_url": "https://api.github.com/users/gabrieldi95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabrieldi95", "id": 29053090, "login": "gabrieldi95", "node_id": "MDQ6VXNlcjI5MDUzMDkw", "organizations_url": "https://api.github.com/users/gabrieldi95/orgs", "received_events_url": "https://api.github.com/users/gabrieldi95/received_events", "repos_url": "https://api.github.com/users/gabrieldi95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabrieldi95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabrieldi95/subscriptions", "type": "User", "url": "https://api.github.com/users/gabrieldi95" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/29053090?v=4", "events_url": "https://api.github.com/users/gabrieldi95/events{/privacy}", "followers_url": "https://api.github.com/users/gabrieldi95/followers", "following_url": "https://api.github.com/users/gabrieldi95/following{/other_user}", "gists_url": "https://api.github.com/users/gabrieldi95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabrieldi95", "id": 29053090, "login": "gabrieldi95", "node_id": "MDQ6VXNlcjI5MDUzMDkw", "organizations_url": "https://api.github.com/users/gabrieldi95/orgs", "received_events_url": "https://api.github.com/users/gabrieldi95/received_events", "repos_url": "https://api.github.com/users/gabrieldi95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabrieldi95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabrieldi95/subscriptions", "type": "User", "url": "https://api.github.com/users/gabrieldi95" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
7
2020-05-26T15:01:16Z
2021-10-21T01:50:26Z
null
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [X] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # create dataframe df1 = pd.DataFrame({'A': [0, 1, 2], 'B': [1, 2, 3]}) df1.columns.set_names('L1', inplace=True) # create dataframe with multiindex in column df2 = pd.DataFrame({('A', 'C'): [0, 0, 0], ('A', 'D'): [0, 0, 0]}) df2.columns.set_names(['L1', 'L2'], inplace=True) # returns dataframe of nans df1.add(df2) # returns dataframe with valid values df1.add(df2, level=0) ``` #### Problem description In pandas 0.23.2 the behavior was correct where level=None was treated as level=0 and being broadcasted. However in pandas 1.0.3, it appears as though a bug got introduced. #### Expected Output Out[1]: A C D 0 0 0 1 1 1 2 2 2 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 4.14.13-1.el7.elrepo.x86_64 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : 0.29.17 pytest : 5.4.2 hypothesis : None sphinx : 3.0.3 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.2 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : None numba : 0.49.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34388/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34388/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34389
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34389/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34389/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34389/events
https://github.com/pandas-dev/pandas/pull/34389
625,003,234
MDExOlB1bGxSZXF1ZXN0NDIzMzAzOTE3
34,389
CLN: _consolidate_inplace less
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
10
2020-05-26T16:07:54Z
2020-05-27T14:10:39Z
2020-05-26T22:47:19Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34389/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34389/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34389.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34389", "merged_at": "2020-05-26T22:47:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34389.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34389" }
https://api.github.com/repos/pandas-dev/pandas/issues/34390
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34390/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34390/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34390/events
https://github.com/pandas-dev/pandas/issues/34390
625,018,957
MDU6SXNzdWU2MjUwMTg5NTc=
34,390
BUG: Result of rolling mean depends on more observations than are in window
{ "avatar_url": "https://avatars.githubusercontent.com/u/380927?v=4", "events_url": "https://api.github.com/users/cpaulik/events{/privacy}", "followers_url": "https://api.github.com/users/cpaulik/followers", "following_url": "https://api.github.com/users/cpaulik/following{/other_user}", "gists_url": "https://api.github.com/users/cpaulik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpaulik", "id": 380927, "login": "cpaulik", "node_id": "MDQ6VXNlcjM4MDkyNw==", "organizations_url": "https://api.github.com/users/cpaulik/orgs", "received_events_url": "https://api.github.com/users/cpaulik/received_events", "repos_url": "https://api.github.com/users/cpaulik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpaulik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpaulik/subscriptions", "type": "User", "url": "https://api.github.com/users/cpaulik" }
[ { "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
5
2020-05-26T16:31:34Z
2020-05-28T16:39:15Z
2020-05-28T16:39:14Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd import datetime as dt data = np.array([0.1552, 0.1746, 0.1932, 0.234 , np.nan, 0.2423, 0.1648, np.nan, 0.2148, 0.2081, 0.2313, 0.2011, np.nan, 0.2076, 0.2096, np.nan, 0.1801, 0.1872, 0.1878, 0.1949, np.nan, 0.1608, np.nan, np.nan, 0.1793, np.nan, 0.1689, 0.1631, np.nan, 0.1586, 0.1531, np.nan, 0.149 , 0.1434, np.nan, 0.1526, np.nan, 0.1293, 0.1268, np.nan]) dates_pandas = pd.date_range(start=dt.date(2020, 3, 24), periods=data.shape[0]) ser = pd.Series(data, index=dates_pandas) full_mean = ser.rolling(window="20D", min_periods=2, center=False, closed='both').mean() shorter_mean = ser['2020-03-25':].rolling(window="20D", min_periods=2, center=False, closed='both').mean() print(full_mean['2020-05-02'], full_mean['2020-05-02'].round(4)) print(shorter_mean['2020-05-02'], shorter_mean['2020-05-02'].round(4)) ``` ##### Output ``` 0.15664999999999998 0.1566 0.15665000000000004 0.1567 ``` #### Problem description The rolling mean in the example should only take the last 20 values into account. The output for the last day `2020-05-02` does however depend on the inclusion of a value on `2020-03-24`. This is especially visible if we round the output to the 4 digit precision that the input data has. #### Expected Output Both running means should be the same value. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.7.final.0 python-bits : 64 OS : Linux OS-release : 5.6.12-arch1-1 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.0.post20191101 Cython : 0.29.13 pytest : 5.3.0 hypothesis : None sphinx : 2.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.0 pyxlsb : None s3fs : None scipy : 1.3.2 sqlalchemy : 1.3.17 tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34390/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34390/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34391
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34391/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34391/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34391/events
https://github.com/pandas-dev/pandas/pull/34391
625,080,082
MDExOlB1bGxSZXF1ZXN0NDIzMzY2ODY5
34,391
REF: BusinessDay, BusinessHour to liboffsets
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-26T18:04:15Z
2020-05-26T22:20:16Z
2020-05-26T22:14:43Z
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/34391/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34391/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34391.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34391", "merged_at": "2020-05-26T22:14:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34391.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34391" }
https://api.github.com/repos/pandas-dev/pandas/issues/34392
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34392/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34392/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34392/events
https://github.com/pandas-dev/pandas/pull/34392
625,099,694
MDExOlB1bGxSZXF1ZXN0NDIzMzgyNTAz
34,392
ENH: Set index of returned dataframe in DatetimeIndex.isocalendar
{ "avatar_url": "https://avatars.githubusercontent.com/u/124705?v=4", "events_url": "https://api.github.com/users/mgmarino/events{/privacy}", "followers_url": "https://api.github.com/users/mgmarino/followers", "following_url": "https://api.github.com/users/mgmarino/following{/other_user}", "gists_url": "https://api.github.com/users/mgmarino/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mgmarino", "id": 124705, "login": "mgmarino", "node_id": "MDQ6VXNlcjEyNDcwNQ==", "organizations_url": "https://api.github.com/users/mgmarino/orgs", "received_events_url": "https://api.github.com/users/mgmarino/received_events", "repos_url": "https://api.github.com/users/mgmarino/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mgmarino/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mgmarino/subscriptions", "type": "User", "url": "https://api.github.com/users/mgmarino" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-05-26T18:36:43Z
2021-10-29T14:22:50Z
2020-05-27T12:36:13Z
CONTRIBUTOR
null
This is a followup on #33595, (specifically [here](https://github.com/pandas-dev/pandas/pull/33595#issuecomment-614888200) and [here](https://github.com/pandas-dev/pandas/pull/33595#issuecomment-614897268)), where it was noted that `DatetimeIndex.isocalendar` should set the index of the returned dataframe.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34392/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34392/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34392.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34392", "merged_at": "2020-05-27T12:36:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34392.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34392" }
https://api.github.com/repos/pandas-dev/pandas/issues/34393
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34393/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34393/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34393/events
https://github.com/pandas-dev/pandas/pull/34393
625,108,884
MDExOlB1bGxSZXF1ZXN0NDIzMzkwMDAz
34,393
DOC: add a semicolon to hide long matplotlib axes return value
{ "avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4", "events_url": "https://api.github.com/users/partev/events{/privacy}", "followers_url": "https://api.github.com/users/partev/followers", "following_url": "https://api.github.com/users/partev/following{/other_user}", "gists_url": "https://api.github.com/users/partev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/partev", "id": 23830955, "login": "partev", "node_id": "MDQ6VXNlcjIzODMwOTU1", "organizations_url": "https://api.github.com/users/partev/orgs", "received_events_url": "https://api.github.com/users/partev/received_events", "repos_url": "https://api.github.com/users/partev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/partev/subscriptions", "type": "User", "url": "https://api.github.com/users/partev" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-26T18:51:37Z
2020-05-28T21:17:00Z
2020-05-28T20:24:31Z
CONTRIBUTOR
null
add a semicolon to hide debug messages like: Out[85]: array([[<matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0ad6e3d0>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0ad4a350>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0aa10250>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a6367d0>], [<matplotlib.axes._subplots.AxesSubplot object at 0x7f3d088c2d50>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d089ea310>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d08d89890>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a76ae10>], [<matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a756090>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a8dd750>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d096aaed0>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0937d490>], [<matplotlib.axes._subplots.AxesSubplot object at 0x7f3d09f49a10>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a0551d0>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a418550>, <matplotlib.axes._subplots.AxesSubplot object at 0x7f3d0a6f0ad0>]], dtype=object) which you can see here: https://pandas.pydata.org/docs/user_guide/visualization.html - [ ] 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/34393/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34393/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34393.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34393", "merged_at": "2020-05-28T20:24:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34393.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34393" }
https://api.github.com/repos/pandas-dev/pandas/issues/34394
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34394/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34394/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34394/events
https://github.com/pandas-dev/pandas/pull/34394
625,172,492
MDExOlB1bGxSZXF1ZXN0NDIzNDQyNTY4
34,394
DOC: "Setting layouts" plots' label size GH34305
{ "avatar_url": "https://avatars.githubusercontent.com/u/47032941?v=4", "events_url": "https://api.github.com/users/najann/events{/privacy}", "followers_url": "https://api.github.com/users/najann/followers", "following_url": "https://api.github.com/users/najann/following{/other_user}", "gists_url": "https://api.github.com/users/najann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/najann", "id": 47032941, "login": "najann", "node_id": "MDQ6VXNlcjQ3MDMyOTQx", "organizations_url": "https://api.github.com/users/najann/orgs", "received_events_url": "https://api.github.com/users/najann/received_events", "repos_url": "https://api.github.com/users/najann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/najann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/najann/subscriptions", "type": "User", "url": "https://api.github.com/users/najann" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-26T20:19:42Z
2020-06-07T21:23:16Z
2020-06-07T21:23:10Z
CONTRIBUTOR
null
- [X] closes #34305 - [ ] 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/34394/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34394/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34394.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34394", "merged_at": "2020-06-07T21:23:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34394.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34394" }
https://api.github.com/repos/pandas-dev/pandas/issues/34395
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34395/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34395/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34395/events
https://github.com/pandas-dev/pandas/issues/34395
625,214,790
MDU6SXNzdWU2MjUyMTQ3OTA=
34,395
BUG: OverflowError on to_json with numbers larger than sys.maxsize
{ "avatar_url": "https://avatars.githubusercontent.com/u/27340?v=4", "events_url": "https://api.github.com/users/kinghuang/events{/privacy}", "followers_url": "https://api.github.com/users/kinghuang/followers", "following_url": "https://api.github.com/users/kinghuang/following{/other_user}", "gists_url": "https://api.github.com/users/kinghuang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kinghuang", "id": 27340, "login": "kinghuang", "node_id": "MDQ6VXNlcjI3MzQw", "organizations_url": "https://api.github.com/users/kinghuang/orgs", "received_events_url": "https://api.github.com/users/kinghuang/received_events", "repos_url": "https://api.github.com/users/kinghuang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kinghuang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kinghuang/subscriptions", "type": "User", "url": "https://api.github.com/users/kinghuang" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-05-26T21:36:29Z
2020-06-24T23:44:41Z
2020-06-24T23:44:41Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import sys from pandas.io.json import dumps dumps(sys.maxsize) dumps(sys.maxsize + 1) ``` #### Problem description The Pandas JSON dumper doesn't seem to handle number values larger than `sys.maxsize` (a word). I have a dataframe that I'm trying to write to_json, but it's failing with `OverflowError: int too big to convert`. There are some numbers larger than `9223372036854775807` in it. Passing a `default_handler` doesn't help. It doesn't get called for the error. ```python >>> dumps(sys.maxsize) '9223372036854775807' >>> dumps(sys.maxsize + 1, default_handler=str) Traceback (most recent call last): File "<stdin>", line 1, in <module> OverflowError: int too big to convert ``` #### Expected Output Python's built-in json module handles large numbers without issues. ```python >>> import json >>> json.dumps(sys.maxsize) '9223372036854775807' >>> json.dumps(sys.maxsize+1) '9223372036854775808' ``` I expect Pandas to be able to output large numbers to JSON. An option to use the built-in `json` module instead of `ujson` would be fine. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.final.0 python-bits : 64 OS : Linux OS-release : 4.19.76-linuxkit machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.1.1 setuptools : 46.4.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.16.0 pytables : None pytest : None pyxlsb : None s3fs : 0.4.2 scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34395/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34395/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34396
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34396/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34396/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34396/events
https://github.com/pandas-dev/pandas/pull/34396
625,228,324
MDExOlB1bGxSZXF1ZXN0NDIzNDg3NzA5
34,396
DOC: added D-Tale to the visualizations section of Ecosystem page
{ "avatar_url": "https://avatars.githubusercontent.com/u/11547371?v=4", "events_url": "https://api.github.com/users/aschonfeld/events{/privacy}", "followers_url": "https://api.github.com/users/aschonfeld/followers", "following_url": "https://api.github.com/users/aschonfeld/following{/other_user}", "gists_url": "https://api.github.com/users/aschonfeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aschonfeld", "id": 11547371, "login": "aschonfeld", "node_id": "MDQ6VXNlcjExNTQ3Mzcx", "organizations_url": "https://api.github.com/users/aschonfeld/orgs", "received_events_url": "https://api.github.com/users/aschonfeld/received_events", "repos_url": "https://api.github.com/users/aschonfeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aschonfeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aschonfeld/subscriptions", "type": "User", "url": "https://api.github.com/users/aschonfeld" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-26T22:02:51Z
2020-05-27T18:34:13Z
2020-05-27T18:28:32Z
CONTRIBUTOR
null
- [x] closes #34376 Added [D-Tale](https://github.com/man-group/dtale) to the visualizations section of [Pandas Ecosystem](https://pandas.pydata.org/docs/ecosystem.html) doc
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34396/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34396/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34396.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34396", "merged_at": "2020-05-27T18:28:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34396.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34396" }
https://api.github.com/repos/pandas-dev/pandas/issues/34397
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34397/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34397/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34397/events
https://github.com/pandas-dev/pandas/pull/34397
625,233,276
MDExOlB1bGxSZXF1ZXN0NDIzNDkxNzc0
34,397
CLN: GH29547 Replace old string formatting with f-strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/13473688?v=4", "events_url": "https://api.github.com/users/matteosantama/events{/privacy}", "followers_url": "https://api.github.com/users/matteosantama/followers", "following_url": "https://api.github.com/users/matteosantama/following{/other_user}", "gists_url": "https://api.github.com/users/matteosantama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matteosantama", "id": 13473688, "login": "matteosantama", "node_id": "MDQ6VXNlcjEzNDczNjg4", "organizations_url": "https://api.github.com/users/matteosantama/orgs", "received_events_url": "https://api.github.com/users/matteosantama/received_events", "repos_url": "https://api.github.com/users/matteosantama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matteosantama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matteosantama/subscriptions", "type": "User", "url": "https://api.github.com/users/matteosantama" }
[ { "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
[]
null
2
2020-05-26T22:13:31Z
2020-05-27T02:11:48Z
2020-05-27T02:11:41Z
CONTRIBUTOR
null
Is it normal for all my old commits on other branches to appear here? Am I doing something wrong?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34397/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34397/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34397.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34397", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/34397.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34397" }
https://api.github.com/repos/pandas-dev/pandas/issues/34398
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34398/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34398/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34398/events
https://github.com/pandas-dev/pandas/pull/34398
625,291,984
MDExOlB1bGxSZXF1ZXN0NDIzNTM5Njk0
34,398
REF: move remaining offsets into liboffsets
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-05-27T00:51:00Z
2020-05-27T17:32:54Z
2020-05-27T17:23:51Z
MEMBER
null
this _doesnt_ make them all cdef classes yet; need to get #34345 figured out before that is doable.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34398/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34398/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34398.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34398", "merged_at": "2020-05-27T17:23:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34398.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34398" }
https://api.github.com/repos/pandas-dev/pandas/issues/34399
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34399/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34399/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34399/events
https://github.com/pandas-dev/pandas/pull/34399
625,323,995
MDExOlB1bGxSZXF1ZXN0NDIzNTY1MTEy
34,399
CLN: GH29547 format with f-strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/13473688?v=4", "events_url": "https://api.github.com/users/matteosantama/events{/privacy}", "followers_url": "https://api.github.com/users/matteosantama/followers", "following_url": "https://api.github.com/users/matteosantama/following{/other_user}", "gists_url": "https://api.github.com/users/matteosantama/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matteosantama", "id": 13473688, "login": "matteosantama", "node_id": "MDQ6VXNlcjEzNDczNjg4", "organizations_url": "https://api.github.com/users/matteosantama/orgs", "received_events_url": "https://api.github.com/users/matteosantama/received_events", "repos_url": "https://api.github.com/users/matteosantama/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matteosantama/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matteosantama/subscriptions", "type": "User", "url": "https://api.github.com/users/matteosantama" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-27T02:20:12Z
2020-05-28T19:17:24Z
2020-05-28T17:15:01Z
CONTRIBUTOR
null
Sorry all, new PR. Didn't branch off master for the last one. #29547
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34399/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34399/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34399.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34399", "merged_at": "2020-05-28T17:15:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34399.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34399" }
https://api.github.com/repos/pandas-dev/pandas/issues/34400
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34400/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34400/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34400/events
https://github.com/pandas-dev/pandas/pull/34400
625,329,495
MDExOlB1bGxSZXF1ZXN0NDIzNTY5NDU0
34,400
CLN: de-duplicate paths in tslibs
{ "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-27T02:34:59Z
2020-05-27T17:32:17Z
2020-05-27T17:23:34Z
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/34400/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34400/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34400.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34400", "merged_at": "2020-05-27T17:23:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34400.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34400" }
https://api.github.com/repos/pandas-dev/pandas/issues/34401
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34401/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34401/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34401/events
https://github.com/pandas-dev/pandas/pull/34401
625,338,024
MDExOlB1bGxSZXF1ZXN0NDIzNTc2MTQw
34,401
CI: Remove unused import in offsets.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-27T03:00:13Z
2020-05-27T03:29:18Z
2020-05-27T03:28:58Z
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/34401/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34401/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34401.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34401", "merged_at": "2020-05-27T03:28:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34401.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34401" }
https://api.github.com/repos/pandas-dev/pandas/issues/34402
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34402/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34402/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34402/events
https://github.com/pandas-dev/pandas/pull/34402
625,467,210
MDExOlB1bGxSZXF1ZXN0NDIzNjc1MDgw
34,402
BUG/API: other object type check in Series/DataFrame.equals
{ "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
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" }
14
2020-05-27T07:56:20Z
2020-07-15T22:25:27Z
2020-07-15T22:25:23Z
MEMBER
null
xref https://github.com/geopandas/geopandas/issues/1420 First, this PR is fixing the "bug" that we shouldn't rely on `_constructor` being a class that can be used in `isinstance` (see https://github.com/pandas-dev/pandas/issues/32638 for the general discussion about this, this is the only place in our code where `_constructor` is used like this, AFAIK). And even if `_constructor` would be a class, it wouldn't necessarily be the correct class to check with (or not more correct than `type(self)`) But, so this also brings up the API question: what are the "requirements" we put on the type of `other` ? Should it be the same type? (as then could also change it to `if not type(self) is type(other): ...`) Or is a subclass sufficient (with `isinstance`) ? The problem with an isinstance checks with subclasses is that then the order matters (eg `subdf.equals(df)` would not necessarily give the same answer as `df.equals(subdf)`)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34402/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34402/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34402.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34402", "merged_at": "2020-07-15T22:25:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34402.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34402" }
https://api.github.com/repos/pandas-dev/pandas/issues/34403
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34403/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34403/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34403/events
https://github.com/pandas-dev/pandas/issues/34403
625,495,701
MDU6SXNzdWU2MjU0OTU3MDE=
34,403
pandas.core.base.DataError: No numeric types to aggregate
{ "avatar_url": "https://avatars.githubusercontent.com/u/16291603?v=4", "events_url": "https://api.github.com/users/ishgupta/events{/privacy}", "followers_url": "https://api.github.com/users/ishgupta/followers", "following_url": "https://api.github.com/users/ishgupta/following{/other_user}", "gists_url": "https://api.github.com/users/ishgupta/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ishgupta", "id": 16291603, "login": "ishgupta", "node_id": "MDQ6VXNlcjE2MjkxNjAz", "organizations_url": "https://api.github.com/users/ishgupta/orgs", "received_events_url": "https://api.github.com/users/ishgupta/received_events", "repos_url": "https://api.github.com/users/ishgupta/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ishgupta/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ishgupta/subscriptions", "type": "User", "url": "https://api.github.com/users/ishgupta" }
[ { "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
7
2020-05-27T08:37:00Z
2020-06-05T18:49:23Z
2020-05-28T16:40:28Z
NONE
null
aggregating a boolean fields doesn't allow averaging the data column in the latest version. Is there a new alternative of doing this for boolean attributes, or it should only be handled by transforming it to a int/float only? data[ group_fields + [ bool_field ]].groupby( group_fields ).mean() produces the error mentioned in subject.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34403/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34403/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34404
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34404/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34404/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34404/events
https://github.com/pandas-dev/pandas/issues/34404
625,590,272
MDU6SXNzdWU2MjU1OTAyNzI=
34,404
BUG: Memory leak when calling an apply with datetime.fromtimestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/56838676?v=4", "events_url": "https://api.github.com/users/frd-glovo/events{/privacy}", "followers_url": "https://api.github.com/users/frd-glovo/followers", "following_url": "https://api.github.com/users/frd-glovo/following{/other_user}", "gists_url": "https://api.github.com/users/frd-glovo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frd-glovo", "id": 56838676, "login": "frd-glovo", "node_id": "MDQ6VXNlcjU2ODM4Njc2", "organizations_url": "https://api.github.com/users/frd-glovo/orgs", "received_events_url": "https://api.github.com/users/frd-glovo/received_events", "repos_url": "https://api.github.com/users/frd-glovo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frd-glovo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frd-glovo/subscriptions", "type": "User", "url": "https://api.github.com/users/frd-glovo" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
6
2020-05-27T10:52:35Z
2020-08-21T17:05:42Z
2020-05-27T13:09:58Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np import psutil import os from datetime import datetime def process_samples(df): df['time'] = df['time'].apply(lambda x: datetime.fromtimestamp(x//10**3)) df = df.rename(columns={'time':f'time_timestamp' }) df = pd.DataFrame({'time':np.random.randint(0,1000, size=30)}) process = psutil.Process(os.getpid()) beg = process.memory_info().rss/1024/1024 for i in range(1000000): process_samples(df.copy()) end = process.memory_info().rss/1024/1024 if i % 500 ==0: print(f'Memory after {i} iterations ', end, ', difference w.r.t. beggining',end-beg) ``` #### Problem description We have identified a memory leak in our code when executing a combination of an apply and a rename. If we do any of these two steps without the other, there is no leak. The apply simply uses datetime.fromtimestamp to convert POSIX timestamp to a date. We understand that we achieve similar results with the apply using time pd.to_datetime(), but still believe there could be a memory leak with the apply method in general that should be investigated If we use datetime.fromtimestamp to convert the POSIX timestamps to dates without pandas there is no leak. #### Expected Output Memory consumption should not increase and stay constant #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 4.9.184-linuxkit machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.16.0 pytz : 2019.3 dateutil : 2.8.1 pip : 20.1 setuptools : 45.1.0 Cython : None pytest : 5.4.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : 0.9.3 psycopg2 : 2.8.2 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.2 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.2.16 tables : None tabulate : 0.8.3 xarray : None xlrd : None xlwt : None xlsxwriter : None numba : 0.49.1 <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34404/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34404/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34405
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34405/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34405/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34405/events
https://github.com/pandas-dev/pandas/issues/34405
625,673,591
MDU6SXNzdWU2MjU2NzM1OTE=
34,405
DOC: add link to benchmarks page in Development docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-05-27T12:55:18Z
2020-05-27T23:12:06Z
2020-05-27T23:12:06Z
CONTRIBUTOR
null
link is: https://pandas.pydata.org/speed/pandas/#/ also could add somewhere: https://github.com/pandas-dev/pandas/blob/master/README.md
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34405/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34405/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34406
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34406/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34406/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34406/events
https://github.com/pandas-dev/pandas/issues/34406
625,724,558
MDU6SXNzdWU2MjU3MjQ1NTg=
34,406
PERF: asv runner is down
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-05-27T14:03:30Z
2020-05-29T19:09:54Z
2020-05-29T19:09:54Z
CONTRIBUTOR
null
see https://github.com/pandas-dev/pandas/pull/34389#issuecomment-634641337 @TomAugspurger said the asv runner has segfaulted, this is a tracking issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34406/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34406/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34407
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34407/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34407/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34407/events
https://github.com/pandas-dev/pandas/pull/34407
625,729,424
MDExOlB1bGxSZXF1ZXN0NDIzODc4Njg1
34,407
REGR: revert "CLN: _consolidate_inplace less" / fix regression in fillna()
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
49
2020-05-27T14:09:47Z
2020-11-28T19:55:32Z
2020-11-26T17:00:20Z
MEMBER
null
Reverts pandas-dev/pandas#34389 Closes #36495
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34407/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34407/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34407.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34407", "merged_at": "2020-11-26T17:00:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34407.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34407" }
https://api.github.com/repos/pandas-dev/pandas/issues/34408
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34408/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34408/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34408/events
https://github.com/pandas-dev/pandas/pull/34408
625,800,290
MDExOlB1bGxSZXF1ZXN0NDIzOTM1Njk2
34,408
DOC: add link to benchmarks page in developer docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/4405727?v=4", "events_url": "https://api.github.com/users/SwordKnight6216/events{/privacy}", "followers_url": "https://api.github.com/users/SwordKnight6216/followers", "following_url": "https://api.github.com/users/SwordKnight6216/following{/other_user}", "gists_url": "https://api.github.com/users/SwordKnight6216/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SwordKnight6216", "id": 4405727, "login": "SwordKnight6216", "node_id": "MDQ6VXNlcjQ0MDU3Mjc=", "organizations_url": "https://api.github.com/users/SwordKnight6216/orgs", "received_events_url": "https://api.github.com/users/SwordKnight6216/received_events", "repos_url": "https://api.github.com/users/SwordKnight6216/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SwordKnight6216/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SwordKnight6216/subscriptions", "type": "User", "url": "https://api.github.com/users/SwordKnight6216" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-05-27T15:33:41Z
2020-05-27T23:12:11Z
2020-05-27T23:12:06Z
CONTRIBUTOR
null
- [x] closes #34405 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew @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/34408/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34408/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34408.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34408", "merged_at": "2020-05-27T23:12:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34408.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34408" }
https://api.github.com/repos/pandas-dev/pandas/issues/34409
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34409/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34409/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34409/events
https://github.com/pandas-dev/pandas/pull/34409
625,803,626
MDExOlB1bGxSZXF1ZXN0NDIzOTM4MzU1
34,409
Initialize variables in pqyear, pquarter
{ "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": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-05-27T15:38:05Z
2020-05-27T16:30:08Z
2020-05-27T16:25:05Z
CONTRIBUTOR
null
This resolves the `-Wmaybe-uninitialized` warning observed when building with the manylinux1 docker image ``` gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/opt/python/cp38-cp38/lib/python3.8/site-packages/numpy/core/include -I/opt/python/cp38-cp38/include/python3.8 -c pandas/_libs/tslibs/period.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/period.o pandas/_libs/tslibs/period.c: In function ‘__pyx_f_6pandas_5_libs_6tslibs_6period_pqyear’: pandas/_libs/tslibs/period.c:12464:3: warning: ‘__pyx_v_year’ may be used uninitialized in this function [-Wmaybe-uninitialized] return __pyx_r; ^ pandas/_libs/tslibs/period.c: In function ‘__pyx_f_6pandas_5_libs_6tslibs_6period_pquarter’: pandas/_libs/tslibs/period.c:12512:3: warning: ‘__pyx_v_quarter’ may be used uninitialized in this function [-Wmaybe-uninitialized] return __pyx_r; ``` Hopefully this doesn't break anything. IIUC, these pointers are just used to set the result, so it shouldn't matter what the value is going in? Closes https://github.com/pandas-dev/pandas/issues/34114
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34409/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34409/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34409.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34409", "merged_at": "2020-05-27T16:25:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34409.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34409" }
https://api.github.com/repos/pandas-dev/pandas/issues/34410
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34410/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34410/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34410/events
https://github.com/pandas-dev/pandas/issues/34410
625,845,600
MDU6SXNzdWU2MjU4NDU2MDA=
34,410
32-bit compat issues in MacPython/pandas-wheels
{ "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": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
null
0
2020-05-27T16:29:45Z
2020-05-29T19:05:06Z
2020-05-29T19:05:06Z
CONTRIBUTOR
null
https://dev.azure.com/pandas-dev/pandas-wheels/_build/results?buildId=36222&view=logs&j=c0130b29-789d-5a3c-6978-10796a508a7f&t=e120bc6c-1f5e-5a41-8f0a-1d992cd2fbfb&l=1400 A couple classes of failures ``` 2020-05-27T03:46:00.4640450Z ______________ test_multiple_agg_funcs[rolling-2-expected_vals0] ______________ 2020-05-27T03:46:00.4640874Z [gw0] win32 -- Python 3.7.7 D:\a\1\s\test_venv\Scripts\python.exe 2020-05-27T03:46:00.4641216Z 2020-05-27T03:46:00.4641446Z func = 'rolling', window_size = 2 2020-05-27T03:46:00.4641974Z expected_vals = [[nan, nan, nan, nan], [15.0, 20.0, 25.0, 20.0], [25.0, 30.0, 35.0, 30.0], [nan, nan, nan, nan], [20.0, 30.0, 35.0, 30.0], [35.0, 40.0, 60.0, 40.0], ...] 2020-05-27T03:46:00.4642426Z 2020-05-27T03:46:00.4642646Z @pytest.mark.parametrize( 2020-05-27T03:46:00.4642970Z "func,window_size,expected_vals", 2020-05-27T03:46:00.4643468Z [ 2020-05-27T03:46:00.4643722Z ( 2020-05-27T03:46:00.4643997Z "rolling", 2020-05-27T03:46:00.4644235Z 2, 2020-05-27T03:46:00.4644500Z [ 2020-05-27T03:46:00.4644818Z [np.nan, np.nan, np.nan, np.nan], 2020-05-27T03:46:00.4645140Z [15.0, 20.0, 25.0, 20.0], 2020-05-27T03:46:00.4645482Z [25.0, 30.0, 35.0, 30.0], 2020-05-27T03:46:00.4645799Z [np.nan, np.nan, np.nan, np.nan], 2020-05-27T03:46:00.4646157Z [20.0, 30.0, 35.0, 30.0], 2020-05-27T03:46:00.4646503Z [35.0, 40.0, 60.0, 40.0], 2020-05-27T03:46:00.4646811Z [60.0, 80.0, 85.0, 80], 2020-05-27T03:46:00.4647113Z ], 2020-05-27T03:46:00.4647372Z ), 2020-05-27T03:46:00.4647589Z ( 2020-05-27T03:46:00.4647855Z "expanding", 2020-05-27T03:46:00.4648104Z None, 2020-05-27T03:46:00.4648376Z [ 2020-05-27T03:46:00.4648680Z [10.0, 10.0, 20.0, 20.0], 2020-05-27T03:46:00.4648983Z [15.0, 20.0, 25.0, 20.0], 2020-05-27T03:46:00.4649326Z [20.0, 30.0, 30.0, 20.0], 2020-05-27T03:46:00.4649670Z [10.0, 10.0, 30.0, 30.0], 2020-05-27T03:46:00.4649972Z [20.0, 30.0, 35.0, 30.0], 2020-05-27T03:46:00.4650322Z [26.666667, 40.0, 50.0, 30.0], 2020-05-27T03:46:00.4650683Z [40.0, 80.0, 60.0, 30.0], 2020-05-27T03:46:00.4650946Z ], 2020-05-27T03:46:00.4651208Z ), 2020-05-27T03:46:00.4651414Z ], 2020-05-27T03:46:00.4651646Z ) 2020-05-27T03:46:00.4651997Z def test_multiple_agg_funcs(func, window_size, expected_vals): 2020-05-27T03:46:00.4652328Z # GH 15072 2020-05-27T03:46:00.4652605Z df = pd.DataFrame( 2020-05-27T03:46:00.4652839Z [ 2020-05-27T03:46:00.4653114Z ["A", 10, 20], 2020-05-27T03:46:00.4653414Z ["A", 20, 30], 2020-05-27T03:46:00.4653669Z ["A", 30, 40], 2020-05-27T03:46:00.4653966Z ["B", 10, 30], 2020-05-27T03:46:00.4654266Z ["B", 30, 40], 2020-05-27T03:46:00.4654520Z ["B", 40, 80], 2020-05-27T03:46:00.4654822Z ["B", 80, 90], 2020-05-27T03:46:00.4655056Z ], 2020-05-27T03:46:00.4655354Z columns=["stock", "low", "high"], 2020-05-27T03:46:00.4655642Z ) 2020-05-27T03:46:00.4655833Z 2020-05-27T03:46:00.4656116Z f = getattr(df.groupby("stock"), func) 2020-05-27T03:46:00.4656545Z if window_size: 2020-05-27T03:46:00.4656817Z window = f(window_size) 2020-05-27T03:46:00.4657104Z else: 2020-05-27T03:46:00.4657337Z window = f() 2020-05-27T03:46:00.4657591Z 2020-05-27T03:46:00.4657872Z index = pd.MultiIndex.from_tuples( 2020-05-27T03:46:00.4658235Z [("A", 0), ("A", 1), ("A", 2), ("B", 3), ("B", 4), ("B", 5), ("B", 6)], 2020-05-27T03:46:00.4658625Z names=["stock", None], 2020-05-27T03:46:00.4658902Z ) 2020-05-27T03:46:00.4659155Z columns = pd.MultiIndex.from_tuples( 2020-05-27T03:46:00.4659548Z [("low", "mean"), ("low", "max"), ("high", "mean"), ("high", "min")] 2020-05-27T03:46:00.4659860Z ) 2020-05-27T03:46:00.4660195Z expected = pd.DataFrame(expected_vals, index=index, columns=columns) 2020-05-27T03:46:00.4660526Z 2020-05-27T03:46:00.4660750Z result = window.agg( 2020-05-27T03:46:00.4661122Z > OrderedDict((("low", ["mean", "max"]), ("high", ["mean", "min"]))) 2020-05-27T03:46:00.4661464Z ) 2020-05-27T03:46:00.4661630Z 2020-05-27T03:46:00.4661965Z test_venv\lib\site-packages\pandas\tests\window\test_api.py:346: 2020-05-27T03:46:00.4662381Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2020-05-27T03:46:00.4662906Z test_venv\lib\site-packages\pandas\core\window\rolling.py:2033: in aggregate 2020-05-27T03:46:00.4663339Z return super().aggregate(func, *args, **kwargs) 2020-05-27T03:46:00.4663730Z test_venv\lib\site-packages\pandas\core\window\rolling.py:603: in aggregate 2020-05-27T03:46:00.4664169Z result, how = self._aggregate(func, *args, **kwargs) 2020-05-27T03:46:00.4664599Z test_venv\lib\site-packages\pandas\core\base.py:417: in _aggregate 2020-05-27T03:46:00.4664941Z result = _agg(arg, _agg_1dim) 2020-05-27T03:46:00.4665315Z test_venv\lib\site-packages\pandas\core\base.py:384: in _agg 2020-05-27T03:46:00.4665658Z result[fname] = func(fname, agg_how) 2020-05-27T03:46:00.4666056Z test_venv\lib\site-packages\pandas\core\base.py:368: in _agg_1dim 2020-05-27T03:46:00.4666433Z return colg.aggregate(how) 2020-05-27T03:46:00.4666793Z test_venv\lib\site-packages\pandas\core\window\rolling.py:2033: in aggregate 2020-05-27T03:46:00.4667225Z return super().aggregate(func, *args, **kwargs) 2020-05-27T03:46:00.4667657Z test_venv\lib\site-packages\pandas\core\window\rolling.py:603: in aggregate 2020-05-27T03:46:00.4668054Z result, how = self._aggregate(func, *args, **kwargs) 2020-05-27T03:46:00.4668471Z test_venv\lib\site-packages\pandas\core\base.py:475: in _aggregate 2020-05-27T03:46:00.4668902Z return self._aggregate_multiple_funcs(arg, _axis=_axis), None 2020-05-27T03:46:00.4669286Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2020-05-27T03:46:00.4669590Z 2020-05-27T03:46:00.4669874Z self = RollingGroupby [window=2,center=False,axis=0], arg = ['mean', 'max'] 2020-05-27T03:46:00.4670218Z _axis = 0 2020-05-27T03:46:00.4670378Z 2020-05-27T03:46:00.4670690Z def _aggregate_multiple_funcs(self, arg, _axis): 2020-05-27T03:46:00.4671087Z from pandas.core.reshape.concat import concat 2020-05-27T03:46:00.4671345Z 2020-05-27T03:46:00.4671605Z if _axis != 0: 2020-05-27T03:46:00.4671974Z raise NotImplementedError("axis other than 0 is not supported") 2020-05-27T03:46:00.4672267Z 2020-05-27T03:46:00.4672562Z if self._selected_obj.ndim == 1: 2020-05-27T03:46:00.4672862Z obj = self._selected_obj 2020-05-27T03:46:00.4673151Z else: 2020-05-27T03:46:00.4673452Z obj = self._obj_with_exclusions 2020-05-27T03:46:00.4673697Z 2020-05-27T03:46:00.4673941Z results = [] 2020-05-27T03:46:00.4674209Z keys = [] 2020-05-27T03:46:00.4674412Z 2020-05-27T03:46:00.4674664Z # degenerate case 2020-05-27T03:46:00.4674921Z if obj.ndim == 1: 2020-05-27T03:46:00.4675282Z for a in arg: 2020-05-27T03:46:00.4675640Z colg = self._gotitem(obj.name, ndim=1, subset=obj) 2020-05-27T03:46:00.4675954Z try: 2020-05-27T03:46:00.4676277Z new_res = colg.aggregate(a) 2020-05-27T03:46:00.4676528Z 2020-05-27T03:46:00.4676805Z except TypeError: 2020-05-27T03:46:00.4677111Z pass 2020-05-27T03:46:00.4677359Z else: 2020-05-27T03:46:00.4677673Z results.append(new_res) 2020-05-27T03:46:00.4677958Z 2020-05-27T03:46:00.4678210Z # make sure we find a good name 2020-05-27T03:46:00.4678584Z name = com.get_callable_name(a) or a 2020-05-27T03:46:00.4678891Z keys.append(name) 2020-05-27T03:46:00.4679164Z 2020-05-27T03:46:00.4679405Z # multiples 2020-05-27T03:46:00.4679630Z else: 2020-05-27T03:46:00.4679957Z for index, col in enumerate(obj): 2020-05-27T03:46:00.4680401Z colg = self._gotitem(col, ndim=1, subset=obj.iloc[:, index]) 2020-05-27T03:46:00.4680756Z try: 2020-05-27T03:46:00.4681075Z new_res = colg.aggregate(arg) 2020-05-27T03:46:00.4681407Z except (TypeError, DataError): 2020-05-27T03:46:00.4681737Z pass 2020-05-27T03:46:00.4682119Z except ValueError as err: 2020-05-27T03:46:00.4682422Z # cannot aggregate 2020-05-27T03:46:00.4682818Z if "Must produce aggregated value" in str(err): 2020-05-27T03:46:00.4683257Z # raised directly in _aggregate_named 2020-05-27T03:46:00.4683562Z pass 2020-05-27T03:46:00.4683915Z elif "no results" in str(err): 2020-05-27T03:46:00.4684337Z # raised directly in _aggregate_multiple_funcs 2020-05-27T03:46:00.4684653Z pass 2020-05-27T03:46:00.4684954Z else: 2020-05-27T03:46:00.4685220Z raise 2020-05-27T03:46:00.4685512Z else: 2020-05-27T03:46:00.4685823Z results.append(new_res) 2020-05-27T03:46:00.4686109Z keys.append(col) 2020-05-27T03:46:00.4686378Z 2020-05-27T03:46:00.4686628Z # if we are empty 2020-05-27T03:46:00.4686893Z if not len(results): 2020-05-27T03:46:00.4687219Z > raise ValueError("no results") 2020-05-27T03:46:00.4687514Z E ValueError: no results 2020-05-27T03:46:00.4687767Z 2020-05-27T03:46:00.4688056Z test_venv\lib\site-packages\pandas\core\base.py:540: ValueError 2020-05-27T03:46:00.4900327Z ________________ test_rolling_apply_args_kwargs[args_kwargs0] _________________ 2020-05-27T03:46:00.4910069Z [gw0] win32 -- Python 3.7.7 D:\a\1\s\test_venv\Scripts\python.exe 2020-05-27T03:46:00.4913683Z 2020-05-27T03:46:00.4916587Z args_kwargs = [None, {'par': 10}] 2020-05-27T03:46:00.4920984Z 2020-05-27T03:46:00.4932595Z @pytest.mark.parametrize("args_kwargs", [[None, {"par": 10}], [(10,), None]]) 2020-05-27T03:46:00.4934841Z def test_rolling_apply_args_kwargs(args_kwargs): 2020-05-27T03:46:00.4935692Z # GH 33433 2020-05-27T03:46:00.4936381Z def foo(x, par): 2020-05-27T03:46:00.4937029Z return np.sum(x + par) 2020-05-27T03:46:00.4937700Z 2020-05-27T03:46:00.4938401Z df = DataFrame({"gr": [1, 1], "a": [1, 2]}) 2020-05-27T03:46:00.4939052Z 2020-05-27T03:46:00.4939885Z idx = Index(["gr", "a"]) 2020-05-27T03:46:00.4940561Z expected = DataFrame([[11.0, 11.0], [11.0, 12.0]], columns=idx) 2020-05-27T03:46:00.4941155Z 2020-05-27T03:46:00.4941805Z result = df.rolling(1).apply(foo, args=args_kwargs[0], kwargs=args_kwargs[1]) 2020-05-27T03:46:00.4942523Z tm.assert_frame_equal(result, expected) 2020-05-27T03:46:00.4943122Z 2020-05-27T03:46:00.4943684Z result = df.rolling(1).apply(foo, args=(10,)) 2020-05-27T03:46:00.4945113Z 2020-05-27T03:46:00.4945760Z midx = MultiIndex.from_tuples([(1, 0), (1, 1)], names=["gr", None]) 2020-05-27T03:46:00.4946452Z expected = Series([11.0, 12.0], index=midx, name="a") 2020-05-27T03:46:00.4947078Z 2020-05-27T03:46:00.4947685Z gb_rolling = df.groupby("gr")["a"].rolling(1) 2020-05-27T03:46:00.4948255Z 2020-05-27T03:46:00.4949192Z > result = gb_rolling.apply(foo, args=args_kwargs[0], kwargs=args_kwargs[1]) 2020-05-27T03:46:00.4949774Z 2020-05-27T03:46:00.4950430Z test_venv\lib\site-packages\pandas\tests\window\test_apply.py:165: 2020-05-27T03:46:00.4951199Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2020-05-27T03:46:00.4951938Z test_venv\lib\site-packages\pandas\core\window\rolling.py:2067: in apply 2020-05-27T03:46:00.4952625Z kwargs=kwargs, 2020-05-27T03:46:00.4953353Z test_venv\lib\site-packages\pandas\core\window\rolling.py:1391: in apply 2020-05-27T03:46:00.4954036Z kwargs=kwargs, 2020-05-27T03:46:00.4954689Z test_venv\lib\site-packages\pandas\core\window\rolling.py:2196: in _apply 2020-05-27T03:46:00.4955365Z **kwargs, 2020-05-27T03:46:00.4956044Z test_venv\lib\site-packages\pandas\core\window\rolling.py:589: in _apply 2020-05-27T03:46:00.4956693Z result = calc(values) 2020-05-27T03:46:00.4957386Z test_venv\lib\site-packages\pandas\core\window\rolling.py:575: in calc 2020-05-27T03:46:00.4958198Z closed=self.closed, 2020-05-27T03:46:00.4958846Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2020-05-27T03:46:00.4959456Z 2020-05-27T03:46:00.4960053Z self = <pandas.core.window.indexers.GroupbyRollingIndexer object at 0x3A34FA30> 2020-05-27T03:46:00.4960788Z num_values = 2, min_periods = None, center = False, closed = None 2020-05-27T03:46:00.4961381Z 2020-05-27T03:46:00.4961909Z @Appender(get_window_bounds_doc) 2020-05-27T03:46:00.4962523Z def get_window_bounds( 2020-05-27T03:46:00.4963100Z self, 2020-05-27T03:46:00.4963652Z num_values: int = 0, 2020-05-27T03:46:00.4964290Z min_periods: Optional[int] = None, 2020-05-27T03:46:00.4964946Z center: Optional[bool] = None, 2020-05-27T03:46:00.4965552Z closed: Optional[str] = None, 2020-05-27T03:46:00.4966208Z ) -> Tuple[np.ndarray, np.ndarray]: 2020-05-27T03:46:00.4966908Z # 1) For each group, get the indices that belong to the group 2020-05-27T03:46:00.4967605Z # 2) Use the indices to calculate the start & end bounds of the window 2020-05-27T03:46:00.4968322Z # 3) Append the window bounds in group order 2020-05-27T03:46:00.4968991Z start_arrays = [] 2020-05-27T03:46:00.4969583Z end_arrays = [] 2020-05-27T03:46:00.4970143Z window_indicies_start = 0 2020-05-27T03:46:00.4970823Z for key, indicies in self.groupby_indicies.items(): 2020-05-27T03:46:00.4971539Z if self.index_array is not None: 2020-05-27T03:46:00.4972196Z index_array = self.index_array.take(indicies) 2020-05-27T03:46:00.4972843Z else: 2020-05-27T03:46:00.4973467Z index_array = self.index_array 2020-05-27T03:46:00.4974075Z indexer = self.rolling_indexer( 2020-05-27T03:46:00.4974759Z index_array=index_array, window_size=self.window_size, 2020-05-27T03:46:00.4975407Z ) 2020-05-27T03:46:00.4975981Z start, end = indexer.get_window_bounds( 2020-05-27T03:46:00.4976661Z len(indicies), min_periods, center, closed 2020-05-27T03:46:00.4977281Z ) 2020-05-27T03:46:00.4977908Z # Cannot use groupby_indicies as they might not be monotonic with the object 2020-05-27T03:46:00.4978599Z # we're rolling over 2020-05-27T03:46:00.4979224Z window_indicies = np.arange( 2020-05-27T03:46:00.4979816Z window_indicies_start, 2020-05-27T03:46:00.4980472Z window_indicies_start + len(indicies), 2020-05-27T03:46:00.4981202Z dtype=np.int64, 2020-05-27T03:46:00.4981747Z ) 2020-05-27T03:46:00.4982364Z window_indicies_start += len(indicies) 2020-05-27T03:46:00.4983051Z # Extend as we'll be slicing window like [start, end) 2020-05-27T03:46:00.4983789Z window_indicies = np.append(window_indicies, [window_indicies[-1] + 1]) 2020-05-27T03:46:00.4984532Z > start_arrays.append(window_indicies.take(start)) 2020-05-27T03:46:00.4985326Z E TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe' 2020-05-27T03:46:00.4986013Z ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34410/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34410/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34411
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34411/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34411/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34411/events
https://github.com/pandas-dev/pandas/issues/34411
625,868,961
MDU6SXNzdWU2MjU4Njg5NjE=
34,411
BUG: pd.read_sql returns empty list if query has no results and chunksize is set
{ "avatar_url": "https://avatars.githubusercontent.com/u/1926144?v=4", "events_url": "https://api.github.com/users/JohanKahrstrom/events{/privacy}", "followers_url": "https://api.github.com/users/JohanKahrstrom/followers", "following_url": "https://api.github.com/users/JohanKahrstrom/following{/other_user}", "gists_url": "https://api.github.com/users/JohanKahrstrom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JohanKahrstrom", "id": 1926144, "login": "JohanKahrstrom", "node_id": "MDQ6VXNlcjE5MjYxNDQ=", "organizations_url": "https://api.github.com/users/JohanKahrstrom/orgs", "received_events_url": "https://api.github.com/users/JohanKahrstrom/received_events", "repos_url": "https://api.github.com/users/JohanKahrstrom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JohanKahrstrom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JohanKahrstrom/subscriptions", "type": "User", "url": "https://api.github.com/users/JohanKahrstrom" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
2020-05-27T17:02:36Z
2021-01-14T18:52:47Z
2021-01-14T18:52:47Z
CONTRIBUTOR
null
- [ x] I have checked that this issue has not already been reported. - [ x] I have confirmed this bug exists on the latest version of pandas. - [x ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd import sqlite3 # Create empty test table in memory conn = sqlite3.connect(':memory:') conn.cursor().execute('CREATE TABLE test (column_1 INTEGER);') # Run the query without chunksize, works as expected pd.read_sql('select * from test', conn) # Run the query with chunksize, returns generator as expected pd.read_sql('select * from test', conn, chunksize=5) # However, the generator is empty list(pd.read_sql('select * from test', conn, chunksize=5)) # I would expect, that for all cases where chunksize isn't necessary, # than the following two lines would return exactly the same # result, but the second throws "ValueError: No objects to concatenate" pd.read_sql('select * from test', conn) pd.concat(pd.read_sql('select * from test', conn, chunksize=5)) ``` #### Problem description In many cases, returning zero rows is an expected result, and the code should run fine on the returned DataFrame (iterating over it, getting all values in a row, etc.). The current behaviour instead returns an empty list, with no information about for example the columns in the dataframe. #### Expected Output The expected output would be a list containing a single empty dataframe, with the correct column metadata. I would expect that for all queries that run fine without chunkbite being set, the following equality should hold: ``` pd.testing.assert_frame_equal( pd.read_sql(query, conn), pd.concat(pd.read_sql(query, conn, chunksize=5)) ) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 333db4b765f8e88c0c2392943cb7d6c6013dc6e8 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.0.dev0+1685.g333db4b76.dirty numpy : 1.18.4 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 46.4.0.post20200518 Cython : 0.29.19 pytest : 5.4.2 hypothesis : 5.16.0 sphinx : 3.0.4 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.14.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fastparquet : 0.4.0 gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34411/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34411/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34412
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34412/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34412/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34412/events
https://github.com/pandas-dev/pandas/issues/34412
625,893,234
MDU6SXNzdWU2MjU4OTMyMzQ=
34,412
DOC:/USAGE: Resulting Index when merging over indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
null
[]
null
1
2020-05-27T17:38:44Z
2020-09-04T13:30:36Z
null
MEMBER
null
#### Location of the documentation https://dev.pandas.io/docs/reference/api/pandas.DataFrame.merge.html #### Documentation problem There is no documentation on this case #### Suggested fix for documentation I'm a bit confused about the behavior here, because I don't know what to expect. When I perform the merge as shown below, I would expect that both operations return the same output. ``` left = pd.DataFrame({'a': [1, 2], 'b': [1, 1], "l": [22, 23]}).set_index(['a', 'b']) right = pd.DataFrame({'b': [1], "r": [12]}).set_index(['b']) print(pd.merge(left, right, left_on=['b'], right_index=True, how="left")) print(pd.merge(left, right, left_on=['b'], right_on=["b"], how="left")) ``` But the Index of both results differs. The first merge has the same index as the left `DataFrame` while the second merge has only `b` as index. As a result, the index from the second merge is no longer unique. **First Merge:** ``` l r a b 1 1 22 12 2 1 23 12 ``` **Second Merge:** ``` l r b 1 22 12 1 23 12 ``` **If** this is the desired behavior, we should adjust the documentation to show this. If it is not, I would file an BUG issue. We should adjust the documentation nevertheless. I would add an example with an index join to show the right 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/34412/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34412/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34413
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34413/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34413/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34413/events
https://github.com/pandas-dev/pandas/issues/34413
625,894,910
MDU6SXNzdWU2MjU4OTQ5MTA=
34,413
TST: slow test_nearest_upsample_with_limit with tzlocal
{ "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-05-27T17:40:13Z
2020-06-08T02:01:41Z
2020-06-08T02:01:41Z
MEMBER
null
Doing `pytest pandas/tests --skip-slow --durations=10` the top two entries are ``` 71.76s call pandas/tests/resample/test_datetime_index.py::test_nearest_upsample_with_limit[tzlocal()-30S-Y] 59.86s call pandas/tests/resample/test_datetime_index.py::test_nearest_upsample_with_limit[tzlocal()-30S-10M] ``` Because this uses the tz_aware_fixture, there isn't a trivial way to add a pytest.mark.slow to this, but figuring something out may be 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/34413/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34413/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34414
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34414/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34414/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34414/events
https://github.com/pandas-dev/pandas/pull/34414
625,934,316
MDExOlB1bGxSZXF1ZXN0NDI0MDQxOTQy
34,414
BUG: merge between partial index and index fails when result is empty
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-05-27T18:35:11Z
2021-01-03T23:23:12Z
2021-01-03T23:21:42Z
MEMBER
null
- [x] closes #33814 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The Issue was caused when setting the name of an numpy 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/34414/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34414/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34414.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34414", "merged_at": "2021-01-03T23:21:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34414.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34414" }
https://api.github.com/repos/pandas-dev/pandas/issues/34415
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34415/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34415/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34415/events
https://github.com/pandas-dev/pandas/issues/34415
625,957,061
MDU6SXNzdWU2MjU5NTcwNjE=
34,415
BUG: String series cat produces NaNs when left operand has a custom index
{ "avatar_url": "https://avatars.githubusercontent.com/u/53796099?v=4", "events_url": "https://api.github.com/users/brandon-b-miller/events{/privacy}", "followers_url": "https://api.github.com/users/brandon-b-miller/followers", "following_url": "https://api.github.com/users/brandon-b-miller/following{/other_user}", "gists_url": "https://api.github.com/users/brandon-b-miller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brandon-b-miller", "id": 53796099, "login": "brandon-b-miller", "node_id": "MDQ6VXNlcjUzNzk2MDk5", "organizations_url": "https://api.github.com/users/brandon-b-miller/orgs", "received_events_url": "https://api.github.com/users/brandon-b-miller/received_events", "repos_url": "https://api.github.com/users/brandon-b-miller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brandon-b-miller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brandon-b-miller/subscriptions", "type": "User", "url": "https://api.github.com/users/brandon-b-miller" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
2
2020-05-27T19:06:38Z
2020-08-21T17:05:43Z
2020-05-27T19:24:50Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd print(pd.__version__) x = pd.Series(['a','b','c','d','e']) x.index = ['1', '2', '3', '4', '5'] pd_others = pd.Series(['f','g','h','i','j']) print(x.str.cat(others=pd_others)) 1.1.0.dev0+1690.g70d7c04ff 1 NaN 2 NaN 3 NaN 4 NaN 5 NaN dtype: object ``` #### Problem description Possibly related to https://github.com/pandas-dev/pandas/issues/33425. The trigger for this bug seems to be the custom index. I get the correct answer if the line where `x.index` is set is removed. #### Expected Output ``` 1.1.0.dev0+1690.g70d7c04ff 0 af 1 bg 2 ch 3 di 4 ej dtype: object ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 70d7c04ff585de361622e4fe1788480a7a4526b5 python : 3.8.3.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-76-generic Version : #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.0.dev0+1690.g70d7c04ff numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : 0.29.17 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34415/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34415/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/34416
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/34416/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/34416/comments
https://api.github.com/repos/pandas-dev/pandas/issues/34416/events
https://github.com/pandas-dev/pandas/pull/34416
625,991,196
MDExOlB1bGxSZXF1ZXN0NDI0MDg0Nzgz
34,416
Macpython 32 bit build fixup
{ "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": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-05-27T20:00:26Z
2020-05-29T19:05:45Z
2020-05-29T19:05:41Z
CONTRIBUTOR
null
Closes #34114 cc @jbrockmendel and @WillAyd. I have no idea if this is correct, but it builds.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/34416/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/34416/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/34416.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/34416", "merged_at": "2020-05-29T19:05:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/34416.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/34416" }