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/29714
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29714/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29714/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29714/events
https://github.com/pandas-dev/pandas/issues/29714
525,145,798
MDU6SXNzdWU1MjUxNDU3OTg=
29,714
After Anaconda upgrade to 0.25.3 can't import pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/214808?v=4", "events_url": "https://api.github.com/users/boardtc/events{/privacy}", "followers_url": "https://api.github.com/users/boardtc/followers", "following_url": "https://api.github.com/users/boardtc/following{/other_user}", "gists_url": "https://api.github.com/users/boardtc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/boardtc", "id": 214808, "login": "boardtc", "node_id": "MDQ6VXNlcjIxNDgwOA==", "organizations_url": "https://api.github.com/users/boardtc/orgs", "received_events_url": "https://api.github.com/users/boardtc/received_events", "repos_url": "https://api.github.com/users/boardtc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/boardtc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/boardtc/subscriptions", "type": "User", "url": "https://api.github.com/users/boardtc" }
[]
closed
false
null
[]
null
3
2019-11-19T17:10:54Z
2020-01-21T05:50:30Z
2019-11-19T17:28:52Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` conda update pandas ``` #### Problem description I did a conda update pandas at the anaconda prompt today to update from 0.23.x to 0.25.3 and now I get this error in Spyder simply importing pandas. ``` Traceback (most recent call last): File "<ipython-input-4-7dd3504c366f>", line 1, in <module> import pandas as pd File "D:\Applications\Anaconda3\lib\site-packages\pandas\__init__.py", line 55, in <module> from pandas.core.api import ( File "D:\Applications\Anaconda3\lib\site-packages\pandas\core\api.py", line 5, in <module> from pandas.core.arrays.integer import ( File "D:\Applications\Anaconda3\lib\site-packages\pandas\core\arrays\__init__.py", line 7, in <module> from .categorical import Categorical # noqa: F401 File "D:\Applications\Anaconda3\lib\site-packages\pandas\core\arrays\categorical.py", line 54, in <module> from pandas.core.base import NoNewAttributesMixin, PandasObject, _shared_docs File "D:\Applications\Anaconda3\lib\site-packages\pandas\core\base.py", line 36, in <module> import pandas.core.nanops as nanops File "D:\Applications\Anaconda3\lib\site-packages\pandas\core\nanops.py", line 38, in <module> bn = import_optional_dependency("bottleneck", raise_on_missing=False, on_version="warn") File "D:\Applications\Anaconda3\lib\site-packages\pandas\compat\_optional.py", line 99, in import_optional_dependency version = _get_version(module) File "D:\Applications\Anaconda3\lib\site-packages\pandas\compat\_optional.py", line 48, in _get_version raise ImportError("Can't determine version for {}".format(module.__name__)) ImportError: Can't determine version for bottleneck ``` [29181](https://github.com/pandas-dev/pandas/issues/29181) is similar but the iPython was already installed as part of Anaconda, #### Expected Output None. Should be able to import pandas as pd #### Output of ``pd.show_versions()`` <details> Traceback (most recent call last): File "<ipython-input-5-3d232a07e144>", line 1, in <module> pd.show_versions() NameError: name 'pd' is not defined </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/29714/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29714/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29715
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29715/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29715/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29715/events
https://github.com/pandas-dev/pandas/pull/29715
525,194,865
MDExOlB1bGxSZXF1ZXN0MzQyODMyNTAz
29,715
WIP: All the CI in GitHub actions (DO NOT MERGE)
{ "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" }, { "color": "207de5", "default": false, "description": ...
closed
false
null
[]
null
4
2019-11-19T18:47:30Z
2019-12-30T18:53:23Z
2019-12-30T18:53:22Z
MEMBER
null
Many things are incomplete or broken here, but opening this so people can see the progress. This needs to be discussed, and if we move forward splitted in many PRs, before it can be merged. This adds all our current builds to GitHub actions, with two new features: - Creating an artifact for the built web and docs - A `Finalize` job is triggered when all the others are finished, that should summarize the errors in a GitHub comment (WIP) Some things that are broken: - The builds with locale different than English - The grep that checks if there are ipython errors in the sphinx logs - The builds other than Linux (because the matrix tries to create the containers for MySQL and PostgreSQL for all builds now) - The `Finalize` job is WIP, and not sure if even triggered I'll probably work on #29685 before adding any test build to actions. I think we can do much better in terms of simplicity and coverage with the creation of the matrix (which builds we run, and what's tested in each).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29715/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29715/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29715.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29715", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29715.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29715" }
https://api.github.com/repos/pandas-dev/pandas/issues/29716
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29716/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29716/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29716/events
https://github.com/pandas-dev/pandas/issues/29716
525,206,726
MDU6SXNzdWU1MjUyMDY3MjY=
29,716
sum excludes rows where multi-index has nan
{ "avatar_url": "https://avatars.githubusercontent.com/u/16045385?v=4", "events_url": "https://api.github.com/users/soerenwolfers/events{/privacy}", "followers_url": "https://api.github.com/users/soerenwolfers/followers", "following_url": "https://api.github.com/users/soerenwolfers/following{/other_user}", "gists_url": "https://api.github.com/users/soerenwolfers/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/soerenwolfers", "id": 16045385, "login": "soerenwolfers", "node_id": "MDQ6VXNlcjE2MDQ1Mzg1", "organizations_url": "https://api.github.com/users/soerenwolfers/orgs", "received_events_url": "https://api.github.com/users/soerenwolfers/received_events", "repos_url": "https://api.github.com/users/soerenwolfers/repos", "site_admin": false, "starred_url": "https://api.github.com/users/soerenwolfers/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soerenwolfers/subscriptions", "type": "User", "url": "https://api.github.com/users/soerenwolfers" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2019-11-19T19:10:15Z
2021-05-27T19:07:14Z
2019-11-19T19:43:21Z
NONE
null
#### Code Sample ```python import pandas as pd import numpy as np df = pd.DataFrame({'ind':[np.nan,np.nan,'a','a'],'col':[0,1,2,3]}).set_index('ind') df.sum(level='ind') ``` results in ``` col ind a 5 ``` #### Problem description df.sum ignores rows where any index column contains a np.nan. #### Expected Output ``` col ind NaN 1 1.0 5 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.6.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: byteorder: little LC_ALL: None LANG: en_GB.UTF-8 LOCALE: None.None pandas: 0.24.2 pytest: None pip: 19.0.3 setuptools: 41.0.1 Cython: 0.28.4 numpy: 1.15.4 scipy: 1.2.1 pyarrow: 0.14.0 xarray: None IPython: 7.5.0 sphinx: 1.7.5 patsy: 0.5.0 dateutil: 2.8.0 pytz: 2018.5 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 2.2.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: 1.0.1 sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: 0.3.2 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/29716/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29716/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29717
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29717/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29717/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29717/events
https://github.com/pandas-dev/pandas/pull/29717
525,223,059
MDExOlB1bGxSZXF1ZXN0MzQyODU1Mzkw
29,717
Improve return description in `droplevel` docstring
{ "avatar_url": "https://avatars.githubusercontent.com/u/14007150?v=4", "events_url": "https://api.github.com/users/deepyaman/events{/privacy}", "followers_url": "https://api.github.com/users/deepyaman/followers", "following_url": "https://api.github.com/users/deepyaman/following{/other_user}", "gists_url": "https://api.github.com/users/deepyaman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deepyaman", "id": 14007150, "login": "deepyaman", "node_id": "MDQ6VXNlcjE0MDA3MTUw", "organizations_url": "https://api.github.com/users/deepyaman/orgs", "received_events_url": "https://api.github.com/users/deepyaman/received_events", "repos_url": "https://api.github.com/users/deepyaman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deepyaman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepyaman/subscriptions", "type": "User", "url": "https://api.github.com/users/deepyaman" }
[ { "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-11-19T19:41:10Z
2020-03-26T06:44:04Z
2019-11-19T20:54:14Z
CONTRIBUTOR
null
Use https://pandas-docs.github.io/pandas-docs-travis/reference/api/pandas.DataFrame.dropna.html#pandas.DataFrame.dropna docstring as a\ template. MINOR DOCUMENTATION CHANGE ONLY (ignored below) - [ ] 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/29717/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29717/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29717.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29717", "merged_at": "2019-11-19T20:54:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29717.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29717" }
https://api.github.com/repos/pandas-dev/pandas/issues/29718
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29718/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29718/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29718/events
https://github.com/pandas-dev/pandas/issues/29718
525,240,170
MDU6SXNzdWU1MjUyNDAxNzA=
29,718
melt does not recognize numeric column names
{ "avatar_url": "https://avatars.githubusercontent.com/u/6116188?v=4", "events_url": "https://api.github.com/users/nils-braun/events{/privacy}", "followers_url": "https://api.github.com/users/nils-braun/followers", "following_url": "https://api.github.com/users/nils-braun/following{/other_user}", "gists_url": "https://api.github.com/users/nils-braun/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nils-braun", "id": 6116188, "login": "nils-braun", "node_id": "MDQ6VXNlcjYxMTYxODg=", "organizations_url": "https://api.github.com/users/nils-braun/orgs", "received_events_url": "https://api.github.com/users/nils-braun/received_events", "repos_url": "https://api.github.com/users/nils-braun/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nils-braun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nils-braun/subscriptions", "type": "User", "url": "https://api.github.com/users/nils-braun" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
closed
false
null
[]
null
4
2019-11-19T20:13:31Z
2021-05-17T17:20:59Z
2019-11-23T23:10:01Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.DataFrame(columns=[1, "string"]) pd.melt(df, id_vars=[1, "string"]) ``` #### Problem description The shown example fails with ``` Traceback (most recent call last): File "test.py", line 5, in <module> pd.melt(df, id_vars=[1, "string"]) File "/home/nils/projects/tsfresh/venv/lib/python3.6/site-packages/pandas/core/reshape/melt.py", line 52, in melt "".format(missing=list(missing)) KeyError: "The following 'id_vars' are not present in the DataFrame: ['1']" ``` and I guess the reason is that the call of ```python Index(np.ravel(id_vars)) ``` in `pd.melt` somehow casts the numerical column name `1` to the string `"1"`. I am not sure if this is intended behavior or if the case of numerical column names is just not supported, but at least in older pandas versions (e.g. 0.23.4) this still worked. Thanks for looking into this! I am also fine if this is closed with "won't fix" :-) #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-65-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.0 Cython : None pytest : 5.2.4 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.9.0 pandas_datareader: 0.8.1 bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29718/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29718/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29719
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29719/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29719/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29719/events
https://github.com/pandas-dev/pandas/issues/29719
525,248,607
MDU6SXNzdWU1MjUyNDg2MDc=
29,719
Misaligned X axis when plotting datetime with same frequency but different step base
{ "avatar_url": "https://avatars.githubusercontent.com/u/17615137?v=4", "events_url": "https://api.github.com/users/HenrikSpa/events{/privacy}", "followers_url": "https://api.github.com/users/HenrikSpa/followers", "following_url": "https://api.github.com/users/HenrikSpa/following{/other_user}", "gists_url": "https://api.github.com/users/HenrikSpa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HenrikSpa", "id": 17615137, "login": "HenrikSpa", "node_id": "MDQ6VXNlcjE3NjE1MTM3", "organizations_url": "https://api.github.com/users/HenrikSpa/orgs", "received_events_url": "https://api.github.com/users/HenrikSpa/received_events", "repos_url": "https://api.github.com/users/HenrikSpa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HenrikSpa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HenrikSpa/subscriptions", "type": "User", "url": "https://api.github.com/users/HenrikSpa" }
[ { "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": "8AE234", "default": false, "description": null, "id": 2413328, ...
open
false
null
[]
null
0
2019-11-19T20:30:40Z
2021-07-23T04:52:35Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ``` import pandas as pd import matplotlib.pyplot as plt x1 = pd.date_range(start='2018-03-02 12:00:00', end='2019-10-21 12:00:00', freq='1h') df1 = pd.DataFrame([0]*len(x1), index=x1, columns=['x1']) x2 = pd.date_range(start='2017-06-04 06:00:01', end='2019-11-10 06:00:01', freq='1h') df2 = pd.DataFrame([0]*len(x2), index=x2, columns=['x2']) fig, axes = plt.subplots(nrows=4, ncols=1, sharex=True) df1.plot(ax=axes[0]) df2.plot(ax=axes[1]) axes[2].plot(df1) axes[3].plot(df2) #Autoscale doesn't affect this issue. Just used to make all lines visible from start. plt.autoscale(enable=True, axis='both', tight=None) for ax in axes: ax.legend().remove() # printouts print(str(axes[0].get_xlim())) print(str(axes[1].get_xlim())) print(str(axes[2].get_xlim())) print(str(axes[3].get_xlim())) plt.show() ``` ![image](https://user-images.githubusercontent.com/17615137/69183611-8f9df780-0b13-11ea-9dac-8ab14d31b63c.png) #### Problem description The x-axes are misaligned when plotting two or more subplots and have different timestep base (in the example above, x1 starts with hour:minute:second 00:00:00 while x2 starts with 06:00:01. UPDATE: Also, plotting df1 using axes[2].plot(df1) instead of df1.plot(ax=axes[0]) works perfectly. If plt.autoscale is not used, the topmost plot, df1.plot(ax=axes[0]), is not visible unless one pan the axes manually. The result from get_xlim() from the supplied code returns ``` (736484.2500115741, 737373.2500115741) (736484.2500115741, 737373.2500115741) (736484.2500115741, 737373.2500115741) (736484.2500115741, 737373.2500115741) ``` If the df2.plot(ax=axes[1]) is plotted before the other three, the result of the get_xlim() is instead ``` (422220.0, 436572.0) (422220.0, 436572.0) (422220.0, 436572.0) (422220.0, 436572.0) ``` This issue might be related to: #11574, #18571 and #29705. #### Expected Output Plotting the data at the correct x axis coordinates. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-65-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : sv_SE.UTF-8 LOCALE : sv_SE.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 9.0.1 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.2.1 html5lib : 0.999999999 pymysql : None psycopg2 : 2.7.4 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : None pandas_datareader: None bs4 : 4.6.0 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.2.1 matplotlib : 3.0.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.2.0 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/29719/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29719/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29720
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29720/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29720/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29720/events
https://github.com/pandas-dev/pandas/pull/29720
525,261,058
MDExOlB1bGxSZXF1ZXN0MzQyODg2NzAz
29,720
DEPR: remove Series.from_array, DataFrame.from_items, as_matrix, asobject, as_blocks, blocks
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-19T20:53:22Z
2019-11-20T17:38:29Z
2019-11-20T17:15:10Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29720/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29720/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29720.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29720", "merged_at": "2019-11-20T17:15:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29720.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29720" }
https://api.github.com/repos/pandas-dev/pandas/issues/29721
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29721/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29721/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29721/events
https://github.com/pandas-dev/pandas/pull/29721
525,267,789
MDExOlB1bGxSZXF1ZXN0MzQyODkyMTA0
29,721
DEPR: remove deprecated keywords in read_excel, to_records
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-19T21:06:34Z
2021-11-20T23:21:56Z
2019-11-20T16:43:03Z
MEMBER
null
There are a handful of these PRs on the way and they're inevitably going to have whatsnew conflicts. I'm trying to group together related deprecations so as to have a single-digit number of PRs for these.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29721/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29721/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29721.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29721", "merged_at": "2019-11-20T16:43:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29721.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29721" }
https://api.github.com/repos/pandas-dev/pandas/issues/29722
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29722/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29722/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29722/events
https://github.com/pandas-dev/pandas/pull/29722
525,268,870
MDExOlB1bGxSZXF1ZXN0MzQyODkyOTky
29,722
DEPR: remove encoding kwarg from read_stata, DataFrame.to_stata
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-19T21:08:43Z
2019-11-20T21:12:26Z
2019-11-20T21:07:00Z
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/29722/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29722/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29722.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29722", "merged_at": "2019-11-20T21:07:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29722.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29722" }
https://api.github.com/repos/pandas-dev/pandas/issues/29723
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29723/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29723/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29723/events
https://github.com/pandas-dev/pandas/pull/29723
525,302,604
MDExOlB1bGxSZXF1ZXN0MzQyOTIwODM1
29,723
DEPR: enforce deprecations in core.internals
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-19T22:21:34Z
2019-11-22T17:35:06Z
2019-11-22T17:28:55Z
MEMBER
null
Not sure if the whatsnew is needed for this; IIRC it was mainly pyarrow/fastparquet that were using these keywords
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29723/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29723/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29723.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29723", "merged_at": "2019-11-22T17:28:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29723.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29723" }
https://api.github.com/repos/pandas-dev/pandas/issues/29724
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29724/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29724/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29724/events
https://github.com/pandas-dev/pandas/pull/29724
525,323,193
MDExOlB1bGxSZXF1ZXN0MzQyOTM3NjI4
29,724
DEPR: remove Series.valid, is_copy, get_ftype_counts, Index.get_duplicate, Series.clip_upper, clip_lower
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
2
2019-11-19T23:15:01Z
2019-11-21T15:50:36Z
2019-11-21T13:29:12Z
MEMBER
null
…cate, Series.clip_upper, Series.clip_lower
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29724/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29724/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29724.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29724", "merged_at": "2019-11-21T13:29:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29724.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29724" }
https://api.github.com/repos/pandas-dev/pandas/issues/29725
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29725/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29725/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29725/events
https://github.com/pandas-dev/pandas/pull/29725
525,324,098
MDExOlB1bGxSZXF1ZXN0MzQyOTM4MzUw
29,725
DEPR: remove Index fastpath kwarg
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-19T23:17:20Z
2020-04-29T02:55:05Z
2019-11-27T04:49:13Z
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/29725/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29725/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29725.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29725", "merged_at": "2019-11-27T04:49:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29725.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29725" }
https://api.github.com/repos/pandas-dev/pandas/issues/29726
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29726/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29726/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29726/events
https://github.com/pandas-dev/pandas/pull/29726
525,325,071
MDExOlB1bGxSZXF1ZXN0MzQyOTM5MTY1
29,726
DEPR: remove tsplot
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-19T23:20:10Z
2019-11-20T16:34:59Z
2019-11-20T16:33:48Z
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/29726/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29726/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29726.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29726", "merged_at": "2019-11-20T16:33:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29726.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29726" }
https://api.github.com/repos/pandas-dev/pandas/issues/29727
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29727/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29727/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29727/events
https://github.com/pandas-dev/pandas/issues/29727
525,354,880
MDU6SXNzdWU1MjUzNTQ4ODA=
29,727
Add `Series.todict()` for consistency?
{ "avatar_url": "https://avatars.githubusercontent.com/u/12769364?v=4", "events_url": "https://api.github.com/users/tnwei/events{/privacy}", "followers_url": "https://api.github.com/users/tnwei/followers", "following_url": "https://api.github.com/users/tnwei/following{/other_user}", "gists_url": "https://api.github.com/users/tnwei/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tnwei", "id": 12769364, "login": "tnwei", "node_id": "MDQ6VXNlcjEyNzY5MzY0", "organizations_url": "https://api.github.com/users/tnwei/orgs", "received_events_url": "https://api.github.com/users/tnwei/received_events", "repos_url": "https://api.github.com/users/tnwei/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tnwei/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tnwei/subscriptions", "type": "User", "url": "https://api.github.com/users/tnwei" }
[]
closed
false
null
[]
null
3
2019-11-20T00:57:19Z
2019-11-20T15:06:29Z
2019-11-20T15:06:29Z
CONTRIBUTOR
null
#### Problem description Hello all! Hope this is the right avenue to post this. So Series has functions `to_list()` and `to_dict()`, with the underscore in the middle. There's also `tolist()` w/o the underscore, but not `todict()`. Don't suppose there's any harm in extending the API to allow the latter? #### Code Sample ```python In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '0.25.3' In [3]: srs = pd.Series() In [4]: srs.to_dict() Out[4]: {} In [5]: srs.to_list() Out[5]: [] In [6]: srs.tolist() Out[6]: [] In [7]: srs.todict() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-7-6908392d3852> in <module> ----> 1 srs.todict() ~/miniconda3/lib/python3.7/site-packages/pandas/core/generic.py in __getattr__(self, name) 5177 if self._info_axis._can_hold_identifiers_and_holds_name(name): 5178 return self[name] -> 5179 return object.__getattribute__(self, name) 5180 5181 def __setattr__(self, name, value): AttributeError: 'Series' object has no attribute 'todict' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29727/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29727/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29728
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29728/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29728/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29728/events
https://github.com/pandas-dev/pandas/pull/29728
525,357,253
MDExOlB1bGxSZXF1ZXN0MzQyOTY1MzQ0
29,728
DEPR: remove nthreads kwarg from read_feather
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
2
2019-11-20T01:05:28Z
2019-11-20T17:35:41Z
2019-11-20T17:07:19Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29728/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29728/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29728.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29728", "merged_at": "2019-11-20T17:07:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29728.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29728" }
https://api.github.com/repos/pandas-dev/pandas/issues/29729
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29729/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29729/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29729/events
https://github.com/pandas-dev/pandas/pull/29729
525,376,307
MDExOlB1bGxSZXF1ZXN0MzQyOTgwNjM0
29,729
DOC: fix _validate_names docstring
{ "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": "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-11-20T02:10:53Z
2019-11-20T17:36:06Z
2019-11-20T17:11: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/29729/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29729/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29729.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29729", "merged_at": "2019-11-20T17:11:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29729.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29729" }
https://api.github.com/repos/pandas-dev/pandas/issues/29730
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29730/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29730/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29730/events
https://github.com/pandas-dev/pandas/pull/29730
525,383,572
MDExOlB1bGxSZXF1ZXN0MzQyOTg2NDcz
29,730
DEPR: remove reduce kwd from DataFrame.apply
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
1
2019-11-20T02:33:53Z
2019-11-20T21:13:55Z
2019-11-20T21:05:19Z
MEMBER
null
Looks like #29017 was supposed to do this and I just missed the reduce keyword
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29730/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29730/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29730.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29730", "merged_at": "2019-11-20T21:05:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29730.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29730" }
https://api.github.com/repos/pandas-dev/pandas/issues/29731
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29731/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29731/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29731/events
https://github.com/pandas-dev/pandas/pull/29731
525,396,543
MDExOlB1bGxSZXF1ZXN0MzQyOTk2NjYx
29,731
DEPR: change DTI.to_series keep_tz default to True
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Functiona...
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-11-20T03:22:20Z
2019-11-20T15:23:20Z
2019-11-20T12:26:25Z
MEMBER
null
We _also_ have a deprecation to remove the keyword altogether, but we can't enforce that until we give people time to stop passing `keep_tz=True`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29731/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29731/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29731.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29731", "merged_at": "2019-11-20T12:26:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29731.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29731" }
https://api.github.com/repos/pandas-dev/pandas/issues/29732
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29732/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29732/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29732/events
https://github.com/pandas-dev/pandas/pull/29732
525,400,073
MDExOlB1bGxSZXF1ZXN0MzQzMDAwMDA3
29,732
DEPR: enforce deprecations for kwargs in factorize, FrozenNDArray.ser…
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
1
2019-11-20T03:25:04Z
2019-11-20T15:26:10Z
2019-11-20T12:24:31Z
MEMBER
null
…achsorted, DataFrame.update, DatetimeIndex.shift, TimedeltaIndex.shift, PeriodIndex.shift
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29732/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29732/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29732.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29732", "merged_at": "2019-11-20T12:24:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29732.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29732" }
https://api.github.com/repos/pandas-dev/pandas/issues/29733
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29733/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29733/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29733/events
https://github.com/pandas-dev/pandas/issues/29733
525,586,792
MDU6SXNzdWU1MjU1ODY3OTI=
29,733
Series.map(m: Mapping) can fail with "object is not callable"
{ "avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4", "events_url": "https://api.github.com/users/ivirshup/events{/privacy}", "followers_url": "https://api.github.com/users/ivirshup/followers", "following_url": "https://api.github.com/users/ivirshup/following{/other_user}", "gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivirshup", "id": 8238804, "login": "ivirshup", "node_id": "MDQ6VXNlcjgyMzg4MDQ=", "organizations_url": "https://api.github.com/users/ivirshup/orgs", "received_events_url": "https://api.github.com/users/ivirshup/received_events", "repos_url": "https://api.github.com/users/ivirshup/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions", "type": "User", "url": "https://api.github.com/users/ivirshup" }
[ { "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": "eb6420", "default": false, "description": "Non-arit...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2019-11-20T05:46:52Z
2020-01-02T01:35:32Z
2020-01-02T01:35:32Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd from collections import UserDict, Counter class MissingDict(UserDict): def __missing__(self, key): return key s = pd.Series(list("aab")) s.map(Counter({"a": 1})) # 0 1 # 1 1 # 2 0 # dtype: int64 s.map(MissingDict({"a": "c"})) # <ipython-input-48-6cd4b0d364c9> in <module> # ----> 1 s.map(MissingDict({"a": "c"})) # /usr/local/lib/python3.7/site-packages/pandas/core/series.py in map(self, arg, na_action) # 3826 dtype: object # 3827 """ # -> 3828 new_values = super()._map_values(arg, na_action=na_action) # 3829 return self._constructor(new_values, index=self.index).__finalize__(self) # 3830 # /usr/local/lib/python3.7/site-packages/pandas/core/base.py in _map_values(self, mapper, na_action) # 1298 # 1299 # mapper is a function # -> 1300 new_values = map_f(values, mapper) # 1301 # 1302 return new_values # pandas/_libs/lib.pyx in pandas._libs.lib.map_infer() # TypeError: 'MissingDict' object is not callable ``` #### Problem description `Series.map` can sometimes take Mapping subclasses other than `dict`, but not always. I think it would make sense if any object that satisfied `isinstance(x, collections.abc.Mapping)` could be used as a mapping. I came across this while trying to use map where I only wanted values present as keys in the mapping to change (I went for `s.map(lambda x: {"a": "b"}.get(x, x))` as a workaround). `collections.Counter` and `collections.defaultdict` work fine, which made me expect other `Mapping`s would as well. #### Expected Output I expected `s.map(MissingDict({"a": "c"}))` to do something like: ```python s.map(lambda x: MissingDict({"a": "c"})[x]) # 0 c # 1 c # 2 b # dtype: object ``` #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2018.9 dateutil : 2.7.5 pip : 19.3.1 setuptools : 41.6.0 Cython : 0.29.14 pytest : 5.2.2 hypothesis : 4.44.1 sphinx : 2.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.0.3 numexpr : 2.7.0 odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : 0.15.1 pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : None tables : 3.6.1 xarray : 0.14.0 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/29733/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29733/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29734
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29734/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29734/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29734/events
https://github.com/pandas-dev/pandas/issues/29734
525,632,039
MDU6SXNzdWU1MjU2MzIwMzk=
29,734
Pandas dropna throwing ValueError: "Cannot convert non-finite values (NA or inf) to integer"
{ "avatar_url": "https://avatars.githubusercontent.com/u/110564?v=4", "events_url": "https://api.github.com/users/dumbledad/events{/privacy}", "followers_url": "https://api.github.com/users/dumbledad/followers", "following_url": "https://api.github.com/users/dumbledad/following{/other_user}", "gists_url": "https://api.github.com/users/dumbledad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dumbledad", "id": 110564, "login": "dumbledad", "node_id": "MDQ6VXNlcjExMDU2NA==", "organizations_url": "https://api.github.com/users/dumbledad/orgs", "received_events_url": "https://api.github.com/users/dumbledad/received_events", "repos_url": "https://api.github.com/users/dumbledad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dumbledad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dumbledad/subscriptions", "type": "User", "url": "https://api.github.com/users/dumbledad" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
null
3
2019-11-20T07:47:27Z
2021-07-23T04:56:25Z
2021-07-23T04:56:25Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python long_summary = long_summary.dropna(axis='columns', how='all') ``` #### Problem description that simple line throws an exception: > ValueError: Cannot convert non-finite values (NA or inf) to integer I cannot see how calling dropna would lead to this exception. Why would dropna try to convert any values to an integer? Is this a bug or am I misunderstanding dropna? #### Actual output ```` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-88-b4926abd4d81> in <module> ----> 1 long_summary = long_summary.dropna(axis='columns', how='all') c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\frame.py in dropna(self, axis, how, thresh, subset, inplace) 4860 agg_obj = self.take(indices, axis=agg_axis) 4861 -> 4862 count = agg_obj.count(axis=agg_axis) 4863 4864 if thresh is not None: c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\frame.py in count(self, axis, level, numeric_only) 7848 result = Series(counts, index=frame._get_agg_axis(axis)) 7849 -> 7850 return result.astype("int64") 7851 7852 def _count_level(self, level, axis=0, numeric_only=False): c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\generic.py in astype(self, dtype, copy, errors, **kwargs) 5880 # else, only a single dtype is given 5881 new_data = self._data.astype( -> 5882 dtype=dtype, copy=copy, errors=errors, **kwargs 5883 ) 5884 return self._constructor(new_data).__finalize__(self) c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\internals\managers.py in astype(self, dtype, **kwargs) 579 580 def astype(self, dtype, **kwargs): --> 581 return self.apply("astype", dtype=dtype, **kwargs) 582 583 def convert(self, **kwargs): c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\internals\managers.py in apply(self, f, axes, filter, do_integrity_check, consolidate, **kwargs) 436 kwargs[k] = obj.reindex(b_items, axis=axis, copy=align_copy) 437 --> 438 applied = getattr(b, f)(**kwargs) 439 result_blocks = _extend_blocks(applied, result_blocks) 440 c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\internals\blocks.py in astype(self, dtype, copy, errors, values, **kwargs) 557 558 def astype(self, dtype, copy=False, errors="raise", values=None, **kwargs): --> 559 return self._astype(dtype, copy=copy, errors=errors, values=values, **kwargs) 560 561 def _astype(self, dtype, copy=False, errors="raise", values=None, **kwargs): c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\internals\blocks.py in _astype(self, dtype, copy, errors, values, **kwargs) 641 # _astype_nansafe works fine with 1-d only 642 vals1d = values.ravel() --> 643 values = astype_nansafe(vals1d, dtype, copy=True, **kwargs) 644 645 # TODO(extension) c:\users\timregan\appdata\local\programs\python\python37\lib\site-packages\pandas\core\dtypes\cast.py in astype_nansafe(arr, dtype, copy, skipna) 698 if not np.isfinite(arr).all(): 699 raise ValueError( --> 700 "Cannot convert non-finite values (NA or inf) to " "integer" 701 ) 702 ValueError: Cannot convert non-finite values (NA or inf) to integer ```` #### Expected Output I expect columns containing only NaNs to be dropped, without any attempt at conversion to int64 #### 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 79 Stepping 1, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.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.9.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None None </details>
{ "+1": 5, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 5, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29734/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29734/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29735
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29735/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29735/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29735/events
https://github.com/pandas-dev/pandas/issues/29735
525,771,207
MDU6SXNzdWU1MjU3NzEyMDc=
29,735
sort_index on a multiindexed DataFrame with sparse columns fills with NaNs
{ "avatar_url": "https://avatars.githubusercontent.com/u/8655118?v=4", "events_url": "https://api.github.com/users/MisterKeefe/events{/privacy}", "followers_url": "https://api.github.com/users/MisterKeefe/followers", "following_url": "https://api.github.com/users/MisterKeefe/following{/other_user}", "gists_url": "https://api.github.com/users/MisterKeefe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MisterKeefe", "id": 8655118, "login": "MisterKeefe", "node_id": "MDQ6VXNlcjg2NTUxMTg=", "organizations_url": "https://api.github.com/users/MisterKeefe/orgs", "received_events_url": "https://api.github.com/users/MisterKeefe/received_events", "repos_url": "https://api.github.com/users/MisterKeefe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MisterKeefe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MisterKeefe/subscriptions", "type": "User", "url": "https://api.github.com/users/MisterKeefe" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "009800", "de...
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/18493550?v=4", "events_url": "https://api.github.com/users/ylin00/events{/privacy}", "followers_url": "https://api.github.com/users/ylin00/followers", "following_url": "https://api.github.com/users/ylin00/following{/other_user}", "gists_url": "https://api.github.com/users/ylin00/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ylin00", "id": 18493550, "login": "ylin00", "node_id": "MDQ6VXNlcjE4NDkzNTUw", "organizations_url": "https://api.github.com/users/ylin00/orgs", "received_events_url": "https://api.github.com/users/ylin00/received_events", "repos_url": "https://api.github.com/users/ylin00/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ylin00/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ylin00/subscriptions", "type": "User", "url": "https://api.github.com/users/ylin00" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/18493550?v=4", "events_url": "https://api.github.com/users/ylin00/events{/privacy}", "followers_url": "https://api.github.com/users/ylin00/followers", "following_url": "https://api.github.com/users/ylin00/following{/other_user}", "gists_ur...
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2019-11-20T12:24:32Z
2020-09-12T21:23:21Z
2020-09-12T21:23:21Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd from scipy.sparse import csr_matrix f = pd.DataFrame.sparse.from_spmatrix(csr_matrix((4, 4)), index=pd.MultiIndex.from_product([[1, 2], [1,2]])) f f.sort_index(level=0) ``` #### Problem description When I create a MultiIndexed DataFrame with sparse columns, then call `sort_index()`, in the result `0.0` (the sparse fill value) has been replaced with `NaN` -- but it seems like only for columns which are all the fill value. It seems like this might also be an issue with `RangeIndex` as well, since if I make a simpler `DataFrame` and call `sort_index`, without any arguments it's ok but adding `level=0` (or in fact `level=(anything)` as a kwarg will cause the frame to be filled with `NaN` without raising any kind of warning I would expect the following behaviour: - Values preserved for `MultiIndex` - For `RangeIndex`, the level keyword should either be totally ignored (no impact on output) or should not be valid to pass in. I don't think this is a duplicate, I searched the tracker but the combination of sparse + multiindex seems to be rare #### Expected Output ```python >>> f.sort_index(level=0) 0 1 2 3 1 1 0.0 0.0 0.0 0.0 2 0.0 0.0 0.0 0.0 2 1 0.0 0.0 0.0 0.0 2 0.0 0.0 0.0 0.0 ``` #### Actual Output ```python >>> f.sort_index(level=0) 0 1 2 3 1 1 NaN NaN NaN NaN 2 NaN NaN NaN NaN 2 1 NaN NaN NaN NaN 2 NaN NaN NaN NaN ``` #### 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-36-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.2.2 setuptools : 41.0.1 Cython : 0.29.14 pytest : 3.10.1 hypothesis : None sphinx : 2.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.0 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.2 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/29735/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29735/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29736
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29736/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29736/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29736/events
https://github.com/pandas-dev/pandas/pull/29736
525,785,513
MDExOlB1bGxSZXF1ZXN0MzQzMzQwNzc4
29,736
xfail clipboard for now
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "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-11-20T12:54:01Z
2019-11-20T14:09:54Z
2019-11-20T14:09:51Z
CONTRIBUTOR
null
xref #29676, https://github.com/pandas-dev/pandas/pull/29712.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29736/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29736/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29736.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29736", "merged_at": "2019-11-20T14:09:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29736.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29736" }
https://api.github.com/repos/pandas-dev/pandas/issues/29737
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29737/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29737/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29737/events
https://github.com/pandas-dev/pandas/pull/29737
525,811,867
MDExOlB1bGxSZXF1ZXN0MzQzMzYyNDg0
29,737
DOC: Add link to dev calendar and meeting notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2019-11-20T13:43:09Z
2019-11-25T14:03:56Z
2019-11-25T14:03:56Z
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/29737/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29737/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29737.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29737", "merged_at": "2019-11-25T14:03:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29737.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29737" }
https://api.github.com/repos/pandas-dev/pandas/issues/29738
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29738/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29738/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29738/events
https://github.com/pandas-dev/pandas/issues/29738
525,818,426
MDU6SXNzdWU1MjU4MTg0MjY=
29,738
API: ExtensionArrays and conversion to "native" types (eg in tolist, to_dict, iteration, ..)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtyp...
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
6
2019-11-20T13:54:39Z
2020-11-19T00:34:28Z
null
MEMBER
null
We try to consistently return python objects (instead of numpy scalars) in certain functions like `tolist`, `to_dict`, `itertuples/items`, .. (we have had quite some issues fixing this in several cases). However, currently we don't do that for extension dtypes (and don't have any mechanism to ask for this): ``` In [33]: type(pd.Series([1, 2], dtype='int64').tolist()[0]) Out[33]: int In [34]: type(pd.Series([1, 2], dtype='Int64').tolist()[0]) Out[34]: numpy.int64 In [36]: type(pd.Series([1, 2], dtype='int64').to_dict()[0]) Out[36]: int In [37]: type(pd.Series([1, 2], dtype='Int64').to_dict()[0]) Out[37]: numpy.int64 ``` ``` In [45]: s = pd.Series([1, 2], dtype='int64') In [46]: type(list(s.iteritems())[0][1]) Out[46]: int In [47]: s = pd.Series([1, 2], dtype='Int64') In [48]: type(list(s.iteritems())[0][1]) Out[48]: numpy.int64 ``` Should we add some API to ExtensionArray to provide this? Eg a method to iterate through the elements that returns "native" objects?
{ "+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/29738/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29738/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29739
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29739/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29739/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29739/events
https://github.com/pandas-dev/pandas/pull/29739
525,863,938
MDExOlB1bGxSZXF1ZXN0MzQzNDA1NTU1
29,739
DOC: fix typos
{ "avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4", "events_url": "https://api.github.com/users/bwignall/events{/privacy}", "followers_url": "https://api.github.com/users/bwignall/followers", "following_url": "https://api.github.com/users/bwignall/following{/other_user}", "gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bwignall", "id": 5581066, "login": "bwignall", "node_id": "MDQ6VXNlcjU1ODEwNjY=", "organizations_url": "https://api.github.com/users/bwignall/orgs", "received_events_url": "https://api.github.com/users/bwignall/received_events", "repos_url": "https://api.github.com/users/bwignall/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bwignall/subscriptions", "type": "User", "url": "https://api.github.com/users/bwignall" }
[ { "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-11-20T15:09:31Z
2019-11-20T16:40:39Z
2019-11-20T16:31:34Z
CONTRIBUTOR
null
Changes only words in comments; function names not touched.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29739/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29739/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29739.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29739", "merged_at": "2019-11-20T16:31:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29739.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29739" }
https://api.github.com/repos/pandas-dev/pandas/issues/29740
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29740/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29740/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29740/events
https://github.com/pandas-dev/pandas/issues/29740
525,878,049
MDU6SXNzdWU1MjU4NzgwNDk=
29,740
Different index when creating a DataFrame than when changing a column in the DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1707139?v=4", "events_url": "https://api.github.com/users/Terseus/events{/privacy}", "followers_url": "https://api.github.com/users/Terseus/followers", "following_url": "https://api.github.com/users/Terseus/following{/other_user}", "gists_url": "https://api.github.com/users/Terseus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Terseus", "id": 1707139, "login": "Terseus", "node_id": "MDQ6VXNlcjE3MDcxMzk=", "organizations_url": "https://api.github.com/users/Terseus/orgs", "received_events_url": "https://api.github.com/users/Terseus/received_events", "repos_url": "https://api.github.com/users/Terseus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Terseus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Terseus/subscriptions", "type": "User", "url": "https://api.github.com/users/Terseus" }
[]
closed
false
null
[]
null
6
2019-11-20T15:31:12Z
2019-12-04T12:43:26Z
2019-12-04T12:43:26Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas from pandas.testing import assert_frame_equal if __name__ == "__main__": df_left = pandas.DataFrame(data={'number': [1, 2, 3]}) df_right = pandas.DataFrame(data={1: [2, 4, 6]}) df_left[1] = df_left['number'].map(lambda x: x * 2) df_left.drop('number', axis=1, inplace=True) assert_frame_equal(df_left, df_right) ``` The result of running this code is: ``` Traceback (most recent call last): File "pandas_index_bug.py", line 10, in <module> assert_frame_equal(df_left, df_right) File "/home/terseus/.cache/pypoetry/virtualenvs/pandas-index-bug-py3.7/lib/python3.7/site-packages/pandas/util/testing.py", line 1372, in assert_frame_equal obj="{obj}.columns".format(obj=obj), File "/home/terseus/.cache/pypoetry/virtualenvs/pandas-index-bug-py3.7/lib/python3.7/site-packages/pandas/util/testing.py", line 635, in assert_index_equal _check_types(left, right, obj=obj) File "/home/terseus/.cache/pypoetry/virtualenvs/pandas-index-bug-py3.7/lib/python3.7/site-packages/pandas/util/testing.py", line 611, in _check_types assert_class_equal(l, r, exact=exact, obj=obj) File "/home/terseus/.cache/pypoetry/virtualenvs/pandas-index-bug-py3.7/lib/python3.7/site-packages/pandas/util/testing.py", line 728, in assert_class_equal raise_assert_detail(obj, msg, repr_class(left), repr_class(right)) File "/home/terseus/.cache/pypoetry/virtualenvs/pandas-index-bug-py3.7/lib/python3.7/site-packages/pandas/util/testing.py", line 932, in raise_assert_detail raise AssertionError(msg) AssertionError: DataFrame.columns are different DataFrame.columns classes are not equivalent [left]: Index([1], dtype='object') [right]: Int64Index([1], dtype='int64') ``` #### Problem description Pandas assigns a different index when creating a dataframe with a given column than when adding that same column to an existing dataframe. Please refer to the code example to see the behavior I'm trying to describe. #### Expected Output I expected that assert to *not* raise an `AssertionError`. #### Output of ``pd.show_versions()`` <details> ```python Python 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pandas >>> pandas.show_versions() INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Linux OS-release : 5.3.5-arch1-1-ARCH machine : x86_64 processor : byteorder : little LC_ALL : None LANG : es_ES.UTF-8 LOCALE : es_ES.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.0.3 setuptools : 40.8.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None >>> ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29740/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29740/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29741
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29741/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29741/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29741/events
https://github.com/pandas-dev/pandas/pull/29741
525,879,153
MDExOlB1bGxSZXF1ZXN0MzQzNDE3ODY1
29,741
TYP: disallow comment-based annotation syntax
{ "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": "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": "ea91a4", "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-11-20T15:32:52Z
2019-11-21T16:27:40Z
2019-11-21T16:27:40Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29741/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29741/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29741.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29741", "merged_at": "2019-11-21T16:27:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29741.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29741" }
https://api.github.com/repos/pandas-dev/pandas/issues/29742
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29742/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29742/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29742/events
https://github.com/pandas-dev/pandas/issues/29742
525,880,769
MDU6SXNzdWU1MjU4ODA3Njk=
29,742
DEPR: deprecate `label` kwarg from `lreshape`
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-20T15:35:11Z
2019-12-12T13:10:42Z
2019-12-12T13:10:42Z
MEMBER
null
The argument is not used in the function. xref #29627
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29742/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29742/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29743
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29743/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29743/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29743/events
https://github.com/pandas-dev/pandas/pull/29743
525,883,677
MDExOlB1bGxSZXF1ZXN0MzQzNDIxNjQ4
29,743
io/parsers: ensure decimal is str on PythonParser
{ "avatar_url": "https://avatars.githubusercontent.com/u/108725?v=4", "events_url": "https://api.github.com/users/fsouza/events{/privacy}", "followers_url": "https://api.github.com/users/fsouza/followers", "following_url": "https://api.github.com/users/fsouza/following{/other_user}", "gists_url": "https://api.github.com/users/fsouza/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fsouza", "id": 108725, "login": "fsouza", "node_id": "MDQ6VXNlcjEwODcyNQ==", "organizations_url": "https://api.github.com/users/fsouza/orgs", "received_events_url": "https://api.github.com/users/fsouza/received_events", "repos_url": "https://api.github.com/users/fsouza/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fsouza/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fsouza/subscriptions", "type": "User", "url": "https://api.github.com/users/fsouza" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "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-11-20T15:39:46Z
2019-11-22T15:46:06Z
2019-11-22T15:35:22Z
CONTRIBUTOR
null
- [x] closes #29650 - [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/29743/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29743/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29743.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29743", "merged_at": "2019-11-22T15:35:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29743.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29743" }
https://api.github.com/repos/pandas-dev/pandas/issues/29744
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29744/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29744/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29744/events
https://github.com/pandas-dev/pandas/pull/29744
525,904,538
MDExOlB1bGxSZXF1ZXN0MzQzNDM5MzY1
29,744
DEPR: remove is_period, is_datetimetz
{ "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" }
[]
closed
false
null
[]
null
1
2019-11-20T16:09:23Z
2019-11-21T15:43:36Z
2019-11-21T13:24:19Z
MEMBER
null
deprecated in 0.24.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29744/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29744/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29744.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29744", "merged_at": "2019-11-21T13:24:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29744.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29744" }
https://api.github.com/repos/pandas-dev/pandas/issues/29745
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29745/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29745/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29745/events
https://github.com/pandas-dev/pandas/issues/29745
525,930,754
MDU6SXNzdWU1MjU5MzA3NTQ=
29,745
Feature request: plot(subplots=levels)
{ "avatar_url": "https://avatars.githubusercontent.com/u/16045385?v=4", "events_url": "https://api.github.com/users/soerenwolfers/events{/privacy}", "followers_url": "https://api.github.com/users/soerenwolfers/followers", "following_url": "https://api.github.com/users/soerenwolfers/following{/other_user}", "gists_url": "https://api.github.com/users/soerenwolfers/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/soerenwolfers", "id": 16045385, "login": "soerenwolfers", "node_id": "MDQ6VXNlcjE2MDQ1Mzg1", "organizations_url": "https://api.github.com/users/soerenwolfers/orgs", "received_events_url": "https://api.github.com/users/soerenwolfers/received_events", "repos_url": "https://api.github.com/users/soerenwolfers/repos", "site_admin": false, "starred_url": "https://api.github.com/users/soerenwolfers/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soerenwolfers/subscriptions", "type": "User", "url": "https://api.github.com/users/soerenwolfers" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, ...
open
false
null
[]
null
0
2019-11-20T16:49:09Z
2019-12-01T21:21:07Z
null
NONE
null
At the moment, the `subplots` parameter in `df.plot()` only supports boolean values: Generate either as many plots as there are columns or generate a single plot with all columns. It would be nice if `subplots` understood level specifications and generate one plot for each unique value in the corresponding level(s) of a multi-index type `columns` index. #### Code Sample Let ```python import numpy as np import pandas as pd df = pd.DataFrame([np.sin(np.linspace(0,y,10))+z for y in [1,2,3] for z in [10,20]]).T df.columns = pd.MultiIndex.from_tuples([(y,z) for y in ['Y1','Y2','Y3'] for z in ['Z1','Z2']],names=['Y','Z']) ``` ``` Y Y1 Y2 Y3 Z Z1 Z2 Z1 Z2 Z1 Z2 0 10.000000 20.000000 10.000000 20.000000 10.000000 20.000000 1 10.110883 20.110883 10.220398 20.220398 10.327195 20.327195 2 10.220398 20.220398 10.429956 20.429956 10.618370 20.618370 3 10.327195 20.327195 10.618370 20.618370 10.841471 20.841471 4 10.429956 20.429956 10.776372 20.776372 10.971938 20.971938 5 10.527415 20.527415 10.896192 20.896192 10.995408 20.995408 6 10.618370 20.618370 10.971938 20.971938 10.909297 20.909297 7 10.701698 20.701698 10.999884 20.999884 10.723086 20.723086 8 10.776372 20.776372 10.978656 20.978656 10.457273 20.457273 9 10.841471 20.841471 10.909297 20.909297 10.141120 20.141120 ``` The proposed feature would allow ``` [df.xs(val,level='Z',axis=1).plot().set_title(val) for val in df.columns.levels[1]] ``` to be replaced by ``` df.plot(subplots='Z') ``` More generally, `df.plot(subplots=['Z','Y'])` would draw one plot for each combination of values Z and Y. For the particular dataframe defined above, where 'Z' and 'Y' are the only column levels, this would be equivalent to subplots=True, though it would be a nice bonus feature if the subplots were generated on a grid, with Y varying in the horizontal grid direction, and Z varying the vertical grid direction.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29745/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29745/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29746
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29746/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29746/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29746/events
https://github.com/pandas-dev/pandas/issues/29746
525,935,507
MDU6SXNzdWU1MjU5MzU1MDc=
29,746
GroupBy Regression with Categorical On Master
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality t...
closed
false
null
[]
null
3
2019-11-20T16:56:13Z
2020-03-29T11:37:46Z
2020-03-29T11:37:46Z
MEMBER
null
Seems to be an issue on master as this works on 0.25.3: ```python >>> ser = pd.Series(pd.Categorical(["first", "second", "third", "fourth"], ordered=True)) >>> ser.groupby([1, 1, 1, 1]).first() [first] Categories (4, object): [first < fourth < second < third] ``` But fails on master: ```python >>> ser = pd.Series(pd.Categorical(["first", "second", "third", "fourth"], ordered=True)) >>> ser.groupby([1, 1, 1, 1]).first() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/williamayd/clones/pandas/pandas/core/groupby/groupby.py", line 1368, in f return self._cython_agg_general(alias, alt=npfunc, **kwargs) File "/Users/williamayd/clones/pandas/pandas/core/groupby/groupby.py", line 880, in _cython_agg_general obj._values, how, min_count=min_count File "/Users/williamayd/clones/pandas/pandas/core/groupby/ops.py", line 572, in aggregate "aggregate", values, how, axis, min_count=min_count File "/Users/williamayd/clones/pandas/pandas/core/groupby/ops.py", line 456, in _cython_operation "{dtype} dtype not supported".format(dtype=values.dtype) NotImplementedError: category dtype not supported ``` @jbrockmendel for visibility. Looking at this on my end
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29746/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29746/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29747
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29747/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29747/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29747/events
https://github.com/pandas-dev/pandas/pull/29747
525,960,019
MDExOlB1bGxSZXF1ZXN0MzQzNDg2MjYz
29,747
CI: fix imminent mypy failure
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-20T17:33:13Z
2019-11-20T21:22:43Z
2019-11-20T21:03:52Z
MEMBER
null
`pandas\io\pytables.py:2048: error: "None" has no attribute "nrows"` seen locally after merging master and running mypy
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29747/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29747/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29747.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29747", "merged_at": "2019-11-20T21:03:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29747.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29747" }
https://api.github.com/repos/pandas-dev/pandas/issues/29748
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29748/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29748/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29748/events
https://github.com/pandas-dev/pandas/pull/29748
525,962,028
MDExOlB1bGxSZXF1ZXN0MzQzNDg3OTIx
29,748
CLN: use f-strings in core.categorical.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "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
[]
{ "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-11-20T17:37:07Z
2019-11-21T12:20:04Z
2019-11-21T12:19:53Z
CONTRIBUTOR
null
also rename an inner function from ``f`` to ``func``, which is clearer.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29748/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29748/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29748.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29748", "merged_at": "2019-11-21T12:19:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29748.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29748" }
https://api.github.com/repos/pandas-dev/pandas/issues/29749
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29749/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29749/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29749/events
https://github.com/pandas-dev/pandas/issues/29749
525,978,349
MDU6SXNzdWU1MjU5NzgzNDk=
29,749
Multiindex with single level no longer allows selecting columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[ { "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-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2019-11-20T18:10:14Z
2020-11-25T03:18:36Z
2020-11-25T03:18:36Z
NONE
null
This works fine in pandas 0.22.0 but fails in 0.25.3 It appears a bug may have been introduced. I have some old code that accidentally created a MultiIndex with a single level instead of a regular index, but everything worked fine with pandas 0.22.0. However, in new versions of pandas, that MultiIndex breaks pandas ability to select columns and gives an extremely misleading error message. In this case, I don't need the MultiIndex, so I can just remove that; but I think this code ought to work. (And it did work in the old 0.22.0 version). ``` import numpy as np import pandas as pd names = ['FirstColumn', 'SecondColumn'] data = np.array([[5,6],[7,8]]) df = pd.DataFrame(data, columns = [names]) #Bug: the brackets around "[names]" creates a #multi-index but that was unintentional. (It's still legal, though). #But "df.head()" and "df.describe()" both look normal so you can't see anything is wrong. #All of the following work as expected in 0.22.0 but give misleading errors in 0.25.3. #These all work with a regular index, but the 0.25.3 MultIndex doesn't like it. df['FirstColumn'] #ERROR! df.FirstColumn #ERROR! df.loc[:,'FirstColumn'] #ERROR! #This works, but it shouldn't be necessary to do this. The above syntax is more standard. df.xs('FirstColumn', axis=1, level=0) ``` Those failing statements give misleading errors about ```only integer scalar arrays can be converted to a scalar index``` but that code looks like it ought to work, and it did work fine in the previous versions of pandas. Can we make the standard methods of selecting columns work with the MultiIndex?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29749/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29749/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29750
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29750/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29750/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29750/events
https://github.com/pandas-dev/pandas/pull/29750
525,987,816
MDExOlB1bGxSZXF1ZXN0MzQzNTA5MzQz
29,750
PERF: speed-up when scalar not found in Categorical's categories
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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" }
1
2019-11-20T18:23:43Z
2019-11-21T13:45:24Z
2019-11-21T13:39:55Z
CONTRIBUTOR
null
I took a look at the code in core/category.py and found a usage of np.repeat for creating boolean arrays. np.repeat is much slower than np.zeros/np.ones for that purpose. ```python >>> n = 1_000_000 >>> c = pd.Categorical(['a'] * n + ['b'] * n + ['c'] * n) >>> %timeit c == 'x' 17 ms ± 270 µs per loop # master 82.6 µs ± 488 ns per loop # this PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29750/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29750/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29750.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29750", "merged_at": "2019-11-21T13:39:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29750.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29750" }
https://api.github.com/repos/pandas-dev/pandas/issues/29751
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29751/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29751/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29751/events
https://github.com/pandas-dev/pandas/issues/29751
525,997,261
MDU6SXNzdWU1MjU5OTcyNjE=
29,751
Inconsistent .loc slicing behaviour with NaNs in MultiIndex dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/15961048?v=4", "events_url": "https://api.github.com/users/pepicello/events{/privacy}", "followers_url": "https://api.github.com/users/pepicello/followers", "following_url": "https://api.github.com/users/pepicello/following{/other_user}", "gists_url": "https://api.github.com/users/pepicello/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pepicello", "id": 15961048, "login": "pepicello", "node_id": "MDQ6VXNlcjE1OTYxMDQ4", "organizations_url": "https://api.github.com/users/pepicello/orgs", "received_events_url": "https://api.github.com/users/pepicello/received_events", "repos_url": "https://api.github.com/users/pepicello/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pepicello/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pepicello/subscriptions", "type": "User", "url": "https://api.github.com/users/pepicello" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/30443978?v=4", "events_url": "https://api.github.com/users/kasim95/events{/privacy}", "followers_url": "https://api.github.com/users/kasim95/followers", "following_url": "https://api.github.com/users/kasim95/following{/other_user}", "gists_url": "https://api.github.com/users/kasim95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kasim95", "id": 30443978, "login": "kasim95", "node_id": "MDQ6VXNlcjMwNDQzOTc4", "organizations_url": "https://api.github.com/users/kasim95/orgs", "received_events_url": "https://api.github.com/users/kasim95/received_events", "repos_url": "https://api.github.com/users/kasim95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kasim95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kasim95/subscriptions", "type": "User", "url": "https://api.github.com/users/kasim95" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/30443978?v=4", "events_url": "https://api.github.com/users/kasim95/events{/privacy}", "followers_url": "https://api.github.com/users/kasim95/followers", "following_url": "https://api.github.com/users/kasim95/following{/other_user}", "gists...
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2019-11-20T18:31:52Z
2021-01-07T13:58:08Z
2021-01-07T13:58:08Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd import numpy as np a = pd.DataFrame([[1, 2, 3], [4, 5, 6], [7, 8, 9]]).set_index([0, 1]) b = pd.DataFrame([[1, np.nan, 3], [4, np.nan, 6], [7, np.nan, 9]]).set_index([0, 1]) a_idx = a.index[1] b_idx = b.index[1] ``` ``` >>> a.loc[a_idx:] 2 0 1 4 5 6 7 8 9 >>> a.loc[:a_idx] 2 0 1 1 2 3 4 5 6 >>> b.loc[b_idx:] 2 0 1 7 NaN 9 >>> b.loc[:b_idx] 2 0 1 1 NaN 3 4 NaN 6 ``` #### Problem description As above, slicing on MultiIndex has different behaviours with nans: it excludes the current index of selection from the slice. This is possibly because - rightly so - there is no match on NaNs when comparing the indices, but if that is the case, this should also not work: ``` >>> b.loc[b_idx] 2 6 Name: (4, nan), dtype: int64 ``` Note: might be a duplicate of #25154, but OP does not slice directly on the MultiIndex with NaNs, so I am not sure if fixing that would also fix this issue. #### Expected Output ``` >>> b.loc[b_idx:] 2 0 1 4 NaN 6 7 NaN 9 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.1 numpy : 1.16.4 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.2 setuptools : 41.0.1 Cython : 0.29.13 pytest : 5.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : 2.6.2 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.7 tables : None xarray : 0.12.3 xlrd : 1.2.0 xlwt : None xlsxwriter : 1.1.8 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29751/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29751/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29752
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29752/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29752/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29752/events
https://github.com/pandas-dev/pandas/issues/29752
526,011,856
MDU6SXNzdWU1MjYwMTE4NTY=
29,752
ENH: Allow opting in to new dtypes on I/O routines via keyword to I/O routines
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issue...
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
59
2019-11-20T18:44:23Z
2021-03-25T18:46:31Z
null
CONTRIBUTOR
null
With the new dtypes (`IntegerArray`, `StringArray`, etc.), if you want to use them when reading in data, you have to specify the types for all of the columns. It would be nice to have the option to use the new dtypes for all columns as a keyword to `read_csv()`, `read_excel()`, etc. (ref. discussion in pandas dev meeting on 11/20/19)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29752/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29752/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29753
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29753/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29753/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29753/events
https://github.com/pandas-dev/pandas/pull/29753
526,050,368
MDExOlB1bGxSZXF1ZXN0MzQzNTY3ODIw
29,753
Less blocks in groupby
{ "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" }
[]
closed
false
null
[]
null
10
2019-11-20T19:08:23Z
2020-01-16T00:35:22Z
2019-11-23T23:15:50Z
MEMBER
null
This isn't complete (2 tests fail) but this is arguably controversial, so putting up for review. With #29124 we *could* get rid of the DataFrame aggregation methods that go by blocks. This would hopefully make our code easier to grok and move towards only "one way of doing things" in groupby. This causes a definite regression for very wide DataFrames with a small number of rows. If you look at the new benchmark created, when testing Frames of N rows x 10_000 columns where N is one of 100, 1000 or 10_000 here are the results: ```sh before after ratio [6b3ba986] [124a135a] <categorical-regression> <easier-groupby> + 3.94±0.2ms 2.55±0.1s 646.23 groupby.GroupByWide.time_wide(100) + 38.3±6ms 2.49±0.02s 64.91 groupby.GroupByWide.time_wide(1000) ``` So drastically slower at 100 rows, but we've already reached a break-even point by the time we get to 10,000 rows. The rest of the benchmarks don't cover wide data frames that well but here are the results for posterity (I think these are noise) ```sh before after ratio [6b3ba986] [124a135a] <categorical-regression> <easier-groupby> + 862±30μs 1.15±0.1ms 1.34 groupby.GroupByMethods.time_dtype_as_field('int', 'cummin', 'direct') + 412±7μs 533±50μs 1.29 groupby.GroupByMethods.time_dtype_as_group('float', 'tail', 'direct') + 300±10μs 366±10μs 1.22 groupby.GroupByMethods.time_dtype_as_group('object', 'all', 'direct') + 375±10ms 455±6ms 1.21 groupby.GroupByMethods.time_dtype_as_group('float', 'skew', 'transformation') + 287±6μs 335±20μs 1.17 groupby.GroupByMethods.time_dtype_as_group('object', 'shift', 'direct') + 252±2ms 290±10ms 1.15 groupby.GroupByMethods.time_dtype_as_group('float', 'unique', 'direct') + 414±3μs 469±10μs 1.13 groupby.GroupByMethods.time_dtype_as_group('float', 'tail', 'transformation') + 398±9ms 450±8ms 1.13 groupby.GroupByMethods.time_dtype_as_group('float', 'skew', 'direct') ``` @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29753/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29753/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29753.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29753", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29753.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29753" }
https://api.github.com/repos/pandas-dev/pandas/issues/29754
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29754/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29754/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29754/events
https://github.com/pandas-dev/pandas/pull/29754
526,162,476
MDExOlB1bGxSZXF1ZXN0MzQzNjc0MTI4
29,754
TYP: annotate queryables
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-20T20:16:30Z
2019-11-21T15:45:35Z
2019-11-21T13:02:31Z
MEMBER
null
Made possible by #29692
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29754/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29754/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29754.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29754", "merged_at": "2019-11-21T13:02:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29754.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29754" }
https://api.github.com/repos/pandas-dev/pandas/issues/29755
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29755/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29755/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29755/events
https://github.com/pandas-dev/pandas/pull/29755
526,204,888
MDExOlB1bGxSZXF1ZXN0MzQzNzEzNDI0
29,755
Remove Ambiguous Behavior of Tuple as Grouping
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "5319e7", "default": false, "description": "Functionality t...
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-11-20T20:54:13Z
2019-11-29T21:33:40Z
2019-11-25T23:44:13Z
MEMBER
null
follow up to #18314
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29755/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29755/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29755.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29755", "merged_at": "2019-11-25T23:44:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29755.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29755" }
https://api.github.com/repos/pandas-dev/pandas/issues/29756
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29756/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29756/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29756/events
https://github.com/pandas-dev/pandas/pull/29756
526,238,168
MDExOlB1bGxSZXF1ZXN0MzQzNzQxOTA4
29,756
CLN: io.pytables
{ "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "207de5", "default": false, "descri...
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-11-20T21:56:19Z
2019-11-21T15:46:31Z
2019-11-21T13:00:32Z
MEMBER
null
This is easy stuff broken off of a tough type-inference branch
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29756/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29756/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29756.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29756", "merged_at": "2019-11-21T13:00:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29756.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29756" }
https://api.github.com/repos/pandas-dev/pandas/issues/29757
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29757/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29757/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29757/events
https://github.com/pandas-dev/pandas/pull/29757
526,245,707
MDExOlB1bGxSZXF1ZXN0MzQzNzQ4MTE0
29,757
ANN: types for _create_storer
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-20T22:13:18Z
2019-11-25T23:16:18Z
2019-11-25T23:02:43Z
MEMBER
null
1) Annotate return type for _create_storer 2) Annotate other functions that we can reason about given 1 3) Fixups to address mypy warnings caused by 1 and 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/29757/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29757/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29757.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29757", "merged_at": "2019-11-25T23:02:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29757.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29757" }
https://api.github.com/repos/pandas-dev/pandas/issues/29758
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29758/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29758/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29758/events
https://github.com/pandas-dev/pandas/pull/29758
526,273,631
MDExOlB1bGxSZXF1ZXN0MzQzNzcxMjcw
29,758
STY: fstrings in io.pytables
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-20T23:26:32Z
2019-11-23T23:33:08Z
2019-11-23T23:10:38Z
MEMBER
null
honestly not sure why ive got such a bee in my bonnet about this file
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29758/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29758/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29758.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29758", "merged_at": "2019-11-23T23:10:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29758.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29758" }
https://api.github.com/repos/pandas-dev/pandas/issues/29759
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29759/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29759/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29759/events
https://github.com/pandas-dev/pandas/issues/29759
526,290,658
MDU6SXNzdWU1MjYyOTA2NTg=
29,759
TypeError: data type not understood
{ "avatar_url": "https://avatars.githubusercontent.com/u/55592042?v=4", "events_url": "https://api.github.com/users/tusharsp60/events{/privacy}", "followers_url": "https://api.github.com/users/tusharsp60/followers", "following_url": "https://api.github.com/users/tusharsp60/following{/other_user}", "gists_url": "https://api.github.com/users/tusharsp60/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tusharsp60", "id": 55592042, "login": "tusharsp60", "node_id": "MDQ6VXNlcjU1NTkyMDQy", "organizations_url": "https://api.github.com/users/tusharsp60/orgs", "received_events_url": "https://api.github.com/users/tusharsp60/received_events", "repos_url": "https://api.github.com/users/tusharsp60/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tusharsp60/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tusharsp60/subscriptions", "type": "User", "url": "https://api.github.com/users/tusharsp60" }
[ { "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-11-21T00:19:49Z
2020-02-17T15:23:49Z
2020-02-17T15:23:49Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here Reducer() #!/usr/bin/env python3 # coding: utf-8 # In[7]: import pandas as pd import sys import re data=pd.read_csv(sys.stdin,names=["LOCATION","Value"],dtype=['str','float64']) data["Value"]=data["Value"].str.strip() #data1=pd.DataFrame(data,columns=['LOCATION','Value'],dtype=['str','float']) #data["Value"]=data.Value.astype("float64") #data["Value"]=data["Value"].str.astype("float64") #data["Value"]=float(data["Value"]) #data["Value"]=data["Value"].astype(float) #s=pd.Series(creditsa['Value']) #pd.to_numeric(s) #df1=pd.DataFrame(data=s,columns=['Value']) #df1=data.groupby(["LOCATION"])["Value"].mean() print(data.info()) ``` #### Problem description unable to convert datatype of column Value to float. I have tried several possible ways of doing it(commented in above code) but I am getting below error. Can you please let me know what is the problem here. File "/usr/local/lib/python3.6/dist-packages/pandas/core/dtypes/common.py", line 2050, in pandas_dtype npdtype = np.dtype(dtype) TypeError: data type not understood During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/hadoop/reducer.py", line 13, in <module> data=pd.read_csv(sys.stdin,names=["LOCATION","Value"],dtype=['str','float64']) File "/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py", line 685, in parser_f return _read(filepath_or_buffer, kwds) File "/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py", line 457, in _read parser = TextFileReader(fp_or_buf, **kwds) File "/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py", line 895, in __init__ self._make_engine(self.engine) File "/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py", line 1135, in _make_engine self._engine = CParserWrapper(self.f, **self.options) File "/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py", line 1917, in __init__ self._reader = parsers.TextReader(src, **kwds) File "pandas/_libs/parsers.pyx", line 493, in pandas._libs.parsers.TextReader.__cinit__ File "/usr/local/lib/python3.6/dist-packages/pandas/core/dtypes/common.py", line 2054, in pandas_dtype raise TypeError("data type not understood") TypeError: data type not understood #### Expected Output dtype of Value column should be float #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29759/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29759/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29760
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29760/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29760/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29760/events
https://github.com/pandas-dev/pandas/pull/29760
526,299,847
MDExOlB1bGxSZXF1ZXN0MzQzNzkyNjU0
29,760
TST: add test for unused level indexing raises KeyError
{ "avatar_url": "https://avatars.githubusercontent.com/u/17522184?v=4", "events_url": "https://api.github.com/users/ganevgv/events{/privacy}", "followers_url": "https://api.github.com/users/ganevgv/followers", "following_url": "https://api.github.com/users/ganevgv/following{/other_user}", "gists_url": "https://api.github.com/users/ganevgv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ganevgv", "id": 17522184, "login": "ganevgv", "node_id": "MDQ6VXNlcjE3NTIyMTg0", "organizations_url": "https://api.github.com/users/ganevgv/orgs", "received_events_url": "https://api.github.com/users/ganevgv/received_events", "repos_url": "https://api.github.com/users/ganevgv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ganevgv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ganevgv/subscriptions", "type": "User", "url": "https://api.github.com/users/ganevgv" }
[ { "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" }
1
2019-11-21T00:52:57Z
2019-11-22T17:02:12Z
2019-11-22T17:02:09Z
CONTRIBUTOR
null
- [x] closes #20410 - [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/29760/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29760/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29760.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29760", "merged_at": "2019-11-22T17:02:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29760.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29760" }
https://api.github.com/repos/pandas-dev/pandas/issues/29761
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29761/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29761/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29761/events
https://github.com/pandas-dev/pandas/pull/29761
526,303,284
MDExOlB1bGxSZXF1ZXN0MzQzNzk1NDIz
29,761
TST: add test for rolling max with DatetimeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/17522184?v=4", "events_url": "https://api.github.com/users/ganevgv/events{/privacy}", "followers_url": "https://api.github.com/users/ganevgv/followers", "following_url": "https://api.github.com/users/ganevgv/following{/other_user}", "gists_url": "https://api.github.com/users/ganevgv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ganevgv", "id": 17522184, "login": "ganevgv", "node_id": "MDQ6VXNlcjE3NTIyMTg0", "organizations_url": "https://api.github.com/users/ganevgv/orgs", "received_events_url": "https://api.github.com/users/ganevgv/received_events", "repos_url": "https://api.github.com/users/ganevgv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ganevgv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ganevgv/subscriptions", "type": "User", "url": "https://api.github.com/users/ganevgv" }
[ { "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": "d4c5f9", "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-11-21T01:05:23Z
2019-11-30T01:14:42Z
2019-11-25T22:50:54Z
CONTRIBUTOR
null
- [x] closes #21096 - [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/29761/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29761/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29761.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29761", "merged_at": "2019-11-25T22:50:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29761.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29761" }
https://api.github.com/repos/pandas-dev/pandas/issues/29762
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29762/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29762/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29762/events
https://github.com/pandas-dev/pandas/pull/29762
526,306,276
MDExOlB1bGxSZXF1ZXN0MzQzNzk3ODEw
29,762
TST: add tests for period resample sum with min_count
{ "avatar_url": "https://avatars.githubusercontent.com/u/17522184?v=4", "events_url": "https://api.github.com/users/ganevgv/events{/privacy}", "followers_url": "https://api.github.com/users/ganevgv/followers", "following_url": "https://api.github.com/users/ganevgv/following{/other_user}", "gists_url": "https://api.github.com/users/ganevgv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ganevgv", "id": 17522184, "login": "ganevgv", "node_id": "MDQ6VXNlcjE3NTIyMTg0", "organizations_url": "https://api.github.com/users/ganevgv/orgs", "received_events_url": "https://api.github.com/users/ganevgv/received_events", "repos_url": "https://api.github.com/users/ganevgv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ganevgv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ganevgv/subscriptions", "type": "User", "url": "https://api.github.com/users/ganevgv" }
[ { "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
[]
null
4
2019-11-21T01:16:05Z
2020-01-22T13:25:02Z
2020-01-22T13:25:02Z
CONTRIBUTOR
null
- [x] closes #19974 - [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/29762/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29762/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29762.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29762", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29762.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29762" }
https://api.github.com/repos/pandas-dev/pandas/issues/29763
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29763/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29763/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29763/events
https://github.com/pandas-dev/pandas/pull/29763
526,310,017
MDExOlB1bGxSZXF1ZXN0MzQzODAwNzU4
29,763
TST: add test for ffill/bfill for non unique multilevel
{ "avatar_url": "https://avatars.githubusercontent.com/u/17522184?v=4", "events_url": "https://api.github.com/users/ganevgv/events{/privacy}", "followers_url": "https://api.github.com/users/ganevgv/followers", "following_url": "https://api.github.com/users/ganevgv/following{/other_user}", "gists_url": "https://api.github.com/users/ganevgv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ganevgv", "id": 17522184, "login": "ganevgv", "node_id": "MDQ6VXNlcjE3NTIyMTg0", "organizations_url": "https://api.github.com/users/ganevgv/orgs", "received_events_url": "https://api.github.com/users/ganevgv/received_events", "repos_url": "https://api.github.com/users/ganevgv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ganevgv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ganevgv/subscriptions", "type": "User", "url": "https://api.github.com/users/ganevgv" }
[ { "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-11-21T01:29:57Z
2019-11-23T23:04:51Z
2019-11-23T23:04:42Z
CONTRIBUTOR
null
- [x] closes #19437 - [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/29763/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29763/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29763.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29763", "merged_at": "2019-11-23T23:04:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29763.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29763" }
https://api.github.com/repos/pandas-dev/pandas/issues/29764
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29764/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29764/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29764/events
https://github.com/pandas-dev/pandas/issues/29764
526,350,770
MDU6SXNzdWU1MjYzNTA3NzA=
29,764
GroupBy Doesn't Always Maintain Column Index Name
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, ...
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2019-11-21T03:59:38Z
2020-09-05T03:18:12Z
2020-09-05T03:18:12Z
MEMBER
null
Just as a follow up to #29124 discovered during #29753 - looks like the column name is dropped for any/all and transformation functions in groupby ```python >>> df = pd.DataFrame([[1]], columns=pd.Index(["a"], name="idx")) >>> df.groupby([1]).sum() idx a 1 1 >>> df.groupby([1]).any() a 1 True >>> df.groupby([1]).shift() a 0 NaN ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29764/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29764/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29765
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29765/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29765/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29765/events
https://github.com/pandas-dev/pandas/pull/29765
526,354,283
MDExOlB1bGxSZXF1ZXN0MzQzODM1Mzc1
29,765
REF: make Fixed.version a property
{ "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": "5319e7", "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" }
1
2019-11-21T04:14:30Z
2019-11-21T15:44:45Z
2019-11-21T13:31:20Z
MEMBER
null
Make things in this file incrementally less stateful
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29765/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29765/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29765.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29765", "merged_at": "2019-11-21T13:31:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29765.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29765" }
https://api.github.com/repos/pandas-dev/pandas/issues/29766
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29766/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29766/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29766/events
https://github.com/pandas-dev/pandas/pull/29766
526,369,783
MDExOlB1bGxSZXF1ZXN0MzQzODQ3OTQ5
29,766
DEPR: MultiIndex.to_hierarchical, labels
{ "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": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "5319e7", "default": false, "description": "Fun...
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-11-21T05:15:03Z
2019-11-25T23:30:21Z
2019-11-25T23:12:05Z
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/29766/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29766/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29766.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29766", "merged_at": "2019-11-25T23:12:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29766.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29766" }
https://api.github.com/repos/pandas-dev/pandas/issues/29767
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29767/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29767/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29767/events
https://github.com/pandas-dev/pandas/pull/29767
526,381,103
MDExOlB1bGxSZXF1ZXN0MzQzODU3MDU0
29,767
Reenabled no-unused-function in setup.py
{ "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" }
2
2019-11-21T05:55:15Z
2019-11-22T15:33:21Z
2019-11-22T15:33:17Z
MEMBER
null
This enables a flag that was disabled 4 years ago in https://github.com/pandas-dev/pandas/commit/e9fde88c47aab023cafa6c98d5654db9dc89197f but maybe worth reconsidering, even though we don't fail on warnings for extensions in CI This yielded the following on master: ```sh pandas/_libs/hashing.c:25313:20: warning: unused function '__pyx_memview_get_object' [-Wunused-function] pandas/_libs/hashing.c:25318:12: warning: unused function '__pyx_memview_set_object' [-Wunused-function] pandas/_libs/hashtable.c:63342:20: warning: unused function '__pyx_memview_get_object' [-Wunused-function] pandas/_libs/hashtable.c:63347:12: warning: unused function '__pyx_memview_set_object' [-Wunused-function] pandas/_libs/parsers.c:21453:18: warning: unused function '__pyx_f_6pandas_5_libs_7parsers__string_box_factorize' [-Wunused-function] pandas/_libs/tslibs/conversion.c:33247:20: warning: unused function '__pyx_memview_get_object' [-Wunused-function] pandas/_libs/tslibs/conversion.c:33252:12: warning: unused function '__pyx_memview_set_object' [-Wunused-function] pandas/_libs/tslibs/nattype.c:3496:18: warning: unused function '__pyx_pw_6pandas_5_libs_6tslibs_7nattype_4_NaT_1__hash__' [-Wunused-function] pandas/_libs/src/ujson/python/objToJSON.c:403:14: warning: unused function 'PyIntToINT64' [-Wunused-function] ``` I'm not sure what the `memview_set_object` and `memview_get_object` complaints are coming from just yet, but the rest are cleaned up in this PR
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29767/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29767/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29767.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29767", "merged_at": "2019-11-22T15:33:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29767.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29767" }
https://api.github.com/repos/pandas-dev/pandas/issues/29768
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29768/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29768/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29768/events
https://github.com/pandas-dev/pandas/issues/29768
526,386,620
MDU6SXNzdWU1MjYzODY2MjA=
29,768
CI: Action to assign issues fails when quotes are present
{ "avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4", "events_url": "https://api.github.com/users/ivirshup/events{/privacy}", "followers_url": "https://api.github.com/users/ivirshup/followers", "following_url": "https://api.github.com/users/ivirshup/following{/other_user}", "gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivirshup", "id": 8238804, "login": "ivirshup", "node_id": "MDQ6VXNlcjgyMzg4MDQ=", "organizations_url": "https://api.github.com/users/ivirshup/orgs", "received_events_url": "https://api.github.com/users/ivirshup/received_events", "repos_url": "https://api.github.com/users/ivirshup/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions", "type": "User", "url": "https://api.github.com/users/ivirshup" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "0e8a16", "default": true, "description": n...
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", ...
null
8
2019-11-21T06:12:16Z
2020-01-25T03:17:39Z
2020-01-25T03:17:39Z
CONTRIBUTOR
null
So, this is a little weird. Apparently I left such a bad comment on an issue, it failed CI 😄. I'm not sure how it got triggered, but looks like it's from a recently added workflow. The CI error has the contents of my comment, and I got an email that looks like this: <details> <summary> Notification email </summary> ------------ Run failed for master (6d11aa8) Repository: pandas-dev/pandas Workflow: Assign Duration: 16.0 seconds Finished: 2019-11-21 05:41:26 UTC [View results](https://github.com/pandas-dev/pandas/commit/6d11aa89fc06ebc55519507f6652dcfcba35a302/checks) Jobs: [cb4db6dd-e658-55b7-b337-8761517bc1a3](https://github.com/pandas-dev/pandas/runs/313172123) failed (1 annotation) — You are receiving this because this workflow ran on your branch. Manage your GitHub Actions notifications here. ------------------- </details> * [CI failure](https://github.com/pandas-dev/pandas/runs/313172123) - [Raw log](https://pipelines.actions.githubusercontent.com/xZyE9jtmkxWlfCAbyu1SHPJOlsa2huNFYcxohSTomy6EbdNZT9/_apis/pipelines/1/runs/857/signedlogcontent/3?urlExpires=2019-11-21T06%3A00%3A03.3232502Z&urlSigningMethod=HMACV1&urlSignature=vlq2JBJLcoJ3pFQnugH8M9AcGnopXrvuooUOaeU2eAA%3D) * [The comment](https://github.com/pandas-dev/pandas/issues/14177) Looks like this might be related to #29648, @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/29768/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29768/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29769
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29769/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29769/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29769/events
https://github.com/pandas-dev/pandas/issues/29769
526,501,363
MDU6SXNzdWU1MjY1MDEzNjM=
29,769
sort_values order ignored when sorting multiple columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/8113766?v=4", "events_url": "https://api.github.com/users/dzanaga/events{/privacy}", "followers_url": "https://api.github.com/users/dzanaga/followers", "following_url": "https://api.github.com/users/dzanaga/following{/other_user}", "gists_url": "https://api.github.com/users/dzanaga/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dzanaga", "id": 8113766, "login": "dzanaga", "node_id": "MDQ6VXNlcjgxMTM3NjY=", "organizations_url": "https://api.github.com/users/dzanaga/orgs", "received_events_url": "https://api.github.com/users/dzanaga/received_events", "repos_url": "https://api.github.com/users/dzanaga/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dzanaga/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dzanaga/subscriptions", "type": "User", "url": "https://api.github.com/users/dzanaga" }
[]
closed
false
null
[]
null
2
2019-11-21T10:27:13Z
2019-11-22T11:01:04Z
2019-11-22T11:01:03Z
NONE
null
I am having issues sorting multiple columns in reverse order: ``` x_vals = [0, 0, 2, 0, 1, 0, 0, 1, 1, 1] y_vals = [1, 2, 2, 2, 2, 0, 2, 1, 1, 2] df = pd.DataFrame({'x': x_vals, 'y': y_vals}) df0 = df.sort_values(['y', 'x']) df1 = df.sort_values(['y', 'x'], ascending=['False', 'True']) df2 = df.sort_values(['y', 'x'], ascending=['False', 'False']) df3 = df.sort_values(['y', 'x'], ascending=['True', 'False']) print(np.all(df0 == df1), np.all(df1 == df2), np.all(df2 == df3)) ``` returns `True True True`, e. g. I cannot manage to sort by `'y'` in reverse order. I would expect the comparisons to return `False False False`. The columns dataframes are always sorted in ascending order. If I do `df.sort_values('y', ascending=False)` then it works as expected and the y values are sorted in descending order. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-693.el7.x86_64 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.2 pytz : 2019.3 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.6.0.post20191101 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.9.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.0 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : None xarray : 0.13.0 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/29769/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29769/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29770
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29770/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29770/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29770/events
https://github.com/pandas-dev/pandas/issues/29770
526,512,272
MDU6SXNzdWU1MjY1MTIyNzI=
29,770
DataFrame.to_csv(quoting=csv.QUOTE_NONNUMERIC) quotes numeric values for dot separators
{ "avatar_url": "https://avatars.githubusercontent.com/u/9222111?v=4", "events_url": "https://api.github.com/users/jebob/events{/privacy}", "followers_url": "https://api.github.com/users/jebob/followers", "following_url": "https://api.github.com/users/jebob/following{/other_user}", "gists_url": "https://api.github.com/users/jebob/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jebob", "id": 9222111, "login": "jebob", "node_id": "MDQ6VXNlcjkyMjIxMTE=", "organizations_url": "https://api.github.com/users/jebob/orgs", "received_events_url": "https://api.github.com/users/jebob/received_events", "repos_url": "https://api.github.com/users/jebob/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jebob/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jebob/subscriptions", "type": "User", "url": "https://api.github.com/users/jebob" }
[]
closed
false
null
[]
null
1
2019-11-21T10:46:26Z
2019-11-21T10:54:30Z
2019-11-21T10:54:30Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python def test_pandas(): import csv import pandas as pd import numpy as np df = pd.DataFrame.from_dict({'column': [1.0, 2.0]}) assert df['column'].dtype == np.dtype('float') outpath = 'out.csv' df.to_csv(outpath, quoting=csv.QUOTE_NONNUMERIC, sep=".", index=False) # This fails # df.to_csv(outpath, quoting=csv.QUOTE_NONNUMERIC, sep="!", index=False) # This is fine # df.to_csv(outpath, quoting=csv.QUOTE_NONNUMERIC, sep=":", index=False) # This is fine # df.to_csv(outpath, quoting=csv.QUOTE_NONNUMERIC, sep=",", index=False) # This is fine with open(outpath,"r") as f: f.seek(0) lines = f.read().splitlines() assert lines[0] == '"column"' assert not lines[1].startswith('"') # <--- 'sep="."' crashes here assert [1, 2] == list(map(float, lines[1:])) test_pandas() ``` #### Problem description Using a "." as a separator causes QUOTE_NONNUMERIC to quote floats, even if there is only one column. Explicitly stating other separators (I tried a couple) is fine. #### Expected Output The test above should pass. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.16.5 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.0.post20191030 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.4 (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 : 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 : 1.3.11 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/29770/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29770/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29771
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29771/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29771/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29771/events
https://github.com/pandas-dev/pandas/issues/29771
526,564,688
MDU6SXNzdWU1MjY1NjQ2ODg=
29,771
Same parameter name for specifying column names in pd.read_csv and pd.DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/19519068?v=4", "events_url": "https://api.github.com/users/regstrtn/events{/privacy}", "followers_url": "https://api.github.com/users/regstrtn/followers", "following_url": "https://api.github.com/users/regstrtn/following{/other_user}", "gists_url": "https://api.github.com/users/regstrtn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/regstrtn", "id": 19519068, "login": "regstrtn", "node_id": "MDQ6VXNlcjE5NTE5MDY4", "organizations_url": "https://api.github.com/users/regstrtn/orgs", "received_events_url": "https://api.github.com/users/regstrtn/received_events", "repos_url": "https://api.github.com/users/regstrtn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/regstrtn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/regstrtn/subscriptions", "type": "User", "url": "https://api.github.com/users/regstrtn" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv...
open
false
null
[]
null
11
2019-11-21T12:29:59Z
2020-05-07T03:53:52Z
null
NONE
null
The two most common ways of creating a new dataframe use different parameters for taking a list of column names as input. In pd.read_csv, the syntax is: `pandas.read_csv(filepath, sep=',', delimiter=None, header='infer', names=None)` In pd.DataFrame, the syntax is: `pandas.DataFrame(data=None, index=None, columns=None)` And then again, in df.to_csv, we use the name `columns`. `df.to_csv(self, path_or_buf=None, sep=', ', na_rep='', float_format=None, columns=None)` Can they both be changed to `columns`?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29771/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29771/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29772
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29772/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29772/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29772/events
https://github.com/pandas-dev/pandas/issues/29772
526,574,374
MDU6SXNzdWU1MjY1NzQzNzQ=
29,772
Aggregation (sum) fails for a grouping along a multi-level column in pandas >=0.25.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/11406002?v=4", "events_url": "https://api.github.com/users/normanius/events{/privacy}", "followers_url": "https://api.github.com/users/normanius/followers", "following_url": "https://api.github.com/users/normanius/following{/other_user}", "gists_url": "https://api.github.com/users/normanius/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/normanius", "id": 11406002, "login": "normanius", "node_id": "MDQ6VXNlcjExNDA2MDAy", "organizations_url": "https://api.github.com/users/normanius/orgs", "received_events_url": "https://api.github.com/users/normanius/received_events", "repos_url": "https://api.github.com/users/normanius/repos", "site_admin": false, "starred_url": "https://api.github.com/users/normanius/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/normanius/subscriptions", "type": "User", "url": "https://api.github.com/users/normanius" }
[ { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "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" }
2
2019-11-21T12:49:33Z
2019-11-27T18:39:48Z
2019-11-27T18:39:48Z
NONE
null
#### Code Sample Find the dataset [`bug.csv` here](https://github.com/pandas-dev/pandas/files/3874729/bug.csv.zip) ```python import pandas as pd df = pd.read_csv("bug.csv", header=[0,1], index_col=[0]) g = df.groupby(level="property", axis=1) thisFails = g.sum() print(thisFails) ``` The bug possibly applies to multi-level _indices_ as well (not just headers) - haven't checked it though. #### Problem description A groupby object `g` fails at aggregating the sum if `g` was created on a df with a multi-level header, with grouping along one of the column levels. The code used to work for pandas 0.24.2 and 0.23.4. But it fails for pandas 0.25.x (0.25.3 as of writing this). On failure, the following exception occurs: ``` Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'a' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "bug.py", line 5, in <module> thisFails = g.sum() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 1382, in f result[col] = self._try_cast(result[col], self.obj[col]) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/frame.py", line 2994, in __getitem__ return self._getitem_multilevel(key) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/frame.py", line 3043, in _getitem_multilevel loc = self.columns.get_loc(key) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/indexes/multi.py", line 2674, in get_loc loc = self._get_level_indexer(key, level=0) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/indexes/multi.py", line 2939, in _get_level_indexer code = level_index.get_loc(key) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2899, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'a' ``` #### Expected Output ``` property a b c d e f dataset case 0 0.0 2.0 0.0 0.0 1.0 0.0 case 1 3.0 3.0 1.0 1.0 0.0 1.0 case 2 1.0 1.0 0.0 0.0 0.0 1.0 case 3 2.0 3.0 0.0 0.0 0.0 0.0 case 4 2.0 0.0 0.0 0.0 1.0 0.0 case 5 2.0 0.0 0.0 0.0 1.0 0.0 case 6 2.0 0.0 0.0 0.0 1.0 0.0 case 7 0.0 0.0 0.0 0.0 1.0 0.0 case 8 0.0 0.0 0.0 0.0 0.0 1.0 case 9 3.0 1.0 0.0 1.0 0.0 0.0 ``` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None pandas : 0.25.3 numpy : 1.17.2 pytz : 2018.4 dateutil : 2.7.2 pip : 19.3.1 setuptools : 41.6.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 IPython : 7.1.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 : 0.15.0 pytables : None s3fs : None scipy : 1.3.0 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/29772/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29772/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29773
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29773/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29773/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29773/events
https://github.com/pandas-dev/pandas/issues/29773
526,648,412
MDU6SXNzdWU1MjY2NDg0MTI=
29,773
Timedelta not parsing ISO-8601 strings properly
{ "avatar_url": "https://avatars.githubusercontent.com/u/11876547?v=4", "events_url": "https://api.github.com/users/datajanko/events{/privacy}", "followers_url": "https://api.github.com/users/datajanko/followers", "following_url": "https://api.github.com/users/datajanko/following{/other_user}", "gists_url": "https://api.github.com/users/datajanko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datajanko", "id": 11876547, "login": "datajanko", "node_id": "MDQ6VXNlcjExODc2NTQ3", "organizations_url": "https://api.github.com/users/datajanko/orgs", "received_events_url": "https://api.github.com/users/datajanko/received_events", "repos_url": "https://api.github.com/users/datajanko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datajanko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datajanko/subscriptions", "type": "User", "url": "https://api.github.com/users/datajanko" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", ...
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4", "events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}", "followers_url": "https://api.github.com/users/AnnaDaglis/followers", "following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}", "gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AnnaDaglis", "id": 40292327, "login": "AnnaDaglis", "node_id": "MDQ6VXNlcjQwMjkyMzI3", "organizations_url": "https://api.github.com/users/AnnaDaglis/orgs", "received_events_url": "https://api.github.com/users/AnnaDaglis/received_events", "repos_url": "https://api.github.com/users/AnnaDaglis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions", "type": "User", "url": "https://api.github.com/users/AnnaDaglis" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4", "events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}", "followers_url": "https://api.github.com/users/AnnaDaglis/followers", "following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}", ...
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
7
2019-11-21T14:59:08Z
2020-10-17T00:07:07Z
2020-10-17T00:07:07Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python pd.Timedelta("P0DT1H") Timedelta('0 days 00:00:00') ``` and ```python pd.Timedelta("PT1H") --------------------------------------------------------------------------- KeyError Traceback (most recent call last) pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.parse_timedelta_unit() KeyError: '' During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) <ipython-input-5-35a9c7000b3e> in <module>() ----> 1 pd.Timedelta("PT1H") pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.Timedelta.__new__() pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.parse_iso_format_string() pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.timedelta_from_spec() pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.parse_timedelta_unit() ValueError: invalid unit abbreviation: ``` #### Problem description The ISO strings should be parsed correctly and provide valid output as described [here](https://github.com/pandas-dev/pandas/pull/15136) and shown [here](https://pandas.pydata.org/pandas-docs/stable/user_guide/timedeltas.html) #### Expected Output First example and second example should have output ``` Timedelta('0 days 01:00:00') ``` #### Output of ``pd.show_versions()`` I had the same outputs locally and on google cola <details><summary>Versions</summary> ``` INSTALLED VERSIONS ------------------ commit : None python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 4.14.137+ machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2018.9 dateutil : 2.6.1 pip : 19.3.1 setuptools : 41.6.0 Cython : 0.29.14 pytest : 3.6.4 hypothesis : None sphinx : 1.8.5 blosc : None feather : 0.4.0 xlsxwriter : None lxml.etree : 4.2.6 html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 5.5.0 pandas_datareader: 0.7.4 bs4 : 4.6.3 bottleneck : 1.3.0 fastparquet : None gcsfs : None lxml.etree : 4.2.6 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 2.5.9 pandas_gbq : 0.11.0 pyarrow : 0.14.1 pytables : None s3fs : 0.4.0 scipy : 1.3.2 sqlalchemy : 1.3.11 tables : 3.4.4 xarray : 0.11.3 xlrd : 1.1.0 xlwt : 1.3.0 xlsxwriter : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29773/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29773/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29774
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29774/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29774/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29774/events
https://github.com/pandas-dev/pandas/issues/29774
526,663,264
MDU6SXNzdWU1MjY2NjMyNjQ=
29,774
Use entrypoints as an alternative to register_extension_dtype?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "6138b5", "default": false, "description": "Extendin...
open
false
null
[]
null
5
2019-11-21T15:22:52Z
2021-07-23T04:58:14Z
null
CONTRIBUTOR
null
Right now, pandas let's you register your extension dtype. This does a few things, but the primary one is letting find your dtype given a string alias provided by the user. An unfortunate consequence is that ```python pd.array([1, 2], dtype="mydtype") ``` may fail, while ```python import myarray # registers the dtype as a side-effect pd.array([1, 2], dtype="mydtype") ``` succeeds. We might consider adding an entrypoint. ```python # Key is the string alias, value is the path to your Dtype. "pandas_extension_dtypes": [] ``` and 3rd parties register to it with ```python "pandas_extension_dtypes": ["mydtype = myarray:MyDtype"] ``` This avoids any awkard import-time side effects.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29774/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29774/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29775
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29775/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29775/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29775/events
https://github.com/pandas-dev/pandas/pull/29775
526,690,250
MDExOlB1bGxSZXF1ZXN0MzQ0MTA5MjI4
29,775
CLN:F-string in pandas/_libs/tslibs/*.pyx
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-21T16:05:32Z
2019-11-22T17:39:36Z
2019-11-22T15:32:44Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry ref https://github.com/pandas-dev/pandas/issues/29547
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29775/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29775/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29775.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29775", "merged_at": "2019-11-22T15:32:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29775.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29775" }
https://api.github.com/repos/pandas-dev/pandas/issues/29776
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29776/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29776/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29776/events
https://github.com/pandas-dev/pandas/pull/29776
526,762,459
MDExOlB1bGxSZXF1ZXN0MzQ0MTY4NDkx
29,776
REF: avoid returning self in io.pytables
{ "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": "5319e7", "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-11-21T18:18:39Z
2019-11-22T16:38:49Z
2019-11-22T15:29:00Z
MEMBER
null
Another small step towards making these less stateful
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29776/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29776/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29776.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29776", "merged_at": "2019-11-22T15:29:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29776.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29776" }
https://api.github.com/repos/pandas-dev/pandas/issues/29777
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29777/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29777/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29777/events
https://github.com/pandas-dev/pandas/pull/29777
526,769,605
MDExOlB1bGxSZXF1ZXN0MzQ0MTc0MTc0
29,777
TYP: io.pytables types
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-21T18:33:36Z
2019-11-22T16:32:31Z
2019-11-22T15:30:57Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29777/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29777/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29777.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29777", "merged_at": "2019-11-22T15:30:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29777.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29777" }
https://api.github.com/repos/pandas-dev/pandas/issues/29778
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29778/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29778/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29778/events
https://github.com/pandas-dev/pandas/pull/29778
526,790,149
MDExOlB1bGxSZXF1ZXN0MzQ0MTkxMDQw
29,778
CLN: typing and renaming in computation.pytables
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-11-21T19:16:24Z
2019-11-22T16:34:19Z
2019-11-22T15:30:17Z
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/29778/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29778/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29778.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29778", "merged_at": "2019-11-22T15:30:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29778.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29778" }
https://api.github.com/repos/pandas-dev/pandas/issues/29779
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29779/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29779/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29779/events
https://github.com/pandas-dev/pandas/issues/29779
526,801,980
MDU6SXNzdWU1MjY4MDE5ODA=
29,779
pd.Timestamp.timestamp() doesn't match stdlib
{ "avatar_url": "https://avatars.githubusercontent.com/u/176475?v=4", "events_url": "https://api.github.com/users/arsturges/events{/privacy}", "followers_url": "https://api.github.com/users/arsturges/followers", "following_url": "https://api.github.com/users/arsturges/following{/other_user}", "gists_url": "https://api.github.com/users/arsturges/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arsturges", "id": 176475, "login": "arsturges", "node_id": "MDQ6VXNlcjE3NjQ3NQ==", "organizations_url": "https://api.github.com/users/arsturges/orgs", "received_events_url": "https://api.github.com/users/arsturges/received_events", "repos_url": "https://api.github.com/users/arsturges/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arsturges/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arsturges/subscriptions", "type": "User", "url": "https://api.github.com/users/arsturges" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "0052cc", "default": false, "description": "pandas ob...
closed
false
null
[]
null
6
2019-11-21T19:41:20Z
2020-02-22T20:27:52Z
2020-02-22T20:27:52Z
NONE
null
edit: See https://github.com/pandas-dev/pandas/issues/29779#issuecomment-557747641 I searched for this among open issues but couldn't find it. Apologies in advance if I overlooked an existing issue, resolved or otherwise. ```python Python 3.7.4 (default, Sep 7 2019, 18:29:04) [Clang 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import datetime >>> import pandas as pd >>> dt = datetime.datetime(1970, 1, 1) >>> pdt = pd.Timestamp(1970, 1, 1) >>> dt.timestamp() == pdt.timestamp() # I expected this to be True False >>> dt.timestamp() # I am in PST, hence the 8-hour offset from 0 28800.0 >>> pdt.timestamp() 0.0 ``` [Python3 docs explain](https://docs.python.org/3/library/datetime.html#datetime.datetime.timestamp) that datetime.datetime.timestamp() assume local time if no tzinfo is specified: "Naive datetime instances are assumed to represent local time and this method relies on the platform C mktime() function to perform the conversion." #### Problem description I expected the behavior of pd.Timestamp.timestamp to match that of the stdlib (datetime.datetime.stdlib). Instead, pd.Timestamp.timestamp appears to treat naive timestamps differently. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.1 numpy : 1.17.2 pytz : 2019.2 dateutil : 2.8.0 pip : 19.3.1 setuptools : 40.8.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 : 2.8.3 (dt dec pq3 ext lo64) jinja2 : 2.10.1 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 : None 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/29779/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29779/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29780
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29780/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29780/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29780/events
https://github.com/pandas-dev/pandas/issues/29780
526,821,038
MDU6SXNzdWU1MjY4MjEwMzg=
29,780
df.to_hdf(), HDF5 files containing strings generated by pandas are not usable by other software
{ "avatar_url": "https://avatars.githubusercontent.com/u/35155526?v=4", "events_url": "https://api.github.com/users/seanngpack/events{/privacy}", "followers_url": "https://api.github.com/users/seanngpack/followers", "following_url": "https://api.github.com/users/seanngpack/following{/other_user}", "gists_url": "https://api.github.com/users/seanngpack/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seanngpack", "id": 35155526, "login": "seanngpack", "node_id": "MDQ6VXNlcjM1MTU1NTI2", "organizations_url": "https://api.github.com/users/seanngpack/orgs", "received_events_url": "https://api.github.com/users/seanngpack/received_events", "repos_url": "https://api.github.com/users/seanngpack/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seanngpack/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seanngpack/subscriptions", "type": "User", "url": "https://api.github.com/users/seanngpack" }
[]
closed
false
null
[]
null
2
2019-11-21T20:22:02Z
2019-11-22T01:13:49Z
2019-11-22T01:11:56Z
NONE
null
#### Code Sample ```python df = pd.DataFrame() df = pd.read_csv(csv_file) df.to_hdf('example.h5', '/data', complib='zlib', complevel=9) Example csv file: | | col1 | col2 | | 0 | hello | the | | 1 | world | computer | | 2 | lol | is | ``` #### Problem description **HDF5 files containing strings generated by pandas are not usable by software other than pandas** When writing a csv file containing strings to a hdf5 file, the output is unreadable by other software because it outputs python code representation of the strings. #### Step to reproduce * Make a .csv file with the table I provided * run the code I have provided * use hdfviewer to see the dataset * copy and paste the output: <details> <summary>output</summary> (128, 4, 149, 185, 0, 0, 0, 0, 0, 0, 0, 140, 21, 110, 117, 109, 112, 121, 46, 99, 111, 114, 101, 46, 109, 117, 108, 116, 105, 97, 114, 114, 97, 121, 148, 140, 12, 95, 114, 101, 99, 111, 110, 115, 116, 114, 117, 99, 116, 148, 147, 148, 140, 5, 110, 117, 109, 112, 121, 148, 140, 7, 110, 100, 97, 114, 114, 97, 121, 148, 147, 148, 75, 0, 133, 148, 67, 1, 98, 148, 135, 148, 82, 148, 40, 75, 1, 75, 3, 75, 2, 134, 148, 104, 3, 140, 5, 100, 116, 121, 112, 101, 148, 147, 148, 140, 2, 79, 52, 148, 75, 0, 75, 1, 135, 148, 82, 148, 40, 75, 3, 140, 1, 124, 148, 78, 78, 78, 74, 255, 255, 255, 255, 74, 255, 255, 255, 255, 75, 63, 116, 148, 98, 136, 93, 148, 40, 140, 5, 104, 101, 108, 108, 111, 148, 140, 3, 116, 104, 101, 148, 140, 5, 119, 111, 114, 108, 100, 148, 140, 8, 99, 111, 109, 112, 117, 116, 101, 114, 148, 140, 3, 108, 111, 108, 148, 140, 2, 105, 115, 148, 101, 116, 148, 98, 46) </details> * run the output through an ascii to text generator * here's the final result: `•¹Œnumpy.core.multiarray”Œ _reconstruct”“”Œnumpy”Œndarray”“”K…”Cb”‡”R”(KKK†”hŒdtype”“”ŒO4”KK‡”R”(KŒ|”NNNJÿÿÿÿJÿÿÿÿK?t”bˆ]”(Œhello”Œthe”Œworld”Œcomputer”Œlol”Œis”et”b`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29780/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29780/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29781
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29781/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29781/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29781/events
https://github.com/pandas-dev/pandas/pull/29781
526,828,579
MDExOlB1bGxSZXF1ZXN0MzQ0MjIyOTU0
29,781
CLN - Change string formatting in plotting
{ "avatar_url": "https://avatars.githubusercontent.com/u/9933431?v=4", "events_url": "https://api.github.com/users/ohad83/events{/privacy}", "followers_url": "https://api.github.com/users/ohad83/followers", "following_url": "https://api.github.com/users/ohad83/following{/other_user}", "gists_url": "https://api.github.com/users/ohad83/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ohad83", "id": 9933431, "login": "ohad83", "node_id": "MDQ6VXNlcjk5MzM0MzE=", "organizations_url": "https://api.github.com/users/ohad83/orgs", "received_events_url": "https://api.github.com/users/ohad83/received_events", "repos_url": "https://api.github.com/users/ohad83/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ohad83/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ohad83/subscriptions", "type": "User", "url": "https://api.github.com/users/ohad83" }
[ { "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-11-21T20:37:55Z
2019-11-21T23:31:34Z
2019-11-21T22:46:04Z
CONTRIBUTOR
null
Changed the string formatting in pandas/plotting/*.py to f-strings. - [x] tests passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` ref #29547
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29781/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29781/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29781.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29781", "merged_at": "2019-11-21T22:46:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29781.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29781" }
https://api.github.com/repos/pandas-dev/pandas/issues/29782
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29782/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29782/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29782/events
https://github.com/pandas-dev/pandas/pull/29782
526,866,567
MDExOlB1bGxSZXF1ZXN0MzQ0MjU0NDU0
29,782
DOC: Updating documentation of new required pytest version
{ "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": "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": "3465A4", "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-11-21T22:02:34Z
2019-11-22T15:26:53Z
2019-11-22T15:26:49Z
MEMBER
null
Follow up of #29678 @jreback I think `show_versions` gets the version by importing the module. Correct me if I'm wrong, but I didn't see anything to update there.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29782/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29782/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29782.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29782", "merged_at": "2019-11-22T15:26:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29782.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29782" }
https://api.github.com/repos/pandas-dev/pandas/issues/29783
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29783/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29783/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29783/events
https://github.com/pandas-dev/pandas/pull/29783
526,867,329
MDExOlB1bGxSZXF1ZXN0MzQ0MjU1MDgy
29,783
DEPS: Unifying version of pytest-xdist across builds
{ "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" }, { "color": "d93f0b", "default": false, "description": ...
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-11-21T22:04:20Z
2019-11-22T15:25:56Z
2019-11-22T15:25:53Z
MEMBER
null
We use `pytest-xdist>=1.21` in all builds except this one. Using the same for the 3.8 build, which was introduced in parallel as the standardization of dependencies. xref: https://github.com/pandas-dev/pandas/pull/29678#discussion_r348873095
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29783/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29783/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29783.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29783", "merged_at": "2019-11-22T15:25:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29783.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29783" }
https://api.github.com/repos/pandas-dev/pandas/issues/29784
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29784/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29784/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29784/events
https://github.com/pandas-dev/pandas/pull/29784
526,868,096
MDExOlB1bGxSZXF1ZXN0MzQ0MjU1NzM3
29,784
DEPS: Removing unused pytest-mock
{ "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" }, { "color": "207de5", "default": false, "description": ...
closed
false
null
[]
null
0
2019-11-21T22:06:08Z
2019-11-22T01:14:47Z
2019-11-22T01:14:47Z
MEMBER
null
May be I'm missing something, but I don't think we use `pytest-mock` (a grep didn't find anything by `mocker`), but we have it in almost all builds. The CI should tell if I'm 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/29784/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29784/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29784.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29784", "merged_at": "2019-11-22T01:14:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29784.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29784" }
https://api.github.com/repos/pandas-dev/pandas/issues/29785
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29785/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29785/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29785/events
https://github.com/pandas-dev/pandas/pull/29785
526,891,655
MDExOlB1bGxSZXF1ZXN0MzQ0Mjc1MzM2
29,785
CLN: catch ValueError instead of Exception in io.html
{ "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": "006b...
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-11-21T23:07:29Z
2019-11-22T16:33:34Z
2019-11-22T15:31:18Z
MEMBER
null
Broken off from #28862.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29785/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29785/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29785.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29785", "merged_at": "2019-11-22T15:31:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29785.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29785" }
https://api.github.com/repos/pandas-dev/pandas/issues/29786
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29786/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29786/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29786/events
https://github.com/pandas-dev/pandas/pull/29786
526,925,433
MDExOlB1bGxSZXF1ZXN0MzQ0MzAyODU3
29,786
DEPR: change pd.concat sort=None to sort=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" }, { ...
closed
false
null
[]
{ "closed_at": "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-11-22T00:59:02Z
2019-11-25T23:40:33Z
2019-11-25T23:38:55Z
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/29786/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29786/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29786.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29786", "merged_at": "2019-11-25T23:38:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29786.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29786" }
https://api.github.com/repos/pandas-dev/pandas/issues/29787
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29787/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29787/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29787/events
https://github.com/pandas-dev/pandas/pull/29787
526,937,110
MDExOlB1bGxSZXF1ZXN0MzQ0MzExNzIw
29,787
CLN: remove LegacyFoo from io.pytables
{ "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "207de5", "...
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-11-22T01:41:46Z
2019-11-22T16:36:30Z
2019-11-22T15:27:33Z
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/29787/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29787/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29787.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29787", "merged_at": "2019-11-22T15:27:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29787.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29787" }
https://api.github.com/repos/pandas-dev/pandas/issues/29788
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29788/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29788/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29788/events
https://github.com/pandas-dev/pandas/pull/29788
527,044,972
MDExOlB1bGxSZXF1ZXN0MzQ0Mzk1MjEx
29,788
ENH: Allow map with abc mapping
{ "avatar_url": "https://avatars.githubusercontent.com/u/9933431?v=4", "events_url": "https://api.github.com/users/ohad83/events{/privacy}", "followers_url": "https://api.github.com/users/ohad83/followers", "following_url": "https://api.github.com/users/ohad83/following{/other_user}", "gists_url": "https://api.github.com/users/ohad83/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ohad83", "id": 9933431, "login": "ohad83", "node_id": "MDQ6VXNlcjk5MzM0MzE=", "organizations_url": "https://api.github.com/users/ohad83/orgs", "received_events_url": "https://api.github.com/users/ohad83/received_events", "repos_url": "https://api.github.com/users/ohad83/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ohad83/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ohad83/subscriptions", "type": "User", "url": "https://api.github.com/users/ohad83" }
[ { "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": "eb6420", "default": false, "description": "Non-arit...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
10
2019-11-22T07:58:44Z
2020-01-02T01:35:39Z
2020-01-02T01:35:32Z
CONTRIBUTOR
null
- [x] closes #29733 (partly, look at my issue comment for details on why it won't exactly work on the issue's example) - [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/29788/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29788/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29788.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29788", "merged_at": "2020-01-02T01:35:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29788.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29788" }
https://api.github.com/repos/pandas-dev/pandas/issues/29789
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29789/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29789/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29789/events
https://github.com/pandas-dev/pandas/issues/29789
527,122,767
MDU6SXNzdWU1MjcxMjI3Njc=
29,789
performance issue with aggregation last/first of resampler when df contains categoricals
{ "avatar_url": "https://avatars.githubusercontent.com/u/34234589?v=4", "events_url": "https://api.github.com/users/hamdotpy/events{/privacy}", "followers_url": "https://api.github.com/users/hamdotpy/followers", "following_url": "https://api.github.com/users/hamdotpy/following{/other_user}", "gists_url": "https://api.github.com/users/hamdotpy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hamdotpy", "id": 34234589, "login": "hamdotpy", "node_id": "MDQ6VXNlcjM0MjM0NTg5", "organizations_url": "https://api.github.com/users/hamdotpy/orgs", "received_events_url": "https://api.github.com/users/hamdotpy/received_events", "repos_url": "https://api.github.com/users/hamdotpy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hamdotpy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hamdotpy/subscriptions", "type": "User", "url": "https://api.github.com/users/hamdotpy" }
[ { "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"...
open
false
null
[]
null
0
2019-11-22T10:46:31Z
2021-07-23T04:59:03Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ``` import time df_time = pd.DataFrame(np.random.randint(low=0, high=20, size=(1000, 4)), pd.date_range(start='2000-01-01', end='2000-01-02', periods=1000), columns=['a', 'b', 'c', 'd']) time0 = time.time() df_time.resample('1s').last() print('resampling the datetime64[ns] data frame took {} seconds'.format(time.time()-time0)) df_time.loc[:,'a'] = df_time['a'].astype('category') time0 = time.time() df_time.resample('1s').last() print('resampling the datetime64[ns] data frame took {} seconds'.format(time.time()-time0)) ``` resampling the df containing integers took 0.007719516754150391 seconds resampling the df containing categoricals took 38.36969518661499 seconds #### Problem description As code above shows resampling df containing categoricals is super slow for aggregation .last(). Same behaviour occurs for .first(), whereas .mean() is performing fine. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-1052-aws machine : x86_64 processor : byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.6.0 Cython : 0.29.14 pytest : 5.2.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : 0.9.3 psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.1 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 : 0.4.0 scipy : 1.3.2 sqlalchemy : 1.3.11 tables : 3.6.1 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/29789/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29789/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29790
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29790/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29790/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29790/events
https://github.com/pandas-dev/pandas/issues/29790
527,147,922
MDU6SXNzdWU1MjcxNDc5MjI=
29,790
to_pickle doesn't support file handles
{ "avatar_url": "https://avatars.githubusercontent.com/u/2195834?v=4", "events_url": "https://api.github.com/users/jluttine/events{/privacy}", "followers_url": "https://api.github.com/users/jluttine/followers", "following_url": "https://api.github.com/users/jluttine/following{/other_user}", "gists_url": "https://api.github.com/users/jluttine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jluttine", "id": 2195834, "login": "jluttine", "node_id": "MDQ6VXNlcjIxOTU4MzQ=", "organizations_url": "https://api.github.com/users/jluttine/orgs", "received_events_url": "https://api.github.com/users/jluttine/received_events", "repos_url": "https://api.github.com/users/jluttine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jluttine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jluttine/subscriptions", "type": "User", "url": "https://api.github.com/users/jluttine" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "009800", "...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2019-11-22T11:41:03Z
2019-11-22T12:03:31Z
2019-11-22T12:03:13Z
NONE
null
`to_pickle` supports only file names, not file handles. See: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_pickle.html Is there some particular reason for this? `to_csv` does support file handles so I would have expected `to_pickle` to support too. To reproduce: ``` >>> with open("tmp.p", 'w') as fp: ... pd.Series([1,2,3]).to_pickle(fp) ValueError: Unrecognized compression type: infer ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29790/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29790/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29791
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29791/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29791/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29791/events
https://github.com/pandas-dev/pandas/issues/29791
527,235,093
MDU6SXNzdWU1MjcyMzUwOTM=
29,791
Have `pd.array` infer new extension types
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "AD7FA8"...
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-11-22T14:40:07Z
2020-12-21T10:08:06Z
2019-12-02T17:38:49Z
CONTRIBUTOR
null
Currently `pd.array` sometimes requires an explicit `dtype=...` to get one of our extension arrays (we'll infer for Period, Datetime, and Interval). This proposal is to have it infer the extension type for * strings -> StringArray * boolean -> BooleanArray * integer -> IntegerArray All of these currently return PandasArray. Concretely, we'll need to teach `infer_dtype` how not to infer `mixed` for a mix of strings / booleans and NA values, similar to how it handles integer-na ```python In [27]: lib.infer_dtype([True, None], skipna=False) Out[27]: 'mixed' In [28]: lib.infer_dtype(['a', None], skipna=False) Out[28]: 'mixed' In [29]: lib.infer_dtype([0, np.nan], skipna=False) Out[29]: 'integer-na' ``` and then handle those in `array`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29791/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29791/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29792
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29792/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29792/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29792/events
https://github.com/pandas-dev/pandas/pull/29792
527,286,013
MDExOlB1bGxSZXF1ZXN0MzQ0NTkyNDA4
29,792
BUG: Fix melt with mixed int/str columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
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-11-22T16:13:16Z
2019-12-20T01:03:10Z
2019-11-23T23:10:01Z
MEMBER
null
- [X] closes #29718 - [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/29792/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29792/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29792.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29792", "merged_at": "2019-11-23T23:10:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29792.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29792" }
https://api.github.com/repos/pandas-dev/pandas/issues/29793
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29793/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29793/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29793/events
https://github.com/pandas-dev/pandas/pull/29793
527,319,765
MDExOlB1bGxSZXF1ZXN0MzQ0NjIwMzM5
29,793
changed description of Parse_dates in Read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/31936366?v=4", "events_url": "https://api.github.com/users/alexander135/events{/privacy}", "followers_url": "https://api.github.com/users/alexander135/followers", "following_url": "https://api.github.com/users/alexander135/following{/other_user}", "gists_url": "https://api.github.com/users/alexander135/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexander135", "id": 31936366, "login": "alexander135", "node_id": "MDQ6VXNlcjMxOTM2MzY2", "organizations_url": "https://api.github.com/users/alexander135/orgs", "received_events_url": "https://api.github.com/users/alexander135/received_events", "repos_url": "https://api.github.com/users/alexander135/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexander135/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexander135/subscriptions", "type": "User", "url": "https://api.github.com/users/alexander135" }
[]
closed
false
null
[]
null
1
2019-11-22T17:22:34Z
2019-11-22T17:24:17Z
2019-11-22T17:24:07Z
CONTRIBUTOR
null
- [ ] closes #29217 - [ ] 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/29793/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29793/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29793.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29793", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29793.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29793" }
https://api.github.com/repos/pandas-dev/pandas/issues/29794
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29794/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29794/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29794/events
https://github.com/pandas-dev/pandas/pull/29794
527,329,842
MDExOlB1bGxSZXF1ZXN0MzQ0NjI4NjU2
29,794
DEPR: passing td64 data to DTA or dt64 data to TDA
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-22T17:45:48Z
2019-11-27T21:15:56Z
2019-11-27T21:08:24Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29794/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29794/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29794.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29794", "merged_at": "2019-11-27T21:08:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29794.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29794" }
https://api.github.com/repos/pandas-dev/pandas/issues/29795
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29795/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29795/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29795/events
https://github.com/pandas-dev/pandas/pull/29795
527,332,304
MDExOlB1bGxSZXF1ZXN0MzQ0NjMwNjk1
29,795
DEPR: passing an int to read_excel use_cols
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-22T17:51:34Z
2019-11-23T23:55:52Z
2019-11-23T23:52:21Z
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/29795/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29795/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29795.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29795", "merged_at": "2019-11-23T23:52:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29795.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29795" }
https://api.github.com/repos/pandas-dev/pandas/issues/29796
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29796/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29796/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29796/events
https://github.com/pandas-dev/pandas/pull/29796
527,332,435
MDExOlB1bGxSZXF1ZXN0MzQ0NjMwODA3
29,796
Changed description of parse_dates in read_excel().
{ "avatar_url": "https://avatars.githubusercontent.com/u/31936366?v=4", "events_url": "https://api.github.com/users/alexander135/events{/privacy}", "followers_url": "https://api.github.com/users/alexander135/followers", "following_url": "https://api.github.com/users/alexander135/following{/other_user}", "gists_url": "https://api.github.com/users/alexander135/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexander135", "id": 31936366, "login": "alexander135", "node_id": "MDQ6VXNlcjMxOTM2MzY2", "organizations_url": "https://api.github.com/users/alexander135/orgs", "received_events_url": "https://api.github.com/users/alexander135/received_events", "repos_url": "https://api.github.com/users/alexander135/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexander135/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexander135/subscriptions", "type": "User", "url": "https://api.github.com/users/alexander135" }
[ { "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-11-22T17:51:53Z
2019-11-25T13:33:06Z
2019-11-23T23:02:53Z
CONTRIBUTOR
null
- [ ] closes #29217 - [ ] 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/29796/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29796/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29796.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29796", "merged_at": "2019-11-23T23:02:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29796.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29796" }
https://api.github.com/repos/pandas-dev/pandas/issues/29797
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29797/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29797/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29797/events
https://github.com/pandas-dev/pandas/pull/29797
527,335,283
MDExOlB1bGxSZXF1ZXN0MzQ0NjMzMTg3
29,797
DEPR: Timedelta.__rfloordiv__(int_dtype)
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
2
2019-11-22T17:58:46Z
2019-11-25T23:44:18Z
2019-11-25T23:42:27Z
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/29797/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29797/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29797.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29797", "merged_at": "2019-11-25T23:42:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29797.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29797" }
https://api.github.com/repos/pandas-dev/pandas/issues/29798
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29798/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29798/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29798/events
https://github.com/pandas-dev/pandas/pull/29798
527,340,373
MDExOlB1bGxSZXF1ZXN0MzQ0NjM3MzI4
29,798
minor cleanups in core/categorical.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "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-11-22T18:10:45Z
2019-11-22T19:41:05Z
2019-11-22T19:41:00Z
CONTRIBUTOR
null
Minor stuff: Cleanup for core/categorical.py, and makes the whatsnew for #29750 a bit better,
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29798/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29798/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29798.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29798", "merged_at": "2019-11-22T19:41:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29798.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29798" }
https://api.github.com/repos/pandas-dev/pandas/issues/29799
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29799/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29799/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29799/events
https://github.com/pandas-dev/pandas/pull/29799
527,380,102
MDExOlB1bGxSZXF1ZXN0MzQ0NjcwMzY2
29,799
API: Infer extension types in array
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "613...
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" }
13
2019-11-22T19:40:57Z
2020-11-17T18:07:53Z
2019-12-02T17:38:49Z
CONTRIBUTOR
null
* string * integer Closes #29791 (though we'll want to add BooleanArray).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29799/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29799/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29799.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29799", "merged_at": "2019-12-02T17:38:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29799.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29799" }
https://api.github.com/repos/pandas-dev/pandas/issues/29800
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29800/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29800/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29800/events
https://github.com/pandas-dev/pandas/pull/29800
527,405,093
MDExOlB1bGxSZXF1ZXN0MzQ0NjkxMDg0
29,800
BUG: add reset logic for Grouper if new obj is passed in (#26564)
{ "avatar_url": "https://avatars.githubusercontent.com/u/15057353?v=4", "events_url": "https://api.github.com/users/alichaudry/events{/privacy}", "followers_url": "https://api.github.com/users/alichaudry/followers", "following_url": "https://api.github.com/users/alichaudry/following{/other_user}", "gists_url": "https://api.github.com/users/alichaudry/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alichaudry", "id": 15057353, "login": "alichaudry", "node_id": "MDQ6VXNlcjE1MDU3MzUz", "organizations_url": "https://api.github.com/users/alichaudry/orgs", "received_events_url": "https://api.github.com/users/alichaudry/received_events", "repos_url": "https://api.github.com/users/alichaudry/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alichaudry/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alichaudry/subscriptions", "type": "User", "url": "https://api.github.com/users/alichaudry" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, ...
closed
false
null
[]
null
18
2019-11-22T20:41:55Z
2020-06-14T15:41:34Z
2020-06-14T15:41:33Z
NONE
null
- [ ] closes #26564 - [ ] 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/29800/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29800/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29800.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29800", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29800.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29800" }
https://api.github.com/repos/pandas-dev/pandas/issues/29801
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29801/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29801/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29801/events
https://github.com/pandas-dev/pandas/pull/29801
527,406,110
MDExOlB1bGxSZXF1ZXN0MzQ0NjkxOTYw
29,801
DEPR: setting DTI.freq, DTI.offset, DTI.asobject
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
2
2019-11-22T20:44:36Z
2019-11-25T23:17:16Z
2019-11-25T23:13:59Z
MEMBER
null
I think asobject should have been done as part of #29720.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29801/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29801/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29801.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29801", "merged_at": "2019-11-25T23:13:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29801.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29801" }
https://api.github.com/repos/pandas-dev/pandas/issues/29802
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29802/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29802/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29802/events
https://github.com/pandas-dev/pandas/pull/29802
527,409,640
MDExOlB1bGxSZXF1ZXN0MzQ0Njk0ODQx
29,802
DEPR: loc with listlikes with missing elements
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
2
2019-11-22T20:53:42Z
2019-11-29T23:35:38Z
2019-11-29T23:31:46Z
MEMBER
null
I'm less confident in this one than in others. Some of the affected tests seem to involve non-missing labels in duplicate-containing indexes. Did I conflate multiple issues/deprecations?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29802/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29802/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29802.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29802", "merged_at": "2019-11-29T23:31:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29802.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29802" }
https://api.github.com/repos/pandas-dev/pandas/issues/29803
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29803/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29803/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29803/events
https://github.com/pandas-dev/pandas/issues/29803
527,415,817
MDU6SXNzdWU1Mjc0MTU4MTc=
29,803
read_excel with openpyxl engine doesn't close file after reading
{ "avatar_url": "https://avatars.githubusercontent.com/u/54213358?v=4", "events_url": "https://api.github.com/users/konst-ivanov/events{/privacy}", "followers_url": "https://api.github.com/users/konst-ivanov/followers", "following_url": "https://api.github.com/users/konst-ivanov/following{/other_user}", "gists_url": "https://api.github.com/users/konst-ivanov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/konst-ivanov", "id": 54213358, "login": "konst-ivanov", "node_id": "MDQ6VXNlcjU0MjEzMzU4", "organizations_url": "https://api.github.com/users/konst-ivanov/orgs", "received_events_url": "https://api.github.com/users/konst-ivanov/received_events", "repos_url": "https://api.github.com/users/konst-ivanov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/konst-ivanov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/konst-ivanov/subscriptions", "type": "User", "url": "https://api.github.com/users/konst-ivanov" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", ...
open
false
null
[]
null
7
2019-11-22T21:09:08Z
2021-02-18T13:10:07Z
null
NONE
null
```python import pandas as pd data = pd.read_excel('excel_file.xlsx', engine='openpyxl') ``` #### Problem description: After running the above code in console, I switch to Excel and try to save 'excel_file.xlsx'. Excel raises an access error. I tried to figure out if the file remains open using file descriptor. As output shows, it does: ```python import os import pandas as pd xl_file_stat = os.stat(os.path.relpath('excel_file.xlsx')) try: os.fstat(3) except OSError: print('File is not open') print('Reading excel file...') data = pd.read_excel('excel_file.xlsx', engine='openpyxl') print('File has been read') if os.fstat(3) == xl_file_stat: print('File is open') ``` ##### Output: ``` File is not open Reading excel file... File has been read File is open ``` The problem may arise from the openpyxl's class `ExcelReader`. Its' `read()` method closes the archive if read-only attribute is set to False (openpyxl/reader/excel.py, rows 281-282): ``` if not self.read_only: self.archive.close() ``` I'm not sure if it's a normal behavior of `ExcelReader`, but I expect `pd.read_excel()` to close the file in this case. <details> pandas: 0.25.3<br> openpyxl: 3.0.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29803/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29803/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29804
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29804/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29804/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29804/events
https://github.com/pandas-dev/pandas/pull/29804
527,429,417
MDExOlB1bGxSZXF1ZXN0MzQ0NzExMjk2
29,804
REF: make selection not a state variable in io.pytables
{ "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": "06909A", "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" }
2
2019-11-22T21:44:27Z
2019-11-25T23:43:53Z
2019-11-25T23:41:30Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29804/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29804/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29804.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29804", "merged_at": "2019-11-25T23:41:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29804.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29804" }
https://api.github.com/repos/pandas-dev/pandas/issues/29805
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29805/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29805/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29805/events
https://github.com/pandas-dev/pandas/pull/29805
527,429,966
MDExOlB1bGxSZXF1ZXN0MzQ0NzExNzU5
29,805
REF: make coordinates not a state variable in io.pytables
{ "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "207de5", "default": false, "descri...
closed
false
null
[]
null
1
2019-11-22T21:45:56Z
2019-12-16T21:34:13Z
2019-12-16T21:34:00Z
MEMBER
null
orthogonal to #29804.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29805/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29805/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29805.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29805", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/29805.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29805" }
https://api.github.com/repos/pandas-dev/pandas/issues/29806
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29806/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29806/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29806/events
https://github.com/pandas-dev/pandas/issues/29806
527,460,310
MDU6SXNzdWU1Mjc0NjAzMTA=
29,806
Series.to_json - invalid handling of quotes
{ "avatar_url": "https://avatars.githubusercontent.com/u/5493775?v=4", "events_url": "https://api.github.com/users/Enteee/events{/privacy}", "followers_url": "https://api.github.com/users/Enteee/followers", "following_url": "https://api.github.com/users/Enteee/following{/other_user}", "gists_url": "https://api.github.com/users/Enteee/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Enteee", "id": 5493775, "login": "Enteee", "node_id": "MDQ6VXNlcjU0OTM3NzU=", "organizations_url": "https://api.github.com/users/Enteee/orgs", "received_events_url": "https://api.github.com/users/Enteee/received_events", "repos_url": "https://api.github.com/users/Enteee/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Enteee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Enteee/subscriptions", "type": "User", "url": "https://api.github.com/users/Enteee" }
[]
closed
false
null
[]
null
4
2019-11-22T23:20:52Z
2019-11-27T08:55:31Z
2019-11-27T08:55:30Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd pd.DataFrame([ {'A':'a', 'B':'b'} ]).groupby( ['A','B'] ).apply( lambda x: x.to_dict(orient='records') ).to_json() ``` produces an invalid JSON string: ```python '{"["a","b"]":[{"A":"a","B":"b"}]}' ``` #### Problem description For the given transformation, the output of `to_json` of a `pandas.core.series.Series` is not a valid JSON object. Would be nice if it was. #### Expected Output ```python '{"[\'a\',\'b\']":[{"A":"a","B":"b"}]}' ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Linux OS-release : 4.19.84 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.2 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.0 pip : None setuptools : None Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : None IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : None numexpr : 2.7.0 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.10 tables : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29806/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29806/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/29807
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29807/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29807/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29807/events
https://github.com/pandas-dev/pandas/pull/29807
527,473,635
MDExOlB1bGxSZXF1ZXN0MzQ0NzQ3OTc5
29,807
DEPR: remove Index.summary
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": 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" }
1
2019-11-23T00:11:15Z
2019-11-24T16:43:54Z
2019-11-24T08:24:05Z
MEMBER
null
Broken off from #29725 since that has tricky mypy errors
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29807/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29807/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29807.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29807", "merged_at": "2019-11-24T08:24:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29807.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29807" }
https://api.github.com/repos/pandas-dev/pandas/issues/29808
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29808/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29808/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29808/events
https://github.com/pandas-dev/pandas/pull/29808
527,490,960
MDExOlB1bGxSZXF1ZXN0MzQ0NzYxODc1
29,808
CLN: remove legacy datetime support in io.pytables
{ "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-11-23T01:38:34Z
2019-11-25T23:16:43Z
2019-11-25T23:08:22Z
MEMBER
null
also removed the `inferred_type == "unicode"` branch, as `lib.infer_dtype` never returns unicode anymore - [x] closes #19475 - [ ] 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/29808/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29808/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29808.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29808", "merged_at": "2019-11-25T23:08:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29808.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29808" }
https://api.github.com/repos/pandas-dev/pandas/issues/29809
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29809/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29809/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29809/events
https://github.com/pandas-dev/pandas/pull/29809
527,491,299
MDExOlB1bGxSZXF1ZXN0MzQ0NzYyMTQz
29,809
DEPR: Series.to_csv signature change
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "5319e7", "default": false, "descriptio...
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-11-23T01:41:21Z
2019-11-25T23:53:06Z
2019-11-25T23:50:47Z
MEMBER
null
@toobaz you introduced this deprecation in #21896. Can you confirm this enforces the deprecation in the intended way?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29809/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29809/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29809.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29809", "merged_at": "2019-11-25T23:50:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29809.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29809" }
https://api.github.com/repos/pandas-dev/pandas/issues/29810
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29810/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29810/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29810/events
https://github.com/pandas-dev/pandas/pull/29810
527,493,495
MDExOlB1bGxSZXF1ZXN0MzQ0NzYzNjI3
29,810
CLN: avoid catching Exception in io.pytables
{ "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "207de5", "default": false, "descri...
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-11-23T01:57:12Z
2019-11-26T11:29:40Z
2019-11-25T22:58:24Z
MEMBER
null
Last one in this file for a bit, scout's honor.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29810/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29810/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29810.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29810", "merged_at": "2019-11-25T22:58:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29810.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29810" }
https://api.github.com/repos/pandas-dev/pandas/issues/29811
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29811/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29811/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29811/events
https://github.com/pandas-dev/pandas/pull/29811
527,498,714
MDExOlB1bGxSZXF1ZXN0MzQ0NzY3NTU5
29,811
DOC: Correct misuse of term high-cardinality in docs.
{ "avatar_url": "https://avatars.githubusercontent.com/u/31701272?v=4", "events_url": "https://api.github.com/users/ebrassell/events{/privacy}", "followers_url": "https://api.github.com/users/ebrassell/followers", "following_url": "https://api.github.com/users/ebrassell/following{/other_user}", "gists_url": "https://api.github.com/users/ebrassell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ebrassell", "id": 31701272, "login": "ebrassell", "node_id": "MDQ6VXNlcjMxNzAxMjcy", "organizations_url": "https://api.github.com/users/ebrassell/orgs", "received_events_url": "https://api.github.com/users/ebrassell/received_events", "repos_url": "https://api.github.com/users/ebrassell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ebrassell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ebrassell/subscriptions", "type": "User", "url": "https://api.github.com/users/ebrassell" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
7
2019-11-23T02:45:16Z
2019-11-26T01:08:02Z
2019-11-26T00:32: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/29811/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29811/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29811.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29811", "merged_at": "2019-11-26T00:32:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29811.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29811" }
https://api.github.com/repos/pandas-dev/pandas/issues/29812
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29812/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29812/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29812/events
https://github.com/pandas-dev/pandas/pull/29812
527,509,246
MDExOlB1bGxSZXF1ZXN0MzQ0Nzc1Mjc3
29,812
DEPR: deprecate truediv param in pd.eval
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "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-11-23T04:39:30Z
2019-11-25T23:55:58Z
2019-11-25T23:52:14Z
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/29812/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29812/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/29812.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/29812", "merged_at": "2019-11-25T23:52:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/29812.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29812" }
https://api.github.com/repos/pandas-dev/pandas/issues/29813
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/29813/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/29813/comments
https://api.github.com/repos/pandas-dev/pandas/issues/29813/events
https://github.com/pandas-dev/pandas/issues/29813
527,525,211
MDU6SXNzdWU1Mjc1MjUyMTE=
29,813
Series.replace not working on slices of heterogenoues types
{ "avatar_url": "https://avatars.githubusercontent.com/u/3620703?v=4", "events_url": "https://api.github.com/users/bluenote10/events{/privacy}", "followers_url": "https://api.github.com/users/bluenote10/followers", "following_url": "https://api.github.com/users/bluenote10/following{/other_user}", "gists_url": "https://api.github.com/users/bluenote10/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluenote10", "id": 3620703, "login": "bluenote10", "node_id": "MDQ6VXNlcjM2MjA3MDM=", "organizations_url": "https://api.github.com/users/bluenote10/orgs", "received_events_url": "https://api.github.com/users/bluenote10/received_events", "repos_url": "https://api.github.com/users/bluenote10/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluenote10/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluenote10/subscriptions", "type": "User", "url": "https://api.github.com/users/bluenote10" }
[ { "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
4
2019-11-23T07:51:32Z
2021-04-20T14:11:35Z
null
NONE
null
#### Code Sample ```python import pandas as pd import numpy as np c = pd.Series([ np.nan, 1, "hello", ]) c_replaced_1 = c[0:3].replace({np.nan: None}) c_replaced_2 = c[0:2].replace({np.nan: None}) print(c_replaced_1) print(c_replaced_2) ``` #### Problem description `Series.replace` does not work in the second case. In both cases one would expect that the `np.nan` gets replaced by `None`. However, the replace fails in the second case. The actual output is: ``` 0 None 1 1 2 hello dtype: object 0 NaN 1 1.0 dtype: float64 ``` #### Expected Output ``` 0 None 1 1 2 hello dtype: object 0 None 1 1.0 dtype: object ``` #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.15.candidate.1 python-bits: 64 OS: Linux OS-release: 4.15.0-70-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: None pip: 19.2.3 setuptools: 41.2.0 Cython: None numpy: 1.15.2 scipy: 1.2.2 pyarrow: None xarray: None IPython: 5.8.0 sphinx: None patsy: 0.5.1 dateutil: 2.7.3 pytz: 2018.5 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 2.2.3 openpyxl: None xlrd: 1.2.0 xlwt: None xlsxwriter: 1.1.2 lxml.etree: 4.2.1 bs4: 4.6.0 html5lib: 0.999999999 sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10.3 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None ``` </details>
{ "+1": 4, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 4, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/29813/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/29813/timeline
null
null
null