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/29214
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29214/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29214/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29214/events
https://github.com/pandas-dev/pandas/issues/29214
512,236,530
MDU6SXNzdWU1MTIyMzY1MzA=
29,214
CI/TST: Better information about the tests in azure-pipelines
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
open
false
null
[]
null
4
2019-10-25T00:03:34Z
2021-07-22T05:15:22Z
null
MEMBER
null
Copying from https://github.com/astropy/astropy/pull/8445#issuecomment-546140223 If you install the newest version of pytest-azurepipelines (1.0.0rc1) https://pypi.org/project/pytest-azurepipelines/1.0.0rc1/ I've switched the output from Junit to Nunit XML as its better supported in Azure Pipelines. You can then run this Azure plugin https://marketplace.visualstudio.com/items?itemName=AnthonyShaw.vss-pytest and you get an extra tab in the UI with all the information from the Pytest run, including skip reasons, fail reasons, fixtures, versions, parameters. I guess we want this.
{ "+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/29214/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29214/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29215
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29215/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29215/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29215/events
https://github.com/pandas-dev/pandas/pull/29215
512,243,376
MDExOlB1bGxSZXF1ZXN0MzMyMjkzODAw
29,215
Changing logo in README and removing old logo
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
6
2019-10-25T00:31:54Z
2019-10-25T16:18:35Z
2019-10-25T16:18:35Z
MEMBER
null
Not sure if anyone prefers to publish the new logo when we release pandas 1.0 and the new website is life. I don't have a strong preference, but I'd say let's change the logo now if nobody cares, so one thing less to think about. I'll change the twitter logo and tweet about it once this is merged.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29215/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29215/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29215.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29215", "merged_at": "2019-10-25T16:18:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29215.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29215" }
https://api.github.com/repos/pandas-dev/pandas/issues/29216
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29216/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29216/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29216/events
https://github.com/pandas-dev/pandas/pull/29216
512,320,254
MDExOlB1bGxSZXF1ZXN0MzMyMzUzMzgw
29,216
# noqa removal in code base
{ "avatar_url": "https://avatars.githubusercontent.com/u/11233191?v=4", "events_url": "https://api.github.com/users/kaathi524/events{/privacy}", "followers_url": "https://api.github.com/users/kaathi524/followers", "following_url": "https://api.github.com/users/kaathi524/following{/other_user}", "gists_url": "https://api.github.com/users/kaathi524/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kaathi524", "id": 11233191, "login": "kaathi524", "node_id": "MDQ6VXNlcjExMjMzMTkx", "organizations_url": "https://api.github.com/users/kaathi524/orgs", "received_events_url": "https://api.github.com/users/kaathi524/received_events", "repos_url": "https://api.github.com/users/kaathi524/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kaathi524/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kaathi524/subscriptions", "type": "User", "url": "https://api.github.com/users/kaathi524" }
[ { "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...
closed
false
null
[]
null
8
2019-10-25T06:00:54Z
2019-11-08T00:52:27Z
2019-11-08T00:52:27Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29216/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29216/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29216.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29216", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29216.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29216" }
https://api.github.com/repos/pandas-dev/pandas/issues/29217
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29217/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29217/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29217/events
https://github.com/pandas-dev/pandas/issues/29217
512,321,571
MDU6SXNzdWU1MTIzMjE1NzE=
29,217
In read_excel parse_date=False is not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/4621997?v=4", "events_url": "https://api.github.com/users/ajphukan/events{/privacy}", "followers_url": "https://api.github.com/users/ajphukan/followers", "following_url": "https://api.github.com/users/ajphukan/following{/other_user}", "gists_url": "https://api.github.com/users/ajphukan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ajphukan", "id": 4621997, "login": "ajphukan", "node_id": "MDQ6VXNlcjQ2MjE5OTc=", "organizations_url": "https://api.github.com/users/ajphukan/orgs", "received_events_url": "https://api.github.com/users/ajphukan/received_events", "repos_url": "https://api.github.com/users/ajphukan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ajphukan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ajphukan/subscriptions", "type": "User", "url": "https://api.github.com/users/ajphukan" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel"...
closed
false
null
[]
null
8
2019-10-25T06:05:27Z
2019-11-23T23:02:53Z
2019-11-23T23:02:53Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.read_file('filename.xlsx', header= None, skiprows=1, parse_dates=False) ``` #### Problem description In read_excel parse_date default value is False , but still it is parsing the date. **Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates! **Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary. For documentation-related issues, you can check the latest versions of the docs on `master` here: https://pandas-docs.github.io/pandas-docs-travis/ If the issue has not been resolved there, go ahead and file it in the issue tracker. #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.2 numpy : 1.14.4 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.4.0 Cython : None pytest : 5.2.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : 1.0.8 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/29217/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29217/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29218
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29218/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29218/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29218/events
https://github.com/pandas-dev/pandas/pull/29218
512,346,676
MDExOlB1bGxSZXF1ZXN0MzMyMzc0Nzg4
29,218
ENH: Show column name in assert_frame_equal
{ "avatar_url": "https://avatars.githubusercontent.com/u/332746?v=4", "events_url": "https://api.github.com/users/moi90/events{/privacy}", "followers_url": "https://api.github.com/users/moi90/followers", "following_url": "https://api.github.com/users/moi90/following{/other_user}", "gists_url": "https://api.github.com/users/moi90/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moi90", "id": 332746, "login": "moi90", "node_id": "MDQ6VXNlcjMzMjc0Ng==", "organizations_url": "https://api.github.com/users/moi90/orgs", "received_events_url": "https://api.github.com/users/moi90/received_events", "repos_url": "https://api.github.com/users/moi90/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moi90/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moi90/subscriptions", "type": "User", "url": "https://api.github.com/users/moi90" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
17
2019-10-25T07:17:34Z
2020-01-09T12:59:57Z
2020-01-07T07:05:19Z
CONTRIBUTOR
null
The output of the AssertionError raised by assert_frame_equal is changed: - old: `AssertionError: Attributes of DataFrame.iloc[:, 1] are different` - new: `AssertionError: Attributes of DataFrame.loc[:, 'b'] are different` - [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29218/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29218/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29218.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29218", "merged_at": "2020-01-07T07:05:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29218.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29218" }
https://api.github.com/repos/pandas-dev/pandas/issues/29219
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29219/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29219/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29219/events
https://github.com/pandas-dev/pandas/issues/29219
512,382,645
MDU6SXNzdWU1MTIzODI2NDU=
29,219
Remove pandas/tests/series/common.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[]
closed
false
null
[]
null
2
2019-10-25T08:41:05Z
2019-10-25T16:11:40Z
2019-10-25T16:11:40Z
CONTRIBUTOR
null
This is a follow-up issue for #22550 As `TestData` was replaced with fixtures in all series tests, we can `pandas/tests/series/_common.py` altogether (it's only content is `TestData`).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29219/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29219/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29220
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29220/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29220/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29220/events
https://github.com/pandas-dev/pandas/pull/29220
512,406,156
MDExOlB1bGxSZXF1ZXN0MzMyNDIyMDQ4
29,220
Remove TestData in series tests indexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-25T09:27:14Z
2019-10-29T16:18:29Z
2019-10-29T16:18:24Z
CONTRIBUTOR
null
Part of #22550 * Replaced test_data fixture in `pandas/tests/series/indexing/` with more granular fixtures * Removed pandas/tests/series/indexing/conftest.py as the test_data fixture is not needed anymore * Removed pandas/tests/series/common.py as TestData isn't used anymore - [x] closes #22550 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29220/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29220/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29220.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29220", "merged_at": "2019-10-29T16:18:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29220.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29220" }
https://api.github.com/repos/pandas-dev/pandas/issues/29221
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29221/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29221/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29221/events
https://github.com/pandas-dev/pandas/issues/29221
512,431,386
MDU6SXNzdWU1MTI0MzEzODY=
29,221
df.sample random_state behavior across processes
{ "avatar_url": "https://avatars.githubusercontent.com/u/20154754?v=4", "events_url": "https://api.github.com/users/mstrofbass/events{/privacy}", "followers_url": "https://api.github.com/users/mstrofbass/followers", "following_url": "https://api.github.com/users/mstrofbass/following{/other_user}", "gists_url": "https://api.github.com/users/mstrofbass/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mstrofbass", "id": 20154754, "login": "mstrofbass", "node_id": "MDQ6VXNlcjIwMTU0NzU0", "organizations_url": "https://api.github.com/users/mstrofbass/orgs", "received_events_url": "https://api.github.com/users/mstrofbass/received_events", "repos_url": "https://api.github.com/users/mstrofbass/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mstrofbass/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mstrofbass/subscriptions", "type": "User", "url": "https://api.github.com/users/mstrofbass" }
[]
closed
false
null
[]
null
4
2019-10-25T10:19:26Z
2019-10-25T10:30:56Z
2019-10-25T10:29:37Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import multiprocessing as mp import pandas as pd def sample(df): df_sampled = df.sample(df.shape[0], replace=True) print(df_sampled.index) if __name__ == '__main__': with mp.Pool(4) as p: df1 = pd.DataFrame({ 'r1': [0, 1, 2, 3, 4, 5], 'r2': [0, 1, 3, 4, 1, 9] }) df2 = pd.DataFrame({ 'r1': [0, 39, 5, 3, 4, 5], 'r2': [0, 1, 1, 9, 4, 4] }) plist = [df1, df2] p.map( sample, plist ) ``` #### Problem description When you run the above code, the samples generated are identical. After a significant amount of time debugging this, I finally came to the conclusion that it's probably related to the fact that numpy copies the RandomState from the parent process to the child processes, so the random seed used by the two child processes are the same (see: https://github.com/numpy/numpy/issues/9650). On a similar, but more complicated example, the state wasn't necessarily the same across all processes, but would be shared between subsets of processes (e.g., there might be three states shared by six child processes). So I'm definitely not sure exactly what's going on under the hood, but it's definitely confusing. I *did* manage to figure out that it can be solved by explicitly passing a new random state too `sample()`. I can't find any reference to this anywhere, so I don't know if it's expected behavior or a bug, and so I don't actually know what the problem is. I would suggest that if it's not a bug then there is a documentation problem because this seems unintuitive. If I call `df.sample` twice in a row in a single thread (without setting the random_state param), I get different samples, so it seems logical that if I call `df.sample` twice in different threads it would behave similarly and produce two different samples. Thus, I'd suggest that if it's expected behavior it should be explicitly documented somewhere accessible. I'll also note that this seems to be an issue even if you create the data frame in the child process, so I'm guessing Pandas is using some kind of global RandomState. This is, arguably, different than the numpy issue inasmuch as Pandas hides the internal implementation around the random seeding, making it much more difficult to debug the actual issue. So while I understand the reasoning behind leaving the behavior as is in the numpy case, I'm not sure their justifications are as strong here. I'll go ahead and apologize if this is either noted somewhere and I missed it or something that should be understood by me. I spent a decent amount of time trying to solve this issue and couldn't find this behavior documented anywhere and I'm not well-versed in Pandas, so if the problem is on my end, I'm sorry. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Darwin OS-release: 18.7.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: None pip: 19.2.3 setuptools: 41.2.0 Cython: None numpy: 1.16.4 scipy: 1.3.1 pyarrow: 0.12.0 xarray: None IPython: None sphinx: None patsy: None dateutil: 2.8.0 pytz: 2019.2 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.1.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: None pymysql: None psycopg2: None jinja2: None s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29221/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29221/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29222
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29222/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29222/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29222/events
https://github.com/pandas-dev/pandas/pull/29222
512,476,998
MDExOlB1bGxSZXF1ZXN0MzMyNDgwNjY2
29,222
Remove TestData in frame tests in multiple files - part2
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-25T12:01:46Z
2019-10-25T12:41:39Z
2019-10-25T12:41:36Z
CONTRIBUTOR
null
Part of #22471 This is removing/replacing TestData usage in the following files: * `test_reshape.py` * `test_sorting.py` * `test_subclass.py` * `test_timeseries.py` * `test_to_csv.py` -------- - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29222/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29222/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29222.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29222", "merged_at": "2019-10-25T12:41:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29222.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29222" }
https://api.github.com/repos/pandas-dev/pandas/issues/29223
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29223/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29223/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29223/events
https://github.com/pandas-dev/pandas/issues/29223
512,524,992
MDU6SXNzdWU1MTI1MjQ5OTI=
29,223
CI: include pyarrow 0.15.0 / latest release in one of the builds
{ "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-25T13:43:46Z
2019-12-04T13:10:24Z
2019-12-04T13:10:24Z
MEMBER
null
From a quick look, it seems we are not testing the latest version of pyarrow on our CI.
{ "+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/29223/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29223/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29224
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29224/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29224/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29224/events
https://github.com/pandas-dev/pandas/pull/29224
512,547,671
MDExOlB1bGxSZXF1ZXN0MzMyNTM4ODg4
29,224
Period index 29204
{ "avatar_url": "https://avatars.githubusercontent.com/u/38143549?v=4", "events_url": "https://api.github.com/users/HughKelley/events{/privacy}", "followers_url": "https://api.github.com/users/HughKelley/followers", "following_url": "https://api.github.com/users/HughKelley/following{/other_user}", "gists_url": "https://api.github.com/users/HughKelley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HughKelley", "id": 38143549, "login": "HughKelley", "node_id": "MDQ6VXNlcjM4MTQzNTQ5", "organizations_url": "https://api.github.com/users/HughKelley/orgs", "received_events_url": "https://api.github.com/users/HughKelley/received_events", "repos_url": "https://api.github.com/users/HughKelley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HughKelley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HughKelley/subscriptions", "type": "User", "url": "https://api.github.com/users/HughKelley" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
1
2019-10-25T14:26:15Z
2020-01-06T16:47:18Z
2019-11-10T15:23:14Z
CONTRIBUTOR
null
- [ ] closes #29204
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29224/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29224/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29224.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29224", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29224.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29224" }
https://api.github.com/repos/pandas-dev/pandas/issues/29225
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29225/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29225/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29225/events
https://github.com/pandas-dev/pandas/pull/29225
512,589,512
MDExOlB1bGxSZXF1ZXN0MzMyNTczMjky
29,225
TST: Add test for nested JSON normalization
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-25T15:47:28Z
2019-10-25T17:25:54Z
2019-10-25T16:54:35Z
MEMBER
null
Closes https://github.com/pandas-dev/pandas/issues/21537
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29225/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29225/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29225.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29225", "merged_at": "2019-10-25T16:54:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29225.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29225" }
https://api.github.com/repos/pandas-dev/pandas/issues/29226
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29226/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29226/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29226/events
https://github.com/pandas-dev/pandas/pull/29226
512,600,168
MDExOlB1bGxSZXF1ZXN0MzMyNTgyMDEx
29,226
Remove TestData in frame tests in multiple files - part 3
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-25T16:10:22Z
2019-10-29T16:16:52Z
2019-10-29T16:16:45Z
CONTRIBUTOR
null
Part of #22471 This is removing/replacing TestData usage in the following files: * `test_query_eval.py` * `test_indexing.py` Also removes `TestData` from `pandas/tests/frame/common.py` -------- - [x] closes #22471 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29226/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29226/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29226.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29226", "merged_at": "2019-10-29T16:16:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29226.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29226" }
https://api.github.com/repos/pandas-dev/pandas/issues/29227
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29227/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29227/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29227/events
https://github.com/pandas-dev/pandas/issues/29227
512,626,076
MDU6SXNzdWU1MTI2MjYwNzY=
29,227
Replace _has_complex_internals with isinstance(..., ABCMultiIndex)
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2019-10-25T17:13:32Z
2019-11-14T18:06:25Z
2019-11-14T18:06:08Z
MEMBER
null
I've stumbled across this code a few times in groupby and it took me a while to grasp. I'm pretty sure this always evaluates to False, unless we are dealing with a MultiIndex. For code clarity, I think it would be better if we just did an isinstance check as I don't think the intent of `_has_complex_internals` is very clear
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29227/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29227/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29228
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29228/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29228/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29228/events
https://github.com/pandas-dev/pandas/pull/29228
512,645,969
MDExOlB1bGxSZXF1ZXN0MzMyNjE4ODQ2
29,228
CLN: prevent libreduction TypeError
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-25T18:03:35Z
2019-10-29T16:18:40Z
2019-10-29T16:09:38Z
MEMBER
null
cc @jreback @WillAyd
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29228/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29228/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29228.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29228", "merged_at": "2019-10-29T16:09:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29228.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29228" }
https://api.github.com/repos/pandas-dev/pandas/issues/29229
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29229/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29229/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29229/events
https://github.com/pandas-dev/pandas/pull/29229
512,679,300
MDExOlB1bGxSZXF1ZXN0MzMyNjQ2NDY0
29,229
API/DOC: an ExtensionDtype.__from_arrow__ method to convert pyarrow.Array into ExtensionArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "6138b...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
5
2019-10-25T19:21:18Z
2019-11-08T14:05:54Z
2019-11-08T14:05:49Z
MEMBER
null
xref the discussion in https://github.com/pandas-dev/pandas/issues/20612, and a companion to my PR in Arrow: https://github.com/apache/arrow/pull/5512 Summary: to support ExtensionArrays in the conversion of an arrow table into a pandas DataFrame, we need some way to convert pyarrow Arrays into pandas ExtensionArrays, given a certain pandas dtype (in pyarrow, we can for example know the resulting dtype from the stored metadata). For that, I propose to add the `ExtensionDtype.__from_arrow__` method, with the following signature: ``` class ExtensionDtype: def __from_arrow__(self, array: pyarrow.Array) -> pandas.ExtensionArray: ... ``` Note: I only added documentation about it (which should still be expanded) for now, and not a method in the base class (eg a NotImplementedError), because in pyarrow we use `hasattr` to see if this is supported (see the linked arrow PR).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29229/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29229/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29229.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29229", "merged_at": "2019-11-08T14:05:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29229.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29229" }
https://api.github.com/repos/pandas-dev/pandas/issues/29230
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29230/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29230/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29230/events
https://github.com/pandas-dev/pandas/pull/29230
512,711,895
MDExOlB1bGxSZXF1ZXN0MzMyNjczNjI5
29,230
Refresh Aptitude Package Lists in CI
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-25T20:41:52Z
2019-10-25T21:25:58Z
2019-10-25T21:25:54Z
MEMBER
null
This might fix the intermittent build failures by updating the package lists before trying to install anything via aptitude
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29230/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29230/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29230.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29230", "merged_at": "2019-10-25T21:25:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29230.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29230" }
https://api.github.com/repos/pandas-dev/pandas/issues/29231
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29231/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29231/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29231/events
https://github.com/pandas-dev/pandas/issues/29231
512,713,046
MDU6SXNzdWU1MTI3MTMwNDY=
29,231
numpy.asarray() removes fill value from Pandas SparseArrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/5379628?v=4", "events_url": "https://api.github.com/users/jtanman/events{/privacy}", "followers_url": "https://api.github.com/users/jtanman/followers", "following_url": "https://api.github.com/users/jtanman/following{/other_user}", "gists_url": "https://api.github.com/users/jtanman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtanman", "id": 5379628, "login": "jtanman", "node_id": "MDQ6VXNlcjUzNzk2Mjg=", "organizations_url": "https://api.github.com/users/jtanman/orgs", "received_events_url": "https://api.github.com/users/jtanman/received_events", "repos_url": "https://api.github.com/users/jtanman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtanman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtanman/subscriptions", "type": "User", "url": "https://api.github.com/users/jtanman" }
[]
closed
false
null
[]
null
2
2019-10-25T20:44:57Z
2019-10-26T12:43:12Z
2019-10-26T12:43:12Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import numpy as np import pandas as pd arr = np.random.randint(2, size=10) arr array([0, 1, 0, 1, 0, 0, 0, 0, 0, 1]) sparr = pd.SparseArray(arr, fill_value=0) sparr [0, 1, 0, 1, 0, 0, 0, 0, 0, 1] Fill: 0 IntIndex Indices: array([1, 3, 9], dtype=int32) np_arr = np.asarray(sparr) np_arr array([1, 1, 1]) ``` #### Problem description Converting back to a dense array from a Pandas SparseArary no longer works as intended. It should keep all values in the array as is, but instead the new array removes all elements that are the fill_value. Thus the new array ends up with less elements than before. **Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates! **Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary. For documentation-related issues, you can check the latest versions of the docs on `master` here: https://pandas-docs.github.io/pandas-docs-travis/ If the issue has not been resolved there, go ahead and file it in the issue tracker. #### Expected Output ```python np_arr array([0, 1, 0, 1, 0, 0, 0, 0, 0, 1]) ``` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit: None python: 3.7.1.final.0 python-bits: 64 OS: Darwin OS-release: 18.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.23.4 pytest: 5.2.1 pip: 18.1 setuptools: 41.4.0 Cython: 0.29.13 numpy: 1.17.3 scipy: 1.3.1 pyarrow: None xarray: None IPython: 7.8.0 sphinx: None patsy: 0.5.1 dateutil: 2.8.0 pytz: 2019.3 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.1.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None sqlalchemy: 1.3.10 pymysql: 0.9.3 psycopg2: None jinja2: 2.10.3 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29231/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29231/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29232
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29232/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29232/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29232/events
https://github.com/pandas-dev/pandas/pull/29232
512,773,525
MDExOlB1bGxSZXF1ZXN0MzMyNzIzNTM3
29,232
CLN: assorted cleanups
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-26T01:21:52Z
2020-04-05T17:44:57Z
2019-10-29T16:06: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/29232/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29232/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29232.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29232", "merged_at": "2019-10-29T16:06:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29232.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29232" }
https://api.github.com/repos/pandas-dev/pandas/issues/29233
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29233/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29233/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29233/events
https://github.com/pandas-dev/pandas/issues/29233
512,792,675
MDU6SXNzdWU1MTI3OTI2NzU=
29,233
read_csv encode operation on source
{ "avatar_url": "https://avatars.githubusercontent.com/u/56994226?v=4", "events_url": "https://api.github.com/users/abellerarj/events{/privacy}", "followers_url": "https://api.github.com/users/abellerarj/followers", "following_url": "https://api.github.com/users/abellerarj/following{/other_user}", "gists_url": "https://api.github.com/users/abellerarj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/abellerarj", "id": 56994226, "login": "abellerarj", "node_id": "MDQ6VXNlcjU2OTk0MjI2", "organizations_url": "https://api.github.com/users/abellerarj/orgs", "received_events_url": "https://api.github.com/users/abellerarj/received_events", "repos_url": "https://api.github.com/users/abellerarj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/abellerarj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abellerarj/subscriptions", "type": "User", "url": "https://api.github.com/users/abellerarj" }
[ { "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": "5319...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
5
2019-10-26T05:14:57Z
2019-12-13T14:21:39Z
2019-12-13T14:21:39Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python >>> import pandas as pd >>> df = pd.read_csv("historical_dataset.csv") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 709, in parser_f return _read(filepath_or_buffer, kwds) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 449, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 818, in __init__ self._make_engine(self.engine) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 1049, in _make_engine self._engine = CParserWrapper(self.f, **self.options) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 1695, in __init__ self._reader = parsers.TextReader(src, **kwds) File "pandas/_libs/parsers.pyx", line 402, in pandas._libs.parsers.TextReader.__cinit__ File "pandas/_libs/parsers.pyx", line 718, in pandas._libs.parsers.TextReader._setup_parser_source FileNotFoundError: File b'historical_dataset.csv' does not exist ``` #### Problem description Noticed that when source does not exist, there is a leading 'b' on the source on the error message. For Python3, is it necessary to do the encode operation on line 667 of https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/parsers.pyx? Works fine for Python2. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Linux OS-release : 5.0.0-31-generic 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.1 numpy : 1.14.5 pytz : 2018.5 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.13 pytest : None hypothesis : None sphinx : 1.7.6 blosc : None feather : None xlsxwriter : None lxml.etree : 4.2.3 html5lib : None pymysql : 0.9.3 psycopg2 : None jinja2 : 2.10 IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.2.3 matplotlib : 2.2.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.1.0 sqlalchemy : 1.3.8 tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29233/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29233/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29234
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29234/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29234/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29234/events
https://github.com/pandas-dev/pandas/pull/29234
512,794,116
MDExOlB1bGxSZXF1ZXN0MzMyNzM4Mjg2
29,234
PERF: PeriodEngine.get_loc accept narrow data type
{ "avatar_url": "https://avatars.githubusercontent.com/u/34047134?v=4", "events_url": "https://api.github.com/users/proost/events{/privacy}", "followers_url": "https://api.github.com/users/proost/followers", "following_url": "https://api.github.com/users/proost/following{/other_user}", "gists_url": "https://api.github.com/users/proost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/proost", "id": 34047134, "login": "proost", "node_id": "MDQ6VXNlcjM0MDQ3MTM0", "organizations_url": "https://api.github.com/users/proost/orgs", "received_events_url": "https://api.github.com/users/proost/received_events", "repos_url": "https://api.github.com/users/proost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/proost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/proost/subscriptions", "type": "User", "url": "https://api.github.com/users/proost" }
[ { "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
[]
null
20
2019-10-26T05:34:34Z
2020-01-17T00:23:29Z
2020-01-16T21:36:00Z
CONTRIBUTOR
null
- [x] closes #29038 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry xref #28628. I want to refactor `PeriodIndex.get_loc`. Because `PeriodIndex.get_loc` compute twice `Int64index.get_loc` and `PeriodEngine.get_loc`. Problem is only `PeriodEngine.get_loc` accepts `Period.ordinal`. I try to change `PeriodIndex.get_loc` in two ways. First one, I try to remove `PeriodEngine.get_loc` in `PeriodIndex.get_loc`. so just compute `.get_loc` once. I change several ways But always stuck in test cases. So I give it up this way. Second one, I try to change `PeriodEngine.get_loc` to accept `Period` not only `Period.ordinal`. This way is success in that work successfully and pass all test cases. However Problem is most cases users don't use `Period` using `PeriodIndex.get_loc` and `PeriodEngine.get_loc` can't accept "intolerance" argument. Not using `Int64index.get_loc` can't be possible. But I send PR. Little improvement is also improvement. --------------------------------------------------------------------------------------------------------------------- improvement : memory usage with Period.get_loc
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29234/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29234/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29234.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29234", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29234.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29234" }
https://api.github.com/repos/pandas-dev/pandas/issues/29235
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29235/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29235/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29235/events
https://github.com/pandas-dev/pandas/issues/29235
512,820,850
MDU6SXNzdWU1MTI4MjA4NTA=
29,235
Categories reordered to alphabetical when plotting histograms
{ "avatar_url": "https://avatars.githubusercontent.com/u/26348635?v=4", "events_url": "https://api.github.com/users/dmey/events{/privacy}", "followers_url": "https://api.github.com/users/dmey/followers", "following_url": "https://api.github.com/users/dmey/following{/other_user}", "gists_url": "https://api.github.com/users/dmey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dmey", "id": 26348635, "login": "dmey", "node_id": "MDQ6VXNlcjI2MzQ4NjM1", "organizations_url": "https://api.github.com/users/dmey/orgs", "received_events_url": "https://api.github.com/users/dmey/received_events", "repos_url": "https://api.github.com/users/dmey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dmey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmey/subscriptions", "type": "User", "url": "https://api.github.com/users/dmey" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "e11d21", "default": false, "description": "Ca...
closed
false
null
[]
null
0
2019-10-26T10:44:24Z
2020-05-05T00:50:16Z
2020-05-05T00:50:16Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd import matplotlib.pyplot as plt df = pd.DataFrame({ 'width': [0.7, 0.2, 0.15, 0.2, 1.1], 'length': [1.5, 0.5, 1.2, 0.9, 3] }, index= ['pig', 'rabbit', 'duck', 'chicken', 'horse']) # Whether or not `column` is passed the order is still reordered to alphabetical. df.hist(column=['width','length']) plt.show() ``` #### Problem description When plotting histograms from a DataFrame (see code-snippet above) the order of subplots is not maintained. Passing `column` does not appear to have any effect on the ordering either. #### Expected Output Plots/subplots order equals column order in DataFrame. #### Output of ``pd.show_versions()`` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 69 Stepping 1, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.24.2 pytest: 5.2.1 pip: 19.1.1 setuptools: 41.0.1 Cython: None numpy: 1.16.4 scipy: 1.2.2 pyarrow: None xarray: 0.12.1 IPython: 7.5.0 sphinx: None patsy: 0.5.1 dateutil: 2.8.0 pytz: 2019.1 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.1.0 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: 4.7.1 html5lib: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10.1 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29235/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29235/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29236
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29236/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29236/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29236/events
https://github.com/pandas-dev/pandas/issues/29236
512,831,616
MDU6SXNzdWU1MTI4MzE2MTY=
29,236
DOCS: Formatting Errors pandas.TimedeltaIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/38143549?v=4", "events_url": "https://api.github.com/users/HughKelley/events{/privacy}", "followers_url": "https://api.github.com/users/HughKelley/followers", "following_url": "https://api.github.com/users/HughKelley/following{/other_user}", "gists_url": "https://api.github.com/users/HughKelley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HughKelley", "id": 38143549, "login": "HughKelley", "node_id": "MDQ6VXNlcjM4MTQzNTQ5", "organizations_url": "https://api.github.com/users/HughKelley/orgs", "received_events_url": "https://api.github.com/users/HughKelley/received_events", "repos_url": "https://api.github.com/users/HughKelley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HughKelley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HughKelley/subscriptions", "type": "User", "url": "https://api.github.com/users/HughKelley" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
0
2019-10-26T12:47:00Z
2019-10-29T03:16:23Z
2019-10-29T03:16:23Z
CONTRIBUTOR
null
[pandas/core/Indexes/timedeltas.py](https://github.com/pandas-dev/pandas/blob/c7462edc33e89452ae55cb52f61b23cb66e48a5b/pandas/core/indexes/timedeltas.py) #28602 #27977 [pandas/core/indexes/base.py](https://github.com/pandas-dev/pandas/blob/0a44feafd58f3c5576e5f4bf3d0136dcacc352f2/pandas/core/indexes/base.py) ``` python ./scripts/validate_docstrings.py pandas.TimedeltaIndex.to_series ``` ``` 7 Errors found: Summary should fit in a single line Parameter "index" description should start with a capital letter Parameter "index" description should finish with "." Parameter "name" description should start with a capital letter Parameter "name" description should finish with "." The first line of the Returns section should contain only the type, unless multiple values are being returned Return value has no description ``` [pandas/core/arrays/datetime.py](https://github.com/pandas-dev/pandas/blob/18a9e4c8ab253e83ba43767d890576186be13332/pandas/core/arrays/datetimelike.py) ``` ./scripts/validate_docstrings.py pandas.TimedeltaIndex.mean ``` ``` 5 Errors found: Parameters {**kwargs, *args} not documented Unknown parameters {skipna} Parameter "skipna" description should finish with "." Return value has no description Missing description for See Also "numpy.ndarray.mean" reference ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29236/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29236/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29237
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29237/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29237/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29237/events
https://github.com/pandas-dev/pandas/pull/29237
512,837,731
MDExOlB1bGxSZXF1ZXN0MzMyNzY4NDMy
29,237
Replace _has_complex_internals #29227
{ "avatar_url": "https://avatars.githubusercontent.com/u/18753654?v=4", "events_url": "https://api.github.com/users/Aivengoe/events{/privacy}", "followers_url": "https://api.github.com/users/Aivengoe/followers", "following_url": "https://api.github.com/users/Aivengoe/following{/other_user}", "gists_url": "https://api.github.com/users/Aivengoe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Aivengoe", "id": 18753654, "login": "Aivengoe", "node_id": "MDQ6VXNlcjE4NzUzNjU0", "organizations_url": "https://api.github.com/users/Aivengoe/orgs", "received_events_url": "https://api.github.com/users/Aivengoe/received_events", "repos_url": "https://api.github.com/users/Aivengoe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Aivengoe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Aivengoe/subscriptions", "type": "User", "url": "https://api.github.com/users/Aivengoe" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
7
2019-10-26T13:49:24Z
2019-11-14T18:06:17Z
2019-11-14T18:06:09Z
CONTRIBUTOR
null
closes #29227 Hi, it my first issues within hacktoberfest. I replaced _has_complex_internals with isinstance/ Is it possible to import ABCMultiIndex?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29237/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29237/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29237.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29237", "merged_at": "2019-11-14T18:06:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29237.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29237" }
https://api.github.com/repos/pandas-dev/pandas/issues/29238
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29238/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29238/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29238/events
https://github.com/pandas-dev/pandas/issues/29238
512,862,957
MDU6SXNzdWU1MTI4NjI5NTc=
29,238
pandas.DataFrame.fillna automatically converts the dtypes of columns without missing values in them
{ "avatar_url": "https://avatars.githubusercontent.com/u/22521841?v=4", "events_url": "https://api.github.com/users/Nitinsiwach/events{/privacy}", "followers_url": "https://api.github.com/users/Nitinsiwach/followers", "following_url": "https://api.github.com/users/Nitinsiwach/following{/other_user}", "gists_url": "https://api.github.com/users/Nitinsiwach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Nitinsiwach", "id": 22521841, "login": "Nitinsiwach", "node_id": "MDQ6VXNlcjIyNTIxODQx", "organizations_url": "https://api.github.com/users/Nitinsiwach/orgs", "received_events_url": "https://api.github.com/users/Nitinsiwach/received_events", "repos_url": "https://api.github.com/users/Nitinsiwach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Nitinsiwach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Nitinsiwach/subscriptions", "type": "User", "url": "https://api.github.com/users/Nitinsiwach" }
[]
closed
false
null
[]
null
1
2019-10-26T17:27:41Z
2019-10-26T17:37:57Z
2019-10-26T17:37:57Z
NONE
null
If a columns is treated by pandas.DataFrame.fillna and it doesnt have any missing values then pandas automatically converts the datatypes of columns 'int','float' or 'bool' if it can You can reproduce the behavior here: ``` improt pandas as pd x = pd.DataFrame({'a':[1,2,np.nan,3],'d':['x','y','z',np.nan],'e':[1,1,2,2]}) x['e'] = x['e'].astype('O') obj_cols = x.select_dtypes(include='O').columns print(x.loc[:,obj_cols].dtypes) #d object #e object # dtype: object x.loc[:,obj_cols]=x.select_dtypes(include='O').fillna('missing') print(x.loc[:,obj_cols].dtypes) #d object #e int64 #dtype: object] ``` is this a bug or a feature?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29238/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29238/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29239
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29239/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29239/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29239/events
https://github.com/pandas-dev/pandas/pull/29239
512,885,663
MDExOlB1bGxSZXF1ZXN0MzMyODAxNzE4
29,239
BENCH: Improve perf of rolling.Apply.time_rolling
{ "avatar_url": "https://avatars.githubusercontent.com/u/440095?v=4", "events_url": "https://api.github.com/users/qwhelan/events{/privacy}", "followers_url": "https://api.github.com/users/qwhelan/followers", "following_url": "https://api.github.com/users/qwhelan/following{/other_user}", "gists_url": "https://api.github.com/users/qwhelan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/qwhelan", "id": 440095, "login": "qwhelan", "node_id": "MDQ6VXNlcjQ0MDA5NQ==", "organizations_url": "https://api.github.com/users/qwhelan/orgs", "received_events_url": "https://api.github.com/users/qwhelan/received_events", "repos_url": "https://api.github.com/users/qwhelan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/qwhelan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qwhelan/subscriptions", "type": "User", "url": "https://api.github.com/users/qwhelan" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-26T21:06:21Z
2019-10-28T19:36:39Z
2019-10-28T18:40:13Z
CONTRIBUTOR
null
Per discussion in #29165, this PR significantly reduces the run time of the `rolling.Apply.time_rolling` benchmark from 8 minutes minimum. ``` $ asv dev -b rolling.Apply.time_rolling · Discovering benchmarks · Running 1 total benchmarks (1 commits * 1 environments * 1 benchmarks) [ 0.00%] ·· Benchmarking existing-py_home_chris_anaconda3_bin_python [ 50.00%] ··· Running (rolling.Apply.time_rolling--). [100.00%] ··· rolling.Apply.time_rolling ok [100.00%] ··· ============= ======== ======= =========================== ============= ============ -- raw ---------------------------------------------------------- -------------------------- constructor window dtype function True False ============= ======== ======= =========================== ============= ============ DataFrame 3 int <built-in function sum> 1.87±0.1ms 44.8±2ms DataFrame 3 int <function sum> 3.53±0.2ms 126±3ms DataFrame 3 int <function Apply.<lambda>> 4.20±0.2ms 126±7ms DataFrame 3 float <built-in function sum> 1.86±0.07ms 45.1±1ms DataFrame 3 float <function sum> 3.42±0.03ms 129±5ms DataFrame 3 float <function Apply.<lambda>> 4.34±0.5ms 133±9ms DataFrame 300 int <built-in function sum> 31.8±3ms 44.1±2ms DataFrame 300 int <function sum> 2.90±0.2ms 92.6±10ms DataFrame 300 int <function Apply.<lambda>> 3.24±0.2ms 93.9±4ms DataFrame 300 float <built-in function sum> 33.3±20ms 85.4±40ms DataFrame 300 float <function sum> 3.06±0.3ms 91.0±3ms DataFrame 300 float <function Apply.<lambda>> 3.19±0.2ms 91.5±4ms Series 3 int <built-in function sum> 1.42±0.03ms 43.6±1ms Series 3 int <function sum> 3.08±0.06ms 127±2ms Series 3 int <function Apply.<lambda>> 3.67±0.2ms 127±20ms Series 3 float <built-in function sum> 1.41±0.03ms 43.5±0.5ms Series 3 float <function sum> 3.08±0.1ms 123±3ms Series 3 float <function Apply.<lambda>> 3.65±0.1ms 129±6ms Series 300 int <built-in function sum> 31.2±2ms 43.8±3ms Series 300 int <function sum> 2.35±0.1ms 90.4±4ms Series 300 int <function Apply.<lambda>> 2.74±0.2ms 93.2±6ms Series 300 float <built-in function sum> 31.7±0.8ms 45.6±1ms Series 300 float <function sum> 2.36±0.1ms 108±20ms Series 300 float <function Apply.<lambda>> 2.82±0.09ms 99.4±2ms ============= ======== ======= =========================== ============= ============ ``` - [ ] 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/29239/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29239/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29239.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29239", "merged_at": "2019-10-28T18:40:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29239.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29239" }
https://api.github.com/repos/pandas-dev/pandas/issues/29240
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29240/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29240/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29240/events
https://github.com/pandas-dev/pandas/issues/29240
512,907,508
MDU6SXNzdWU1MTI5MDc1MDg=
29,240
Trying to use to_sql on dataframe with numpy.ndarray columns causes ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/9022843?v=4", "events_url": "https://api.github.com/users/fergu/events{/privacy}", "followers_url": "https://api.github.com/users/fergu/followers", "following_url": "https://api.github.com/users/fergu/following{/other_user}", "gists_url": "https://api.github.com/users/fergu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fergu", "id": 9022843, "login": "fergu", "node_id": "MDQ6VXNlcjkwMjI4NDM=", "organizations_url": "https://api.github.com/users/fergu/orgs", "received_events_url": "https://api.github.com/users/fergu/received_events", "repos_url": "https://api.github.com/users/fergu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fergu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fergu/subscriptions", "type": "User", "url": "https://api.github.com/users/fergu" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "to_sql, ...
open
false
null
[]
null
3
2019-10-27T01:44:31Z
2020-05-16T04:06:16Z
null
NONE
null
I am trying out using pandas+sqlalchemy (specifically sqlite) as a means to store my data. In my use case, I will have a number of rows where most will be obvious types such as string, int, float, etc - but I will want to store a few numpy ndarrays. In the example below, each 'channel' entry is a 1x3000 array of floats. For higher dimensional arrays (at most 2D) I plan to store the shape of the data alongside the flattened array, so this is all I need. #### Code Sample, a copy-pastable example if possible This was run in Jupyter Lab. ```python import sqlalchemy import numpy as np import pandas as pd engine = sqlalchemy.create_engine('sqlite:///:memory:') allPts = [] for i in range(0,30): name = "R"+str(i).zfill(3) start = np.random.rand() end = np.random.rand() data = np.random.random((4,3000)) thisDict = {'name':name,'start':start,'end':end,'channel1':data[:,0],'channel2':data[:,1],'channel3':data[:,2],'channel4':data[:,3]} allPts.append(pd.Series(thisDict)) asDF = pd.DataFrame(allPts) asDF.to_sql('dftest',engine,if_exists='replace') ``` This produces the traceback ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-30-e1fb02c5da64> in <module> ----> 1 asDF.to_sql('dftest',engine,if_exists='replace') c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\pandas\core\generic.py in to_sql(self, name, con, schema, if_exists, index, index_label, chunksize, dtype, method) 2710 chunksize=chunksize, 2711 dtype=dtype, -> 2712 method=method, 2713 ) 2714 c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\pandas\io\sql.py in to_sql(frame, name, con, schema, if_exists, index, index_label, chunksize, dtype, method) 516 chunksize=chunksize, 517 dtype=dtype, --> 518 method=method, 519 ) 520 c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\pandas\io\sql.py in to_sql(self, frame, name, if_exists, index, index_label, schema, chunksize, dtype, method) 1318 ) 1319 table.create() -> 1320 table.insert(chunksize, method=method) 1321 if not name.isdigit() and not name.islower(): 1322 # check for potentially case sensitivity issues (GH7815) c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\pandas\io\sql.py in insert(self, chunksize, method) 754 755 chunk_iter = zip(*[arr[start_i:end_i] for arr in data_list]) --> 756 exec_insert(conn, keys, chunk_iter) 757 758 def _query_iterator( c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\pandas\io\sql.py in _execute_insert(self, conn, keys, data_iter) 668 """ 669 data = [dict(zip(keys, row)) for row in data_iter] --> 670 conn.execute(self.table.insert(), data) 671 672 def _execute_insert_multi(self, conn, keys, data_iter): c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\engine\base.py in execute(self, object_, *multiparams, **params) 986 raise exc.ObjectNotExecutableError(object_) 987 else: --> 988 return meth(self, multiparams, params) 989 990 def _execute_function(self, func, multiparams, params): c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\sql\elements.py in _execute_on_connection(self, connection, multiparams, params) 285 def _execute_on_connection(self, connection, multiparams, params): 286 if self.supports_execution: --> 287 return connection._execute_clauseelement(self, multiparams, params) 288 else: 289 raise exc.ObjectNotExecutableError(self) c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\engine\base.py in _execute_clauseelement(self, elem, multiparams, params) 1105 distilled_params, 1106 compiled_sql, -> 1107 distilled_params, 1108 ) 1109 if self._has_events or self.engine._has_events: c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\engine\base.py in _execute_context(self, dialect, constructor, statement, parameters, *args) 1251 except BaseException as e: 1252 self._handle_dbapi_exception( -> 1253 e, statement, parameters, cursor, context 1254 ) 1255 c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\engine\base.py in _handle_dbapi_exception(self, e, statement, parameters, cursor, context) 1473 util.raise_from_cause(sqlalchemy_exception, exc_info) 1474 else: -> 1475 util.reraise(*exc_info) 1476 1477 finally: c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\util\compat.py in reraise(tp, value, tb, cause) 151 if value.__traceback__ is not tb: 152 raise value.with_traceback(tb) --> 153 raise value 154 155 def u(s): c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\engine\base.py in _execute_context(self, dialect, constructor, statement, parameters, *args) 1227 if not evt_handled: 1228 self.dialect.do_executemany( -> 1229 cursor, statement, parameters, context 1230 ) 1231 elif not parameters and context.no_parameters: c:\users\(me)\documents\pyenv\dataproc\lib\site-packages\sqlalchemy\engine\default.py in do_executemany(self, cursor, statement, parameters, context) 575 576 def do_executemany(self, cursor, statement, parameters, context=None): --> 577 cursor.executemany(statement, parameters) 578 579 def do_execute(self, cursor, statement, parameters, context=None): ValueError: could not convert BLOB to buffer ``` #### Problem description I notice that the bottom of the traceback specifies the error started in sqlalchemy - though for all my googling I can't find any record of this problem (or error message) anywhere either with sqlalchemy or pandas. I'm *assuming* this means I probably am doing something wrong, but I'm not seeing it when looking at docs etc. Storing a numpy array as a binary blob makes sense to me, so I feel like the type inference makes sense. #### Expected Output Writing to the database/no error. :) #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 11, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.1 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.10 tables : 3.6.0 xarray : None xlrd : None xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29240/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29240/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29241
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29241/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29241/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29241/events
https://github.com/pandas-dev/pandas/issues/29241
512,980,469
MDU6SXNzdWU1MTI5ODA0Njk=
29,241
merge vs. join - unify parameter names
{ "avatar_url": "https://avatars.githubusercontent.com/u/6208056?v=4", "events_url": "https://api.github.com/users/stefansimik/events{/privacy}", "followers_url": "https://api.github.com/users/stefansimik/followers", "following_url": "https://api.github.com/users/stefansimik/following{/other_user}", "gists_url": "https://api.github.com/users/stefansimik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stefansimik", "id": 6208056, "login": "stefansimik", "node_id": "MDQ6VXNlcjYyMDgwNTY=", "organizations_url": "https://api.github.com/users/stefansimik/orgs", "received_events_url": "https://api.github.com/users/stefansimik/received_events", "repos_url": "https://api.github.com/users/stefansimik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stefansimik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stefansimik/subscriptions", "type": "User", "url": "https://api.github.com/users/stefansimik" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, ...
open
false
null
[]
null
2
2019-10-27T15:23:52Z
2020-05-07T03:53:05Z
null
CONTRIBUTOR
null
#### Problem description `pandas.DataFrame.merge` function is conceptually simillar like `pandas.DataFrame.join` function. (first one one merges on specified columns, second merges on index). These 2 functions use various parameters to do the same thing: * `join` function has 2 params: `lsuffix + rsuffix` * `merge` function has only 1 param: `suffixes` We should unify names and usage of these parameter(s). Let's use first way or second way, and deprecate the other way. _(Personally, I prefer to have only 1 param `suffixes` as it is shorter and there is 1 param for 1 purpose)._ #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 7 machine : AMD64 processor : Intel64 Family 6 Model 79 Stepping 1, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.2 numpy : 1.16.5 pytz : 2019.3 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.4.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : 0.14.1 pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29241/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29241/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29242
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29242/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29242/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29242/events
https://github.com/pandas-dev/pandas/issues/29242
512,994,467
MDU6SXNzdWU1MTI5OTQ0Njc=
29,242
config.register_option allows registering invalid options
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved er...
open
false
null
[]
null
5
2019-10-27T17:13:41Z
2021-07-22T05:17:05Z
null
MEMBER
null
```python >>> import pandas as pd >>> >>> pd.__version__ '0.26.0.dev0+684.g953757a3e' >>> >>> from pandas._config import config >>> >>> config.register_option("a.b.c", 1) >>> >>> config.get_option("a.b.c") 1 >>> >>> config.register_option("a.b.c", 2) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\simon\pandas\pandas\_config\config.py", line 445, in register_option raise OptionError(msg.format(key=key)) pandas._config.config.OptionError: "Option 'a.b.c' has already been registered" >>> >>> config.register_option("a.b", {"c": 2}) >>> >>> config.get_option("a.b.c") 2 >>> ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29242/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29242/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29243
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29243/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29243/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29243/events
https://github.com/pandas-dev/pandas/pull/29243
512,994,666
MDExOlB1bGxSZXF1ZXN0MzMyODc0NjY3
29,243
Follow up PR: #28097 Simplify branch statement
{ "avatar_url": "https://avatars.githubusercontent.com/u/34047134?v=4", "events_url": "https://api.github.com/users/proost/events{/privacy}", "followers_url": "https://api.github.com/users/proost/followers", "following_url": "https://api.github.com/users/proost/following{/other_user}", "gists_url": "https://api.github.com/users/proost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/proost", "id": 34047134, "login": "proost", "node_id": "MDQ6VXNlcjM0MDQ3MTM0", "organizations_url": "https://api.github.com/users/proost/orgs", "received_events_url": "https://api.github.com/users/proost/received_events", "repos_url": "https://api.github.com/users/proost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/proost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/proost/subscriptions", "type": "User", "url": "https://api.github.com/users/proost" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": ...
closed
false
null
[]
{ "closed_at": "2020-02-06T23:38:32Z", "closed_issues": 103, "created_at": "2020-01-14T04:04:52Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-05T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/69", "id": 5002193, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels", "node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==", "number": 69, "open_issues": 0, "state": "closed", "title": "1.0.1", "updated_at": "2020-04-05T10:45:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69" }
3
2019-10-27T17:15:37Z
2020-02-05T08:47:25Z
2020-01-26T01:35:52Z
CONTRIBUTOR
null
xref #28097 This is follow up pr. eliminate branch statement. "grouper" variable is assigned when handle NAs.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29243/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29243/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29243.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29243", "merged_at": "2020-01-26T01:35:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29243.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29243" }
https://api.github.com/repos/pandas-dev/pandas/issues/29244
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29244/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29244/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29244/events
https://github.com/pandas-dev/pandas/pull/29244
512,999,518
MDExOlB1bGxSZXF1ZXN0MzMyODc3OTUz
29,244
REF: use fused types in hashtables
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "de...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
5
2019-10-27T17:58:52Z
2021-11-20T23:21:58Z
2019-10-30T22:47:16Z
MEMBER
null
This just gets the helper functions. Getting the rest is more difficult.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29244/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29244/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29244.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29244", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29244.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29244" }
https://api.github.com/repos/pandas-dev/pandas/issues/29245
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29245/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29245/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29245/events
https://github.com/pandas-dev/pandas/pull/29245
512,999,876
MDExOlB1bGxSZXF1ZXN0MzMyODc4MTk0
29,245
ENH: Styler.background_gradient to accept vmin vmax and dtype Int64
{ "avatar_url": "https://avatars.githubusercontent.com/u/26521816?v=4", "events_url": "https://api.github.com/users/immaxchen/events{/privacy}", "followers_url": "https://api.github.com/users/immaxchen/followers", "following_url": "https://api.github.com/users/immaxchen/following{/other_user}", "gists_url": "https://api.github.com/users/immaxchen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/immaxchen", "id": 26521816, "login": "immaxchen", "node_id": "MDQ6VXNlcjI2NTIxODE2", "organizations_url": "https://api.github.com/users/immaxchen/orgs", "received_events_url": "https://api.github.com/users/immaxchen/received_events", "repos_url": "https://api.github.com/users/immaxchen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/immaxchen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/immaxchen/subscriptions", "type": "User", "url": "https://api.github.com/users/immaxchen" }
[ { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
null
1
2019-10-27T18:01:55Z
2019-11-03T13:00:00Z
2019-11-03T12:59:56Z
CONTRIBUTOR
null
For `vmin` `vmax` use the same implementation as `Styler.bar` For dtype `Int64` issue, deprecated `.values` and use `.to_numpy` instead Here explicitly assign the dtype to float since we are doing normalize - [x] closes #12145 and #28869 - [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/29245/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29245/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29245.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29245", "merged_at": "2019-11-03T12:59:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29245.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29245" }
https://api.github.com/repos/pandas-dev/pandas/issues/29246
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29246/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29246/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29246/events
https://github.com/pandas-dev/pandas/pull/29246
513,000,371
MDExOlB1bGxSZXF1ZXN0MzMyODc4NTE5
29,246
REF: Simplify _cython_functions lookup
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": ...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
6
2019-10-27T18:05:54Z
2019-10-31T17:13:44Z
2019-10-31T17:10:31Z
MEMBER
null
The remaining two non-trivial cases are ("aggregate", "first") and ("aggregate", "median"). The "first" case I think is straightforward. The "median" case I'm reticent to change because it isn't clear to me why it is a dict at all (cc @WillAyd if you have any ideas)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29246/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29246/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29246.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29246", "merged_at": "2019-10-31T17:10:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29246.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29246" }
https://api.github.com/repos/pandas-dev/pandas/issues/29247
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29247/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29247/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29247/events
https://github.com/pandas-dev/pandas/issues/29247
513,014,320
MDU6SXNzdWU1MTMwMTQzMjA=
29,247
ENH: Bulk merge a list of files.
{ "avatar_url": "https://avatars.githubusercontent.com/u/16963976?v=4", "events_url": "https://api.github.com/users/mohitanand001/events{/privacy}", "followers_url": "https://api.github.com/users/mohitanand001/followers", "following_url": "https://api.github.com/users/mohitanand001/following{/other_user}", "gists_url": "https://api.github.com/users/mohitanand001/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mohitanand001", "id": 16963976, "login": "mohitanand001", "node_id": "MDQ6VXNlcjE2OTYzOTc2", "organizations_url": "https://api.github.com/users/mohitanand001/orgs", "received_events_url": "https://api.github.com/users/mohitanand001/received_events", "repos_url": "https://api.github.com/users/mohitanand001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mohitanand001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mohitanand001/subscriptions", "type": "User", "url": "https://api.github.com/users/mohitanand001" }
[ { "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
[]
null
4
2019-10-27T20:03:06Z
2021-07-22T05:29:10Z
2021-07-22T05:29:10Z
CONTRIBUTOR
null
Hi @simonjayhawkins @jreback , Merge here refers to `full outer join`. Can we have a feature of merging a list of dataframes. Looping over the list of files one after the other without considering their size, can be inefficient. The algorithm capitalizes on the fact that `full outer join` is `associative` as well as `commutative`, so the order of merging would not change the final result. Let's say we have 100 files `(f1, f2, f3, .... f100)` all of them indexed by `id`, all of which needs to be merged together to form one consolidate file. Insetead of merging them one after the other in a loop, the quick_merge follows these steps. 1. Add all the files `f1, f2, f3, ... f100` to a heap(the datastructure). 2. Balance the heap, such that the top contains the one with `minimum rowsize`. 3. Pop the top 2 elements from the heap, merge(full outer join) them and push back again to the heap. 4. Repeat the process until we have just one file in the heap, which will be the final merged file. 5. Return the final merged file from heap. Theoretically a full outer merge costs `O(n*m)`, where `n` and `m` are number of rows in the files (without indexing). If we index, the same complexity reduces to `O(n+m)`. So, if we have two small files in each step to merge, we save time. ### Usage ```python from quick_merge import quick_merge as qm df_1 = pd.DataFrame( np.random.randint(0, 100, size=(100, 6)), columns=list("ABCDEF") ) df_2 = pd.DataFrame( np.random.randint(0, 100, size=(100, 9)), columns=list("ABCDEFGHI") ) df_3 = pd.DataFrame(np.random.randint(0, 100, size=(100, 3)), columns=list("ABC")) dfs = [df_1, df_2, df_3] res = qm(dataframes=dfs, merge_key='A') ``` https://github.com/farziengineer/quick_merge/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/29247/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29247/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29248
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29248/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29248/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29248/events
https://github.com/pandas-dev/pandas/pull/29248
513,033,843
MDExOlB1bGxSZXF1ZXN0MzMyOTAyMjU3
29,248
initial HTML rendering for Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/1134151?v=4", "events_url": "https://api.github.com/users/big-o/events{/privacy}", "followers_url": "https://api.github.com/users/big-o/followers", "following_url": "https://api.github.com/users/big-o/following{/other_user}", "gists_url": "https://api.github.com/users/big-o/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/big-o", "id": 1134151, "login": "big-o", "node_id": "MDQ6VXNlcjExMzQxNTE=", "organizations_url": "https://api.github.com/users/big-o/orgs", "received_events_url": "https://api.github.com/users/big-o/received_events", "repos_url": "https://api.github.com/users/big-o/repos", "site_admin": false, "starred_url": "https://api.github.com/users/big-o/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/big-o/subscriptions", "type": "User", "url": "https://api.github.com/users/big-o" }
[ { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
null
[]
null
8
2019-10-27T22:48:47Z
2019-11-03T15:41:13Z
2019-11-03T15:41:13Z
NONE
null
Added to_html() and _repr_html_() to Series class. - [ ] closes #5563 - [ ] 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/29248/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29248/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29248.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29248", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29248.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29248" }
https://api.github.com/repos/pandas-dev/pandas/issues/29249
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29249/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29249/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29249/events
https://github.com/pandas-dev/pandas/pull/29249
513,035,393
MDExOlB1bGxSZXF1ZXN0MzMyOTAzMzIz
29,249
CLN: remove algorithms.match
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-27T23:02:56Z
2020-02-09T17:05:17Z
2019-10-28T18:40:57Z
MEMBER
null
Appears to be dead code, allows for simplification of _get_hashtable_algo.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29249/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29249/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29249.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29249", "merged_at": "2019-10-28T18:40:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29249.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29249" }
https://api.github.com/repos/pandas-dev/pandas/issues/29250
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29250/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29250/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29250/events
https://github.com/pandas-dev/pandas/issues/29250
513,146,820
MDU6SXNzdWU1MTMxNDY4MjA=
29,250
API: consider undeprecating Series.item() ?
{ "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" }, { "color": "5319e7", "default": false, "description": "F...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
9
2019-10-28T07:49:59Z
2019-12-18T08:11:21Z
2019-12-18T08:11:21Z
MEMBER
null
I recently ran into this as well (but forgot to open an issue), and raised now by @alexiswl in https://github.com/pandas-dev/pandas/issues/18262#issuecomment-546746982 `Series.item()` was a consequence of (historically) inheriting from np.ndarray, and was deprecated (like a set of other ndarray-inhertited methods/attributes) a while ago. While `.item()` could also be used to select the "i-th" element (`.item(i)`), and this use case is certainly redundant (not arguing here to get that aspect back), there is one use case where `item()` can actually be useful: if you do not pass *i*, the method returns the element of the Series *only* if it has one element, otherwise it errors. Such a situation can typically occur if you use boolean indexing (or `query`) to select a single element. Eg in cases like `s[s == 'val']` or `df.loc[df['col1'] == 'val', 'col2']` where you know the condition *should* yield a single element. You then typically want the scalar element as result, but those two code snippets give you a Series of one element. In those cases, you could use `item()` to retrieve it: `s[s == 'val'].item()`. I saw some people using `.item()` exactly for this use case, so wondering if it is worth to keep it for this (only the version without passing *i*). The logical alternative is doing a `.iloc[0]`, but `.item()` has the advantage of guaranteeing there was actually only one result item.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29250/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29250/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29251
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29251/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29251/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29251/events
https://github.com/pandas-dev/pandas/issues/29251
513,201,811
MDU6SXNzdWU1MTMyMDE4MTE=
29,251
Small BUG: to_csv index_label=False, move out column names
{ "avatar_url": "https://avatars.githubusercontent.com/u/56966077?v=4", "events_url": "https://api.github.com/users/PhenixFlame/events{/privacy}", "followers_url": "https://api.github.com/users/PhenixFlame/followers", "following_url": "https://api.github.com/users/PhenixFlame/following{/other_user}", "gists_url": "https://api.github.com/users/PhenixFlame/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/PhenixFlame", "id": 56966077, "login": "PhenixFlame", "node_id": "MDQ6VXNlcjU2OTY2MDc3", "organizations_url": "https://api.github.com/users/PhenixFlame/orgs", "received_events_url": "https://api.github.com/users/PhenixFlame/received_events", "repos_url": "https://api.github.com/users/PhenixFlame/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PhenixFlame/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PhenixFlame/subscriptions", "type": "User", "url": "https://api.github.com/users/PhenixFlame" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
null
2
2019-10-28T09:54:30Z
2019-10-28T17:31:55Z
2019-10-28T17:31:55Z
NONE
null
#### Bug reproducing example ```python import pandas as pd a = {'col_name1': {('first', 'first'): 0, ('first', 'second'): 1}, 'col_name2': {('first', 'first'): 1, ('first', 'second'): 2}} df = pd.DataFrame(a) print(df.to_csv(index_label=False, sep='|')) ``` #### Printed value ``` __name1__|__name2__ first|first|0|1 first|second|1|2 ``` #### Expected Output ``` ||__name1__|__name2__ first|first|0|1 first|second|1|2 ``` ### Problem description #### There was found incorrect work in function of `df.to_csv(index_label=False)` with df multiindex: Unexpected move out column names over index columns. **Note**: I've check this problem by look for phrase "to_csv index_label=False" and found some similar problems, however this problem wasn't described in all of its. I fork pandas master and install it for test issue. **Note**: *I'm newbie in python (half of year development) and this my first commit for public repository on github. I read some articles, such as "Craft Minimal Bug Reports " and "How to create a Minimal, Reproducible Example" I have two questions:* *1. How i can test my solution? 2. Need I create pull request now or I must to wait comments below?* P.s. *I create commit in my fork: https://github.com/pandas-dev/pandas/compare/master...PhenixFlame:fix_branch* #### Output of ``pd.show_versions()`` ``` INSTALLED VERSIONS ------------------ commit : 953757a3e37ffb80570a20a8eca52dae35fc27bb python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 5.0.0-32-generic pandas : 0.26.0.dev0+684.g953757a3e numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.0.3 setuptools : 40.8.0 Cython : 0.29.13 ``` ### Where is the problem? I' am suppose that the error is locate in pandas/pandas/io/formats/csvs.CSVFormatter._save_header:277-278 strings: <details> ```python if self.index: ................................................... else: encoded_labels = [] ``` my suggestion changes: ```python if self.index: ................................................... else: index_label = [''] * len(obj.index.names) encoded_labels = list(index_label) ``` overview of code for analyse: ```python def _save_header(self): index_label = self.index_label # index_label=False ................................................................................................ if self.index: # should write something for index label if index_label is not False: if index_label is None: if isinstance(obj.index, ABCMultiIndex): index_label = [] for i, name in enumerate(obj.index.names): if name is None: name = "" index_label.append(name) else: index_label = obj.index.name if index_label is None: index_label = [""] else: index_label = [index_label] elif not isinstance( index_label, (list, tuple, np.ndarray, ABCIndexClass) ): # given a string for a DF with Index index_label = [index_label] encoded_labels = list(index_label) else: encoded_labels = [] if not has_mi_columns or has_aliases: encoded_labels += list(write_cols) writer.writerow(encoded_labels) else: # write out the mi columns = obj.columns # write out the names for each level, then ALL of the values for # each level for i in range(columns.nlevels): # we need at least 1 index column to write our col names col_line = [] if self.index: # name is the first column col_line.append(columns.names[i]) if isinstance(index_label, list) and len(index_label) > 1: col_line.extend([""] * (len(index_label) - 1)) col_line.extend(columns._get_level_values(i)) writer.writerow(col_line) ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29251/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29251/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29252
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29252/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29252/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29252/events
https://github.com/pandas-dev/pandas/issues/29252
513,309,659
MDU6SXNzdWU1MTMzMDk2NTk=
29,252
Bug: Joining MultiIndex with NaNs
{ "avatar_url": "https://avatars.githubusercontent.com/u/44379463?v=4", "events_url": "https://api.github.com/users/hanudev/events{/privacy}", "followers_url": "https://api.github.com/users/hanudev/followers", "following_url": "https://api.github.com/users/hanudev/following{/other_user}", "gists_url": "https://api.github.com/users/hanudev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hanudev", "id": 44379463, "login": "hanudev", "node_id": "MDQ6VXNlcjQ0Mzc5NDYz", "organizations_url": "https://api.github.com/users/hanudev/orgs", "received_events_url": "https://api.github.com/users/hanudev/received_events", "repos_url": "https://api.github.com/users/hanudev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hanudev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hanudev/subscriptions", "type": "User", "url": "https://api.github.com/users/hanudev" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, d...
open
false
null
[]
null
2
2019-10-28T13:39:12Z
2020-05-12T10:31:18Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import numpy as np import pandas as pd df1 = pd.DataFrame(data={'col1': [1.1, 1.2]}, index=pd.MultiIndex.from_product([['A'], [1.0, 2.0]], names=['id1', 'id2'])) df2 = pd.DataFrame(data={'col2': [2.1, 2.2]}, index=pd.MultiIndex.from_product([['A'], [np.NaN, 2.0]], names=['id1', 'id2'])) print(df1.join(df2)) ``` #### Problem description The index containing the NaN value of `df2` is falsely joined with the index of `df1`. Therefore, the result contains both values of `df2` instead of only one value and a NaN value. #### Expected Output ``` col1 col2 id1 id2 A 1.0 1.1 NaN 2.0 1.2 2.2 ``` The expected result was returned by older pandas versions (successfully tested with 0.18.1 ; 0.20.3 ; 0.21.1 ; 0.22.0). #### Actual Output ``` col1 col2 id1 id2 A 1.0 1.1 2.1 2.0 1.2 2.2 ``` This result is returned by newer pandas versions, beginning with version 0.23.0 (tested with 0.23.0 ; 0.23.4 ; 0.24.2 ; 0.25.2). I suppose this is a bug, or am I missing something? #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.2.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.2 numpy : 1.16.2 pytz : 2018.9 dateutil : 2.8.0 pip : 19.0.3 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29252/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29252/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29253
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29253/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29253/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29253/events
https://github.com/pandas-dev/pandas/issues/29253
513,322,157
MDU6SXNzdWU1MTMzMjIxNTc=
29,253
ml.plots.stresses() transforms input series Evaporation
{ "avatar_url": "https://avatars.githubusercontent.com/u/42713153?v=4", "events_url": "https://api.github.com/users/marcovanbaar/events{/privacy}", "followers_url": "https://api.github.com/users/marcovanbaar/followers", "following_url": "https://api.github.com/users/marcovanbaar/following{/other_user}", "gists_url": "https://api.github.com/users/marcovanbaar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marcovanbaar", "id": 42713153, "login": "marcovanbaar", "node_id": "MDQ6VXNlcjQyNzEzMTUz", "organizations_url": "https://api.github.com/users/marcovanbaar/orgs", "received_events_url": "https://api.github.com/users/marcovanbaar/received_events", "repos_url": "https://api.github.com/users/marcovanbaar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marcovanbaar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marcovanbaar/subscriptions", "type": "User", "url": "https://api.github.com/users/marcovanbaar" }
[]
closed
false
null
[]
null
2
2019-10-28T13:59:34Z
2019-10-28T15:30:22Z
2019-10-28T14:24:44Z
NONE
null
The original series is transformed with the parameter "recharge_f" While I expect te function ml.plots.stresses() to plot the original series.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29253/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29253/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29254
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29254/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29254/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29254/events
https://github.com/pandas-dev/pandas/issues/29254
513,397,206
MDU6SXNzdWU1MTMzOTcyMDY=
29,254
Fix SS06 Issues in docstrings
{ "avatar_url": "https://avatars.githubusercontent.com/u/4827688?v=4", "events_url": "https://api.github.com/users/profwacko/events{/privacy}", "followers_url": "https://api.github.com/users/profwacko/followers", "following_url": "https://api.github.com/users/profwacko/following{/other_user}", "gists_url": "https://api.github.com/users/profwacko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/profwacko", "id": 4827688, "login": "profwacko", "node_id": "MDQ6VXNlcjQ4Mjc2ODg=", "organizations_url": "https://api.github.com/users/profwacko/orgs", "received_events_url": "https://api.github.com/users/profwacko/received_events", "repos_url": "https://api.github.com/users/profwacko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/profwacko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/profwacko/subscriptions", "type": "User", "url": "https://api.github.com/users/profwacko" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
open
false
null
[]
null
8
2019-10-28T15:57:51Z
2020-02-27T01:31:48Z
null
CONTRIBUTOR
null
Fix docstrings where summary should fit in a single line. From: #27977, most of these errors should just be formatting issues where there are no single line summaries. After setting up and generating the SS06 errors with `python scripts/validate_docstrings.py --errors=SS06`, the workflow I would suggest is: 0. **Read through comments on this issue to check and see if you are doing any duplicate work.** 1. Pick around 10 docstrings to work on and comment those particular docstrings here 1. search for the specific function docstrings in the documentation (https://pandas.pydata.org/pandas-docs/stable/index.html) 1. search for the corresponding lines in the *.py that need to be edited 1. edit summary to fit on one line 1. double check changes with `python scripts/validate_docstrings.py <your-function-or-method>` Here are all the current errors after running `python ./scripts/validate_docstrings.py --errors=SS06 `, will place a check once your PRs referencing this issue have been merged: - [ ] `pandas.tseries.offsets.CustomBusinessDay: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.SemiMonthEnd: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.SemiMonthBegin: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.LastWeekOfMonth: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.FY5253Quarter: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.BDay.base: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.BMonthEnd.base: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.BMonthBegin.base: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.CBMonthEnd.base: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.CBMonthEnd.apply_index: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.CBMonthBegin.base: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.CBMonthBegin.apply_index: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.CDay: Summary should fit in a single line` - [ ] `pandas.tseries.offsets.CDay.base: Summary should fit in a single line` - [ ] `pandas.tseries.frequencies.to_offset: Summary should fit in a single line` - [ ] `pandas.Series.to_period: Summary should fit in a single line` - [ ] `pandas.Series.transform: Summary should fit in a single line` - [ ] `pandas.Series.describe: Summary should fit in a single line` - [ ] `pandas.Series.kurt: Summary should fit in a single line` - [ ] `pandas.Series.skew: Summary should fit in a single line` - [ ] `pandas.Series.kurtosis: Summary should fit in a single line` - [ ] `pandas.Series.is_monotonic: Summary should fit in a single line` - [ ] `pandas.Series.is_monotonic_increasing: Summary should fit in a single line` - [ ] `pandas.Series.is_monotonic_decreasing: Summary should fit in a single line` - [ ] `pandas.Series.align: Summary should fit in a single line` - [ ] `pandas.Series.first: Summary should fit in a single line` - [ ] `pandas.Series.last: Summary should fit in a single line` - [ ] `pandas.Series.reindex: Summary should fit in a single line` - [ ] `pandas.Series.filter: Summary should fit in a single line` - [ ] `pandas.Series.argsort: Summary should fit in a single line` - [ ] `pandas.Series.unstack: Summary should fit in a single line` - [ ] `pandas.Series.explode: Summary should fit in a single line` - [ ] `pandas.Series.update: Summary should fit in a single line` - [ ] `pandas.Series.slice_shift: Summary should fit in a single line` - [ ] `pandas.Series.dt.date: Summary should fit in a single line` - [ ] `pandas.Series.dt.timetz: Summary should fit in a single line` - [ ] `pandas.Series.dt.tz_localize: Summary should fit in a single line` - [ ] `pandas.Series.str.center: Summary should fit in a single line` - [ ] `pandas.Series.str.decode: Summary should fit in a single line` - [ ] `pandas.Series.str.encode: Summary should fit in a single line` - [ ] `pandas.Series.str.extractall: Summary should fit in a single line` - [ ] `pandas.Series.str.find: Summary should fit in a single line` - [ ] `pandas.Series.str.index: Summary should fit in a single line` - [ ] `pandas.Series.str.len: Summary should fit in a single line` - [ ] `pandas.Series.str.ljust: Summary should fit in a single line` - [ ] `pandas.Series.str.normalize: Summary should fit in a single line` - [ ] `pandas.Series.str.replace: Summary should fit in a single line` - [ ] `pandas.Series.str.rfind: Summary should fit in a single line` - [ ] `pandas.Series.str.rindex: Summary should fit in a single line` - [ ] `pandas.Series.str.rjust: Summary should fit in a single line` - [ ] `pandas.Series.str.translate: Summary should fit in a single line` - [ ] `pandas.Series.str.wrap: Summary should fit in a single line` - [ ] `pandas.Series.str.get_dummies: Summary should fit in a single line` - [ ] `pandas.Series.str: Summary should fit in a single line` - [ ] `pandas.Index.str: Summary should fit in a single line` - [ ] `pandas.Series.plot: Summary should fit in a single line` - [ ] `pandas.Timestamp.resolution: Summary should fit in a single line` - [ ] `pandas.Timestamp.fromordinal: Summary should fit in a single line` - [ ] `pandas.Timestamp.isoweekday: Summary should fit in a single line` - [ ] `pandas.Timestamp.normalize: Summary should fit in a single line` - [ ] `pandas.Timestamp.now: Summary should fit in a single line` - [ ] `pandas.Timestamp.to_julian_date: Summary should fit in a single line` - [ ] `pandas.Timestamp.today: Summary should fit in a single line` - [ ] `pandas.Timestamp.tz_localize: Summary should fit in a single line` - [ ] `pandas.Timestamp.weekday: Summary should fit in a single line` - [ ] `pandas.Timedelta.isoformat: Summary should fit in a single line` - [ ] `pandas.Period.strftime: Summary should fit in a single line` - [ ] `pandas.Interval.closed: Summary should fit in a single line` - [ ] `pandas.arrays.IntervalArray.left: Summary should fit in a single line` - [ ] `pandas.arrays.IntervalArray.right: Summary should fit in a single line` - [ ] `pandas.arrays.IntervalArray.closed: Summary should fit in a single line` - [ ] `pandas.arrays.IntervalArray.length: Summary should fit in a single line` - [ ] `pandas.arrays.IntervalArray.is_non_overlapping_monotonic: Summary should fit in a single line` - [ ] `pandas.arrays.IntervalArray.set_closed: Summary should fit in a single line` - [ ] `pandas.read_msgpack: Summary should fit in a single line` - [ ] `pandas.ExcelWriter: Summary should fit in a single line` - [ ] `pandas.HDFStore.append: Summary should fit in a single line` - [ ] `pandas.io.stata.StataReader.value_labels: Summary should fit in a single line` - [ ] `pandas.io.stata.StataReader.variable_labels: Summary should fit in a single line` - [ ] `pandas.core.resample.Resampler.transform: Summary should fit in a single line` - [ ] `pandas.core.resample.Resampler.pipe: Summary should fit in a single line` - [ ] `pandas.plotting.andrews_curves: Summary should fit in a single line` - [ ] `pandas.plotting.plot_params: Summary should fit in a single line` - [ ] `pandas.errors.EmptyDataError: Summary should fit in a single line` - [ ] `pandas.errors.UnsortedIndexError: Summary should fit in a single line` - [ ] `pandas.errors.UnsupportedFunctionCall: Summary should fit in a single line` - [ ] `pandas.api.types.union_categoricals: Summary should fit in a single line` - [ ] `pandas.api.types.infer_dtype: Summary should fit in a single line` - [ ] `pandas.api.types.is_datetimetz: Summary should fit in a single line` - [ ] `pandas.melt: Summary should fit in a single line` - [ ] `pandas.pivot_table: Summary should fit in a single line` - [ ] `pandas.crosstab: Summary should fit in a single line` - [ ] `pandas.qcut: Summary should fit in a single line` - [ ] `pandas.merge_ordered: Summary should fit in a single line` - [ ] `pandas.merge_asof: Summary should fit in a single line` - [ ] `pandas.concat: Summary should fit in a single line` - [ ] `pandas.unique: Summary should fit in a single line` - [ ] `pandas.bdate_range: Summary should fit in a single line` - [ ] `pandas.period_range: Summary should fit in a single line` - [ ] `pandas.timedelta_range: Summary should fit in a single line` - [ ] `pandas.infer_freq: Summary should fit in a single line` - [ ] `pandas.Index: Summary should fit in a single line` - [ ] `pandas.Index.is_monotonic_increasing: Summary should fit in a single line` - [ ] `pandas.Index.is_monotonic_decreasing: Summary should fit in a single line` - [ ] `pandas.Index.copy: Summary should fit in a single line` - [ ] `pandas.Index.identical: Summary should fit in a single line` - [ ] `pandas.Index.reindex: Summary should fit in a single line` - [x] `pandas.Index.where: Summary should fit in a single line` - [ ] `pandas.Index.unique: Summary should fit in a single line` - [ ] `pandas.Index.astype: Summary should fit in a single line` - [ ] `pandas.Index.to_series: Summary should fit in a single line` - [ ] `pandas.Index.join: Summary should fit in a single line` - [ ] `pandas.Index.difference: Summary should fit in a single line` - [ ] `pandas.Index.asof_locs: Summary should fit in a single line` - [ ] `pandas.Index.get_indexer: Summary should fit in a single line` - [ ] `pandas.Index.get_indexer_non_unique: Summary should fit in a single line` - [ ] `pandas.Index.get_value: Summary should fit in a single line` - [ ] `pandas.Index.slice_indexer: Summary should fit in a single line` - [ ] `pandas.Int64Index: Summary should fit in a single line` - [ ] `pandas.UInt64Index: Summary should fit in a single line` - [ ] `pandas.Float64Index: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.left: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.right: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.closed: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.length: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.is_non_overlapping_monotonic: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.get_indexer: Summary should fit in a single line` - [ ] `pandas.IntervalIndex.set_closed: Summary should fit in a single line` - [ ] `pandas.MultiIndex.set_levels: Summary should fit in a single line` - [ ] `pandas.MultiIndex.set_codes: Summary should fit in a single line` - [ ] `pandas.MultiIndex.to_hierarchical: Summary should fit in a single line` - [ ] `pandas.MultiIndex.sortlevel: Summary should fit in a single line` - [ ] `pandas.MultiIndex.remove_unused_levels: Summary should fit in a single line` - [ ] `pandas.MultiIndex.get_loc: Summary should fit in a single line` - [ ] `pandas.MultiIndex.get_loc_level: Summary should fit in a single line` - [ ] `pandas.MultiIndex.get_indexer: Summary should fit in a single line` - [ ] `pandas.MultiIndex.get_level_values: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.date: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.timetz: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.inferred_freq: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.indexer_at_time: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.indexer_between_time: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.tz_localize: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.to_perioddelta: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.to_pydatetime: Summary should fit in a single line` - [ ] `pandas.DatetimeIndex.to_series: Summary should fit in a single line` - [ ] `pandas.TimedeltaIndex: Summary should fit in a single line` - [ ] `pandas.TimedeltaIndex.components: Summary should fit in a single line` - [ ] `pandas.TimedeltaIndex.inferred_freq: Summary should fit in a single line` - [ ] `pandas.TimedeltaIndex.to_pytimedelta: Summary should fit in a single line` - [ ] `pandas.TimedeltaIndex.to_series: Summary should fit in a single line` - [ ] `pandas.PeriodIndex: Summary should fit in a single line` - [ ] `pandas.Grouper: Summary should fit in a single line` - [ ] `pandas.core.groupby.GroupBy.pipe: Summary should fit in a single line` - [ ] `pandas.core.groupby.GroupBy.nth: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.describe: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.filter: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.idxmax: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.idxmin: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.nunique: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.skew: Summary should fit in a single line` - [ ] `pandas.core.groupby.SeriesGroupBy.is_monotonic_increasing: Summary should fit in a single line` - [ ] `pandas.core.groupby.SeriesGroupBy.is_monotonic_decreasing: Summary should fit in a single line` - [ ] `pandas.core.groupby.DataFrameGroupBy.corrwith: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.from_custom_template: Summary should fit in a single line` - [ ] `pandas.io.formats.style.Styler.env: Summary should fit in a single line` - [ ] `pandas.io.formats.style.Styler.template: Summary should fit in a single line` - [ ] `pandas.io.formats.style.Styler.loader: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.apply: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.applymap: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.where: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.set_properties: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.clear: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.background_gradient: Summary should fit in a single line` - [x] `pandas.io.formats.style.Styler.use: Summary should fit in a single line` - [ ] `pandas.DataFrame: Summary should fit in a single line` - [ ] `pandas.DataFrame.transform: Summary should fit in a single line` - [ ] `pandas.DataFrame.corrwith: Summary should fit in a single line` - [ ] `pandas.DataFrame.describe: Summary should fit in a single line` - [ ] `pandas.DataFrame.kurt: Summary should fit in a single line` - [ ] `pandas.DataFrame.kurtosis: Summary should fit in a single line` - [ ] `pandas.DataFrame.skew: Summary should fit in a single line` - [ ] `pandas.DataFrame.align: Summary should fit in a single line` - [ ] `pandas.DataFrame.drop_duplicates: Summary should fit in a single line` - [ ] `pandas.DataFrame.duplicated: Summary should fit in a single line` - [x] `pandas.DataFrame.filter: Summary should fit in a single line` - [x] `pandas.DataFrame.first: Summary should fit in a single line` - [x] `pandas.DataFrame.idxmax: Summary should fit in a single line` - [x] `pandas.DataFrame.idxmin: Summary should fit in a single line` - [x] `pandas.DataFrame.last: Summary should fit in a single line` - [x] `pandas.DataFrame.reindex: Summary should fit in a single line` - [x] `pandas.DataFrame.pivot_table: Summary should fit in a single line` - [x] `pandas.DataFrame.reorder_levels: Summary should fit in a single line` - [x] `pandas.DataFrame.unstack: Summary should fit in a single line` - [x] `pandas.DataFrame.melt: Summary should fit in a single line` - [x] `pandas.DataFrame.slice_shift: Summary should fit in a single line` - [x] `pandas.DataFrame.to_period: Summary should fit in a single line` - [x] `pandas.DataFrame.plot: Summary should fit in a single line` - [x] `pandas.DataFrame.sparse.density: Summary should fit in a single line` - [x] `pandas.DataFrame.style: Summary should fit in a single line` - [x] `pandas.Series.as_blocks: Summary should fit in a single line` - [x] `pandas.Series.ix: Summary should fit in a single line` - [x] `pandas.Series.ptp: Summary should fit in a single line` - [x] `pandas.DataFrame.as_blocks: Summary should fit in a single line` - [x] `pandas.DataFrame.ix: Summary should fit in a single line`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29254/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29254/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29255
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29255/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29255/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29255/events
https://github.com/pandas-dev/pandas/pull/29255
513,439,450
MDExOlB1bGxSZXF1ZXN0MzMzMjI3MTY1
29,255
Fix SS06 formatting errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/4827688?v=4", "events_url": "https://api.github.com/users/profwacko/events{/privacy}", "followers_url": "https://api.github.com/users/profwacko/followers", "following_url": "https://api.github.com/users/profwacko/following{/other_user}", "gists_url": "https://api.github.com/users/profwacko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/profwacko", "id": 4827688, "login": "profwacko", "node_id": "MDQ6VXNlcjQ4Mjc2ODg=", "organizations_url": "https://api.github.com/users/profwacko/orgs", "received_events_url": "https://api.github.com/users/profwacko/received_events", "repos_url": "https://api.github.com/users/profwacko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/profwacko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/profwacko/subscriptions", "type": "User", "url": "https://api.github.com/users/profwacko" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-28T17:10:48Z
2019-10-30T16:17:55Z
2019-10-29T03:14:34Z
CONTRIBUTOR
null
SS06 (Summary should fit in a single line) errors fixed (#29254) for the following: ``` pandas.DataFrame.slice_shift pandas.DataFrame.to_period pandas.DataFrame.plot pandas.DataFrame.sparse.density pandas.DataFrame.style pandas.Series.as_blocks pandas.Series.ix pandas.Series.ptp pandas.DataFrame.as_blocks pandas.DataFrame.ix ``` Validated with `python scripts/validate_docstrings.py` Also referencing issue: #27977
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29255/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29255/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29255.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29255", "merged_at": "2019-10-29T03:14:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29255.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29255" }
https://api.github.com/repos/pandas-dev/pandas/issues/29256
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29256/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29256/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29256/events
https://github.com/pandas-dev/pandas/pull/29256
513,517,632
MDExOlB1bGxSZXF1ZXN0MzMzMjkxMDky
29,256
DOC: Added whatsnew for GH-29174
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-28T19:44:16Z
2020-01-16T00:33:41Z
2019-10-30T07:34:30Z
MEMBER
null
follow up to #29174
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29256/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29256/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29256.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29256", "merged_at": "2019-10-30T07:34:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29256.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29256" }
https://api.github.com/repos/pandas-dev/pandas/issues/29257
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29257/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29257/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29257/events
https://github.com/pandas-dev/pandas/pull/29257
513,530,609
MDExOlB1bGxSZXF1ZXN0MzMzMzAxNjA2
29,257
Timedelta index 29236
{ "avatar_url": "https://avatars.githubusercontent.com/u/38143549?v=4", "events_url": "https://api.github.com/users/HughKelley/events{/privacy}", "followers_url": "https://api.github.com/users/HughKelley/followers", "following_url": "https://api.github.com/users/HughKelley/following{/other_user}", "gists_url": "https://api.github.com/users/HughKelley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HughKelley", "id": 38143549, "login": "HughKelley", "node_id": "MDQ6VXNlcjM4MTQzNTQ5", "organizations_url": "https://api.github.com/users/HughKelley/orgs", "received_events_url": "https://api.github.com/users/HughKelley/received_events", "repos_url": "https://api.github.com/users/HughKelley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HughKelley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HughKelley/subscriptions", "type": "User", "url": "https://api.github.com/users/HughKelley" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
5
2019-10-28T20:11:15Z
2020-01-06T16:47:22Z
2019-10-29T03:16:23Z
CONTRIBUTOR
null
- [ ] closes #29236 only remaining docstring errors are for `TimedeltaIndex.mean` Parameters {*args, **kwargs} not documented Unknown parameters {skipna}
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29257/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29257/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29257.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29257", "merged_at": "2019-10-29T03:16:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29257.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29257" }
https://api.github.com/repos/pandas-dev/pandas/issues/29258
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29258/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29258/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29258/events
https://github.com/pandas-dev/pandas/pull/29258
513,554,179
MDExOlB1bGxSZXF1ZXN0MzMzMzIxMjAx
29,258
CLN: catch specific exceptions in frame.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-28T20:58:08Z
2019-10-29T16:22:19Z
2019-10-29T16:08:29Z
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/29258/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29258/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29258.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29258", "merged_at": "2019-10-29T16:08:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29258.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29258" }
https://api.github.com/repos/pandas-dev/pandas/issues/29259
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29259/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29259/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29259/events
https://github.com/pandas-dev/pandas/pull/29259
513,558,257
MDExOlB1bGxSZXF1ZXN0MzMzMzI0NTQ3
29,259
DOC: use new logo in the sphinx theme as well
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-28T21:07:03Z
2019-10-29T09:00:40Z
2019-10-29T09:00:40Z
MEMBER
null
With this change (https://github.com/pandas-dev/pandas-sphinx-theme/commit/84134e0804325538918324246f449e694466929b) in the theme, that should work. However, locally, I am running into the problem that sphinx/html doesn't seem to like the svg logo's .. For local testing I added a converted png which works, but just replacing `.png` with `.svg` makes that the html does not include the image (at least in firefox). cc @datapythonista
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29259/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29259/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29259.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29259", "merged_at": "2019-10-29T09:00:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29259.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29259" }
https://api.github.com/repos/pandas-dev/pandas/issues/29260
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29260/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29260/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29260/events
https://github.com/pandas-dev/pandas/pull/29260
513,596,984
MDExOlB1bGxSZXF1ZXN0MzMzMzU2MjYx
29,260
Multiindex recurse error fix
{ "avatar_url": "https://avatars.githubusercontent.com/u/11783247?v=4", "events_url": "https://api.github.com/users/endremborza/events{/privacy}", "followers_url": "https://api.github.com/users/endremborza/followers", "following_url": "https://api.github.com/users/endremborza/following{/other_user}", "gists_url": "https://api.github.com/users/endremborza/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/endremborza", "id": 11783247, "login": "endremborza", "node_id": "MDQ6VXNlcjExNzgzMjQ3", "organizations_url": "https://api.github.com/users/endremborza/orgs", "received_events_url": "https://api.github.com/users/endremborza/received_events", "repos_url": "https://api.github.com/users/endremborza/repos", "site_admin": false, "starred_url": "https://api.github.com/users/endremborza/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/endremborza/subscriptions", "type": "User", "url": "https://api.github.com/users/endremborza" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330,...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2019-10-28T22:43:15Z
2020-01-01T20:46:53Z
2020-01-01T20:46:46Z
CONTRIBUTOR
null
test and 3 line fix for a small bug mentioned in 2 issues (1 closed). test might be expanded, I only checked for the error disappearing - [x] closes #25760 (and #28956 ) - [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/29260/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29260/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29260.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29260", "merged_at": "2020-01-01T20:46:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29260.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29260" }
https://api.github.com/repos/pandas-dev/pandas/issues/29261
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29261/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29261/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29261/events
https://github.com/pandas-dev/pandas/pull/29261
513,649,411
MDExOlB1bGxSZXF1ZXN0MzMzMzk4NjUz
29,261
REF: Pre-empt TypeError in groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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, "de...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
5
2019-10-29T02:03:25Z
2019-11-02T21:07:09Z
2019-11-02T19:18:16Z
MEMBER
null
cc @WillAyd @jreback, should be orthogonal to #29228.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29261/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29261/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29261.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29261", "merged_at": "2019-11-02T19:18:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29261.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29261" }
https://api.github.com/repos/pandas-dev/pandas/issues/29262
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29262/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29262/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29262/events
https://github.com/pandas-dev/pandas/pull/29262
513,691,410
MDExOlB1bGxSZXF1ZXN0MzMzNDMyMDEx
29,262
TST: Test named aggregations with functions
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "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": "fbca04", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-29T04:48:49Z
2019-10-29T15:44:08Z
2019-10-29T13:09:06Z
MEMBER
null
Closes https://github.com/pandas-dev/pandas/issues/28467
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29262/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29262/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29262.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29262", "merged_at": "2019-10-29T13:09:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29262.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29262" }
https://api.github.com/repos/pandas-dev/pandas/issues/29263
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29263/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29263/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29263/events
https://github.com/pandas-dev/pandas/pull/29263
513,791,754
MDExOlB1bGxSZXF1ZXN0MzMzNTEyMzEy
29,263
Fix SS06 formatting errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/14828621?v=4", "events_url": "https://api.github.com/users/mcalingo/events{/privacy}", "followers_url": "https://api.github.com/users/mcalingo/followers", "following_url": "https://api.github.com/users/mcalingo/following{/other_user}", "gists_url": "https://api.github.com/users/mcalingo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mcalingo", "id": 14828621, "login": "mcalingo", "node_id": "MDQ6VXNlcjE0ODI4NjIx", "organizations_url": "https://api.github.com/users/mcalingo/orgs", "received_events_url": "https://api.github.com/users/mcalingo/received_events", "repos_url": "https://api.github.com/users/mcalingo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mcalingo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mcalingo/subscriptions", "type": "User", "url": "https://api.github.com/users/mcalingo" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-29T09:27:58Z
2021-05-09T00:48:47Z
2019-10-29T16:57:57Z
CONTRIBUTOR
null
Errors resolved (from list in #29254): pandas.DataFrame.filter pandas.DataFrame.first pandas.DataFrame.idxmax pandas.DataFrame.idxmin pandas.DataFrame.last pandas.DataFrame.reindex pandas.DataFrame.pivot_table pandas.DataFrame.reorder_levels pandas.DataFrame.unstack pandas.DataFrame.melt Validated with `python scripts/validate_docstrings.py` Referencing issue: #27977
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29263/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29263/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29263.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29263", "merged_at": "2019-10-29T16:57:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29263.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29263" }
https://api.github.com/repos/pandas-dev/pandas/issues/29264
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29264/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29264/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29264/events
https://github.com/pandas-dev/pandas/issues/29264
513,804,310
MDU6SXNzdWU1MTM4MDQzMTA=
29,264
Inconsistent results between `rolling.corr` and `corr`
{ "avatar_url": "https://avatars.githubusercontent.com/u/10608479?v=4", "events_url": "https://api.github.com/users/evanzd/events{/privacy}", "followers_url": "https://api.github.com/users/evanzd/followers", "following_url": "https://api.github.com/users/evanzd/following{/other_user}", "gists_url": "https://api.github.com/users/evanzd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/evanzd", "id": 10608479, "login": "evanzd", "node_id": "MDQ6VXNlcjEwNjA4NDc5", "organizations_url": "https://api.github.com/users/evanzd/orgs", "received_events_url": "https://api.github.com/users/evanzd/received_events", "repos_url": "https://api.github.com/users/evanzd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/evanzd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/evanzd/subscriptions", "type": "User", "url": "https://api.github.com/users/evanzd" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
2
2019-10-29T09:52:23Z
2020-05-22T16:09:24Z
2020-05-22T16:09:23Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd x = pd.Series([0.125, 0.625, 0.5, 0.8125, 0.1875]) y = pd.Series([0.2, 0.2, 0.2, 0.2, 0.2]) print('rolling.corr:', x.rolling(5).corr(y).iloc[-1]) print('corr:', x.corr(y)) ``` Output: ``` rolling.corr: -inf corr: nan ``` #### Problem description For constant vector (e.g., [0.2, 0.2, 0.2, 0.2, 0.2]), `corr` should be `nan` but not `inf`. #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.1 numpy : 1.16.5 pytz : 2019.3 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.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.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29264/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29264/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29265
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29265/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29265/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29265/events
https://github.com/pandas-dev/pandas/issues/29265
513,859,891
MDU6SXNzdWU1MTM4NTk4OTE=
29,265
Numerical errors in var(), std()
{ "avatar_url": "https://avatars.githubusercontent.com/u/31463445?v=4", "events_url": "https://api.github.com/users/zlpure/events{/privacy}", "followers_url": "https://api.github.com/users/zlpure/followers", "following_url": "https://api.github.com/users/zlpure/following{/other_user}", "gists_url": "https://api.github.com/users/zlpure/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zlpure", "id": 31463445, "login": "zlpure", "node_id": "MDQ6VXNlcjMxNDYzNDQ1", "organizations_url": "https://api.github.com/users/zlpure/orgs", "received_events_url": "https://api.github.com/users/zlpure/received_events", "repos_url": "https://api.github.com/users/zlpure/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zlpure/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zlpure/subscriptions", "type": "User", "url": "https://api.github.com/users/zlpure" }
[ { "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
1
2019-10-29T11:42:10Z
2019-10-29T15:23:42Z
2019-10-29T15:23:31Z
NONE
null
### In pandas: ```python df = pd.Series([1,2]) df.var() ``` ### Output ```python 0.25 ``` ### In numpy: ```python np.var([1,2]) ``` ### Output ```python 0.5 ``` #### Problem description Why does Pandas Series.var() method return results by default without dividing by N? They don't agree with Numpy. And in mathematics, the results should also divided by N. And I am confused about the effect of the parameter ddof=0 option.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29265/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29265/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29266
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29266/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29266/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29266/events
https://github.com/pandas-dev/pandas/pull/29266
513,886,836
MDExOlB1bGxSZXF1ZXN0MzMzNTkwODkw
29,266
BLD: ABCSeries mapper maps unmapped categories to "" instead of NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/8919126?v=4", "events_url": "https://api.github.com/users/LiuSeeker/events{/privacy}", "followers_url": "https://api.github.com/users/LiuSeeker/followers", "following_url": "https://api.github.com/users/LiuSeeker/following{/other_user}", "gists_url": "https://api.github.com/users/LiuSeeker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/LiuSeeker", "id": 8919126, "login": "LiuSeeker", "node_id": "MDQ6VXNlcjg5MTkxMjY=", "organizations_url": "https://api.github.com/users/LiuSeeker/orgs", "received_events_url": "https://api.github.com/users/LiuSeeker/received_events", "repos_url": "https://api.github.com/users/LiuSeeker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/LiuSeeker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LiuSeeker/subscriptions", "type": "User", "url": "https://api.github.com/users/LiuSeeker" }
[ { "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
[]
null
2
2019-10-29T12:36:53Z
2019-10-30T10:38:06Z
2019-10-30T10:38:06Z
CONTRIBUTOR
null
- [x] closes #29162 - [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/29266/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29266/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29266.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29266", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29266.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29266" }
https://api.github.com/repos/pandas-dev/pandas/issues/29267
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29267/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29267/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29267/events
https://github.com/pandas-dev/pandas/issues/29267
513,958,608
MDU6SXNzdWU1MTM5NTg2MDg=
29,267
API: public way to get the "best values" of a Series?
{ "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": "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...
open
false
null
[]
null
7
2019-10-29T14:26:50Z
2021-07-22T05:39:13Z
null
MEMBER
null
For a use case in pyarrow, I need to get the underlying values of a Series: an ExtensionArray if it is back with one, or otherwise the numpy array. Is there public API to get this? We have `Series.array`, but this always returns an ExtensionArray, and we have `Series.values`, but this return a numpy array for eg periods (for historical reasons). For Index, we have the private `Index._values` described in the docstring as the "best array representation". And I think `Series._values` is somewhat similar. But the question is: do we want a public way to get to this? I am personally not sure we should, as there are still dubious cases (like datetime64/timedelta64, for this one, `Index._values` and `Series._values` is actually different ...). But if we don't add it, do we have a recommended way for external projects to do this? (basically it is something like the `extract_array(..., extract_numpy=True)` ?) cc @TomAugspurger @jbrockmendel @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/29267/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29267/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29268
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29268/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29268/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29268/events
https://github.com/pandas-dev/pandas/issues/29268
513,986,847
MDU6SXNzdWU1MTM5ODY4NDc=
29,268
Named aggregations with multiple columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "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": "729FCF", "default": false, "description": null, ...
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_use...
null
5
2019-10-29T15:01:42Z
2021-07-22T05:39:57Z
null
CONTRIBUTOR
null
Since `pandas 0.25.0` we have [named aggregations](https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.25.0.html#groupby-aggregation-with-relabeling). Which works fine if you do aggregations on single columns. But what if you want to apply aggregations over multiple columns: **example**: ```python # example dataframe df = pd.DataFrame(np.random.rand(4,4), columns=list('abcd')) df['group'] = [0, 0, 1, 1] a b c d group 0 0.751462 0.572576 0.192957 0.921723 0 1 0.070777 0.801548 0.601678 0.344633 0 2 0.112964 0.361984 0.416241 0.785764 1 3 0.380045 0.486494 0.000594 0.608759 1 # aggregations on single columns df.groupby('group').agg( a_sum=('a', 'sum'), a_mean=('a', 'mean'), b_mean=('b', 'mean'), c_sum=('c', 'sum'), d_range=('d', lambda x: x.max() - x.min()) ) a_sum a_mean b_mean c_sum d_range group 0 0.947337 0.473668 0.871939 0.838150 0.320543 1 0.604149 0.302074 0.656902 0.542985 0.057681 ``` But what if we want to calculate the `a.max() - b.max()` while aggregating. That does not seem to work. For example, something like this would make sense: ```python df.groupby('group').agg( diff_a_b=(['a', 'b'], lambda x: x['a'].max() - x['b'].max()) ) ``` --- So is it possible to do named aggregations on multiple columns? If not, is this in the pipeline for future releases?
{ "+1": 17, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 17, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29268/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29268/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29269
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29269/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29269/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29269/events
https://github.com/pandas-dev/pandas/pull/29269
514,039,068
MDExOlB1bGxSZXF1ZXN0MzMzNzE4MDYw
29,269
Add simple test for GH 28448
{ "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": "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": "e11d21", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-29T16:07:49Z
2019-10-31T16:03:28Z
2019-10-31T15:56:19Z
MEMBER
null
- [x] closes #28448 - [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/29269/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29269/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29269.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29269", "merged_at": "2019-10-31T15:56:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29269.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29269" }
https://api.github.com/repos/pandas-dev/pandas/issues/29270
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29270/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29270/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29270/events
https://github.com/pandas-dev/pandas/issues/29270
514,179,448
MDU6SXNzdWU1MTQxNzk0NDg=
29,270
Reduce Benchmark Times of stat_ops, particularly kendall correlation
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "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, "de...
closed
false
null
[]
null
2
2019-10-29T19:49:16Z
2019-12-05T16:35:46Z
2019-12-05T16:35:46Z
MEMBER
null
ref #29165 the stat_ops benchmarks add a significant amount of time to the ASV runs. The "kendall" correlation method in particular takes over 10 seconds per run in some cases, and there are at least 4 occurrences of this. So for that method alone 40s across 4 runs per benchmark suite would be close to 3 minutes just for those benchmarks There are a few others mixed in there as well that can be tuned. I think a .2 ms runtime would be ideal: https://pandas.pydata.org/speed/pandas/#summarylist?sort=1&dir=desc Of course making that method faster to be in line with the rest of the correlation methods is an option as well and this is mentioned by @dsaxton in #28329. Depending on how much effort that is might be OK to move the benchmark first and align back if ever improved
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29270/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29270/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29271
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29271/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29271/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29271/events
https://github.com/pandas-dev/pandas/pull/29271
514,188,297
MDExOlB1bGxSZXF1ZXN0MzMzODQ0NDM3
29,271
BLD: fix some build warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-29T20:04:21Z
2019-10-30T14:28:45Z
2019-10-30T11:53:03Z
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/29271/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29271/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29271.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29271", "merged_at": "2019-10-30T11:53:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29271.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29271" }
https://api.github.com/repos/pandas-dev/pandas/issues/29272
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29272/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29272/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29272/events
https://github.com/pandas-dev/pandas/issues/29272
514,209,952
MDU6SXNzdWU1MTQyMDk5NTI=
29,272
CLN: Consistent imports in tests: pandas.util.testing as tm
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-29T20:41:32Z
2019-11-03T23:39:06Z
2019-11-01T14:50:59Z
CONTRIBUTOR
null
This is a follow-up issue of #23018 with the goal of enforcing a consistent approach of importing things from pandas.util.testing inside the **test suite**. Currently, there are multiple import styles used: 1. `import pandas.util.testing as tm` 2. `from pandas.util.testing import ...` 3. `from pandas.util import testing as tm` As it is already the dominant import style used and also less prone to circular imports 1. is the prefered option. After migrating all current occurrences of 2. and 3. we'll add a linting rule that enforces this convention. These are the current files that use 2. (generated with `grep -R -l --include="*.py" "from pandas.util.testing import " pandas/tests`: - [x] pandas/tests/arrays/sparse/test_array.py #29307 - [x] pandas/tests/computation/test_eval.py #29307 - [x] pandas/tests/frame/test_api.py #29300 - [x] pandas/tests/frame/test_apply.py #29300 - [x] pandas/tests/frame/test_axis_select_reindex.py #29300 - [x] pandas/tests/frame/test_block_internals.py #29300 - [x] pandas/tests/frame/test_combine_concat.py #29300 - [x] pandas/tests/frame/test_dtypes.py #29300 - [x] pandas/tests/frame/test_indexing.py #29301 - [x] pandas/tests/frame/test_missing.py #29301 - [x] pandas/tests/frame/test_mutate_columns.py #29301 - [x] pandas/tests/frame/test_nonunique_indexes.py #29301 - [x] pandas/tests/frame/test_operators.py #29301 - [x] pandas/tests/frame/test_quantile.py #29301 - [x] pandas/tests/frame/test_query_eval.py #29302 - [x] pandas/tests/frame/test_rank.py #29302 - [x] pandas/tests/frame/test_replace.py #29302 - [x] pandas/tests/frame/test_reshape.py #29302 - [x] pandas/tests/frame/test_sort_values_level_as_str.py #29303 - [x] pandas/tests/frame/test_sorting.py #29303 - [x] pandas/tests/frame/test_timeseries.py #29303 - [x] pandas/tests/frame/test_to_csv.py #29303 - [x] pandas/tests/generic/test_frame.py #29307 - [x] pandas/tests/generic/test_generic.py #29307 - [x] pandas/tests/generic/test_series.py #29307 - [x] pandas/tests/groupby/test_categorical.py #29287 - [x] pandas/tests/groupby/test_counting.py #29287 - [x] pandas/tests/groupby/test_groupby.py #29287 - [x] pandas/tests/groupby/test_grouping.py #29287 - [x] pandas/tests/groupby/test_index_as_string.py #29287 - [x] pandas/tests/groupby/test_nth.py #29287 - [x] pandas/tests/groupby/test_timegrouper.py #29287 - [x] pandas/tests/groupby/test_transform.py #29287 - [x] pandas/tests/indexes/datetimes/test_datetime.py #29289 - [x] pandas/tests/indexes/datetimes/test_tools.py #29289 - [x] pandas/tests/indexes/multi/test_astype.py #29289 - [x] pandas/tests/indexes/multi/test_indexing.py #29289 - [x] pandas/tests/indexes/test_base.py #29289 - [x] pandas/tests/indexes/test_category.py #29289 - [x] pandas/tests/indexes/timedeltas/test_partial_slicing.py #29289 - [x] pandas/tests/indexes/timedeltas/test_timedelta.py #29289 - [x] pandas/tests/indexes/timedeltas/test_tools.py #29289 - [x] pandas/tests/indexing/test_categorical.py #29291 - [x] pandas/tests/indexing/test_floats.py #29291 - [x] pandas/tests/indexing/test_iloc.py #29291 - [x] pandas/tests/indexing/test_indexing.py #29291 - [x] pandas/tests/indexing/test_ix.py #29291 - [x] pandas/tests/indexing/test_loc.py #29291 - [x] pandas/tests/internals/test_internals.py - [x] pandas/tests/io/excel/test_openpyxl.py #29299 - [x] pandas/tests/io/excel/test_style.py #29299 - [x] pandas/tests/io/excel/test_writers.py #29299 - [x] pandas/tests/io/excel/test_xlrd.py #29299 - [x] pandas/tests/io/excel/test_xlsxwriter.py #29299 - [x] pandas/tests/io/excel/test_xlwt.py #29299 - [x] pandas/tests/io/json/test_compression.py #29299 - [x] pandas/tests/io/json/test_pandas.py #29299 - [x] pandas/tests/io/json/test_readlines.py #29299 - [x] pandas/tests/io/parser/test_textreader.py #29299 - [x] pandas/tests/io/pytables/test_compat.py #29299 - [x] pandas/tests/io/pytables/test_complex.py #29299 - [x] pandas/tests/io/pytables/test_store.py #29299 - [x] pandas/tests/io/pytables/test_timezones.py #29299 - [x] pandas/tests/io/test_clipboard.py #29299 - [x] pandas/tests/io/test_feather.py #29299 - [x] pandas/tests/io/test_gcs.py #29299 - [x] pandas/tests/io/test_html.py #29299 - [x] pandas/tests/io/test_packers.py #29299 - [x] pandas/tests/plotting/common.py #29307 - [x] pandas/tests/plotting/test_datetimelike.py #29307 - [x] pandas/tests/resample/test_base.py #29286 - [x] pandas/tests/resample/test_datetime_index.py #29286 - [x] pandas/tests/resample/test_period_index.py #29286 - [x] pandas/tests/resample/test_resample_api.py #29286 - [x] pandas/tests/resample/test_resampler_grouper.py #29286 - [x] pandas/tests/resample/test_time_grouper.py #29286 - [x] pandas/tests/resample/test_timedelta.py #29286 - [x] pandas/tests/reshape/merge/test_join.py #29285 - [x] pandas/tests/reshape/merge/test_merge.py #29285 - [x] pandas/tests/reshape/merge/test_merge_asof.py #29285 - [x] pandas/tests/reshape/merge/test_merge_index_as_string.py #29285 - [x] pandas/tests/reshape/merge/test_merge_ordered.py #29285 - [x] pandas/tests/reshape/test_concat.py #29285 - [x] pandas/tests/reshape/test_reshape.py #29285 - [x] pandas/tests/series/indexing/test_alter_index.py #29277 - [x] pandas/tests/series/indexing/test_boolean.py #29277 - [x] pandas/tests/series/indexing/test_datetime.py #29277 - [x] pandas/tests/series/indexing/test_iloc.py #29277 - [x] pandas/tests/series/indexing/test_indexing.py #29277 - [x] pandas/tests/series/indexing/test_loc.py #29277 - [x] pandas/tests/series/indexing/test_numeric.py #29277 - [x] pandas/tests/series/test_analytics.py #29273 - [x] pandas/tests/series/test_api.py #29273 - [x] pandas/tests/series/test_apply.py #29273 - [x] pandas/tests/series/test_combine_concat.py #29273 - [x] pandas/tests/series/test_constructors.py #29273 - [x] pandas/tests/series/test_datetime_values.py #29273 - [x] pandas/tests/series/test_internals.py #29273 - [x] pandas/tests/series/test_io.py #29273 - [x] pandas/tests/series/test_missing.py #29273 - [x] pandas/tests/series/test_operators.py #29273 - [x] pandas/tests/series/test_rank.py #29273 - [x] pandas/tests/series/test_sorting.py #29273 - [x] pandas/tests/series/test_timeseries.py #29273 - [x] pandas/tests/test_algos.py #29307 - [x] pandas/tests/test_expressions.py #29307 - [x] pandas/tests/test_join.py #29307 - [x] pandas/tests/test_sorting.py #29307 - [x] pandas/tests/test_strings.py #29307 - [x] pandas/tests/util/test_assert_almost_equal.py #29278 - [x] pandas/tests/util/test_assert_categorical_equal.py #29278 - [x] pandas/tests/util/test_assert_extension_array_equal.py #29278 - [x] pandas/tests/util/test_assert_frame_equal.py #29278 - [x] pandas/tests/util/test_assert_index_equal.py #29278 - [x] pandas/tests/util/test_assert_interval_array_equal.py #29278 - [x] pandas/tests/util/test_assert_numpy_array_equal.py #29278 - [x] pandas/tests/util/test_assert_series_equal.py #29278
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29272/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29272/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29273
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29273/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29273/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29273/events
https://github.com/pandas-dev/pandas/pull/29273
514,232,683
MDExOlB1bGxSZXF1ZXN0MzMzODgyNTY1
29,273
CLN: Consistent pandas.util.testing imports in pandas/tests/series
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-29T21:22:07Z
2019-10-29T23:12:11Z
2019-10-29T23:12:03Z
CONTRIBUTOR
null
Part of #29272 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29273/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29273/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29273.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29273", "merged_at": "2019-10-29T23:12:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29273.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29273" }
https://api.github.com/repos/pandas-dev/pandas/issues/29274
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29274/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29274/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29274/events
https://github.com/pandas-dev/pandas/issues/29274
514,248,149
MDU6SXNzdWU1MTQyNDgxNDk=
29,274
[Minor Fix][Doc]What's New in 1.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/7047079?v=4", "events_url": "https://api.github.com/users/sara-02/events{/privacy}", "followers_url": "https://api.github.com/users/sara-02/followers", "following_url": "https://api.github.com/users/sara-02/following{/other_user}", "gists_url": "https://api.github.com/users/sara-02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sara-02", "id": 7047079, "login": "sara-02", "node_id": "MDQ6VXNlcjcwNDcwNzk=", "organizations_url": "https://api.github.com/users/sara-02/orgs", "received_events_url": "https://api.github.com/users/sara-02/received_events", "repos_url": "https://api.github.com/users/sara-02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sara-02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sara-02/subscriptions", "type": "User", "url": "https://api.github.com/users/sara-02" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 7171206...
closed
false
null
[]
null
2
2019-10-29T21:50:50Z
2019-10-30T11:56:51Z
2019-10-30T11:56:51Z
CONTRIBUTOR
null
#### Problem description Minor typo under the [Dedicated-string-data-type](https://dev.pandas.io/docs/whatsnew/v1.0.0.html#dedicated-string-data-type) warning, it should be `StringDtype is currently considered experimental.` instead of `StringDtype` ~and~ `is currently considered experimental.`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29274/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29274/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29275
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29275/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29275/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29275/events
https://github.com/pandas-dev/pandas/pull/29275
514,258,545
MDExOlB1bGxSZXF1ZXN0MzMzOTA0OTAz
29,275
CLN: update imports in tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2019-10-29T22:12:31Z
2019-10-31T14:43:40Z
2019-10-31T14:24:03Z
MEMBER
null
Medium-term goal is to separate out tslibs-only parts of these tests to make sure we have sufficient coverage in isolation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29275/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29275/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29275.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29275", "merged_at": "2019-10-31T14:24:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29275.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29275" }
https://api.github.com/repos/pandas-dev/pandas/issues/29276
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29276/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29276/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29276/events
https://github.com/pandas-dev/pandas/issues/29276
514,286,878
MDU6SXNzdWU1MTQyODY4Nzg=
29,276
Question: Clarification about the Warnings/Exceptions/Errors types.
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[]
closed
false
null
[]
null
2
2019-10-29T23:13:22Z
2019-10-30T04:39:34Z
2019-10-30T02:59:51Z
MEMBER
null
After going through the docstrings in the file ```pandas/errors/__init__.py``` I came to a conclusion(Please, correct me if I'm wrong about anything) that there's 3 "Classes"(I have no better word for it). There's is: Warning - When the user is attempting to do something "bad" but possible (Having 2 different data types in one column for example). Exception - ??? Error - The user is attempting to do something impossible. I'd really like to know what's the main difference between an Exception and an Error, And where and when you'd raise them? Edit: Not sure if this is the correct place to ask this, LMK where is the right place to address questions.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29276/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29276/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29277
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29277/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29277/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29277/events
https://github.com/pandas-dev/pandas/pull/29277
514,338,507
MDExOlB1bGxSZXF1ZXN0MzMzOTc0MTE4
29,277
CLN: Consistent pandas.util.testing imports in pandas/tests/series/indexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T01:41:01Z
2019-10-30T11:55:16Z
2019-10-30T11:55:01Z
CONTRIBUTOR
null
Part of #29272 Fyi: the changes were created via a script posted in the issue - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29277/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29277/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29277.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29277", "merged_at": "2019-10-30T11:55:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29277.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29277" }
https://api.github.com/repos/pandas-dev/pandas/issues/29278
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29278/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29278/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29278/events
https://github.com/pandas-dev/pandas/pull/29278
514,342,202
MDExOlB1bGxSZXF1ZXN0MzMzOTc3MjI2
29,278
CLN: Consistent pandas.util.testing imports in pandas/tests/util
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T01:52:40Z
2019-10-30T11:56:26Z
2019-10-30T11:56:23Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29278/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29278/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29278.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29278", "merged_at": "2019-10-30T11:56:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29278.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29278" }
https://api.github.com/repos/pandas-dev/pandas/issues/29279
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29279/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29279/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29279/events
https://github.com/pandas-dev/pandas/issues/29279
514,345,743
MDU6SXNzdWU1MTQzNDU3NDM=
29,279
DataFrame.replace: TypeError: “Cannot compare types 'ndarray(dtype=object)' and 'str' ”
{ "avatar_url": "https://avatars.githubusercontent.com/u/46522074?v=4", "events_url": "https://api.github.com/users/mlitvinov/events{/privacy}", "followers_url": "https://api.github.com/users/mlitvinov/followers", "following_url": "https://api.github.com/users/mlitvinov/following{/other_user}", "gists_url": "https://api.github.com/users/mlitvinov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mlitvinov", "id": 46522074, "login": "mlitvinov", "node_id": "MDQ6VXNlcjQ2NTIyMDc0", "organizations_url": "https://api.github.com/users/mlitvinov/orgs", "received_events_url": "https://api.github.com/users/mlitvinov/received_events", "repos_url": "https://api.github.com/users/mlitvinov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mlitvinov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mlitvinov/subscriptions", "type": "User", "url": "https://api.github.com/users/mlitvinov" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
3
2019-10-30T02:04:16Z
2020-03-12T11:36:59Z
2020-03-12T11:36:58Z
NONE
null
I have a dataset in csv and a dictionary created by a classifier. It is necessary to put the key values in place of the keys . I use this code `df.replace(mapping,inplace = True) `and it works fine on 100 lines, but for 2000 and more, I get the error > "TypeError:“ Cannot compare types 'ndarray (dtype = object)' and 'str' ”. What am I doing 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/29279/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29279/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29280
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29280/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29280/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29280/events
https://github.com/pandas-dev/pandas/pull/29280
514,364,381
MDExOlB1bGxSZXF1ZXN0MzMzOTk1NTM3
29,280
CLN: algorithms cleanup, de-duplication, typing
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T03:01:36Z
2019-10-30T14:33:07Z
2019-10-30T11:50:18Z
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/29280/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29280/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29280.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29280", "merged_at": "2019-10-30T11:50:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29280.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29280" }
https://api.github.com/repos/pandas-dev/pandas/issues/29281
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29281/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29281/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29281/events
https://github.com/pandas-dev/pandas/pull/29281
514,487,849
MDExOlB1bGxSZXF1ZXN0MzM0MDk2OTc2
29,281
Remove and from typo.
{ "avatar_url": "https://avatars.githubusercontent.com/u/7047079?v=4", "events_url": "https://api.github.com/users/sara-02/events{/privacy}", "followers_url": "https://api.github.com/users/sara-02/followers", "following_url": "https://api.github.com/users/sara-02/following{/other_user}", "gists_url": "https://api.github.com/users/sara-02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sara-02", "id": 7047079, "login": "sara-02", "node_id": "MDQ6VXNlcjcwNDcwNzk=", "organizations_url": "https://api.github.com/users/sara-02/orgs", "received_events_url": "https://api.github.com/users/sara-02/received_events", "repos_url": "https://api.github.com/users/sara-02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sara-02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sara-02/subscriptions", "type": "User", "url": "https://api.github.com/users/sara-02" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T08:43:01Z
2019-10-30T12:43:49Z
2019-10-30T11:56:52Z
CONTRIBUTOR
null
- [X] closes #29274 - [ ] tests added / passed - [ ] 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/29281/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29281/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29281.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29281", "merged_at": "2019-10-30T11:56:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29281.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29281" }
https://api.github.com/repos/pandas-dev/pandas/issues/29282
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29282/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29282/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29282/events
https://github.com/pandas-dev/pandas/issues/29282
514,511,056
MDU6SXNzdWU1MTQ1MTEwNTY=
29,282
Inconsistency of copy and selection methods of data frame objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/12542576?v=4", "events_url": "https://api.github.com/users/benoit9126/events{/privacy}", "followers_url": "https://api.github.com/users/benoit9126/followers", "following_url": "https://api.github.com/users/benoit9126/following{/other_user}", "gists_url": "https://api.github.com/users/benoit9126/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benoit9126", "id": 12542576, "login": "benoit9126", "node_id": "MDQ6VXNlcjEyNTQyNTc2", "organizations_url": "https://api.github.com/users/benoit9126/orgs", "received_events_url": "https://api.github.com/users/benoit9126/received_events", "repos_url": "https://api.github.com/users/benoit9126/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benoit9126/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benoit9126/subscriptions", "type": "User", "url": "https://api.github.com/users/benoit9126" }
[ { "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": "0e...
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/57047354?v=4", "events_url": "https://api.github.com/users/saehuihwang/events{/privacy}", "followers_url": "https://api.github.com/users/saehuihwang/followers", "following_url": "https://api.github.com/users/saehuihwang/following{/other_user}", "gists_url": "https://api.github.com/users/saehuihwang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/saehuihwang", "id": 57047354, "login": "saehuihwang", "node_id": "MDQ6VXNlcjU3MDQ3MzU0", "organizations_url": "https://api.github.com/users/saehuihwang/orgs", "received_events_url": "https://api.github.com/users/saehuihwang/received_events", "repos_url": "https://api.github.com/users/saehuihwang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/saehuihwang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/saehuihwang/subscriptions", "type": "User", "url": "https://api.github.com/users/saehuihwang" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/57047354?v=4", "events_url": "https://api.github.com/users/saehuihwang/events{/privacy}", "followers_url": "https://api.github.com/users/saehuihwang/followers", "following_url": "https://api.github.com/users/saehuihwang/following{/other_user}"...
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2019-10-30T09:23:51Z
2021-10-02T00:03:48Z
2021-10-02T00:03:48Z
CONTRIBUTOR
null
#### Example ```python # Creation of two data frames df=pd.DataFrame(data={'a':[1,2,3], 'b':[4,5,6]}) df2=pd.DataFrame(data={'c':[7,8,9]}, index=[2,1,0]) # Assign a column of the second into the first df['c']=df2['c'] # As expected df #Out[50]: # a b c #0 1 4 9 #1 2 5 8 #2 3 6 7 # The .at operator works fine df.at[0,'c']=10 df #Out[52]: # a b c #0 1 4 10 #1 2 5 8 #2 3 6 7 # We store a copy of the data frame df3=df.copy() # df does not change. OK df #Out[54]: # a b c #0 1 4 10 #1 2 5 8 #2 3 6 7 # Use again the operator .at on df df.at[1,'c']=11 df #Out[56]: # a b c #0 1 4 10 #1 2 5 8 <-----------KO: should have changed #2 3 6 7 df.at[1,'c'] # Out[57]: 11 <------------ OK. At operator is not consistent... # Selection of the series df['c'] #Out[59]: #0 10 #1 11 <------------ OK. #2 7 #Name: c, dtype: int64 # Selection of the data frame with a single column df[['c']] #Out[60]: # c #0 10 #1 8 <------------ KO #2 7 ``` #### Problem description I realized that the following suite of operations does not work: 1) assignation of a column to a data frame from an other 2) copy of the data frame using the `.copy()` method 3) use of the `.at` operator on the non copied data frame to change a value in the appended column It leads to an incoherence between the different selectors of the data frame. I would expect a consistent behaviour between different selection methods or at least a warning to prevent the user to do such actions. #### Expected Output I expected the value at position `[1,'c']` in the example to be equal to `11` no matter the selection method used: data frame selection, serie selection, .at operator, etc. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-6-amd64 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : fr_FR.UTF-8 LOCALE : fr_FR.UTF-8 pandas : 0.25.2 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.5.0 Cython : 0.29.13 pytest : 5.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.9.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.10 tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29282/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29282/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29283
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29283/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29283/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29283/events
https://github.com/pandas-dev/pandas/pull/29283
514,520,156
MDExOlB1bGxSZXF1ZXN0MzM0MTIzODA5
29,283
DOC: Fix SS06 formatting errors in Styler docstrings
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T09:39:08Z
2019-10-31T10:05:03Z
2019-10-31T08:03:54Z
MEMBER
null
Errors fixed (from the list in #29254 ): pandas.io.formats.style.Styler.from_custom_template pandas.io.formats.style.Styler.apply pandas.io.formats.style.Styler.applymap pandas.io.formats.style.Styler.set_properties pandas.io.formats.style.Styler.clear pandas.io.formats.style.Styler.background_gradient pandas.io.formats.style.Styler.use pandas.io.formats.style.Styler.where Validated the fixes with ```python scripts/validate_docstrings.py``` Refrencing issue: #29254
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29283/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29283/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29283.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29283", "merged_at": "2019-10-31T08:03:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29283.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29283" }
https://api.github.com/repos/pandas-dev/pandas/issues/29284
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29284/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29284/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29284/events
https://github.com/pandas-dev/pandas/issues/29284
514,682,672
MDU6SXNzdWU1MTQ2ODI2NzI=
29,284
combination of groupby & nlargest gives different results based on the number used
{ "avatar_url": "https://avatars.githubusercontent.com/u/9402717?v=4", "events_url": "https://api.github.com/users/aalloul/events{/privacy}", "followers_url": "https://api.github.com/users/aalloul/followers", "following_url": "https://api.github.com/users/aalloul/following{/other_user}", "gists_url": "https://api.github.com/users/aalloul/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aalloul", "id": 9402717, "login": "aalloul", "node_id": "MDQ6VXNlcjk0MDI3MTc=", "organizations_url": "https://api.github.com/users/aalloul/orgs", "received_events_url": "https://api.github.com/users/aalloul/received_events", "repos_url": "https://api.github.com/users/aalloul/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aalloul/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aalloul/subscriptions", "type": "User", "url": "https://api.github.com/users/aalloul" }
[ { "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
[]
null
1
2019-10-30T13:47:11Z
2021-07-22T05:45:06Z
2021-07-22T05:45:06Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here # out is a dataframe with columns A,B,C,D (all integers) and has 390,846 rows # this is the result of a out.head() # 46.0 276 76514.0 5.293944e+07 # 46.0 276 23564.0 3.330653e+07 # 46.0 276 70229.0 3.065462e+07 # 46.0 276 43472.0 1.868458e+07 # 46.0 276 72654.0 1.825354e+07 for _ in range(3, 12): t = out \ .set_index("A") \ .groupby(["B", "C"]) \ .D \ .nlargest(_) \ .reset_index() print(t.shape[1]) ``` #### Problem description if you run the above with my dataset (`out.shape = (390846, 4)`) you will see that from `_=10` , the method`nlargest` only returns 2 columns and drops the 2 index columns. This doesn't happen between for `_` in the range [1,9] . #### Expected Output Seen that I'm just printing the number of columns, the expected output is 4 throughout the loops. #### Output of ``pd.show_versions()`` <details> NSTALLED VERSIONS ------------------ commit : None python : 3.7.2.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.2 numpy : 1.16.2 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.4.0 Cython : 0.29.13 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : None pymysql : None psycopg2 : 2.7.7 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.8.0 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 : 2.6.1 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.2.1 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29284/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29284/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29285
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29285/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29285/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29285/events
https://github.com/pandas-dev/pandas/pull/29285
514,691,060
MDExOlB1bGxSZXF1ZXN0MzM0MjcwMzYx
29,285
CLN: Consistent pandas.util.testing imports in pandas/tests/reshape
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T13:58:01Z
2019-10-31T07:47:36Z
2019-10-31T07:47:27Z
CONTRIBUTOR
null
Part of #29272 Fyi: the changes were created via a script posted in the issue - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29285/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29285/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29285.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29285", "merged_at": "2019-10-31T07:47:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29285.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29285" }
https://api.github.com/repos/pandas-dev/pandas/issues/29286
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29286/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29286/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29286/events
https://github.com/pandas-dev/pandas/pull/29286
514,694,667
MDExOlB1bGxSZXF1ZXN0MzM0MjczNDc0
29,286
CLN: Consistent pandas.util.testing imports in pandas/tests/resample
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T14:02:39Z
2019-10-31T07:49:06Z
2019-10-31T07:48:57Z
CONTRIBUTOR
null
Part of #29272 Fyi: the changes were created via a script posted in the issue - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29286/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29286/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29286.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29286", "merged_at": "2019-10-31T07:48:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29286.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29286" }
https://api.github.com/repos/pandas-dev/pandas/issues/29287
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29287/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29287/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29287/events
https://github.com/pandas-dev/pandas/pull/29287
514,702,011
MDExOlB1bGxSZXF1ZXN0MzM0Mjc5ODM3
29,287
CLN: Consistent pandas.util.testing imports in pandas/tests/groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T14:11:57Z
2019-10-31T07:53:08Z
2019-10-31T07:52:51Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29287/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29287/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29287.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29287", "merged_at": "2019-10-31T07:52:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29287.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29287" }
https://api.github.com/repos/pandas-dev/pandas/issues/29288
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29288/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29288/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29288/events
https://github.com/pandas-dev/pandas/pull/29288
514,705,911
MDExOlB1bGxSZXF1ZXN0MzM0MjgzMjEz
29,288
Fix missing tick labels on twinned axes.
{ "avatar_url": "https://avatars.githubusercontent.com/u/724661?v=4", "events_url": "https://api.github.com/users/ebardie/events{/privacy}", "followers_url": "https://api.github.com/users/ebardie/followers", "following_url": "https://api.github.com/users/ebardie/following{/other_user}", "gists_url": "https://api.github.com/users/ebardie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ebardie", "id": 724661, "login": "ebardie", "node_id": "MDQ6VXNlcjcyNDY2MQ==", "organizations_url": "https://api.github.com/users/ebardie/orgs", "received_events_url": "https://api.github.com/users/ebardie/received_events", "repos_url": "https://api.github.com/users/ebardie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ebardie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ebardie/subscriptions", "type": "User", "url": "https://api.github.com/users/ebardie" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
13
2019-10-30T14:16:32Z
2020-04-24T03:09:42Z
2020-02-12T00:52:46Z
CONTRIBUTOR
null
## Background: Multi-row and/or multi-column subplots can utilize shared axes. An external share happens at axis creation when a sharex or sharey parameter is specified. An internal share, or twinning, occurs when an overlayed axis is created by the `Axes.twinx()` or `Axes.twiny()` calls. The two types of sharing can be distinguished after the fact in the following manner. If two axes sharing an axis also have the same position, they are internally sharing an axis, they are twinned. If their positions are different, they are externally sharing the common axis. For externally shared axes Pandas automatically removes tick labels for all but the last row and/or first column in `./pandas/plotting/_matplotlib/tools.py`'s function `_handle_shared_axes()`. ## The problem: `_handle_shared_axes()` should be interested in externally shared axes, whether or not they are also twinned. It should, but **does not**, ignore axes which are only twinned. Which means that twinned-only axes wrongly lose their tick labels. ## The cure: This commit introduces `_ignore_colocated_axes()` which ignores any axes in a list which have the same position as the given axis. It uses this function to envelope calls from `_handle_shared_axes()` to `Axes.get_shared_{x,y}_axes().get_siblings(ax)`. ## The demonstration test case: Note especially the axis labels (and associated tick labels). ```python #!/usr/bin/python3 import matplotlib.pyplot as plt import numpy as np import pandas as pd # Create data df = pd.DataFrame({'a': np.random.randn(1000), 'b': np.random.randn(1000)}) # Create figure fig = plt.figure() plots = fig.subplots(2, 3) # Create *externally* shared axes plots[0][0] = plt.subplot(231, sharex=plots[1][0]) plots[0][2] = plt.subplot(233, sharex=plots[1][2]) # Create *internally* shared axes twin_ax1 = plots[0][1].twinx() twin_ax2 = plots[0][2].twinx() # Plot data to primary axes df['a'].plot(ax=plots[0][0], title="External share only").set_xlabel("this label should never be visible") df['a'].plot(ax=plots[1][0]) df['a'].plot(ax=plots[0][1], title="Internal share (twin) only").set_xlabel("this label should always be visible") df['a'].plot(ax=plots[1][1]) df['a'].plot(ax=plots[0][2], title="Both").set_xlabel("this label should never be visible") df['a'].plot(ax=plots[1][2]) # Plot data to twinned axes df['b'].plot(ax=twin_ax1, color='green') df['b'].plot(ax=twin_ax2, color='yellow') # Do it plt.show() ``` --- - [ ] closes #27812 - [ ] 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/29288/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29288/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29288.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29288", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29288.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29288" }
https://api.github.com/repos/pandas-dev/pandas/issues/29289
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29289/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29289/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29289/events
https://github.com/pandas-dev/pandas/pull/29289
514,708,331
MDExOlB1bGxSZXF1ZXN0MzM0Mjg1Mzcy
29,289
CLN: Consistent pandas.util.testing imports in pandas/tests/indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T14:19:15Z
2019-10-31T07:55:28Z
2019-10-31T07:55:23Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29289/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29289/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29289.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29289", "merged_at": "2019-10-31T07:55:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29289.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29289" }
https://api.github.com/repos/pandas-dev/pandas/issues/29290
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29290/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29290/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29290/events
https://github.com/pandas-dev/pandas/issues/29290
514,710,577
MDU6SXNzdWU1MTQ3MTA1Nzc=
29,290
Unexpected behaviour of uint dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/28807094?v=4", "events_url": "https://api.github.com/users/nvm1/events{/privacy}", "followers_url": "https://api.github.com/users/nvm1/followers", "following_url": "https://api.github.com/users/nvm1/following{/other_user}", "gists_url": "https://api.github.com/users/nvm1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nvm1", "id": 28807094, "login": "nvm1", "node_id": "MDQ6VXNlcjI4ODA3MDk0", "organizations_url": "https://api.github.com/users/nvm1/orgs", "received_events_url": "https://api.github.com/users/nvm1/received_events", "repos_url": "https://api.github.com/users/nvm1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nvm1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nvm1/subscriptions", "type": "User", "url": "https://api.github.com/users/nvm1" }
[ { "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
3
2019-10-30T14:21:49Z
2021-07-22T05:46:36Z
2021-07-22T05:46:36Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd # generate some data and create dataframe col = {'x': []} for i in range(10): col['x'].append(18446744073709500000 - i) df = pd.DataFrame.from_dict(col, dtype='uint64') # see the dtype: print(df.dtypes, end='\n\n') # see correct and expected behaviour: print(df.x * -1, end='\n\n') # see possibly inconsistent behaviour: print(-df.x, end='\n\n') ``` #### Problem description please see the example: in two cases which are expected (sorry if the expectation is wrong) to generate the same results we see huge difference. In our case we didn't check the type of a column and assigned it to itself but with a minus value. #### Expected Output Probably the expected behaviour should match the logic here: https://github.com/pandas-dev/pandas/issues/15832 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.24.2 pytest: 4.3.1 pip: 19.0.3 setuptools: 40.8.0 Cython: 0.29.6 numpy: 1.16.2 scipy: 1.2.1 pyarrow: None xarray: None IPython: 7.4.0 sphinx: 1.8.5 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.9 feather: None matplotlib: 3.0.3 openpyxl: 2.6.1 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.5 lxml.etree: 4.3.2 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.3.1 pymysql: None psycopg2: 2.7.6.1 (dt dec pq3 ext lo64) jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: 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/29290/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29290/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29291
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29291/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29291/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29291/events
https://github.com/pandas-dev/pandas/pull/29291
514,718,962
MDExOlB1bGxSZXF1ZXN0MzM0Mjk0NTkx
29,291
CLN: Consistent pandas.util.testing imports in pandas/tests/indexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-30T14:31:30Z
2019-10-31T07:56:24Z
2019-10-31T07:56:20Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29291/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29291/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29291.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29291", "merged_at": "2019-10-31T07:56:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29291.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29291" }
https://api.github.com/repos/pandas-dev/pandas/issues/29292
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29292/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29292/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29292/events
https://github.com/pandas-dev/pandas/pull/29292
514,739,055
MDExOlB1bGxSZXF1ZXN0MzM0MzExNjA3
29,292
REF/BENCH: tslibs-specific parts of asvs
{ "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
12
2019-10-30T14:56:55Z
2019-11-01T03:49:58Z
2019-10-31T17:45:05Z
MEMBER
null
Motivation: asv runs take way too long. One way to get around that is to make it easier to identify\* which benchmarks to run for a given PR. To that extent, if we can identify benchmarks that don't rely on anything outside of tslibs\**, then a PR that doesn't touch that code can skip those benchmarks. We can do the same thing for other low-dependency modules like _libs.algos. \* Ideally in an automated way, but I'm not there yet. \*\* Here and elsewhere, "tslibs" informally includes tseries.offsets and parts of tseries.frequences (until we can get all of that into the tslibs directory) @TomAugspurger will moving benchmarks cause asv to start new time series, or will it successfully link up the new location to the old?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29292/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29292/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29292.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29292", "merged_at": "2019-10-31T17:45:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29292.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29292" }
https://api.github.com/repos/pandas-dev/pandas/issues/29293
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29293/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29293/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29293/events
https://github.com/pandas-dev/pandas/pull/29293
514,768,358
MDExOlB1bGxSZXF1ZXN0MzM0MzM2NzE4
29,293
Implement safe_ea_cast to avoid catching Exception
{ "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" }, { "color": "6138b5", "default": false, "description": "Extending pa...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-30T15:33:56Z
2019-11-02T15:32:27Z
2019-11-02T15:30:11Z
MEMBER
null
instead of having `except Exception` in many places, we have it in one place, with one helpful comment
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29293/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29293/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29293.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29293", "merged_at": "2019-11-02T15:30:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29293.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29293" }
https://api.github.com/repos/pandas-dev/pandas/issues/29294
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29294/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29294/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29294/events
https://github.com/pandas-dev/pandas/pull/29294
514,771,831
MDExOlB1bGxSZXF1ZXN0MzM0MzM5NzA0
29,294
troubleshoot CI
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-30T15:38:02Z
2019-10-30T18:47:28Z
2019-10-30T18:38:20Z
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/29294/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29294/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29294.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29294", "merged_at": "2019-10-30T18:38:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29294.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29294" }
https://api.github.com/repos/pandas-dev/pandas/issues/29295
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29295/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29295/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29295/events
https://github.com/pandas-dev/pandas/pull/29295
514,824,319
MDExOlB1bGxSZXF1ZXN0MzM0Mzg0NjQw
29,295
Fix SS06 formatting errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/4827688?v=4", "events_url": "https://api.github.com/users/profwacko/events{/privacy}", "followers_url": "https://api.github.com/users/profwacko/followers", "following_url": "https://api.github.com/users/profwacko/following{/other_user}", "gists_url": "https://api.github.com/users/profwacko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/profwacko", "id": 4827688, "login": "profwacko", "node_id": "MDQ6VXNlcjQ4Mjc2ODg=", "organizations_url": "https://api.github.com/users/profwacko/orgs", "received_events_url": "https://api.github.com/users/profwacko/received_events", "repos_url": "https://api.github.com/users/profwacko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/profwacko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/profwacko/subscriptions", "type": "User", "url": "https://api.github.com/users/profwacko" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "eb6420", "default": false, "description": "Code style, linting, ...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2019-10-30T16:48:32Z
2020-02-28T19:57:10Z
2019-10-31T17:04:09Z
CONTRIBUTOR
null
More SS06 (Summary should fit in a single line) errors fixed (#29254): The following docstrings were examined and fixed: ``` pandas.DataFrame pandas.DataFrame.transform pandas.DataFrame.corrwith pandas.DataFrame.describe pandas.DataFrame.kurt pandas.DataFrame.kurtosis pandas.DataFrame.skew pandas.DataFrame.align pandas.DataFrame.drop_duplicates pandas.DataFrame.duplicated ``` Validated with python scripts/validate_docstrings.py Also referencing issue: #27977
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29295/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29295/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29295.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29295", "merged_at": "2019-10-31T17:04:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29295.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29295" }
https://api.github.com/repos/pandas-dev/pandas/issues/29296
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29296/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29296/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29296/events
https://github.com/pandas-dev/pandas/pull/29296
514,898,903
MDExOlB1bGxSZXF1ZXN0MzM0NDQ4MDE3
29,296
0.25.3 whatsnew
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2019-10-30T18:42:05Z
2019-10-31T01:02:04Z
2019-10-31T01:02:01Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29296/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29296/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29296.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29296", "merged_at": "2019-10-31T01:02:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29296.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29296" }
https://api.github.com/repos/pandas-dev/pandas/issues/29297
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29297/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29297/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29297/events
https://github.com/pandas-dev/pandas/issues/29297
514,917,011
MDU6SXNzdWU1MTQ5MTcwMTE=
29,297
TypeError when setting MultiIndex in DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1059417?v=4", "events_url": "https://api.github.com/users/SteveDoyle2/events{/privacy}", "followers_url": "https://api.github.com/users/SteveDoyle2/followers", "following_url": "https://api.github.com/users/SteveDoyle2/following{/other_user}", "gists_url": "https://api.github.com/users/SteveDoyle2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SteveDoyle2", "id": 1059417, "login": "SteveDoyle2", "node_id": "MDQ6VXNlcjEwNTk0MTc=", "organizations_url": "https://api.github.com/users/SteveDoyle2/orgs", "received_events_url": "https://api.github.com/users/SteveDoyle2/received_events", "repos_url": "https://api.github.com/users/SteveDoyle2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SteveDoyle2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SteveDoyle2/subscriptions", "type": "User", "url": "https://api.github.com/users/SteveDoyle2" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2019-10-30T19:11:07Z
2020-03-02T13:59:23Z
2020-03-02T13:59:23Z
NONE
null
#### Code Sample ```python from pandas import read_pickle df = read_pickle('test.txt') print(df) df.set_index(['ElementID', 'NodeID', 'Location']) # fails #df.set_index(['ElementID']) # also fails ``` The pickle file (that I renamed to be a .txt file): [test.txt](https://github.com/pandas-dev/pandas/files/3790733/test.txt) #### Problem description I'm trying to set a MultiIndex on a DataFrame. I'm getting an error saying that the index (iblockno) is not an integer array, except it is. Looking at the point in the code Searching for the error message: block = self.blocks[iblockno] TypeError: only integer scalar arrays can be converted to a scalar index brought me to `pandas\core\internals\managers.py", line ~977`. I split out iblockno and iblockloc to see understand the error better. ```python def iget(self, i): iblockno = self._blknos[i] iblockloc = self._blklocs[i] block = self.blocks[iblockno] # error is here values = block.iget(iblockloc) ``` where: iblockno >>> array([1], dtype=int64) What I'm confused on is the data is an integer array, so shouldn't I not be getting an error? #### Expected Output The dataframe with a MultiIndex of ElementID, NodeID, and Location. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.1 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3 setuptools : 41.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 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29297/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29297/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29298
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29298/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29298/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29298/events
https://github.com/pandas-dev/pandas/pull/29298
515,035,783
MDExOlB1bGxSZXF1ZXN0MzM0NTU5NTg4
29,298
CLN: unnecessary exception catching
{ "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": "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": "207d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2019-10-30T22:54:05Z
2019-11-07T21:01:34Z
2019-11-07T20:48:25Z
MEMBER
null
adding an index to the exception is a nice thought, but ultimately adds more complication than information. The `except AssertionError`s were needed back when the lines below were `except Exception`, but those have been made more specific, so these are no longer 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/29298/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29298/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29298.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29298", "merged_at": "2019-11-07T20:48:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29298.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29298" }
https://api.github.com/repos/pandas-dev/pandas/issues/29299
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29299/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29299/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29299/events
https://github.com/pandas-dev/pandas/pull/29299
515,044,446
MDExOlB1bGxSZXF1ZXN0MzM0NTY2ODA5
29,299
CLN: Consistent pandas.util.testing imports in pandas/tests/io
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T23:23:16Z
2019-10-31T08:01:36Z
2019-10-31T08:00:59Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29299/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29299/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29299.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29299", "merged_at": "2019-10-31T08:00:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29299.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29299" }
https://api.github.com/repos/pandas-dev/pandas/issues/29300
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29300/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29300/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29300/events
https://github.com/pandas-dev/pandas/pull/29300
515,044,993
MDExOlB1bGxSZXF1ZXN0MzM0NTY3Mjg4
29,300
CLN: Consistent pandas.util.testing imports in pandas/tests/frame - part1
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[]
closed
false
null
[]
null
1
2019-10-30T23:24:58Z
2019-10-31T07:59:35Z
2019-10-31T07:59:32Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29300/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29300/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29300.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29300", "merged_at": "2019-10-31T07:59:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29300.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29300" }
https://api.github.com/repos/pandas-dev/pandas/issues/29301
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29301/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29301/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29301/events
https://github.com/pandas-dev/pandas/pull/29301
515,045,015
MDExOlB1bGxSZXF1ZXN0MzM0NTY3MzA1
29,301
CLN: Consistent pandas.util.testing imports in pandas/tests/frame - part 2
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[]
closed
false
null
[]
null
1
2019-10-30T23:25:02Z
2019-10-31T08:01:55Z
2019-10-31T08:01:49Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29301/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29301/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29301.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29301", "merged_at": "2019-10-31T08:01:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29301.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29301" }
https://api.github.com/repos/pandas-dev/pandas/issues/29302
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29302/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29302/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29302/events
https://github.com/pandas-dev/pandas/pull/29302
515,045,069
MDExOlB1bGxSZXF1ZXN0MzM0NTY3MzUz
29,302
CLN: Consistent pandas.util.testing imports in pandas/tests/frame - part 3
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T23:25:10Z
2019-10-31T13:11:35Z
2019-10-31T13:11:31Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29302/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29302/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29302.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29302", "merged_at": "2019-10-31T13:11:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29302.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29302" }
https://api.github.com/repos/pandas-dev/pandas/issues/29303
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29303/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29303/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29303/events
https://github.com/pandas-dev/pandas/pull/29303
515,045,096
MDExOlB1bGxSZXF1ZXN0MzM0NTY3Mzc0
29,303
CLN: Consistent pandas.util.testing imports in pandas/tests/frame - part 4
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-30T23:25:14Z
2019-10-31T08:11:23Z
2019-10-31T08:08:12Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29303/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29303/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29303.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29303", "merged_at": "2019-10-31T08:08:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29303.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29303" }
https://api.github.com/repos/pandas-dev/pandas/issues/29304
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29304/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29304/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29304/events
https://github.com/pandas-dev/pandas/pull/29304
515,079,524
MDExOlB1bGxSZXF1ZXN0MzM0NTk2ODg0
29,304
Fix SS06 formatting errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/19747416?v=4", "events_url": "https://api.github.com/users/deepandas11/events{/privacy}", "followers_url": "https://api.github.com/users/deepandas11/followers", "following_url": "https://api.github.com/users/deepandas11/following{/other_user}", "gists_url": "https://api.github.com/users/deepandas11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deepandas11", "id": 19747416, "login": "deepandas11", "node_id": "MDQ6VXNlcjE5NzQ3NDE2", "organizations_url": "https://api.github.com/users/deepandas11/orgs", "received_events_url": "https://api.github.com/users/deepandas11/received_events", "repos_url": "https://api.github.com/users/deepandas11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deepandas11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepandas11/subscriptions", "type": "User", "url": "https://api.github.com/users/deepandas11" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "eb6420", "default": false, "description": "Code style, linting, ...
closed
false
null
[]
null
3
2019-10-31T01:00:23Z
2019-10-31T22:31:18Z
2019-10-31T22:31:18Z
CONTRIBUTOR
null
Fixing more SS06 issues, mentioned in #29254 Fixed docstrings for the following: - pandas.DataFrame - pandas.DataFrame.transform - pandas.DataFrame.corrwith - pandas.DataFrame.describe - pandas.DataFrame.kurt - pandas.DataFrame.kurtosis - pandas.DataFrame.skew - pandas.DataFrame.align - pandas.DataFrame.drop_duplicates - pandas.DataFrame.duplicated
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29304/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29304/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29304.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29304", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29304.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29304" }
https://api.github.com/repos/pandas-dev/pandas/issues/29305
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29305/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29305/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29305/events
https://github.com/pandas-dev/pandas/pull/29305
515,079,567
MDExOlB1bGxSZXF1ZXN0MzM0NTk2OTEx
29,305
CLN: tighten Exception catching in indexing.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "20...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
6
2019-10-31T01:00:28Z
2019-11-03T21:42:27Z
2019-11-03T20:46:23Z
MEMBER
null
get rid of is_lexsorted_for_tuple while we're at it
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29305/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29305/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29305.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29305", "merged_at": "2019-11-03T20:46:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29305.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29305" }
https://api.github.com/repos/pandas-dev/pandas/issues/29306
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29306/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29306/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29306/events
https://github.com/pandas-dev/pandas/pull/29306
515,202,127
MDExOlB1bGxSZXF1ZXN0MzM0NzAwODYz
29,306
TST: Test DataFrame rename with ChainMap
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "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": "eb6420", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-31T06:39:04Z
2019-10-31T08:07:43Z
2019-10-31T08:06:04Z
MEMBER
null
Closes https://github.com/pandas-dev/pandas/issues/23859
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29306/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29306/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29306.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29306", "merged_at": "2019-10-31T08:06:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29306.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29306" }
https://api.github.com/repos/pandas-dev/pandas/issues/29307
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29307/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29307/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29307/events
https://github.com/pandas-dev/pandas/pull/29307
515,270,670
MDExOlB1bGxSZXF1ZXN0MzM0NzU4MDIz
29,307
CLN: Consistent pandas.util.testing imports in remaining test suite
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2019-10-31T09:05:02Z
2019-10-31T13:10:40Z
2019-10-31T13:09:48Z
CONTRIBUTOR
null
Part of #29272 Fyi: All changes are generated from a script posted in the issue. - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Fyi: When the remaining PRs of this are merged, I'll add another one to add the linting rule - then we can close the 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/29307/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29307/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29307.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29307", "merged_at": "2019-10-31T13:09:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29307.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29307" }
https://api.github.com/repos/pandas-dev/pandas/issues/29308
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29308/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29308/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29308/events
https://github.com/pandas-dev/pandas/issues/29308
515,297,133
MDU6SXNzdWU1MTUyOTcxMzM=
29,308
i was confused with qcut function
{ "avatar_url": "https://avatars.githubusercontent.com/u/53938329?v=4", "events_url": "https://api.github.com/users/yuylyp/events{/privacy}", "followers_url": "https://api.github.com/users/yuylyp/followers", "following_url": "https://api.github.com/users/yuylyp/following{/other_user}", "gists_url": "https://api.github.com/users/yuylyp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yuylyp", "id": 53938329, "login": "yuylyp", "node_id": "MDQ6VXNlcjUzOTM4MzI5", "organizations_url": "https://api.github.com/users/yuylyp/orgs", "received_events_url": "https://api.github.com/users/yuylyp/received_events", "repos_url": "https://api.github.com/users/yuylyp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yuylyp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yuylyp/subscriptions", "type": "User", "url": "https://api.github.com/users/yuylyp" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "006b75", "default": false, "descript...
closed
false
null
[]
null
2
2019-10-31T09:50:47Z
2019-11-01T22:43:02Z
2019-11-01T22:42:57Z
NONE
null
I was confused with **qcut** after runing the following codes: ```python s = pd.Series(range(19)) qc = pd.qcut(s, q=[0., .1, .3, .7, .9, 1.], labels=[.8, .9, 1., 1.1, 1.2]) qc.to_numpy() ``` #### Problem description after running above codes, I get the result.( **please note, there is two 1.2, seven 1.**) ```python array([0.8, 0.8, 0.9, 0.9, 0.9, 0.9, 1. , 1. , 1. , 1. , 1. , 1. , 1. , 1.1, 1.1, 1.1, 1.1, 1.2, 1.2]) ``` As my supposed, the results should be:( **one 1.2, eight 1.**) ```python array([0.8, 0.8, 0.9, 0.9, 0.9, 0.9, 1., 1. , 1. , 1. , 1. , 1. , 1. , 1. , 1.1, 1.1, 1.1, 1.1, 1.2]) ``` so, could you please help me to get the expected result? #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.2 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.6.0 Cython : None pytest : 5.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.2 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29308/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29308/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29309
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29309/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29309/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29309/events
https://github.com/pandas-dev/pandas/issues/29309
515,344,684
MDU6SXNzdWU1MTUzNDQ2ODQ=
29,309
API: how to create a "shallow copy" of a DataFrame?
{ "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" }, { "color": "70e5ca", "default": false, "description": ""...
open
false
null
[]
null
4
2019-10-31T11:07:33Z
2021-07-22T05:47:15Z
null
MEMBER
null
How can you create a copy of the DataFrame without copying the actual data, but having a new DataFrame that when updated (not in place) does not modify the original ("shallow copy")? And how is this expected to behave? I suppose that in technical terms, this would be a new BlockManager that references the same arrays? I ran in the above questions, and actually didn't know a clear answer. The context was: I wanted to replace one column of a DataFrame, but without modifying the original one. And so was wondering if I could do that without making a full copy of the DataFrame (as in theory this is not needed, and I just wanted to update one object column before serializing). --- So you can do something like this with `copy(deep=False)`. Let's explore this somewhat: Making a normal (deep) and shallow copy: ``` In [1]: df = pd.DataFrame({'a': [1, 2, 3], 'b': [.1, .2, .3]}) In [2]: df_copy = df.copy() In [3]: df_shallow = df.copy(deep=False) ``` Modifying values in place works as expected: for the copy it does not change the original df, for the shallow copy it does: ``` In [4]: df_copy.iloc[0,0] = 10 In [5]: df_shallow.iloc[1,0] = 20 In [6]: df Out[6]: a b 0 1 0.1 1 20 0.2 2 3 0.3 ``` Overwriting a full column, however, becomes more tricky (due to our BlockManager ...): ``` # this updates the original df In [7]: df_shallow['a'] = [10, 20, 30] In [8]: df Out[8]: a b 0 10 0.1 1 20 0.2 2 30 0.3 # this does not update the original In [9]: df_shallow['b'] = [100, 200, 300] In [10]: df_shallow Out[10]: a b 0 10 100 1 20 200 2 30 300 In [11]: df Out[11]: a b 0 10 0.1 1 20 0.2 2 30 0.3 ``` This is of course somewhat expected if you know the internals: if the new column is of the same dtype, it seems to modify the array of the block in place, while if it needs to create a new block (because the dtype changed on assignment), the reference with the old data is broken and it doesn't modify the original dataframe. While writing this down, I am realizing that my question is maybe more: *should assigning a column (`df['a'] = ..`) be seen as an in-place modification of your dataframe that has impact through shallow copies?* Because in reality, `df['a']` cannot always happen in place (if you are overwriting with a different dtype), this gives rather inconsistent and surprising behaviour depending on the dtypes.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29309/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29309/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29310
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29310/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29310/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29310/events
https://github.com/pandas-dev/pandas/issues/29310
515,393,259
MDU6SXNzdWU1MTUzOTMyNTk=
29,310
HDF file compression not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/42381276?v=4", "events_url": "https://api.github.com/users/WuraolaOyewusi/events{/privacy}", "followers_url": "https://api.github.com/users/WuraolaOyewusi/followers", "following_url": "https://api.github.com/users/WuraolaOyewusi/following{/other_user}", "gists_url": "https://api.github.com/users/WuraolaOyewusi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WuraolaOyewusi", "id": 42381276, "login": "WuraolaOyewusi", "node_id": "MDQ6VXNlcjQyMzgxMjc2", "organizations_url": "https://api.github.com/users/WuraolaOyewusi/orgs", "received_events_url": "https://api.github.com/users/WuraolaOyewusi/received_events", "repos_url": "https://api.github.com/users/WuraolaOyewusi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WuraolaOyewusi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WuraolaOyewusi/subscriptions", "type": "User", "url": "https://api.github.com/users/WuraolaOyewusi" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", ...
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/30631476?v=4", "events_url": "https://api.github.com/users/quangngd/events{/privacy}", "followers_url": "https://api.github.com/users/quangngd/followers", "following_url": "https://api.github.com/users/quangngd/following{/other_user}", "gists_url": "https://api.github.com/users/quangngd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/quangngd", "id": 30631476, "login": "quangngd", "node_id": "MDQ6VXNlcjMwNjMxNDc2", "organizations_url": "https://api.github.com/users/quangngd/orgs", "received_events_url": "https://api.github.com/users/quangngd/received_events", "repos_url": "https://api.github.com/users/quangngd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/quangngd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/quangngd/subscriptions", "type": "User", "url": "https://api.github.com/users/quangngd" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/30631476?v=4", "events_url": "https://api.github.com/users/quangngd/events{/privacy}", "followers_url": "https://api.github.com/users/quangngd/followers", "following_url": "https://api.github.com/users/quangngd/following{/other_user}", "gi...
null
20
2019-10-31T12:29:24Z
2021-07-22T05:48:31Z
null
CONTRIBUTOR
null
xref https://github.com/pandas-dev/pandas/pull/28890#pullrequestreview-304361199 While updating the [performance comparison part of the IO docs](https://dev.pandas.io/docs/user_guide/io.html#performance-considerations) it was found that compressed size values for .hdf file formats were the same as uncompressed .hdf file formats. ``` 24009288 Oct 10 06:43 test_fixed.hdf 24009288 Oct 10 06:43 test_fixed_compress.hdf 24458940 Oct 10 06:44 test_table.hdf 24458940 Oct 10 06:44 test_table_compress.hdf ``` This seems to be caused by the next lines saving the same files: ```python df.to_hdf('test.hdf', 'test', mode='w') df.to_hdf('test.hdf', 'test', mode='w', complib='blosc') ``` We need to see why the `complib` parameter is being ignored, and fix it so the `hdf5` file is saved compressed when used. CC @datapythonista
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29310/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29310/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29311
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29311/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29311/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29311/events
https://github.com/pandas-dev/pandas/issues/29311
515,419,856
MDU6SXNzdWU1MTU0MTk4NTY=
29,311
PERF: regression in MultiIndex get_loc indexing performance
{ "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default"...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-10-31T13:08:40Z
2019-11-07T21:20:57Z
2019-11-07T21:20:57Z
MEMBER
null
From our benchmarks (`GetLoc` class in https://github.com/pandas-dev/pandas/blob/master/asv_bench/benchmarks/multiindex_object.py): ``` In [65]: mi_med = pd.MultiIndex.from_product( ...: [np.arange(1000), np.arange(10), list("A")], names=["one", "two", "three"] ...: ) In [66]: %timeit mi_med.get_loc((999, 9, "A")) 9.58 µs ± 106 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) In [67]: pd.__version__ Out[67]: '0.25.0' ``` vs ``` In [18]: mi_med = pd.MultiIndex.from_product( ...: [np.arange(1000), np.arange(10), list("A")], names=["one", "two", "three"] ...: ) In [19]: %timeit mi_med.get_loc((999, 9, "A")) 34.7 µs ± 454 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) In [20]: pd.__version__ Out[20]: '0.26.0.dev0+691.g157495696' ``` Not directly sure what recently changed related to MultiIndexes. And the benchmark suite is giving a rather broad range: https://github.com/pandas-dev/pandas/compare/2b284543...7c8c8c81 (because the benchmarks were not running for a while I suppose)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29311/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29311/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29312
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29312/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29312/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29312/events
https://github.com/pandas-dev/pandas/pull/29312
515,490,152
MDExOlB1bGxSZXF1ZXN0MzM0OTQ1MTEy
29,312
Fix doc typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4", "events_url": "https://api.github.com/users/lodagro/events{/privacy}", "followers_url": "https://api.github.com/users/lodagro/followers", "following_url": "https://api.github.com/users/lodagro/following{/other_user}", "gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lodagro", "id": 1094464, "login": "lodagro", "node_id": "MDQ6VXNlcjEwOTQ0NjQ=", "organizations_url": "https://api.github.com/users/lodagro/orgs", "received_events_url": "https://api.github.com/users/lodagro/received_events", "repos_url": "https://api.github.com/users/lodagro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lodagro/subscriptions", "type": "User", "url": "https://api.github.com/users/lodagro" }
[]
closed
false
null
[]
null
1
2019-10-31T14:44:44Z
2019-10-31T18:20:04Z
2019-10-31T16:03:48Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29312/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29312/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29312.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29312", "merged_at": "2019-10-31T16:03:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29312.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29312" }
https://api.github.com/repos/pandas-dev/pandas/issues/29313
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29313/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29313/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29313/events
https://github.com/pandas-dev/pandas/pull/29313
515,553,354
MDExOlB1bGxSZXF1ZXN0MzM0OTk3MDUx
29,313
Backports for 0.25.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "729FCF", "default": false, "description": null, "id": 233160...
closed
false
null
[]
{ "closed_at": "2019-11-02T20:28:09Z", "closed_issues": 1, "created_at": "2019-10-31T18:31:39Z", "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 0.25.x", "due_on": "2019-11-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/67", "id": 4802947, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/67/labels", "node_id": "MDk6TWlsZXN0b25lNDgwMjk0Nw==", "number": 67, "open_issues": 0, "state": "closed", "title": "0.25.3", "updated_at": "2019-11-02T20:28:09Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/67" }
2
2019-10-31T16:03:09Z
2020-01-16T00:33:38Z
2019-10-31T18:32:02Z
MEMBER
null
This includes pieces of #27826 except for the whatsnew note, which appeared in 0.25.1. Not sure if we want to move that here or keep as is, but test and implementation were included here
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29313/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29313/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29313.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29313", "merged_at": "2019-10-31T18:32:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29313.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29313" }