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/43722
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43722/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43722/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43722/events
https://github.com/pandas-dev/pandas/pull/43722
1,005,735,414
PR_kwDOAA0YD84sNIRx
43,722
BUG: set numpy requirement for aarch64 and py3.9
{ "avatar_url": "https://avatars.githubusercontent.com/u/541623?v=4", "events_url": "https://api.github.com/users/aptalca/events{/privacy}", "followers_url": "https://api.github.com/users/aptalca/followers", "following_url": "https://api.github.com/users/aptalca/following{/other_user}", "gists_url": "https://api.github.com/users/aptalca/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aptalca", "id": 541623, "login": "aptalca", "node_id": "MDQ6VXNlcjU0MTYyMw==", "organizations_url": "https://api.github.com/users/aptalca/orgs", "received_events_url": "https://api.github.com/users/aptalca/received_events", "repos_url": "https://api.github.com/users/aptalca/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aptalca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aptalca/subscriptions", "type": "User", "url": "https://api.github.com/users/aptalca" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "c2e0c6", "default": false, "description": "aarch64 architecture", "id": 2628846204, "name": "ARM", "node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
1
2021-09-23T18:40:06Z
2021-09-23T21:13:12Z
2021-09-23T21:11:56Z
CONTRIBUTOR
null
It is stated in this file on line 13 that `# Aarch64(Python 3.9 requirements are the same as AMD64)` However, the python 3.9 numpy requirement is excluding `aarch64`, therefore there is no `aarch64` numpy requirement defined at all for py3.9. When one tries to build pandas from source on `aarch64` with py3.9 (such as alpine 3.14, which is musl based), there is no matching numpy found and therefore the build fails. This commit sets the numpy version requirement for `aarch64` on py3.9 the same as amd64 as stated. Here's a log of a failed build: ``` Collecting pandas==1.3.0 Downloading pandas-1.3.0.tar.gz (4.7 MB) Installing build dependencies: started Running command /usr/bin/python3 /tmp/pip-standalone-pip-y3p0bgt2/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-ha64_wsb/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --find-links https://wheel-index.linuxserver.io/alpine/ -- 'setuptools>=38.6.0' wheel 'Cython>=0.29.21,<3' 'numpy==1.17.3; python_version=='"'"'3.7'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.18.3; python_version=='"'"'3.8'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.7'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy>=1.20.0; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'arm64'"'"' and platform_system=='"'"'Darwin'"'"'' 'numpy>=1.20.0; python_version=='"'"'3.9'"'"' and platform_machine=='"'"'arm64'"'"' and platform_system=='"'"'Darwin'"'"'' Looking in links: https://wheel-index.linuxserver.io/alpine/ Ignoring numpy: markers 'python_version == "3.7" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64"' don't match your environment Ignoring numpy: markers 'python_version == "3.8" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64"' don't match your environment Ignoring numpy: markers 'python_version >= "3.9" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_machine == "aarch64"' don't match your environment Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64"' don't match your environment Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment Ignoring numpy: markers 'python_version == "3.9" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment Collecting setuptools>=38.6.0 Using cached setuptools-58.1.0-py3-none-any.whl (816 kB) Collecting wheel Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB) Collecting Cython<3,>=0.29.21 Downloading Cython-0.29.24-py2.py3-none-any.whl (979 kB) Installing collected packages: wheel, setuptools, Cython Successfully installed Cython-0.29.24 setuptools-58.1.0 wheel-0.37.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpmg6hkkyk Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module> main() File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 117, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-ha64_wsb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 154, in get_requires_for_build_wheel return self._get_build_requires( File "/tmp/pip-build-env-ha64_wsb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 135, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-ha64_wsb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 258, in run_setup super(_BuildMetaLegacyBackend, File "/tmp/pip-build-env-ha64_wsb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 150, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 18, in <module> import numpy ModuleNotFoundError: No module named 'numpy' Getting requirements to build wheel: finished with status 'error' WARNING: Discarding https://files.pythonhosted.org/packages/53/05/bf382e8bc60731906a2e7261648bcea3a6b309ad2b9952010737a1b9413e/pandas-1.3.0.tar.gz#sha256=c554e6c9cf2d5ea1aba5979cc837b3649539ced0e18ece186f055450c86622e2 (from https://pypi.org/simple/pandas/) (requires-python:>=3.7.1). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpmg6hkkyk Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement pandas==1.3.0 (from versions: 0.1, 0.2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.24.0, 0.24.1, 0.24.2, 0.25.0, 0.25.1, 0.25.2, 0.25.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.3.1, 1.3.2, 1.3.3) ERROR: No matching distribution found for pandas==1.3.0 ``` - [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43722/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43722/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43722.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43722", "merged_at": "2021-09-23T21:11:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43722.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43722" }
https://api.github.com/repos/pandas-dev/pandas/issues/43723
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43723/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43723/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43723/events
https://github.com/pandas-dev/pandas/pull/43723
1,005,755,034
PR_kwDOAA0YD84sNMGp
43,723
DOC: Fix introduction of DataFrame.rename
{ "avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4", "events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}", "followers_url": "https://api.github.com/users/Bharat123rox/followers", "following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}", "gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bharat123rox", "id": 13381361, "login": "Bharat123rox", "node_id": "MDQ6VXNlcjEzMzgxMzYx", "organizations_url": "https://api.github.com/users/Bharat123rox/orgs", "received_events_url": "https://api.github.com/users/Bharat123rox/received_events", "repos_url": "https://api.github.com/users/Bharat123rox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions", "type": "User", "url": "https://api.github.com/users/Bharat123rox" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" } ]
closed
false
null
[]
null
2
2021-09-23T19:04:45Z
2021-09-29T13:29:50Z
2021-09-29T13:29:49Z
CONTRIBUTOR
null
- [x] closes #43708 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43723/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43723/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43723.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43723", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43723.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43723" }
https://api.github.com/repos/pandas-dev/pandas/issues/43724
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43724/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43724/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43724/events
https://github.com/pandas-dev/pandas/pull/43724
1,005,781,584
PR_kwDOAA0YD84sNRcR
43,724
Backport PR #43634 on branch 1.3.x (PERF: groupby with string dtype)"
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
1
2021-09-23T19:39:42Z
2021-09-24T12:20:44Z
2021-09-24T11:31:17Z
CONTRIBUTOR
null
Backport PR #43634 on branch 1.3.x
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43724/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43724/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43724.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43724", "merged_at": "2021-09-24T11:31:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43724.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43724" }
https://api.github.com/repos/pandas-dev/pandas/issues/43725
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43725/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43725/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43725/events
https://github.com/pandas-dev/pandas/pull/43725
1,005,789,293
PR_kwDOAA0YD84sNS7o
43,725
PERF: Groupby.quantile
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-23T19:50:06Z
2021-09-27T15:07:27Z
2021-09-27T13:11:54Z
MEMBER
null
``` from asv_bench.benchmarks.groupby import * self2 = GroupByMethods() self2.setup('uint', 'quantile', 'direct', 1) %timeit self2.time_dtype_as_group('uint', 'quantile', 'direct', 1) 1.03 ms ± 46.9 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- master 328 µs ± 17.2 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- 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/43725/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43725/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43725.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43725", "merged_at": "2021-09-27T13:11:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43725.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43725" }
https://api.github.com/repos/pandas-dev/pandas/issues/43726
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43726/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43726/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43726/events
https://github.com/pandas-dev/pandas/pull/43726
1,005,850,663
PR_kwDOAA0YD84sNfDz
43,726
Backport PR #43722 on branch 1.3.x (BUG: set numpy requirement for aarch64 and py3.9)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "c2e0c6", "default": false, "description": "aarch64 architecture", "id": 2628846204, "name": "ARM", "node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
2021-09-23T21:12:23Z
2021-09-23T23:29:04Z
2021-09-23T23:29:04Z
NONE
null
Backport PR #43722: BUG: set numpy requirement for aarch64 and py3.9
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43726/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43726/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43726.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43726", "merged_at": "2021-09-23T23:29:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43726.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43726" }
https://api.github.com/repos/pandas-dev/pandas/issues/43727
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43727/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43727/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43727/events
https://github.com/pandas-dev/pandas/issues/43727
1,005,970,320
I_kwDOAA0YD8479eOQ
43,727
BUG: df.groupby.apply(lambda x: x.reindex) behaviour changed from Pandas 1.3.0 to 1.3.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/48900197?v=4", "events_url": "https://api.github.com/users/mlee94/events{/privacy}", "followers_url": "https://api.github.com/users/mlee94/followers", "following_url": "https://api.github.com/users/mlee94/following{/other_user}", "gists_url": "https://api.github.com/users/mlee94/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mlee94", "id": 48900197, "login": "mlee94", "node_id": "MDQ6VXNlcjQ4OTAwMTk3", "organizations_url": "https://api.github.com/users/mlee94/orgs", "received_events_url": "https://api.github.com/users/mlee94/received_events", "repos_url": "https://api.github.com/users/mlee94/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mlee94/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mlee94/subscriptions", "type": "User", "url": "https://api.github.com/users/mlee94" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
2021-09-24T00:45:33Z
2021-09-24T00:57:24Z
2021-09-24T00:57:15Z
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np start_date = pd.to_datetime('2019-01-01') end_date = pd.to_datetime('2019-01-05') data = { 'code': ['X333']*5, 'date': pd.date_range(start_date, periods=5), 'float': np.random.randn(5), } df = ( pd.DataFrame(data) .set_index('date') .groupby('code') .apply( lambda x: x.reindex(pd.date_range(start_date, end_date, name='date')) ) ) print(df) ``` ### Issue Description pandas=1.3.3 Group by key `code` is removed from the multi-index: ``` code float date 2019-01-01 X333 -0.732025 2019-01-02 X333 0.251650 2019-01-03 X333 0.301808 2019-01-04 X333 -0.585017 2019-01-05 X333 0.067119 ``` ### Expected Behavior pandas=1.3.0 Group by key `code` is kept in the multi-index: ``` code float code date X333 2019-01-01 X333 -0.971248 2019-01-02 X333 0.701875 2019-01-03 X333 1.222485 2019-01-04 X333 0.315564 2019-01-05 X333 0.836289 ``` ### Installed Versions <details> <br> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.7.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 58 Stepping 0, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 3.0.1 lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.27.0 pandas_datareader: None bs4 : 4.10.0 bottleneck : None fsspec : 2021.08.1 fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.9 pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.4.24 tables : None tabulate : None xarray : 0.19.0 xlrd : None xlwt : None numba : 0.53.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/43727/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43727/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43728
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43728/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43728/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43728/events
https://github.com/pandas-dev/pandas/pull/43728
1,005,984,210
PR_kwDOAA0YD84sN5MO
43,728
REF: unwrap PandasArray earlier
{ "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-24T01:17:18Z
2021-09-25T18:11:55Z
2021-09-25T16:57:41Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43728/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43728/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43728.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43728", "merged_at": "2021-09-25T16:57:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43728.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43728" }
https://api.github.com/repos/pandas-dev/pandas/issues/43729
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43729/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43729/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43729/events
https://github.com/pandas-dev/pandas/pull/43729
1,006,007,202
PR_kwDOAA0YD84sN9WK
43,729
DEPS: Upgrade Deps for Python 3.10
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "fef2c0", "default": false, "description": "", "id": 2955636717, "name": "Python 3.10", "node_id": "MDU6TGFiZWwyOTU1NjM2NzE3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.10" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
18
2021-09-24T02:13:08Z
2021-10-17T16:22:43Z
2021-10-13T10:40:35Z
MEMBER
null
- [ ] xref #43715 - [ ] closes #40307 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43729/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43729/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43729.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43729", "merged_at": "2021-10-13T10:40:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43729.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43729" }
https://api.github.com/repos/pandas-dev/pandas/issues/43730
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43730/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43730/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43730/events
https://github.com/pandas-dev/pandas/pull/43730
1,006,068,748
PR_kwDOAA0YD84sOIpG
43,730
PERF: GroupBy.count
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-24T04:31:05Z
2021-09-25T15:39:49Z
2021-09-25T15:20:15Z
MEMBER
null
``` from asv_bench.benchmarks.groupby import * self = GroupByMethods() self.setup("datetime", "count", "direct", 2) %timeit self.time_dtype_as_field('datetime', 'count', 'direct', 2) 73.7 µs ± 982 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- master 48.7 µs ± 473 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- 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/43730/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43730/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43730.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43730", "merged_at": "2021-09-25T15:20:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43730.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43730" }
https://api.github.com/repos/pandas-dev/pandas/issues/43731
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43731/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43731/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43731/events
https://github.com/pandas-dev/pandas/pull/43731
1,006,105,185
PR_kwDOAA0YD84sOPZr
43,731
ENH: Add engine="numba" to groupby mean
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-24T05:49:53Z
2021-11-05T02:47:25Z
2021-11-05T00:59:14Z
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/43731/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43731/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43731.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43731", "merged_at": "2021-11-05T00:59:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43731.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43731" }
https://api.github.com/repos/pandas-dev/pandas/issues/43732
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43732/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43732/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43732/events
https://github.com/pandas-dev/pandas/issues/43732
1,006,399,358
I_kwDOAA0YD847_G9-
43,732
BUG: `pandas.to_datetime` raises exception when more than 50 values needs coercion to NaT
{ "avatar_url": "https://avatars.githubusercontent.com/u/182024?v=4", "events_url": "https://api.github.com/users/larsr/events{/privacy}", "followers_url": "https://api.github.com/users/larsr/followers", "following_url": "https://api.github.com/users/larsr/following{/other_user}", "gists_url": "https://api.github.com/users/larsr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/larsr", "id": 182024, "login": "larsr", "node_id": "MDQ6VXNlcjE4MjAyNA==", "organizations_url": "https://api.github.com/users/larsr/orgs", "received_events_url": "https://api.github.com/users/larsr/received_events", "repos_url": "https://api.github.com/users/larsr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/larsr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/larsr/subscriptions", "type": "User", "url": "https://api.github.com/users/larsr" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "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" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/38295417?v=4", "events_url": "https://api.github.com/users/thomasqueirozb/events{/privacy}", "followers_url": "https://api.github.com/users/thomasqueirozb/followers", "following_url": "https://api.github.com/users/thomasqueirozb/following{/other_user}", "gists_url": "https://api.github.com/users/thomasqueirozb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thomasqueirozb", "id": 38295417, "login": "thomasqueirozb", "node_id": "MDQ6VXNlcjM4Mjk1NDE3", "organizations_url": "https://api.github.com/users/thomasqueirozb/orgs", "received_events_url": "https://api.github.com/users/thomasqueirozb/received_events", "repos_url": "https://api.github.com/users/thomasqueirozb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thomasqueirozb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasqueirozb/subscriptions", "type": "User", "url": "https://api.github.com/users/thomasqueirozb" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/38295417?v=4", "events_url": "https://api.github.com/users/thomasqueirozb/events{/privacy}", "followers_url": "https://api.github.com/users/thomasqueirozb/followers", "following_url": "https://api.github.com/users/thomasqueirozb/following{/other_user}", "gists_url": "https://api.github.com/users/thomasqueirozb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thomasqueirozb", "id": 38295417, "login": "thomasqueirozb", "node_id": "MDQ6VXNlcjM4Mjk1NDE3", "organizations_url": "https://api.github.com/users/thomasqueirozb/orgs", "received_events_url": "https://api.github.com/users/thomasqueirozb/received_events", "repos_url": "https://api.github.com/users/thomasqueirozb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thomasqueirozb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasqueirozb/subscriptions", "type": "User", "url": "https://api.github.com/users/thomasqueirozb" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
2021-09-24T12:11:21Z
2021-11-12T03:26:01Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import datetime, pytz # t is a date after 2262 that should be coerced into NaT t = datetime.datetime(3000, 1, 1, 0, 0, 0, 0, pytz.UTC) # lists with many such dates l50 = [t] * 50 l51 = [t] * 51 # pd.to_datetime crashes if the list is longer that 50 # this is fine print(pd.to_datetime(l50, utc=True, errors='coerce')) # this crashes print(pd.to_datetime(l51, utc=True, errors='coerce')) ``` ### Issue Description Background (irrelevant for reproducing the bug, but good to know): A google bigquery gives me dataframe with a column with datetime values with year=9999, and I store the result as a parquet file. When I read it back, `read_parquet` crashes. I traced it down to the following problem in pd.to_datetime. The issue: if pd.datetime needs to convert more than 50 datetime values with tzinfo set, and those values are above year 2262 (the maximal date for pd.Timestamp) and should be coerced into NaT, then pd.to_datetime crashes with a raised exception. It works fine if the series is smaller than 51 items. ### Expected Behavior The expected behavior is that pd.to_datetime should return a list of NaT values also for Sequences longer than 50 items. ### Installed Versions <details> ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.7.10.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-17-cloud-amd64 Version : #1 SMP Debian 4.19.194-3 (2021-07-18) machine : x86_64 processor : byteorder : little LC_ALL : en_US.UTF-8 LANG : C.UTF-8 LOCALE : None.None pandas : 1.3.3 numpy : 1.19.5 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.27.0 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fsspec : 2021.08.1 fastparquet : None gcsfs : 2021.08.1 matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.25 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.54.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/43732/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43732/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43733
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43733/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43733/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43733/events
https://github.com/pandas-dev/pandas/issues/43733
1,006,605,964
I_kwDOAA0YD847_5aM
43,733
BUG: uint8 silently converted to int8 during dataframe creation
{ "avatar_url": "https://avatars.githubusercontent.com/u/23620506?v=4", "events_url": "https://api.github.com/users/ntjess/events{/privacy}", "followers_url": "https://api.github.com/users/ntjess/followers", "following_url": "https://api.github.com/users/ntjess/following{/other_user}", "gists_url": "https://api.github.com/users/ntjess/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ntjess", "id": 23620506, "login": "ntjess", "node_id": "MDQ6VXNlcjIzNjIwNTA2", "organizations_url": "https://api.github.com/users/ntjess/orgs", "received_events_url": "https://api.github.com/users/ntjess/received_events", "repos_url": "https://api.github.com/users/ntjess/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ntjess/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ntjess/subscriptions", "type": "User", "url": "https://api.github.com/users/ntjess" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
open
false
null
[]
null
2
2021-09-24T15:55:24Z
2021-10-03T04:43:23Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python # !pip install -U pandas import pandas as pd import numpy as np # Create arbitrary 3-channel 8-bit image data = np.random.randint(0, 256, size=(50,50, 3), dtype='uint8') # Replicate this image and treat each image as a row of pixel features rows = [data.reshape(-1)]*2 assert all(r.dtype == np.uint8 for r in rows) print(pd.DataFrame(rows).dtypes) # int8??? print(pd.DataFrame(np.vstack(rows)).dtypes) # uint8 (expected) ``` ### Issue Description Apologies if this issue already exists -- type-related issues are hard for me to navigate in github since there are too many to easily parse. `uint8` subarray dtypes are silently converted to `int8` when constructing a dataframe from lists. I tried testing on master but Windows has a build error for me (stack trace below), <details> ``` building 'pandas._libs.algos' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ---------------------------------------- ERROR: Failed building wheel for pandas Failed to build pandas ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly ``` </details> ### Expected Behavior The dtype of each unit in each column is a `uint8`, so I would expect `uint8` resulting columns ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.4.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.3.3 numpy : 1.19.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.4.3 lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.23.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : 1.4.15 tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43733/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43733/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43734
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43734/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43734/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43734/events
https://github.com/pandas-dev/pandas/issues/43734
1,006,609,197
I_kwDOAA0YD847_6Mt
43,734
BUG: Merge with EA and MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/12542576?v=4", "events_url": "https://api.github.com/users/benoit9126/events{/privacy}", "followers_url": "https://api.github.com/users/benoit9126/followers", "following_url": "https://api.github.com/users/benoit9126/following{/other_user}", "gists_url": "https://api.github.com/users/benoit9126/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benoit9126", "id": 12542576, "login": "benoit9126", "node_id": "MDQ6VXNlcjEyNTQyNTc2", "organizations_url": "https://api.github.com/users/benoit9126/orgs", "received_events_url": "https://api.github.com/users/benoit9126/received_events", "repos_url": "https://api.github.com/users/benoit9126/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benoit9126/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benoit9126/subscriptions", "type": "User", "url": "https://api.github.com/users/benoit9126" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-24T15:59:09Z
2021-10-16T15:37:51Z
2021-10-16T15:37:51Z
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df1 = pd.DataFrame(data={("lvl0","lvl1-a"): ["1","2","3"], ("lvl0","lvl1-b"): ["4","5","6"]}, dtype=str) df2 = pd.DataFrame(data={("lvl0","lvl1-a"): ["1","2","3"], ("lvl0","lvl1-c"): ["7","8","9"]}, dtype=pd.StringDtype()) result = pd.merge(left=df1, right=df2, on=[("lvl0","lvl1-a")]) ``` ### Issue Description I am trying to make a merge between two data frames with a `MultiIndex` for the columns. The first data frame has an object data type (`str` in my example) and the second an extension array data type (`pd.StringDtype()` in my example). In this case, in an internal method, an `assign` method is used but unfortunately, the `name` of the column is not a string but a tuple... ### Expected Behavior I would have expected the merge to happen as it is with two `str` dtype data frames or two `pd.StirngDtype()` dtype data frames. ``` lvl0 lvl1-a lvl1-b lvl1-c 0 1 4 7 1 2 5 8 2 3 6 9 ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.6.final.0 python-bits : 64 OS : Linux OS-release : 5.10.0-8-amd64 Version : #1 SMP Debian 5.10.46-4 (2021-08-03) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : fr_FR.UTF-8 LOCALE : fr_FR.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 57.4.0 Cython : 0.29.24 pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 3.0.1 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : 3.0.9 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.25 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43734/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43734/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43735
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43735/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43735/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43735/events
https://github.com/pandas-dev/pandas/pull/43735
1,006,783,885
PR_kwDOAA0YD84sQUGa
43,735
TST: multi indexing when one column exclusively contains NaT(#38025)
{ "avatar_url": "https://avatars.githubusercontent.com/u/48494941?v=4", "events_url": "https://api.github.com/users/AliSayyah/events{/privacy}", "followers_url": "https://api.github.com/users/AliSayyah/followers", "following_url": "https://api.github.com/users/AliSayyah/following{/other_user}", "gists_url": "https://api.github.com/users/AliSayyah/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AliSayyah", "id": 48494941, "login": "AliSayyah", "node_id": "MDQ6VXNlcjQ4NDk0OTQx", "organizations_url": "https://api.github.com/users/AliSayyah/orgs", "received_events_url": "https://api.github.com/users/AliSayyah/received_events", "repos_url": "https://api.github.com/users/AliSayyah/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AliSayyah/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AliSayyah/subscriptions", "type": "User", "url": "https://api.github.com/users/AliSayyah" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
2021-09-24T19:59:15Z
2021-09-29T13:28:11Z
2021-09-29T13:28:07Z
CONTRIBUTOR
null
- [X] closes #38025 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43735/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43735/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43735.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43735", "merged_at": "2021-09-29T13:28:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43735.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43735" }
https://api.github.com/repos/pandas-dev/pandas/issues/43736
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43736/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43736/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43736/events
https://github.com/pandas-dev/pandas/pull/43736
1,006,836,601
PR_kwDOAA0YD84sQeYC
43,736
ENH: new .agg for list-likes
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
open
false
null
[]
null
8
2021-09-24T21:25:23Z
2021-11-07T22:16:46Z
null
MEMBER
null
Part of #43678 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them Replaces the list-like implementation for `.agg` used by Series, DataFrame, SeriesGroupBy, DataFrameGroupBy, Window, and Resample. This will transpose agg results, and swap multiindex levels as well as the order from within the levels. Adds the new implementation behind the option "new_udf_methods". Docs: [future_udf_behavior.zip](https://github.com/pandas-dev/pandas/files/7368201/future_udf_behavior.zip)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43736/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43736/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43736.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43736", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43736.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43736" }
https://api.github.com/repos/pandas-dev/pandas/issues/43737
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43737/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43737/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43737/events
https://github.com/pandas-dev/pandas/pull/43737
1,007,056,948
PR_kwDOAA0YD84sRDeY
43,737
PERF: `Styler.tooltips`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-25T11:07:44Z
2021-09-25T16:50:42Z
2021-09-25T15:33:56Z
CONTRIBUTOR
null
When tooltips were developed there were no hidden_rows or hidden_columns and no max_rows or max_columns. This adds some benchmarks and a minimal change to improve performance. Scope to do a bit better here in future also. ``` before after ratio [cd13e3a4] [7766f055] <master> <styler_tooltips_perf> - 52.5±2ms 47.4±0.7ms 0.90 io.style.Render.time_apply_format_hide_render(24, 120) - 196±0.6ms 173±0.9ms 0.88 io.style.Render.time_tooltips_render(36, 120) - 78.0±2ms 67.0±0.4ms 0.86 io.style.Render.time_tooltips_render(12, 120) - 140±2ms 120±0.3ms 0.85 io.style.Render.time_tooltips_render(24, 120) SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. PERFORMANCE INCREASED. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43737/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43737/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43737.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43737", "merged_at": "2021-09-25T15:33:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43737.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43737" }
https://api.github.com/repos/pandas-dev/pandas/issues/43738
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43738/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43738/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43738/events
https://github.com/pandas-dev/pandas/pull/43738
1,007,060,007
PR_kwDOAA0YD84sRD9E
43,738
DOC: Added sentence to show that unmatched values return -1.
{ "avatar_url": "https://avatars.githubusercontent.com/u/50010452?v=4", "events_url": "https://api.github.com/users/DhruvBShetty/events{/privacy}", "followers_url": "https://api.github.com/users/DhruvBShetty/followers", "following_url": "https://api.github.com/users/DhruvBShetty/following{/other_user}", "gists_url": "https://api.github.com/users/DhruvBShetty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DhruvBShetty", "id": 50010452, "login": "DhruvBShetty", "node_id": "MDQ6VXNlcjUwMDEwNDUy", "organizations_url": "https://api.github.com/users/DhruvBShetty/orgs", "received_events_url": "https://api.github.com/users/DhruvBShetty/received_events", "repos_url": "https://api.github.com/users/DhruvBShetty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DhruvBShetty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DhruvBShetty/subscriptions", "type": "User", "url": "https://api.github.com/users/DhruvBShetty" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
6
2021-09-25T11:22:43Z
2021-11-17T19:06:51Z
2021-11-06T02:45:43Z
CONTRIBUTOR
null
- [x] closes #38482 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew: Added sentence to show that unmatched values return -1 in get_indexer method In [1]: python make.py --single pandas.Index.get_indexer Out [1]:![image](https://user-images.githubusercontent.com/50010452/134762263-3be88054-ddfa-4fee-889c-112c00cf780e.png) In [2]: pre-commit run --files pandas/core/indexes/base.py Out [2] : ![image](https://user-images.githubusercontent.com/50010452/134768894-a75b8ade-175e-477d-94ff-fefa224f98f9.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43738/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43738/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43738.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43738", "merged_at": "2021-11-06T02:45:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43738.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43738" }
https://api.github.com/repos/pandas-dev/pandas/issues/43740
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43740/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43740/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43740/events
https://github.com/pandas-dev/pandas/issues/43740
1,007,130,875
I_kwDOAA0YD848B5j7
43,740
DEPR: Dropping nuisance columns in core.apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" }, { "color": "120491", "default": false, "description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply", "id": 2365523662, "name": "Nuisance Columns", "node_id": "MDU6TGFiZWwyMzY1NTIzNjYy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns" } ]
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" }
8
2021-09-25T16:08:52Z
2021-11-07T15:16:04Z
null
MEMBER
null
Ref: https://github.com/pandas-dev/pandas/pull/41475, https://github.com/pandas-dev/pandas/issues/39993#issuecomment-926281200 To keep the API consistent between groupby / non-groupby UDF methods (apply, agg, transform), we should not allow silent failure in `core.apply`. - [ ] transform_dict_like #43743 - [ ] agg_list_like - #43741
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43740/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43740/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43741
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43741/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43741/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43741/events
https://github.com/pandas-dev/pandas/pull/43741
1,007,136,612
PR_kwDOAA0YD84sRQVd
43,741
DEPR: Silent dropping of nuisance columns in agg_list_like
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "120491", "default": false, "description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply", "id": 2365523662, "name": "Nuisance Columns", "node_id": "MDU6TGFiZWwyMzY1NTIzNjYy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-25T16:26:42Z
2021-09-30T16:05:01Z
2021-09-29T13:10:46Z
MEMBER
null
Part of #43740 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/43741/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43741/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43741.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43741", "merged_at": "2021-09-29T13:10:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43741.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43741" }
https://api.github.com/repos/pandas-dev/pandas/issues/43742
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43742/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43742/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43742/events
https://github.com/pandas-dev/pandas/issues/43742
1,007,148,794
I_kwDOAA0YD848B976
43,742
TYP: Track progress of pyright rules
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
open
false
null
[]
null
0
2021-09-25T17:21:37Z
2021-10-06T15:12:13Z
null
CONTRIBUTOR
null
Pyright has [many rules](https://github.com/microsoft/pyright/blob/main/docs/configuration.md), but currently most of them are disabled. Here is a list of all currently disabled rules and in bracket the number of violations (grep -c) to have a rough idea how much effort enabling a certain rule is: "Core" Typing: - [ ] reportGeneralTypeIssues (2322) - [ ] reportFunctionMemberAccess (5) - [ ] reportIncompatibleMethodOverride (313) - [ ] reportIncompatibleVariableOverride (11) - [ ] reportMissingTypeArgument (369) - [ ] reportOptionalCall (8) - [ ] reportOptionalIterable (6) - [ ] reportOptionalMemberAccess (478) - [ ] reportOptionalOperand (7) - [ ] reportOptionalSubscript (34) - [ ] reportPropertyTypeMismatch (1) Third-Party/Conventions/Other: - [ ] reportConstantRedefinition (21) - [ ] reportImportCycles (40) - [ ] reportMissingModuleSource (2) - [ ] reportMissingTypeStubs (102) - [ ] reportPrivateImportUsage (3) - [ ] reportPrivateUsage (765) - [ ] reportUnboundVariable (70) - [ ] reportUnknownArgumentType (11458) - [ ] reportUnknownLambdaType (304) - [ ] reportUnknownMemberType (21661) - [ ] reportUnknownParameterType (10035) - [ ] reportUnknownVariableType (12947) - [ ] reportUnnecessaryComparison (35) - [ ] reportUnnecessaryIsInstance (86) - [ ] reportUnsupportedDunderAll (1) - [ ] reportUntypedBaseClass (18) - [ ] reportUntypedFunctionDecorator (3) - [ ] reportUnusedClass (2): used for compatibility in pickle - [ ] reportUnusedFunction (6): needs a discussion whether these private functions should either be moved or made public - [ ] reportUnusedImport (292): could be enabled if `__all__` or redundant import were used - [ ] reportUnusedVariable (67): needs consensus to start unused variables with _.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43742/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43742/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43743
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43743/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43743/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43743/events
https://github.com/pandas-dev/pandas/pull/43743
1,007,148,956
PR_kwDOAA0YD84sRSQ0
43,743
DEPR: Silent dropping of nuisance columns in transform_dict_like
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "120491", "default": false, "description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply", "id": 2365523662, "name": "Nuisance Columns", "node_id": "MDU6TGFiZWwyMzY1NTIzNjYy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-25T17:22:27Z
2021-09-26T18:46:34Z
2021-09-26T01:50:07Z
MEMBER
null
Part of #43740 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/43743/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43743/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43743.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43743", "merged_at": "2021-09-26T01:50:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43743.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43743" }
https://api.github.com/repos/pandas-dev/pandas/issues/43744
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43744/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43744/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43744/events
https://github.com/pandas-dev/pandas/pull/43744
1,007,152,954
PR_kwDOAA0YD84sRS3-
43,744
Improved the type stubs in the _libs directory to help with type checking
{ "avatar_url": "https://avatars.githubusercontent.com/u/7040122?v=4", "events_url": "https://api.github.com/users/erictraut/events{/privacy}", "followers_url": "https://api.github.com/users/erictraut/followers", "following_url": "https://api.github.com/users/erictraut/following{/other_user}", "gists_url": "https://api.github.com/users/erictraut/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erictraut", "id": 7040122, "login": "erictraut", "node_id": "MDQ6VXNlcjcwNDAxMjI=", "organizations_url": "https://api.github.com/users/erictraut/orgs", "received_events_url": "https://api.github.com/users/erictraut/received_events", "repos_url": "https://api.github.com/users/erictraut/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erictraut/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erictraut/subscriptions", "type": "User", "url": "https://api.github.com/users/erictraut" }
[ { "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" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
open
false
null
[]
null
3
2021-09-25T17:40:28Z
2021-10-27T16:11:34Z
null
NONE
null
This doesn't change any code, so it should have no impact on runtime behavior.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43744/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43744/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43744.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43744", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43744.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43744" }
https://api.github.com/repos/pandas-dev/pandas/issues/43745
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43745/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43745/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43745/events
https://github.com/pandas-dev/pandas/issues/43745
1,007,154,150
I_kwDOAA0YD848B_Pm
43,745
CI: Run Sdist less often(only on master/nightlies and PRs labeled build)
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "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": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
1
2021-09-25T17:45:35Z
2021-10-06T11:32:42Z
null
MEMBER
null
We might want to consider running the sdist checks less. They take around 10-15 minutes each and personally, I have only seen them fail once or twice ever(which were on PRs that changed build stuff). We could try moving them to only run on PRs that are labeled "Build" and on merged commits first, and then maybe look to move them to nightly. cc @fangchenli @simonjayhawkins
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43745/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43745/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43746
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43746/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43746/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43746/events
https://github.com/pandas-dev/pandas/pull/43746
1,007,170,949
PR_kwDOAA0YD84sRVsL
43,746
TST: DataFrameGroupBy.aggregate with empty frame with MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-25T19:02:05Z
2021-10-19T03:45:31Z
2021-09-25T22:23:16Z
MEMBER
null
- [x] closes #39178 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43746/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43746/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43746.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43746", "merged_at": "2021-09-25T22:23:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43746.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43746" }
https://api.github.com/repos/pandas-dev/pandas/issues/43747
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43747/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43747/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43747/events
https://github.com/pandas-dev/pandas/pull/43747
1,007,247,867
PR_kwDOAA0YD84sRgye
43,747
CI: run pyright with mypy
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
12
2021-09-26T02:03:07Z
2021-10-05T12:11:56Z
2021-09-26T12:21:14Z
CONTRIBUTOR
null
The github action running the pre-commit checks does not install all necessary python packages for type checking. This triggered a few unnecessary `reportOverlappingOverload` by pyright because numpy was not installed. Keep pyright in the pre-commit but disable it on the CI (SKIP=pyright). Instead, run pyright together with mypy in code_checks.sh.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43747/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43747/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43747.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43747", "merged_at": "2021-09-26T12:21:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43747.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43747" }
https://api.github.com/repos/pandas-dev/pandas/issues/43748
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43748/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43748/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43748/events
https://github.com/pandas-dev/pandas/issues/43748
1,007,252,667
I_kwDOAA0YD848CXS7
43,748
BUG: agg in multindex dataframe no working when passing dictionary of strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/20734614?v=4", "events_url": "https://api.github.com/users/bacarbland/events{/privacy}", "followers_url": "https://api.github.com/users/bacarbland/followers", "following_url": "https://api.github.com/users/bacarbland/following{/other_user}", "gists_url": "https://api.github.com/users/bacarbland/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bacarbland", "id": 20734614, "login": "bacarbland", "node_id": "MDQ6VXNlcjIwNzM0NjE0", "organizations_url": "https://api.github.com/users/bacarbland/orgs", "received_events_url": "https://api.github.com/users/bacarbland/received_events", "repos_url": "https://api.github.com/users/bacarbland/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bacarbland/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bacarbland/subscriptions", "type": "User", "url": "https://api.github.com/users/bacarbland" }
[ { "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
3
2021-09-26T02:30:10Z
2021-10-04T16:51:57Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [x] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame({'foo_1': ['a', 'b', 'a', 'h', 'g'], 'foo_2': ['b', 'a', 'c', 'g', 'c'], 'foo_3': ['e', 'c', 'f', 'c', 'h'],'foo_4': ['f', 'e', 'b', 'a', 'c']}) cols = df.columns foo = pd.get_dummies(df,prefix=['']*len(cols),prefix_sep='') # This works foo.agg({'a' : 'sum', 'b' : ['min']}) # This works foo.agg({'a' : ['sum'], 'b' : 'min'}) # This doesn't foo.agg({'a' : 'sum', 'b' : 'min'}) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-5-e185a0f152e3> in <module>() ----> 1 foo.agg({'a' : 'sum', 'b' : 'min'}) 16 frames /usr/local/lib/python3.7/dist-packages/pandas/core/frame.py in aggregate(self, func, axis, *args, **kwargs) 8549 8550 op = frame_apply(self, func=func, axis=axis, args=args, kwargs=kwargs) -> 8551 result = op.agg() 8552 8553 if relabeling: /usr/local/lib/python3.7/dist-packages/pandas/core/apply.py in agg(self) 698 result = None 699 try: --> 700 result = super().agg() 701 except TypeError as err: 702 exc = TypeError( /usr/local/lib/python3.7/dist-packages/pandas/core/apply.py in agg(self) 159 160 if is_dict_like(arg): --> 161 return self.agg_dict_like() 162 elif is_list_like(arg): 163 # we require a list, but not a 'str' /usr/local/lib/python3.7/dist-packages/pandas/core/apply.py in agg_dict_like(self) 458 axis = 0 if isinstance(obj, ABCSeries) else 1 459 result = concat( --> 460 {k: results[k] for k in keys_to_use}, axis=axis, keys=keys_to_use 461 ) 462 elif any(is_ndframe): /usr/local/lib/python3.7/dist-packages/pandas/util/_decorators.py in wrapper(*args, **kwargs) 309 stacklevel=stacklevel, 310 ) --> 311 return func(*args, **kwargs) 312 313 return wrapper /usr/local/lib/python3.7/dist-packages/pandas/core/reshape/concat.py in concat(objs, axis, join, ignore_index, keys, levels, names, verify_integrity, sort, copy) 305 ) 306 --> 307 return op.get_result() 308 309 /usr/local/lib/python3.7/dist-packages/pandas/core/reshape/concat.py in get_result(self) 506 507 index, columns = self.new_axes --> 508 df = cons(data, index=index, copy=self.copy) 509 df.columns = columns 510 return df.__finalize__(self, method="concat") /usr/local/lib/python3.7/dist-packages/pandas/core/frame.py in __init__(self, data, index, columns, dtype, copy) 612 elif isinstance(data, dict): 613 # GH#38939 de facto copy defaults to False only in non-dict cases --> 614 mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) 615 elif isinstance(data, ma.MaskedArray): 616 import numpy.ma.mrecords as mrecords /usr/local/lib/python3.7/dist-packages/pandas/core/internals/construction.py in dict_to_mgr(data, index, columns, dtype, typ, copy) 463 464 return arrays_to_mgr( --> 465 arrays, data_names, index, columns, dtype=dtype, typ=typ, consolidate=copy 466 ) 467 /usr/local/lib/python3.7/dist-packages/pandas/core/internals/construction.py in arrays_to_mgr(arrays, arr_names, index, columns, dtype, verify_integrity, typ, consolidate) 122 123 # don't force copy because getting jammed in an ndarray anyway --> 124 arrays = _homogenize(arrays, index, dtype) 125 126 else: /usr/local/lib/python3.7/dist-packages/pandas/core/internals/construction.py in _homogenize(data, index, dtype) 569 # Forces alignment. No need to copy data since we 570 # are putting it into an ndarray later --> 571 val = val.reindex(index, copy=False) 572 573 val = val._values /usr/local/lib/python3.7/dist-packages/pandas/core/series.py in reindex(self, index, **kwargs) 4578 ) 4579 def reindex(self, index=None, **kwargs): -> 4580 return super().reindex(index=index, **kwargs) 4581 4582 @deprecate_nonkeyword_arguments(version=None, allowed_args=["self", "labels"]) /usr/local/lib/python3.7/dist-packages/pandas/core/generic.py in reindex(self, *args, **kwargs) 4817 # perform the reindex on the axes 4818 return self._reindex_axes( -> 4819 axes, level, limit, tolerance, method, fill_value, copy 4820 ).__finalize__(self, method="reindex") 4821 /usr/local/lib/python3.7/dist-packages/pandas/core/generic.py in _reindex_axes(self, axes, level, limit, tolerance, method, fill_value, copy) 4841 fill_value=fill_value, 4842 copy=copy, -> 4843 allow_dups=False, 4844 ) 4845 /usr/local/lib/python3.7/dist-packages/pandas/core/generic.py in _reindex_with_indexers(self, reindexers, fill_value, copy, allow_dups) 4887 fill_value=fill_value, 4888 allow_dups=allow_dups, -> 4889 copy=copy, 4890 ) 4891 # If we've made a copy once, no need to make another one /usr/local/lib/python3.7/dist-packages/pandas/core/internals/managers.py in reindex_indexer(self, new_axis, indexer, axis, fill_value, allow_dups, copy, consolidate, only_slice) 668 # some axes don't allow reindexing with dups 669 if not allow_dups: --> 670 self.axes[axis]._validate_can_reindex(indexer) 671 672 if axis >= self.ndim: /usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py in _validate_can_reindex(self, indexer) 3783 # trying to reindex on an axis with duplicates 3784 if not self._index_as_unique and len(indexer): -> 3785 raise ValueError("cannot reindex from a duplicate axis") 3786 3787 def reindex( ValueError: cannot reindex from a duplicate axis ``` ### Issue Description The issue seems to be having multiple columns with the same name. I tested with other dataframe without multiple columns with the same name and it works fine. Tested in colab with the latest pandas and also local with anaconda with 1.3.2 ### Expected Behavior a b a a a b b b sum 2.0 1.0 1.0 NaN NaN NaN min NaN NaN NaN 0.0 0.0 0.0 ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.7.12.final.0 python-bits : 64 OS : Linux OS-release : 5.4.104+ Version : #1 SMP Sat Jun 5 09:50:34 PDT 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.19.5 pytz : 2018.9 dateutil : 2.8.2 pip : 21.1.3 setuptools : 57.4.0 Cython : 0.29.24 pytest : 3.6.4 hypothesis : None sphinx : 1.8.5 blosc : None feather : 0.4.1 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.11.3 IPython : 5.5.0 pandas_datareader: 0.9.0 bs4 : 4.6.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.3 odfpy : None openpyxl : 2.5.9 pandas_gbq : 0.13.3 pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.4.23 tables : 3.4.4 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 1.1.0 xlwt : 1.3.0 numba : 0.51.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43748/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43748/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43749
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43749/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43749/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43749/events
https://github.com/pandas-dev/pandas/issues/43749
1,007,259,521
I_kwDOAA0YD848CY-B
43,749
DOC: Typo in pandas.tseries.offset
{ "avatar_url": "https://avatars.githubusercontent.com/u/71891904?v=4", "events_url": "https://api.github.com/users/tanjt107/events{/privacy}", "followers_url": "https://api.github.com/users/tanjt107/followers", "following_url": "https://api.github.com/users/tanjt107/following{/other_user}", "gists_url": "https://api.github.com/users/tanjt107/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tanjt107", "id": 71891904, "login": "tanjt107", "node_id": "MDQ6VXNlcjcxODkxOTA0", "organizations_url": "https://api.github.com/users/tanjt107/orgs", "received_events_url": "https://api.github.com/users/tanjt107/received_events", "repos_url": "https://api.github.com/users/tanjt107/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tanjt107/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tanjt107/subscriptions", "type": "User", "url": "https://api.github.com/users/tanjt107" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "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": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/18447566?v=4", "events_url": "https://api.github.com/users/Digres45/events{/privacy}", "followers_url": "https://api.github.com/users/Digres45/followers", "following_url": "https://api.github.com/users/Digres45/following{/other_user}", "gists_url": "https://api.github.com/users/Digres45/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Digres45", "id": 18447566, "login": "Digres45", "node_id": "MDQ6VXNlcjE4NDQ3NTY2", "organizations_url": "https://api.github.com/users/Digres45/orgs", "received_events_url": "https://api.github.com/users/Digres45/received_events", "repos_url": "https://api.github.com/users/Digres45/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Digres45/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Digres45/subscriptions", "type": "User", "url": "https://api.github.com/users/Digres45" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/18447566?v=4", "events_url": "https://api.github.com/users/Digres45/events{/privacy}", "followers_url": "https://api.github.com/users/Digres45/followers", "following_url": "https://api.github.com/users/Digres45/following{/other_user}", "gists_url": "https://api.github.com/users/Digres45/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Digres45", "id": 18447566, "login": "Digres45", "node_id": "MDQ6VXNlcjE4NDQ3NTY2", "organizations_url": "https://api.github.com/users/Digres45/orgs", "received_events_url": "https://api.github.com/users/Digres45/received_events", "repos_url": "https://api.github.com/users/Digres45/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Digres45/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Digres45/subscriptions", "type": "User", "url": "https://api.github.com/users/Digres45" }, { "avatar_url": "https://avatars.githubusercontent.com/u/63693789?v=4", "events_url": "https://api.github.com/users/VivekThazhathattil/events{/privacy}", "followers_url": "https://api.github.com/users/VivekThazhathattil/followers", "following_url": "https://api.github.com/users/VivekThazhathattil/following{/other_user}", "gists_url": "https://api.github.com/users/VivekThazhathattil/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/VivekThazhathattil", "id": 63693789, "login": "VivekThazhathattil", "node_id": "MDQ6VXNlcjYzNjkzNzg5", "organizations_url": "https://api.github.com/users/VivekThazhathattil/orgs", "received_events_url": "https://api.github.com/users/VivekThazhathattil/received_events", "repos_url": "https://api.github.com/users/VivekThazhathattil/repos", "site_admin": false, "starred_url": "https://api.github.com/users/VivekThazhathattil/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/VivekThazhathattil/subscriptions", "type": "User", "url": "https://api.github.com/users/VivekThazhathattil" } ]
null
6
2021-09-26T03:08:55Z
2021-09-26T17:34:19Z
2021-09-26T17:33:31Z
NONE
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.tseries.offsets.BYearEnd.html ### Documentation problem A “s” is missing in the word “offset” `from pandas.tseries.offset import BYearEnd` ### Suggested fix for documentation `from pandas.tseries.offsets import BYearEnd`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43749/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43749/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43750
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43750/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43750/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43750/events
https://github.com/pandas-dev/pandas/pull/43750
1,007,338,832
PR_kwDOAA0YD84sRuDm
43,750
Fixing Typo in BYearEnd example
{ "avatar_url": "https://avatars.githubusercontent.com/u/18447566?v=4", "events_url": "https://api.github.com/users/Digres45/events{/privacy}", "followers_url": "https://api.github.com/users/Digres45/followers", "following_url": "https://api.github.com/users/Digres45/following{/other_user}", "gists_url": "https://api.github.com/users/Digres45/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Digres45", "id": 18447566, "login": "Digres45", "node_id": "MDQ6VXNlcjE4NDQ3NTY2", "organizations_url": "https://api.github.com/users/Digres45/orgs", "received_events_url": "https://api.github.com/users/Digres45/received_events", "repos_url": "https://api.github.com/users/Digres45/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Digres45/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Digres45/subscriptions", "type": "User", "url": "https://api.github.com/users/Digres45" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-26T09:45:10Z
2021-09-26T10:42:26Z
2021-09-26T10:42:26Z
CONTRIBUTOR
null
- [ ] closes #43749 - [ ] Fixes example for BYearEnd - [ ] pandas/pandas/_libs/tslibs/offsets.pyx file updated
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43750/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43750/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43750.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43750", "merged_at": "2021-09-26T10:42:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43750.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43750" }
https://api.github.com/repos/pandas-dev/pandas/issues/43751
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43751/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43751/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43751/events
https://github.com/pandas-dev/pandas/pull/43751
1,007,382,458
PR_kwDOAA0YD84sR04i
43,751
TYP: add mypy defaults to pyproject.toml
{ "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
2021-09-26T12:48:17Z
2021-09-26T15:23:29Z
2021-09-26T15:05:48Z
MEMBER
null
may make it easier for contributors to experiment with enabling mypy strictness flags
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43751/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43751/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43751.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43751", "merged_at": "2021-09-26T15:05:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43751.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43751" }
https://api.github.com/repos/pandas-dev/pandas/issues/43752
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43752/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43752/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43752/events
https://github.com/pandas-dev/pandas/pull/43752
1,007,405,799
PR_kwDOAA0YD84sR4nd
43,752
TYP: rename FrameOrSeries to NDFrameT
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-26T14:22:38Z
2021-09-28T13:08:29Z
2021-09-28T13:08:25Z
CONTRIBUTOR
null
`FrameOrSeries = TypeVar("FrameOrSeries", bound="NDFrame")` but the current name implies `pd.DataFrame | pd.Series`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43752/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43752/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43752.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43752", "merged_at": "2021-09-28T13:08:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43752.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43752" }
https://api.github.com/repos/pandas-dev/pandas/issues/43753
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43753/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43753/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43753/events
https://github.com/pandas-dev/pandas/pull/43753
1,007,419,604
PR_kwDOAA0YD84sR61L
43,753
CLN: Remove unused functions/variables
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
6
2021-09-26T15:15:18Z
2021-09-28T15:18:23Z
2021-09-28T15:05:03Z
CONTRIBUTOR
null
Found by pyright's `reportUnused*`. Unused functions/variables are not directly related to typing, but pyright warns about these cases because it is asked to do unnecessary work.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43753/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43753/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43753.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43753", "merged_at": "2021-09-28T15:05:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43753.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43753" }
https://api.github.com/repos/pandas-dev/pandas/issues/43754
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43754/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43754/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43754/events
https://github.com/pandas-dev/pandas/pull/43754
1,007,443,417
PR_kwDOAA0YD84sR-ng
43,754
Fix typo in doc: pandas.tseries.offset -> pandas.tseries.offsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/63693789?v=4", "events_url": "https://api.github.com/users/VivekThazhathattil/events{/privacy}", "followers_url": "https://api.github.com/users/VivekThazhathattil/followers", "following_url": "https://api.github.com/users/VivekThazhathattil/following{/other_user}", "gists_url": "https://api.github.com/users/VivekThazhathattil/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/VivekThazhathattil", "id": 63693789, "login": "VivekThazhathattil", "node_id": "MDQ6VXNlcjYzNjkzNzg5", "organizations_url": "https://api.github.com/users/VivekThazhathattil/orgs", "received_events_url": "https://api.github.com/users/VivekThazhathattil/received_events", "repos_url": "https://api.github.com/users/VivekThazhathattil/repos", "site_admin": false, "starred_url": "https://api.github.com/users/VivekThazhathattil/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/VivekThazhathattil/subscriptions", "type": "User", "url": "https://api.github.com/users/VivekThazhathattil" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-26T16:52:19Z
2021-09-26T17:33:31Z
2021-09-26T17:33:31Z
CONTRIBUTOR
null
- [x] closes #43749
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43754/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43754/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43754.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43754", "merged_at": "2021-09-26T17:33:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43754.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43754" }
https://api.github.com/repos/pandas-dev/pandas/issues/43755
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43755/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43755/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43755/events
https://github.com/pandas-dev/pandas/issues/43755
1,007,448,771
I_kwDOAA0YD848DHLD
43,755
DOC: Typo(s?) in pandas.DataFrame.isin
{ "avatar_url": "https://avatars.githubusercontent.com/u/40028187?v=4", "events_url": "https://api.github.com/users/loucadufault/events{/privacy}", "followers_url": "https://api.github.com/users/loucadufault/followers", "following_url": "https://api.github.com/users/loucadufault/following{/other_user}", "gists_url": "https://api.github.com/users/loucadufault/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/loucadufault", "id": 40028187, "login": "loucadufault", "node_id": "MDQ6VXNlcjQwMDI4MTg3", "organizations_url": "https://api.github.com/users/loucadufault/orgs", "received_events_url": "https://api.github.com/users/loucadufault/received_events", "repos_url": "https://api.github.com/users/loucadufault/repos", "site_admin": false, "starred_url": "https://api.github.com/users/loucadufault/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/loucadufault/subscriptions", "type": "User", "url": "https://api.github.com/users/loucadufault" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4", "events_url": "https://api.github.com/users/Varun270/events{/privacy}", "followers_url": "https://api.github.com/users/Varun270/followers", "following_url": "https://api.github.com/users/Varun270/following{/other_user}", "gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Varun270", "id": 75975268, "login": "Varun270", "node_id": "MDQ6VXNlcjc1OTc1MjY4", "organizations_url": "https://api.github.com/users/Varun270/orgs", "received_events_url": "https://api.github.com/users/Varun270/received_events", "repos_url": "https://api.github.com/users/Varun270/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varun270/subscriptions", "type": "User", "url": "https://api.github.com/users/Varun270" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4", "events_url": "https://api.github.com/users/Varun270/events{/privacy}", "followers_url": "https://api.github.com/users/Varun270/followers", "following_url": "https://api.github.com/users/Varun270/following{/other_user}", "gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Varun270", "id": 75975268, "login": "Varun270", "node_id": "MDQ6VXNlcjc1OTc1MjY4", "organizations_url": "https://api.github.com/users/Varun270/orgs", "received_events_url": "https://api.github.com/users/Varun270/received_events", "repos_url": "https://api.github.com/users/Varun270/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varun270/subscriptions", "type": "User", "url": "https://api.github.com/users/Varun270" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
10
2021-09-26T17:13:02Z
2021-10-03T14:14:03Z
2021-10-03T14:14:03Z
NONE
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.isin.html ### Documentation problem In the last example, the text introducing the code snippet reads: > When values is a Series or DataFrame the index and column must match. Note that ‘falcon’ does not match based on the number of legs in df2. However, "df2" does not exist in the included code snippet (it is instead called "other"). Additionally, I am not comfortable enough with pandas to assert this, but it seems like the text should incorrectly states that "falcon" does not match, since "falcon" indeed does match for both columns, see the relevant portion of the code snippet: ``` >>> df.isin(other) num_legs num_wings falcon True True dog False False ``` ### Suggested fix for documentation Text should at least read: > When `values` is a Series or DataFrame the index and column must match. Note that ‘falcon’ does not match based on the number of legs in other. or the variable in the code snippet should be renamed to "df2". Additionally, something may need to be done to address the potential discrepancy in saying that "falcon" does not match.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43755/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43755/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43756
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43756/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43756/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43756/events
https://github.com/pandas-dev/pandas/pull/43756
1,007,472,480
PR_kwDOAA0YD84sSDHR
43,756
BUG: groupby mean fails for complex
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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": "009800", "default": false, "description": "Complex Numbers", "id": 172091424, "name": "Complex", "node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-26T18:55:11Z
2021-09-30T19:52:21Z
2021-09-30T19:46:48Z
CONTRIBUTOR
null
- [x] closes #43701 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/43756/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43756/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43756.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43756", "merged_at": "2021-09-30T19:46:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43756.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43756" }
https://api.github.com/repos/pandas-dev/pandas/issues/43757
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43757/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43757/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43757/events
https://github.com/pandas-dev/pandas/issues/43757
1,007,482,515
I_kwDOAA0YD848DPaT
43,757
TST: Add doctests on cython files
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-26T19:37:27Z
2021-09-30T19:44:55Z
2021-09-30T19:44:46Z
CONTRIBUTOR
null
Adding `--doctest-cython` to `ci/run_tests.sh` to cover doctests in cython files. Lots of them are failing at the moment. But I think few of them (like now, today), can be skipped using `# doctest: +SKIP`. Below is the current list of failures atm. ```python ===================================================================================== short test summary info ===================================================================================== FAILED pandas/_libs/hashtable.cpython-38-darwin.so::pandas._libs.hashtable.Int64Factorizer.factorize FAILED pandas/_libs/hashtable.cpython-38-darwin.so::pandas._libs.hashtable.ObjectFactorizer.factorize FAILED pandas/_libs/hashtable.cpython-38-darwin.so::pandas._libs.hashtable.__test__.Int64Factorizer.factorize (line 134) FAILED pandas/_libs/hashtable.cpython-38-darwin.so::pandas._libs.hashtable.__test__.ObjectFactorizer.factorize (line 88) FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.__test__.infer_dtype (line 1299) FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.__test__.is_iterator (line 242) FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.__test__.is_list_like (line 1051) FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.__test__.is_scalar (line 149) FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.infer_dtype FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.is_iterator FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.is_list_like FAILED pandas/_libs/lib.cpython-38-darwin.so::pandas._libs.lib.is_scalar FAILED pandas/_libs/tslibs/dtypes.cpython-38-darwin.so::pandas._libs.tslibs.dtypes.Resolution.from_attrname FAILED pandas/_libs/tslibs/dtypes.cpython-38-darwin.so::pandas._libs.tslibs.dtypes.Resolution.get_reso_from_freq FAILED pandas/_libs/tslibs/dtypes.cpython-38-darwin.so::pandas._libs.tslibs.dtypes.__test__.Resolution.from_attrname (line 223) FAILED pandas/_libs/tslibs/dtypes.cpython-38-darwin.so::pandas._libs.tslibs.dtypes.__test__.Resolution.get_reso_from_freq (line 238) FAILED pandas/_libs/tslibs/nattype.cpython-38-darwin.so::pandas._libs.tslibs.nattype.NaTType.now FAILED pandas/_libs/tslibs/nattype.cpython-38-darwin.so::pandas._libs.tslibs.nattype.NaTType.today FAILED pandas/_libs/tslibs/nattype.cpython-38-darwin.so::pandas._libs.tslibs.nattype.NaTType.utcfromtimestamp FAILED pandas/_libs/tslibs/nattype.cpython-38-darwin.so::pandas._libs.tslibs.nattype.NaTType.utcnow FAILED pandas/_libs/tslibs/period.cpython-38-darwin.so::pandas._libs.tslibs.period._Period.strftime FAILED pandas/_libs/tslibs/period.cpython-38-darwin.so::pandas._libs.tslibs.period.__test__._Period.strftime (line 2243) FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.Timestamp.now FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.Timestamp.today FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.Timestamp.utcfromtimestamp FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.Timestamp.utcnow FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps._Timestamp.to_period FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.__test__.Timestamp.now (line 1048) FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.__test__.Timestamp.today (line 1075) FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.__test__.Timestamp.utcfromtimestamp (line 1115) FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.__test__.Timestamp.utcnow (line 1101) FAILED pandas/_libs/tslibs/timestamps.cpython-38-darwin.so::pandas._libs.tslibs.timestamps.__test__._Timestamp.to_period (line 905) FAILED pandas/_libs/tslibs/timezones.cpython-38-darwin.so::pandas._libs.tslibs.timezones.__test__.tz_standardize (line 375) FAILED pandas/_libs/tslibs/timezones.cpython-38-darwin.so::pandas._libs.tslibs.timezones.tz_standardize ================================================================================= 34 failed, 106 passed in 1.10s ==================================================================================
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43757/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43757/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43758
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43758/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43758/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43758/events
https://github.com/pandas-dev/pandas/issues/43758
1,007,487,835
I_kwDOAA0YD848DQtb
43,758
DEPR: `hide_index` and `hide_columns` in favour of `hide(axis=..)`?
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-26T20:01:39Z
2021-10-30T17:31:38Z
2021-10-30T17:31:38Z
CONTRIBUTOR
null
#### Is your feature request related to a problem? When Styler was developed it had `hide_index`, which hid the whole index, and `hide_columns`, which performed a separate function of hiding specific columns of data whilst still showing the column headers. After extending the functions in 1.3.0, 1.4.0, both methods now have the same signature and function. They can hide the display of the indexes, or hide specific rows or columns of data, or hide specific levels in a multiindex. #### Describe the solution you'd like Should we deprecate both of these methods and wrap their function into a generic `Styler.hide(axis=.., *args)`? Seems to optimise code and probably user functionality. This might also make it easier to add a `show()` method for styler similar to `head` and `tail` for dataframes?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43758/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43758/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43759
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43759/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43759/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43759/events
https://github.com/pandas-dev/pandas/issues/43759
1,007,493,614
I_kwDOAA0YD848DSHu
43,759
BUG: Chained `map().fillna()` with only integers supplied returns floats
{ "avatar_url": "https://avatars.githubusercontent.com/u/17104278?v=4", "events_url": "https://api.github.com/users/timskovjacobsen/events{/privacy}", "followers_url": "https://api.github.com/users/timskovjacobsen/followers", "following_url": "https://api.github.com/users/timskovjacobsen/following{/other_user}", "gists_url": "https://api.github.com/users/timskovjacobsen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/timskovjacobsen", "id": 17104278, "login": "timskovjacobsen", "node_id": "MDQ6VXNlcjE3MTA0Mjc4", "organizations_url": "https://api.github.com/users/timskovjacobsen/orgs", "received_events_url": "https://api.github.com/users/timskovjacobsen/received_events", "repos_url": "https://api.github.com/users/timskovjacobsen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/timskovjacobsen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/timskovjacobsen/subscriptions", "type": "User", "url": "https://api.github.com/users/timskovjacobsen" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
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
2021-09-26T20:25:27Z
2021-09-27T07:19:02Z
2021-09-26T22:20:23Z
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame({ "letter": ["a", "b", "c", "d", "e", "f"], }) map_letter_to_num = { "a": 1, "d": 4, } # ----- Map without fill ----- df_mapped = df.copy() df_mapped["number"] = df["letter"].map(map_letter_to_num) print(df_mapped) # letter number # 0 a 1.0 # 1 b NaN # 2 c NaN # 3 d 4.0 # 4 e NaN # 5 f NaN # I would expect column "numbers" to be floats, which they also are # (NumPy treats NaN as a float) print(df_mapped.dtypes) # letter object # number float64 # dtype: object # ----- Map with integer fill ----- df_mapped_filled = df.copy() df_mapped_filled["number"] = df["letter"].map(map_letter_to_num).fillna(1) print(df_mapped_filled) # letter number # 0 a 1.0 # 1 b 1.0 # 2 c 1.0 # 3 d 4.0 # 4 e 1.0 # 5 f 1.0 # I would expect column "number" to be integers, since I'm both mapping filling with only integers print(df_mapped_filled.dtypes) # letter object # number float64 # dtype: object ``` ### Issue Description I have a dataframe with a column, let's call it `"letters"`. I want to insert a new column, let's call it `"numbers"`, by mapping via a `dict`. The dict has letters as keys and integers as values. Since I might not always have all the letter keys present in my dict, I want to fill the rest with a default value. For this, I'm using the `.fillna()` method with an integer as fill value. ### Expected Behavior So seen "from the outside", I'm building a new column for which I supply values for all rows. All values are integers. Therefore, I would expect the resulting column to have the type `int`, or `int64`. Instead, the column comes out as `int64`. I think I understand why this happens, hence the phrasing "from the outside" used above. The mapping is performed in a two-step process, first with `.map()` and then chained with `.fillna()`. The `.map()` returns a dataframe with the `"numbers"` column as `float64`, which it should. Then, `fillna()` operates on that and inserts integers into a float column. Inserting integers into a column of type `float64` converts the integers to `float64` as well. Is that correctly interpreted? I was hoping to circumvent this by supplying a `fillna` parameter in the `map()` method, to let Pandas know upfront that I have only integers to supply. However, `map()` does not take such a parameter. For anyone looking for a solution, I could solve this by simple conversion after having debugged it. ```python import numpy as np df_mapped_filled["number"] = df_mapped_filled["number"].astype(np.int64) ``` ### Installed Versions The newest version of Pandas as of now is 1.3.3. I'm using 1.3.2 and release notes for 1.3.3 do not mention anything related to this issue. <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19042 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Danish_Denmark.1252 pandas : 1.3.2 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 57.4.0 Cython : None pytest : 6.2.5 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 fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : 0.8.9 xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43759/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43759/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43760
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43760/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43760/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43760/events
https://github.com/pandas-dev/pandas/pull/43760
1,007,503,498
PR_kwDOAA0YD84sSH0n
43,760
PERF: obj_with_exclusions
{ "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": "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-26T21:07:45Z
2021-09-28T14:49:41Z
2021-09-27T22:17:14Z
MEMBER
null
``` from asv_bench.benchmarks.groupby import * self = Cumulative() self.setup("int64", "cumsum") %timeit self.setup("int64", "cumsum"); self.time_frame_transform("int64", "cumsum") 107 ms ± 7.57 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master 74.6 ms ± 2.04 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- 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/43760/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43760/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43760.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43760", "merged_at": "2021-09-27T22:17:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43760.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43760" }
https://api.github.com/repos/pandas-dev/pandas/issues/43761
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43761/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43761/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43761/events
https://github.com/pandas-dev/pandas/pull/43761
1,007,626,808
PR_kwDOAA0YD84sSd_D
43,761
REF: pad/backfill out of IndexEngine
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "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
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-27T02:49:20Z
2021-09-28T14:46:38Z
2021-09-27T22:17:43Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43761/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43761/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43761.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43761", "merged_at": "2021-09-27T22:17:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43761.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43761" }
https://api.github.com/repos/pandas-dev/pandas/issues/43762
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43762/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43762/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43762/events
https://github.com/pandas-dev/pandas/pull/43762
1,007,630,109
PR_kwDOAA0YD84sSehx
43,762
REF: share _cython_agg_general
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-27T02:57:28Z
2021-09-28T14:48:15Z
2021-09-27T22:18:38Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43762/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43762/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43762.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43762", "merged_at": "2021-09-27T22:18:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43762.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43762" }
https://api.github.com/repos/pandas-dev/pandas/issues/43763
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43763/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43763/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43763/events
https://github.com/pandas-dev/pandas/pull/43763
1,007,761,772
PR_kwDOAA0YD84sS4Nm
43,763
BUG: to_coo silently converting non-zero fill values
{ "avatar_url": "https://avatars.githubusercontent.com/u/57047354?v=4", "events_url": "https://api.github.com/users/saehuihwang/events{/privacy}", "followers_url": "https://api.github.com/users/saehuihwang/followers", "following_url": "https://api.github.com/users/saehuihwang/following{/other_user}", "gists_url": "https://api.github.com/users/saehuihwang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/saehuihwang", "id": 57047354, "login": "saehuihwang", "node_id": "MDQ6VXNlcjU3MDQ3MzU0", "organizations_url": "https://api.github.com/users/saehuihwang/orgs", "received_events_url": "https://api.github.com/users/saehuihwang/received_events", "repos_url": "https://api.github.com/users/saehuihwang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/saehuihwang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/saehuihwang/subscriptions", "type": "User", "url": "https://api.github.com/users/saehuihwang" }
[ { "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": "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-27T06:44:54Z
2021-09-28T18:47:07Z
2021-09-28T18:46:32Z
CONTRIBUTOR
null
- [X] closes #24817 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/43763/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43763/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43763.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43763", "merged_at": "2021-09-28T18:46:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43763.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43763" }
https://api.github.com/repos/pandas-dev/pandas/issues/43764
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43764/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43764/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43764/events
https://github.com/pandas-dev/pandas/issues/43764
1,007,798,593
I_kwDOAA0YD848EclB
43,764
Summing nanoseconds time delta to timestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/45828280?v=4", "events_url": "https://api.github.com/users/deponovo/events{/privacy}", "followers_url": "https://api.github.com/users/deponovo/followers", "following_url": "https://api.github.com/users/deponovo/following{/other_user}", "gists_url": "https://api.github.com/users/deponovo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deponovo", "id": 45828280, "login": "deponovo", "node_id": "MDQ6VXNlcjQ1ODI4Mjgw", "organizations_url": "https://api.github.com/users/deponovo/orgs", "received_events_url": "https://api.github.com/users/deponovo/received_events", "repos_url": "https://api.github.com/users/deponovo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deponovo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deponovo/subscriptions", "type": "User", "url": "https://api.github.com/users/deponovo" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
open
false
null
[]
null
5
2021-09-27T07:28:34Z
2021-11-03T18:07:26Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd res1 = (pd.Timestamp(1001) == pd.Timedelta(seconds=1e-9) + pd.Timestamp(1000)) # False, but should be True res2 = (pd.Timestamp(1001) == pd.Timestamp(1) + pd.Timedelta(seconds=1000e-9)) # True res1 == res2 # False, should be True # this sum works properly `pd.Timestamp(1) + pd.Timedelta(nanoseconds=1)` ``` ### Issue Description Adding `Timedelta`s that have nanoseconds defined as a float do not work properly for timedelta values in the [1-999] range. This report is a result of [this SO question](https://stackoverflow.com/questions/69321347/pandas-summing-nanoseconds-time-delta-to-timestamp?noredirect=1#comment122560569_69321347) ### Expected Behavior `all([pd.Timestamp(1000 + x*1e-9) == pd.Timedelta(seconds=x*1e-9) + pd.Timestamp(1000)) for x in range(1000)])` should be `True` Or any equivalent not using the explicit default nanoseconds unit or the `nanoseconds` keyword as in: `pd.Timedelta(1)` or `pd.Timedelta(nanoseconds=1)` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : c7f7443c1bad8262358114d5e88cd9c8a308e8aa python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : de_DE.cp1252 pandas : 1.3.1 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.2 setuptools : 49.6.0.post20210108 Cython : None pytest : 6.2.4 hypothesis : None sphinx : 4.0.2 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.24.1 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43764/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43764/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43765
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43765/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43765/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43765/events
https://github.com/pandas-dev/pandas/issues/43765
1,008,084,807
I_kwDOAA0YD848FidH
43,765
QST: Why does pandas DateOffset.rollback() not work the way I expect it to with days / hours?
{ "avatar_url": "https://avatars.githubusercontent.com/u/525675?v=4", "events_url": "https://api.github.com/users/ilCatania/events{/privacy}", "followers_url": "https://api.github.com/users/ilCatania/followers", "following_url": "https://api.github.com/users/ilCatania/following{/other_user}", "gists_url": "https://api.github.com/users/ilCatania/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ilCatania", "id": 525675, "login": "ilCatania", "node_id": "MDQ6VXNlcjUyNTY3NQ==", "organizations_url": "https://api.github.com/users/ilCatania/orgs", "received_events_url": "https://api.github.com/users/ilCatania/received_events", "repos_url": "https://api.github.com/users/ilCatania/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ilCatania/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ilCatania/subscriptions", "type": "User", "url": "https://api.github.com/users/ilCatania" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2021-09-27T12:22:36Z
2021-10-01T23:06:02Z
2021-10-01T23:05:53Z
NONE
null
### - [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [X] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). ### Link to question on StackOverflow https://stackoverflow.com/questions/69345845/why-does-pandas-dateoffset-rollback-not-work-the-way-i-expect-it-to-with-days ### Question about pandas I'm trying to move an arbitrary input `pd.Timestamp` back to the correct start offset unless it is already on offset. The following code works with `BusinessMonthEnd`, `MonthEnd`, `MonthStart`, and so on: ```python import pandas as pd from pandas.tseries.offsets import * def to_start(t: pd.Timestamp, freq: pd.DateOffset) -> pd.Timestamp: return freq.rollback(t) assert to_start(pd.to_datetime("2021-09-27"), MonthEnd()) == pd.to_datetime("2021-08-31") assert to_start(pd.to_datetime("2021-09-27"), MonthBegin()) == pd.to_datetime("2021-08-31") assert to_start(pd.to_datetime("2021-08-27"), BMonthEnd()) == pd.to_datetime("2021-07-30") assert to_start(pd.to_datetime("2021-08-27"), YearBegin()) == pd.to_datetime("2021-01-01") assert to_start(pd.to_datetime("2021-08-27"), BYearBegin()) == pd.to_datetime("2021-01-01") # also it works nicely with holiday calendars from pandas.tseries.holiday import USFederalHolidayCalendar us_fed_biz_days = CustomBusinessDay(calendar=USFederalHolidayCalendar()) memorial_day = pd.to_datetime("2021-05-31") the_friday_before_memorial_day = pd.to_datetime("2021-05-28") assert to_start(memorial_day, us_fed_biz_days) == the_friday_before_memorial_day ``` However (and this is driving me crazy) it doesn't seem to work for `Day`, `BusinessDay`, `Week`, `Hour` etc: ```python assert to_start(pd.to_datetime("2021-08-27 05:00"), Day()) == pd.to_datetime("2021-08-27") assert to_start(pd.to_datetime("2021-08-27 05:00"), BDay()) == pd.to_datetime("2021-08-27") assert to_start(pd.to_datetime("2021-08-27 05:15"), Hour()) == pd.to_datetime("2021-08-27 05:00") assert to_start(pd.to_datetime("2021-08-26"), pd.tseries.frequencies.to_offset("W-MON")) == pd.to_datetime("2021-08-24") ``` I have also tried this: ```python def to_start(t: pd.Timestamp, freq: pd.DateOffset) -> pd.Timestamp: return pd.Period(t, freq=freq).start_time ``` which ironically works with the second set of assertions but not the first. Is my expectation of the above assertions not failing unreasonable, and if so what am I missing, please?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43765/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43765/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43766
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43766/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43766/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43766/events
https://github.com/pandas-dev/pandas/pull/43766
1,008,152,911
PR_kwDOAA0YD84sUF3U
43,766
Ceil ms bug fix
{ "avatar_url": "https://avatars.githubusercontent.com/u/29281357?v=4", "events_url": "https://api.github.com/users/mmecoco/events{/privacy}", "followers_url": "https://api.github.com/users/mmecoco/followers", "following_url": "https://api.github.com/users/mmecoco/following{/other_user}", "gists_url": "https://api.github.com/users/mmecoco/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mmecoco", "id": 29281357, "login": "mmecoco", "node_id": "MDQ6VXNlcjI5MjgxMzU3", "organizations_url": "https://api.github.com/users/mmecoco/orgs", "received_events_url": "https://api.github.com/users/mmecoco/received_events", "repos_url": "https://api.github.com/users/mmecoco/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mmecoco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mmecoco/subscriptions", "type": "User", "url": "https://api.github.com/users/mmecoco" }
[]
closed
false
null
[]
null
1
2021-09-27T13:27:02Z
2021-09-27T13:27:43Z
2021-09-27T13:27:43Z
NONE
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43766/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43766/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43766.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43766", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43766.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43766" }
https://api.github.com/repos/pandas-dev/pandas/issues/43767
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43767/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43767/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43767/events
https://github.com/pandas-dev/pandas/issues/43767
1,008,163,004
I_kwDOAA0YD848F1i8
43,767
BUG: reset_index after a group_by raise a ValueError for empty dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/44290134?v=4", "events_url": "https://api.github.com/users/etiennebrateau/events{/privacy}", "followers_url": "https://api.github.com/users/etiennebrateau/followers", "following_url": "https://api.github.com/users/etiennebrateau/following{/other_user}", "gists_url": "https://api.github.com/users/etiennebrateau/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/etiennebrateau", "id": 44290134, "login": "etiennebrateau", "node_id": "MDQ6VXNlcjQ0MjkwMTM0", "organizations_url": "https://api.github.com/users/etiennebrateau/orgs", "received_events_url": "https://api.github.com/users/etiennebrateau/received_events", "repos_url": "https://api.github.com/users/etiennebrateau/repos", "site_admin": false, "starred_url": "https://api.github.com/users/etiennebrateau/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/etiennebrateau/subscriptions", "type": "User", "url": "https://api.github.com/users/etiennebrateau" }
[ { "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, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
open
false
null
[]
null
0
2021-09-27T13:36:44Z
2021-10-02T00:33:02Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import datetime as dt df = pd.DataFrame([(dt.date.today(), "b", 12)], columns=["date", "b", "count"]) df["date"] = pd.to_datetime(df["date"]) df = df[df["count"] == 1] # uncomment this line to make the dataframe empty and so reset_index raising an exception df2 = df.set_index('date').groupby(['b']).resample('M').sum().reset_index() ``` ### Issue Description When you run the code above, df won’t be empty and the code will run correctly. But if you uncomment the line that makes the dataframe empty, the reset index will raise a ValueError(f"cannot insert b, already exists"). This is a regression as it was working in pandas 1.2.x ### Expected Behavior It’s expected for the reset_index to apply correctly on an empty dataframe too. ### Installed Versions INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.7.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.1.2 setuptools : 57.0.0 Cython : None pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.25 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43767/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43767/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43768
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43768/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43768/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43768/events
https://github.com/pandas-dev/pandas/pull/43768
1,008,185,115
PR_kwDOAA0YD84sUMYC
43,768
TST: fixed cython doctests
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
2021-09-27T13:57:00Z
2021-09-30T19:51:54Z
2021-09-30T19:44:46Z
CONTRIBUTOR
null
- [x] closes #43757 Skipped some of the tests which were failing
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43768/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43768/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43768.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43768", "merged_at": "2021-09-30T19:44:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43768.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43768" }
https://api.github.com/repos/pandas-dev/pandas/issues/43769
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43769/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43769/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43769/events
https://github.com/pandas-dev/pandas/issues/43769
1,008,231,472
I_kwDOAA0YD848GGQw
43,769
BUG: rolling aggregation with on kwarg and multiple functions per column raises an exception
{ "avatar_url": "https://avatars.githubusercontent.com/u/3247179?v=4", "events_url": "https://api.github.com/users/drecker/events{/privacy}", "followers_url": "https://api.github.com/users/drecker/followers", "following_url": "https://api.github.com/users/drecker/following{/other_user}", "gists_url": "https://api.github.com/users/drecker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/drecker", "id": 3247179, "login": "drecker", "node_id": "MDQ6VXNlcjMyNDcxNzk=", "organizations_url": "https://api.github.com/users/drecker/orgs", "received_events_url": "https://api.github.com/users/drecker/received_events", "repos_url": "https://api.github.com/users/drecker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/drecker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drecker/subscriptions", "type": "User", "url": "https://api.github.com/users/drecker" }
[ { "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
0
2021-09-27T14:35:54Z
2021-10-02T00:33:34Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame([{'A': 1, 'B': 2}, {'A': 3, 'B': 4}]) # Following three lines works as expected: df.rolling(window=1, on='A').agg({'B': 'min'}) df.rolling(window=1, on='A').agg({'B': 'max'}) df.set_index('A').rolling(window=1).agg({'B': ['min', 'max']}) # Following line raises ValueError df.rolling(window=1, on='A').agg({'B': ['min', 'max']}) # ValueError: invalid on specified as A, must be a column (of DataFrame), an Index or None ``` ### Issue Description Using `DataFrames`'s rolling with an `on` keyword argument and then `agg` method with multiple functions per column results in `ValueError`. While the same code without `on` parameter, or just single function per column works fine (see "Reproducible Example" for further details) ### Expected Behavior No `ValueError` raised ### Installed Versions <details> ``` INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-36-generic Version : #40~20.04.1-Ubuntu SMP Sat Sep 18 02:14:19 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.3 setuptools : 45.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43769/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43769/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43770
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43770/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43770/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43770/events
https://github.com/pandas-dev/pandas/issues/43770
1,008,512,201
I_kwDOAA0YD848HKzJ
43,770
BUG: Groupby.median returns absurd results for complex
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "009800", "default": false, "description": "Complex Numbers", "id": 172091424, "name": "Complex", "node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex" } ]
open
false
null
[]
null
2
2021-09-27T19:27:06Z
2021-10-02T18:14:49Z
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np data = pd.Series(np.arange(20).reshape(10, 2).dot([1, 2j])) print(data) data.groupby(data.index % 2).median() 0 0.00+2.00j 1 2.00+6.00j 2 4.0+10.0j 3 6.0+14.0j 4 8.0+18.0j 5 10.0+22.0j 6 12.0+26.0j 7 14.0+30.0j 8 16.0+34.0j 9 18.0+38.0j dtype: complex128 /Volumes/SD/pandas-debnathshoham/pandas/core/groupby/ops.py:192: ComplexWarning: Casting complex values to real discards the imaginary part values = ensure_float64(values) Out[14]: 0 8.0 1 10.0 dtype: float64 ``` ### Issue Description `groupby.median()` returns absurd result with complex numbers. xref - #43756 ### Expected Behavior Two possibilities: 1. raise with something like "median not defined for complex" 2. calculate the median separately for real and complex components (which happens on `df.median`) ```python In [11]: data Out[11]: 0 0.00+2.00j 1 2.00+6.00j 2 4.0+10.0j 3 6.0+14.0j 4 8.0+18.0j 5 10.0+22.0j 6 12.0+26.0j 7 14.0+30.0j 8 16.0+34.0j 9 18.0+38.0j dtype: complex128 In [12]: data.median() Out[12]: (9+20j) ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 619cbf8b3edc409d3aecda19414119938fcf6532 python : 3.8.10.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.4.0.dev0+771.g619cbf8b3e numpy : 1.21.0 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.3 setuptools : 49.6.0.post20210108 Cython : 0.29.23 pytest : 6.2.4 hypothesis : 6.14.1 sphinx : 3.5.4 blosc : None feather : None xlsxwriter : 1.4.4 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.25.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 2021.05.0 fastparquet : 0.6.3 gcsfs : 2021.05.0 matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 4.0.1 pyxlsb : 1.0.8 s3fs : 0.4.2 scipy : 1.7.0 sqlalchemy : 1.4.20 tables : 3.6.1 tabulate : 0.8.9 xarray : 0.18.2 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43770/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43770/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43771
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43771/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43771/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43771/events
https://github.com/pandas-dev/pandas/pull/43771
1,008,579,195
PR_kwDOAA0YD84sVbVx
43,771
DEPR REF: `hide(axis=..)` replaces `hide_index` and `hide_columns`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-27T20:36:06Z
2021-10-30T17:31:45Z
2021-10-30T17:31:38Z
CONTRIBUTOR
null
- [x] closes #43758: addresses the comments raised there. - [x] tests added / passed - [x] whatsnew entry ![Screen Shot 2021-10-25 at 18 37 33](https://user-images.githubusercontent.com/24256554/138735564-e8173dff-9892-4641-94a5-cae727776e84.png) ![Screen Shot 2021-10-25 at 18 38 25](https://user-images.githubusercontent.com/24256554/138735625-080619c4-50fa-4ea8-a82f-583b6d0c4254.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43771/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43771/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43771.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43771", "merged_at": "2021-10-30T17:31:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43771.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43771" }
https://api.github.com/repos/pandas-dev/pandas/issues/43772
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43772/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43772/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43772/events
https://github.com/pandas-dev/pandas/pull/43772
1,008,626,582
PR_kwDOAA0YD84sVk-4
43,772
CI: Test Python 3.10 on MacOS and Windows too
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "color": "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": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" }, { "color": "0DF09E", "default": false, "description": "Related to Mac OS & hardware issues (M1)", "id": 3260433562, "name": "OS X", "node_id": "MDU6TGFiZWwzMjYwNDMzNTYy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/OS%20X" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
10
2021-09-27T21:21:58Z
2021-10-08T23:27:23Z
2021-10-06T12:27:59Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Blocker for MacOS/Windows Python 3.10 wheels. We probably want to migrate these onto Azure as soon as Python 3.10 is available there for load balancing reasons.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43772/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43772/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43772.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43772", "merged_at": "2021-10-06T12:27:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43772.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43772" }
https://api.github.com/repos/pandas-dev/pandas/issues/43773
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43773/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43773/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43773/events
https://github.com/pandas-dev/pandas/issues/43773
1,008,705,376
I_kwDOAA0YD848H59g
43,773
ENH:
{ "avatar_url": "https://avatars.githubusercontent.com/u/9678091?v=4", "events_url": "https://api.github.com/users/Elthas17/events{/privacy}", "followers_url": "https://api.github.com/users/Elthas17/followers", "following_url": "https://api.github.com/users/Elthas17/following{/other_user}", "gists_url": "https://api.github.com/users/Elthas17/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Elthas17", "id": 9678091, "login": "Elthas17", "node_id": "MDQ6VXNlcjk2NzgwOTE=", "organizations_url": "https://api.github.com/users/Elthas17/orgs", "received_events_url": "https://api.github.com/users/Elthas17/received_events", "repos_url": "https://api.github.com/users/Elthas17/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Elthas17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Elthas17/subscriptions", "type": "User", "url": "https://api.github.com/users/Elthas17" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "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
2021-09-27T22:17:15Z
2021-10-12T23:07:51Z
2021-10-12T23:07:51Z
NONE
null
#### Is your feature request related to a problem? I use pandas to query a database, do some manipulations on the dataframe, then return the result to as a json on a flask api. There are some null values in the dataframe, which makes the to_json() method return a json which can only be interpreted as a string by javascript on the receiving end. This took me quite a while to figure out this was the reason. I replaced the null values with empty strings and then it was received as json javascript array on the receiving end of the API instead of a json string. #### Describe the solution you'd like DataFrame.to_json should be able to handle null values or offer a replacement for null such as the fillna method #### API breaking implications shouldnt affect api if its an additional feature of to_json? #### Additional context Flask/pandas 'working' code snipit, notice the fillna, it returns in browser console as: ``` {data: Array(22), status: 200, statusText: 'OK', headers: {…}, config: {…}, …} ``` ```python @cache.memoize(timeout=120) def get(): # this query returns null values for some columns , as expected query = text(""" select * from mytable join mytable2 on x=y join mytable3 on x=y where u=i """) df= pd.read_sql(query, db.get_engine(app, 'database'), params=params) sequence = pd.pivot_table(df, index=indexcolumns, columns='z', values='y', aggfunc=lambda x: ''.join(x)) sequence = pd.DataFrame(sequence.to_records()).fillna(value='') return {'items': sequence.to_dict(orient='records') } # ``` without the .fillna(value='') it returns as: ``` {data: '{\n "x": [\n {\n "redacted",\n "redacted": "redacted...redacted"\n }\n ]\n}\n', status: 200, statusText: 'OK', headers: {…}, config: {…}, …} ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43773/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43773/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43774
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43774/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43774/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43774/events
https://github.com/pandas-dev/pandas/issues/43774
1,008,830,659
I_kwDOAA0YD848IYjD
43,774
CLN: unify fused type definitions
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
{ "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" }
2
2021-09-27T23:50:16Z
2021-09-28T02:58:03Z
null
CONTRIBUTOR
null
``` grep -r fused pandas/_libs/ --include '*.pyx' pandas/_libs/writers.pyx:ctypedef fused pandas_string: pandas/_libs/reshape.pyx:ctypedef fused reshape_t: pandas/_libs/join.pyx:ctypedef fused join_t: pandas/_libs/join.pyx:ctypedef fused asof_t: pandas/_libs/join.pyx:ctypedef fused by_t: pandas/_libs/algos.pyx:ctypedef fused algos_t: pandas/_libs/algos.pyx:ctypedef fused rank_t: pandas/_libs/algos.pyx:ctypedef fused diff_t: pandas/_libs/algos.pyx:ctypedef fused out_t: pandas/_libs/groupby.pyx:ctypedef fused add_t: pandas/_libs/groupby.pyx:ctypedef fused rank_t: pandas/_libs/groupby.pyx:ctypedef fused groupby_t: ``` cc @mzeitlin11 @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/43774/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43774/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43775
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43775/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43775/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43775/events
https://github.com/pandas-dev/pandas/pull/43775
1,008,912,543
PR_kwDOAA0YD84sWi9n
43,775
CLN: enable reportInvalidStubStatement
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-28T00:54:07Z
2021-09-28T15:04:17Z
2021-09-28T15:04:16Z
CONTRIBUTOR
null
Default values in stub files are not used by type checkers (and they might get out of sync with the implementation).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43775/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43775/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43775.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43775", "merged_at": "2021-09-28T15:04:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43775.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43775" }
https://api.github.com/repos/pandas-dev/pandas/issues/43776
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43776/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43776/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43776/events
https://github.com/pandas-dev/pandas/pull/43776
1,009,002,394
PR_kwDOAA0YD84sW2WC
43,776
TYP: enable reportUntypedNamedTuple
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
6
2021-09-28T02:03:48Z
2021-09-30T14:10:05Z
2021-09-30T13:21:40Z
CONTRIBUTOR
null
Prefer `typing.NamedTuple` to `collections.namedtuple`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43776/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43776/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43776.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43776", "merged_at": "2021-09-30T13:21:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43776.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43776" }
https://api.github.com/repos/pandas-dev/pandas/issues/43777
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43777/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43777/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43777/events
https://github.com/pandas-dev/pandas/pull/43777
1,009,146,135
PR_kwDOAA0YD84sXVXH
43,777
PERF: materialize less on slice in sparse __getitem__
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "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": "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-28T03:52:33Z
2021-09-28T23:50:19Z
2021-09-28T23:47:38Z
MEMBER
null
Could probably be pushed further to avoid densifying doe `step != 1`, but this seemed like a good starting point as the most common case ``` before after ratio [21c29919] [5622f636] <master> <sparse_getitem_slice> - 12.2±1ms 35.2±3μs 0.00 sparse.GetItem.time_slice ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43777/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43777/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43777.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43777", "merged_at": "2021-09-28T23:47:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43777.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43777" }
https://api.github.com/repos/pandas-dev/pandas/issues/43778
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43778/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43778/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43778/events
https://github.com/pandas-dev/pandas/issues/43778
1,009,187,954
I_kwDOAA0YD848Jvxy
43,778
DOC: Broken import in snippet (pandas.testing.assert_frame_equal)
{ "avatar_url": "https://avatars.githubusercontent.com/u/17442316?v=4", "events_url": "https://api.github.com/users/BryanRacic/events{/privacy}", "followers_url": "https://api.github.com/users/BryanRacic/followers", "following_url": "https://api.github.com/users/BryanRacic/following{/other_user}", "gists_url": "https://api.github.com/users/BryanRacic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/BryanRacic", "id": 17442316, "login": "BryanRacic", "node_id": "MDQ6VXNlcjE3NDQyMzE2", "organizations_url": "https://api.github.com/users/BryanRacic/orgs", "received_events_url": "https://api.github.com/users/BryanRacic/received_events", "repos_url": "https://api.github.com/users/BryanRacic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/BryanRacic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BryanRacic/subscriptions", "type": "User", "url": "https://api.github.com/users/BryanRacic" }
[ { "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", "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-28T04:25:48Z
2021-10-03T19:09:45Z
2021-10-03T19:09:45Z
CONTRIBUTOR
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation I have checked that the issue still exists on the latest versions of the docs on master: https://pandas.pydata.org/docs/dev/reference/api/pandas.testing.assert_frame_equal.html "pandas.testing.assert_frame_equal" ### Documentation problem Example snippet for `assert_frame_equal` has a leading underscore in the import statement (for testing). I think this is unnecessary and breaks execution when attempted by a user. ``` from pandas._testing import assert_frame_equal df1 = pd.DataFrame({'a': [1, 2], 'b': [3, 4]}) df2 = pd.DataFrame({'a': [1, 2], 'b': [3.0, 4.0]}) ``` ### Suggested fix for documentation Remove the underscore in question: ``` from pandas.testing import assert_frame_equal df1 = pd.DataFrame({'a': [1, 2], 'b': [3, 4]}) df2 = pd.DataFrame({'a': [1, 2], 'b': [3.0, 4.0]}) ``` This should fix execution.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43778/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43778/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43779
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43779/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43779/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43779/events
https://github.com/pandas-dev/pandas/pull/43779
1,009,211,079
PR_kwDOAA0YD84sXjhi
43,779
Fixed broken import in assert_frame_equal docs snippet
{ "avatar_url": "https://avatars.githubusercontent.com/u/17442316?v=4", "events_url": "https://api.github.com/users/BryanRacic/events{/privacy}", "followers_url": "https://api.github.com/users/BryanRacic/followers", "following_url": "https://api.github.com/users/BryanRacic/following{/other_user}", "gists_url": "https://api.github.com/users/BryanRacic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/BryanRacic", "id": 17442316, "login": "BryanRacic", "node_id": "MDQ6VXNlcjE3NDQyMzE2", "organizations_url": "https://api.github.com/users/BryanRacic/orgs", "received_events_url": "https://api.github.com/users/BryanRacic/received_events", "repos_url": "https://api.github.com/users/BryanRacic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/BryanRacic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BryanRacic/subscriptions", "type": "User", "url": "https://api.github.com/users/BryanRacic" }
[ { "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", "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-28T04:43:38Z
2021-10-03T19:10:08Z
2021-10-03T19:09:45Z
CONTRIBUTOR
null
- [x ] closes #43778 Super small fix; removed single underscore in import statement.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43779/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43779/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43779.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43779", "merged_at": "2021-10-03T19:09:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43779.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43779" }
https://api.github.com/repos/pandas-dev/pandas/issues/43780
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43780/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43780/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43780/events
https://github.com/pandas-dev/pandas/issues/43780
1,009,399,351
I_kwDOAA0YD848KjY3
43,780
BUG: Selecting multiple columns from data frames with MultiIndex columns raises "ValueError" when each level of index is tuple
{ "avatar_url": "https://avatars.githubusercontent.com/u/1303133?v=4", "events_url": "https://api.github.com/users/tiezhishizi/events{/privacy}", "followers_url": "https://api.github.com/users/tiezhishizi/followers", "following_url": "https://api.github.com/users/tiezhishizi/following{/other_user}", "gists_url": "https://api.github.com/users/tiezhishizi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tiezhishizi", "id": 1303133, "login": "tiezhishizi", "node_id": "MDQ6VXNlcjEzMDMxMzM=", "organizations_url": "https://api.github.com/users/tiezhishizi/orgs", "received_events_url": "https://api.github.com/users/tiezhishizi/received_events", "repos_url": "https://api.github.com/users/tiezhishizi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tiezhishizi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tiezhishizi/subscriptions", "type": "User", "url": "https://api.github.com/users/tiezhishizi" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-28T07:41:58Z
2021-11-19T18:50:11Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np mi = pd.MultiIndex.from_tuples([(('a1','a2'),('b1','b2')), (('a1','a2'),('c1','c2'))]) df = pd.DataFrame(data=np.arange(2).reshape(1,2), columns=mi) # This line works df[(('a1','a2'),('b1','b2'))] # This line would throw exception df[[(('a1','a2'),('b1','b2'))]] ``` ### Issue Description When a data frame has columns of MultiIndex, and each level is a tuple. Selecting columns with array of column labels would raise `ValueError`. > ValueError: Buffer has wrong number of dimensions But selecting with a single label works. ### Expected Behavior Return columns with no error. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.8.11.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-1051-azure Version : #53~18.04.1-Ubuntu SMP Fri Jun 18 22:32:58 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.2 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : 0.29.24 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.26.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.1.3 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.23 tables : 3.6.1 tabulate : 0.8.9 xarray : None xlrd : 2.0.1 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43780/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43780/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43781
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43781/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43781/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43781/events
https://github.com/pandas-dev/pandas/issues/43781
1,009,480,620
I_kwDOAA0YD848K3Os
43,781
QST: Is there a function in pandas to do this composite time-indexed merge operation?
{ "avatar_url": "https://avatars.githubusercontent.com/u/28805843?v=4", "events_url": "https://api.github.com/users/KirannBhavaraju/events{/privacy}", "followers_url": "https://api.github.com/users/KirannBhavaraju/followers", "following_url": "https://api.github.com/users/KirannBhavaraju/following{/other_user}", "gists_url": "https://api.github.com/users/KirannBhavaraju/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KirannBhavaraju", "id": 28805843, "login": "KirannBhavaraju", "node_id": "MDQ6VXNlcjI4ODA1ODQz", "organizations_url": "https://api.github.com/users/KirannBhavaraju/orgs", "received_events_url": "https://api.github.com/users/KirannBhavaraju/received_events", "repos_url": "https://api.github.com/users/KirannBhavaraju/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KirannBhavaraju/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KirannBhavaraju/subscriptions", "type": "User", "url": "https://api.github.com/users/KirannBhavaraju" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
3
2021-09-28T09:03:16Z
2021-10-31T00:11:59Z
2021-10-31T00:11:59Z
NONE
null
### - [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [X] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). ### Link to question on StackOverflow https://stackoverflow.com/q/69348014/7317733 ### Question about pandas I have dataframes looking like this, df1 : ``` X1 X2 X3 X4 2021-02-23 15:44:20.100 NaN 0 1 Nan 2021-02-23 15:44:20.300 NaN 0 1 Nan 2021-02-23 15:44:20.500 NaN 0 1 Nan 2021-02-23 15:44:20.700 NaN 0 1 Nan 2021-02-23 15:44:20.900 NaN 0 1 Nan 2021-02-23 15:44:21.100 NaN 0 1 Nan 2021-02-23 15:44:21.300 NaN 0 1 Nan 2021-02-23 15:44:21.500 NaN 0 1 Nan 2021-02-23 15:44:21.700 NaN 0 1 Nan 2021-02-23 15:44:21.900 NaN 0 1 Nan ``` df2 : ``` X1 X2 X3 X4 2021-02-23 15:44:20.000 0 0 1 Nan 2021-02-23 15:44:20.200 3 0 1 Nan 2021-02-23 15:44:20.400 NaN 0 1 Nan 2021-02-23 15:44:20.600 NaN 0 1 Nan 2021-02-23 15:44:20.800 NaN 0 1 3 2021-02-23 15:44:21.000 NaN 0 1 Nan 2021-02-23 15:44:21.200 NaN 0 1 3 2021-02-23 15:44:21.400 NaN 0 1 Nan 2021-02-23 15:44:21.600 NaN 0 1 4 2021-02-23 15:44:21.800 NaN 0 1 Nan 2021-02-23 15:44:22.000 NaN 0 1 Nan 2021-02-23 15:44:22.200 NaN 0 1 Nan 2021-02-23 15:44:22.400 NaN 0 1 Nan 2021-02-23 15:44:22.600 NaN 0 1 Nan ``` I want to perform a merge/join/concatenate operation on the values from columns of the left DataFrame (df1) to the Right Dataframe (df2). This would be searching for a row wise timedelta in the time index and replacing NaNs which might already be there... Intuition: Kinda like a merge_asof but not creating _x and _y columns, instead replacing the values from the left df to the right. Please note: - The columns in the right dataframe are always exactly equal to the columns on the left dataframe. - In the intuition.. `pandas.Dataframe.merge_asof()` does a left join but my case is different it is more like an outer join. Resulting joined/merged DataFrame: ``` X1 X2 X3 X4 2021-02-23 15:44:20.100 0 0 1 Nan 2021-02-23 15:44:20.300 3 0 1 Nan 2021-02-23 15:44:20.500 NaN 0 1 Nan 2021-02-23 15:44:20.700 NaN 0 1 Nan 2021-02-23 15:44:20.900 NaN 0 1 3 2021-02-23 15:44:21.100 NaN 0 1 Nan 2021-02-23 15:44:21.300 NaN 0 1 3 2021-02-23 15:44:21.500 NaN 0 1 Nan 2021-02-23 15:44:21.700 NaN 0 1 4 2021-02-23 15:44:21.900 NaN 0 1 Nan 2021-02-23 15:44:22.000 NaN 0 1 Nan 2021-02-23 15:44:22.200 NaN 0 1 Nan 2021-02-23 15:44:22.400 NaN 0 1 Nan 2021-02-23 15:44:22.600 NaN 0 1 Nan ``` ## What I have tried: 1. One method i tried is to resample the df1 and df2 with the frequency set as 'T' which basically ensures both the data-frames would have same keys if any. Then performing joins would be straight forward. - Problem: Downsampling a df in pandas drops NaN rows by default and i am not aware of a technique to prevent it. I do not want to drop any data.. just replace. 2. merge_asof or traditional merges create duplicate columns with suffixes, which i do not want. 3. join and append just adds the rows of the df2 to df1 which is also not what i want. ## What i propose might work: 1. checking the second Dataframe manually for a row mathcing the timedelta and iterate over every row. This also is infeasible in my case as the dataframes in question are very large. ``` df1.shape -> (12200317 rows x 41 columns) df2.shape -> (10000023 rows x 41 columns) ``` I also have multiple dataframes to go through. (approximately 50) If there are any duplicates of this question .. I couldn't find one.. Thanks for any help. :)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43781/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43781/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43782
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43782/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43782/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43782/events
https://github.com/pandas-dev/pandas/issues/43782
1,009,711,339
I_kwDOAA0YD848Lvjr
43,782
DOC: No links to prior versions docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/22901938?v=4", "events_url": "https://api.github.com/users/DrGFreeman/events{/privacy}", "followers_url": "https://api.github.com/users/DrGFreeman/followers", "following_url": "https://api.github.com/users/DrGFreeman/following{/other_user}", "gists_url": "https://api.github.com/users/DrGFreeman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DrGFreeman", "id": 22901938, "login": "DrGFreeman", "node_id": "MDQ6VXNlcjIyOTAxOTM4", "organizations_url": "https://api.github.com/users/DrGFreeman/orgs", "received_events_url": "https://api.github.com/users/DrGFreeman/received_events", "repos_url": "https://api.github.com/users/DrGFreeman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DrGFreeman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DrGFreeman/subscriptions", "type": "User", "url": "https://api.github.com/users/DrGFreeman" }
[ { "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": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
4
2021-09-28T12:50:32Z
2021-09-30T12:44:18Z
2021-09-28T18:45:03Z
CONTRIBUTOR
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/docs/index.html ### Documentation problem It is difficult to access the documentation of prior pandas versions. https://pandas.pydata.org/docs/index.html has no links to prior versions docs or they are difficult to find. When working with legacy code using older pandas versions, access to the docs of a specific version, especially the API reference, can be useful. While it if possible to find the URL, e.g. https://pandas.pydata.org/pandas-docs/version/0.24.0/ with a bit of trial and error, a list of links to the prior versions docs would be useful. ### Suggested fix for documentation Add a page in the docs with a list of links to prior versions docs.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43782/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43782/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43783
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43783/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43783/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43783/events
https://github.com/pandas-dev/pandas/issues/43783
1,009,841,685
I_kwDOAA0YD848MPYV
43,783
DOC: to_sql and extending pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4", "events_url": "https://api.github.com/users/achapkowski/events{/privacy}", "followers_url": "https://api.github.com/users/achapkowski/followers", "following_url": "https://api.github.com/users/achapkowski/following{/other_user}", "gists_url": "https://api.github.com/users/achapkowski/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/achapkowski", "id": 5131271, "login": "achapkowski", "node_id": "MDQ6VXNlcjUxMzEyNzE=", "organizations_url": "https://api.github.com/users/achapkowski/orgs", "received_events_url": "https://api.github.com/users/achapkowski/received_events", "repos_url": "https://api.github.com/users/achapkowski/repos", "site_admin": false, "starred_url": "https://api.github.com/users/achapkowski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/achapkowski/subscriptions", "type": "User", "url": "https://api.github.com/users/achapkowski" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
0
2021-09-28T14:37:42Z
2021-10-02T00:36:49Z
null
NONE
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/development/extending.html ### Documentation problem When you create a custom Dtype with Pandas and you need to use the to_sql (write to a sqlite database), it is unclear how you can handle the custom dtypes. If at all from the documentation. This is the error you get with custom datatypes: ```File "pandas_libs\lib.pyx", line 1350, in pandas._libs.lib.infer_dtype File "pandas_libs\lib.pyx", line 1229, in pandas._libs.lib._try_infer_map AttributeError: 'MyCustomType' object has no attribute 'base' ``` So does something on the Dtype or on the ExtensionArray need to define `base` and what is base? ### Suggested fix for documentation Explain if custom dtypes is supported with to_sql.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43783/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43783/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43784
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43784/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43784/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43784/events
https://github.com/pandas-dev/pandas/issues/43784
1,010,016,276
I_kwDOAA0YD848M6AU
43,784
BUG: DatetimeIndex and Timestamp behave inconsistently with respect to pd.DateOffset
{ "avatar_url": "https://avatars.githubusercontent.com/u/33226523?v=4", "events_url": "https://api.github.com/users/guyguyguy1234/events{/privacy}", "followers_url": "https://api.github.com/users/guyguyguy1234/followers", "following_url": "https://api.github.com/users/guyguyguy1234/following{/other_user}", "gists_url": "https://api.github.com/users/guyguyguy1234/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/guyguyguy1234", "id": 33226523, "login": "guyguyguy1234", "node_id": "MDQ6VXNlcjMzMjI2NTIz", "organizations_url": "https://api.github.com/users/guyguyguy1234/orgs", "received_events_url": "https://api.github.com/users/guyguyguy1234/received_events", "repos_url": "https://api.github.com/users/guyguyguy1234/repos", "site_admin": false, "starred_url": "https://api.github.com/users/guyguyguy1234/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/guyguyguy1234/subscriptions", "type": "User", "url": "https://api.github.com/users/guyguyguy1234" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
open
false
null
[]
null
0
2021-09-28T17:21:47Z
2021-10-02T00:38:19Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python pd.DatetimeIndex([pd.to_datetime('2020-10-25').tz_localize('Europe/Berlin')]) + pd.DateOffset(hours=3) returns 2020-10-25 03:00:00+01:00 while pd.to_datetime('2020-10-25').tz_localize('Europe/Berlin') + pd.DateOffset(hours=3) returns Timestamp('2020-10-25 02:00:00+0100', tz='Europe/Berlin') ``` ### Issue Description Mismatch between the outputs. [Here](https://stackoverflow.com/questions/69364849/combine-first-at-dst-changing-day-fails/69365229?noredirect=1#comment122602688_69365229) is the stackoverflow post describing in detail the issue. ### Expected Behavior Returning same datetime ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.4.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 165 Stepping 2, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.3.3 numpy : 1.19.5 pytz : 2021.1 dateutil : 2.8.1 pip : 21.2.4 setuptools : 52.0.0.post20210125 Cython : 0.29.23 pytest : 6.2.3 hypothesis : None sphinx : 4.0.1 blosc : None feather : None xlsxwriter : 1.3.8 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.9.0 fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : 1.0.8 s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.7 tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43784/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43784/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43785
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43785/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43785/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43785/events
https://github.com/pandas-dev/pandas/pull/43785
1,010,041,599
PR_kwDOAA0YD84saGjA
43,785
BUG: Merge with str/StringDtype keys and multiindex
{ "avatar_url": "https://avatars.githubusercontent.com/u/12542576?v=4", "events_url": "https://api.github.com/users/benoit9126/events{/privacy}", "followers_url": "https://api.github.com/users/benoit9126/followers", "following_url": "https://api.github.com/users/benoit9126/following{/other_user}", "gists_url": "https://api.github.com/users/benoit9126/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/benoit9126", "id": 12542576, "login": "benoit9126", "node_id": "MDQ6VXNlcjEyNTQyNTc2", "organizations_url": "https://api.github.com/users/benoit9126/orgs", "received_events_url": "https://api.github.com/users/benoit9126/received_events", "repos_url": "https://api.github.com/users/benoit9126/repos", "site_admin": false, "starred_url": "https://api.github.com/users/benoit9126/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benoit9126/subscriptions", "type": "User", "url": "https://api.github.com/users/benoit9126" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-28T17:50:58Z
2021-10-18T11:52:43Z
2021-10-16T15:37:51Z
CONTRIBUTOR
null
- [x] closes #43734 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [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/43785/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43785/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43785.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43785", "merged_at": "2021-10-16T15:37:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43785.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43785" }
https://api.github.com/repos/pandas-dev/pandas/issues/43786
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43786/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43786/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43786/events
https://github.com/pandas-dev/pandas/issues/43786
1,010,052,918
I_kwDOAA0YD848NC82
43,786
QST:
{ "avatar_url": "https://avatars.githubusercontent.com/u/1067818?v=4", "events_url": "https://api.github.com/users/mithunsasidharan/events{/privacy}", "followers_url": "https://api.github.com/users/mithunsasidharan/followers", "following_url": "https://api.github.com/users/mithunsasidharan/following{/other_user}", "gists_url": "https://api.github.com/users/mithunsasidharan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mithunsasidharan", "id": 1067818, "login": "mithunsasidharan", "node_id": "MDQ6VXNlcjEwNjc4MTg=", "organizations_url": "https://api.github.com/users/mithunsasidharan/orgs", "received_events_url": "https://api.github.com/users/mithunsasidharan/received_events", "repos_url": "https://api.github.com/users/mithunsasidharan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mithunsasidharan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mithunsasidharan/subscriptions", "type": "User", "url": "https://api.github.com/users/mithunsasidharan" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
0
2021-09-28T18:04:01Z
2021-09-28T18:24:03Z
2021-09-28T18:24:03Z
NONE
null
### - [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [X] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). ### Link to question on StackOverflow https://stackoverflow.com/questions/69366483/calculate-percentage-of-occurences-of-a-value-in-a-dataframe-column-based-on-ano ### Question about pandas **Calculate percentage of occurences of a value in a dataframe column based on another column value.** So my dataframe looks something like below : <img width="660" alt="Screenshot 2021-09-28 at 11 27 23 PM" src="https://user-images.githubusercontent.com/1067818/135141118-ef6a9966-0d5f-4c21-a80c-ea080fc42a81.png"> I need to calculate percentage of "contestants" (one of the value in Result column) that are still "operating" (one of the values in OperatingState column). How can derive this in pandas ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43786/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43786/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43787
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43787/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43787/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43787/events
https://github.com/pandas-dev/pandas/pull/43787
1,010,168,807
PR_kwDOAA0YD84saezM
43,787
[PERF] Improve performace of read_csv with memory_map=True when file encoding is UTF-8
{ "avatar_url": "https://avatars.githubusercontent.com/u/9954897?v=4", "events_url": "https://api.github.com/users/michal-gh/events{/privacy}", "followers_url": "https://api.github.com/users/michal-gh/followers", "following_url": "https://api.github.com/users/michal-gh/following{/other_user}", "gists_url": "https://api.github.com/users/michal-gh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michal-gh", "id": 9954897, "login": "michal-gh", "node_id": "MDQ6VXNlcjk5NTQ4OTc=", "organizations_url": "https://api.github.com/users/michal-gh/orgs", "received_events_url": "https://api.github.com/users/michal-gh/received_events", "repos_url": "https://api.github.com/users/michal-gh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michal-gh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michal-gh/subscriptions", "type": "User", "url": "https://api.github.com/users/michal-gh" }
[ { "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": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
3
2021-09-28T20:17:45Z
2021-10-06T18:11:42Z
2021-10-06T01:02:47Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry This PR improves performance of read_csv with memory_map=True and a UTF-8-encoded file by eliminating unnecessary `decode()` call. The code below demonstrates the speed improvement: ``` import timeit import pandas as pd def perftest_readcsv_memmap_utf8(): lines = [] for lnum in range(0x20, 0x10080, 0x80): line = "".join([chr(c) for c in range(lnum, lnum + 0x80)]) + "\n" try: line.encode("utf-8") except UnicodeEncodeError: continue lines.append(line) df = pd.DataFrame(lines) df = pd.concat([df for n in range(1000)], ignore_index=True) fname = "test_readcsv_utf8.csv" df.to_csv(fname, index=False, header=False, encoding="utf-8") ti_rep = 5 ti_num = 10 time_dfmem = timeit.repeat(f'dfnomem = pd.read_csv("{fname}", header=None, memory_map=True, engine="c")', setup='import pandas as pd', repeat=ti_rep, number=ti_num) print(f"Read CSV (memory_map=True), repeat={ti_rep}: {time_dfmem}") print(f"Median: {pd.Series(time_dfmem).median()}") perftest_readcsv_memmap_utf8() ``` On my machine the results are: Without patch: ``` Read CSV (memory_map=True), repeat=5: [8.107480439008214, 8.100845866953023, 8.135483622085303, 8.090781628969125, 8.068992758984677] Median: 8.100845866953023 ``` With patch: ``` Read CSV (memory_map=True), repeat=5: [5.280414769076742, 5.290980814024806, 5.127453051973134, 5.150275847059675, 5.276113986037672] Median: 5.276113986037672 ``` The improved code runs in ~65% of time of the current code. The spedup depends on the contents of the file; the test code above creates a 182 MB file containing almost all of Unicode Plane 0 and a several of Plane 1 characters UTF-8-encoded in 1, 2, 3 and 4 bytes; in this respect, it is a worst case. I also tested this patch on my 8.8 GB CSV file consisting of 1 and 2-byte encoded characters and the code ran in ~75% of time of the current code.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43787/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43787/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43787.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43787", "merged_at": "2021-10-06T01:02:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43787.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43787" }
https://api.github.com/repos/pandas-dev/pandas/issues/43788
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43788/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43788/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43788/events
https://github.com/pandas-dev/pandas/pull/43788
1,010,257,699
PR_kwDOAA0YD84sav_H
43,788
REF: remove _get_join_target
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-28T22:10:20Z
2021-09-28T23:37:37Z
2021-09-28T23:35:11Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43788/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43788/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43788.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43788", "merged_at": "2021-09-28T23:35:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43788.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43788" }
https://api.github.com/repos/pandas-dev/pandas/issues/43789
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43789/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43789/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43789/events
https://github.com/pandas-dev/pandas/pull/43789
1,010,260,998
PR_kwDOAA0YD84sawmv
43,789
CLN: share rank_t fused type
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-28T22:14:56Z
2021-09-30T21:24:40Z
2021-09-29T18:03:01Z
MEMBER
null
Small step towards #43774
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43789/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43789/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43789.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43789", "merged_at": "2021-09-29T18:03:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43789.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43789" }
https://api.github.com/repos/pandas-dev/pandas/issues/43790
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43790/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43790/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43790/events
https://github.com/pandas-dev/pandas/pull/43790
1,010,297,841
PR_kwDOAA0YD84sa27y
43,790
TYP: enable reportMissingImports
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
10
2021-09-28T23:13:37Z
2021-10-06T01:05:05Z
2021-10-06T01:04:58Z
CONTRIBUTOR
null
reportMissingImports checks whether all libraries can be imported. This requires all dependencies to be installed on the CI that runs pyright. This flag should probably NOT be enabled, as it would force all contributors to install all dependencies. I'm enabling it temporarily to see whether the CI has all dependencies installed. edit: The typing CI has not all packages installed: ``` /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py:150:14 - error: Import "qtpy.QtWidgets" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py:155:18 - error: Import "PyQt4.QtGui" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py:537:20 - error: Import "AppKit" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py:538:20 - error: Import "Foundation" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py:557:20 - error: Import "qtpy" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/clipboard/__init__.py:564:28 - error: Import "PyQt4" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/excel/_pyxlsb.py /home/runner/work/pandas/pandas/pandas/io/excel/_pyxlsb.py:36:14 - error: Import "pyxlsb" could not be resolved (reportMissingImports) /home/runner/work/pandas/pandas/pandas/io/excel/_pyxlsb.py:41:14 - error: Import "pyxlsb" could not be resolved (reportMissingImports) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43790/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43790/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43790.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43790", "merged_at": "2021-10-06T01:04:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43790.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43790" }
https://api.github.com/repos/pandas-dev/pandas/issues/43791
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43791/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43791/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43791/events
https://github.com/pandas-dev/pandas/pull/43791
1,010,303,212
PR_kwDOAA0YD84sa35y
43,791
BUG: pandas.to_datetime raises exception when more than 50 values needs coercion to NaT (#43732)
{ "avatar_url": "https://avatars.githubusercontent.com/u/38295417?v=4", "events_url": "https://api.github.com/users/thomasqueirozb/events{/privacy}", "followers_url": "https://api.github.com/users/thomasqueirozb/followers", "following_url": "https://api.github.com/users/thomasqueirozb/following{/other_user}", "gists_url": "https://api.github.com/users/thomasqueirozb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thomasqueirozb", "id": 38295417, "login": "thomasqueirozb", "node_id": "MDQ6VXNlcjM4Mjk1NDE3", "organizations_url": "https://api.github.com/users/thomasqueirozb/orgs", "received_events_url": "https://api.github.com/users/thomasqueirozb/received_events", "repos_url": "https://api.github.com/users/thomasqueirozb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thomasqueirozb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasqueirozb/subscriptions", "type": "User", "url": "https://api.github.com/users/thomasqueirozb" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
2021-09-28T23:22:31Z
2021-11-14T02:24:15Z
null
NONE
null
- [x] closes #43732 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43791/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43791/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43791.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43791", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43791.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43791" }
https://api.github.com/repos/pandas-dev/pandas/issues/43792
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43792/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43792/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43792/events
https://github.com/pandas-dev/pandas/pull/43792
1,010,466,134
PR_kwDOAA0YD84sbVGy
43,792
PERF: avoid warnings in IndexEngine.get_loc
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-29T04:14:58Z
2021-09-29T16:39:02Z
2021-09-29T12:59:54Z
MEMBER
null
Only reached for non-unique indexes. Makes a big difference for small indexes. Room for de-duplication in follow-ups. ``` import numpy as np import pandas as pd np.random.seed(90) arr = np.random.randn(4).repeat(2) idx = pd.Index(arr) assert not idx.is_unique key = arr[4] engine = idx._engine %timeit engine.get_loc(key) 6.6 µs ± 50.6 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- master 2.62 µs ± 127 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- 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/43792/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43792/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43792.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43792", "merged_at": "2021-09-29T12:59:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43792.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43792" }
https://api.github.com/repos/pandas-dev/pandas/issues/43793
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43793/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43793/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43793/events
https://github.com/pandas-dev/pandas/issues/43793
1,010,518,527
I_kwDOAA0YD848O0n_
43,793
ENH: Drop Index Combinations from Multiindex Dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/38472982?v=4", "events_url": "https://api.github.com/users/juliandwain/events{/privacy}", "followers_url": "https://api.github.com/users/juliandwain/followers", "following_url": "https://api.github.com/users/juliandwain/following{/other_user}", "gists_url": "https://api.github.com/users/juliandwain/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/juliandwain", "id": 38472982, "login": "juliandwain", "node_id": "MDQ6VXNlcjM4NDcyOTgy", "organizations_url": "https://api.github.com/users/juliandwain/orgs", "received_events_url": "https://api.github.com/users/juliandwain/received_events", "repos_url": "https://api.github.com/users/juliandwain/repos", "site_admin": false, "starred_url": "https://api.github.com/users/juliandwain/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/juliandwain/subscriptions", "type": "User", "url": "https://api.github.com/users/juliandwain" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/38472982?v=4", "events_url": "https://api.github.com/users/juliandwain/events{/privacy}", "followers_url": "https://api.github.com/users/juliandwain/followers", "following_url": "https://api.github.com/users/juliandwain/following{/other_user}", "gists_url": "https://api.github.com/users/juliandwain/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/juliandwain", "id": 38472982, "login": "juliandwain", "node_id": "MDQ6VXNlcjM4NDcyOTgy", "organizations_url": "https://api.github.com/users/juliandwain/orgs", "received_events_url": "https://api.github.com/users/juliandwain/received_events", "repos_url": "https://api.github.com/users/juliandwain/repos", "site_admin": false, "starred_url": "https://api.github.com/users/juliandwain/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/juliandwain/subscriptions", "type": "User", "url": "https://api.github.com/users/juliandwain" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/38472982?v=4", "events_url": "https://api.github.com/users/juliandwain/events{/privacy}", "followers_url": "https://api.github.com/users/juliandwain/followers", "following_url": "https://api.github.com/users/juliandwain/following{/other_user}", "gists_url": "https://api.github.com/users/juliandwain/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/juliandwain", "id": 38472982, "login": "juliandwain", "node_id": "MDQ6VXNlcjM4NDcyOTgy", "organizations_url": "https://api.github.com/users/juliandwain/orgs", "received_events_url": "https://api.github.com/users/juliandwain/received_events", "repos_url": "https://api.github.com/users/juliandwain/repos", "site_admin": false, "starred_url": "https://api.github.com/users/juliandwain/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/juliandwain/subscriptions", "type": "User", "url": "https://api.github.com/users/juliandwain" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
6
2021-09-29T05:53:42Z
2021-10-16T17:30:44Z
2021-10-16T17:30:44Z
CONTRIBUTOR
null
#### Is your feature request related to a problem? I whish the [pandas drop function](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.drop.html) would let me drop combination of rows (or columns) in multiindex dataframes. E.g., I have a multiindex dataframe like this | | | Column 1 | Column 2 | | ------- | ------- | -------- | -------- | | Index 1 | Index 2 | | | | A | a | 1 | 2 | | | b | 3 | 4 | | B | a | 5 | 6 | | | b | 7 | 8 | And I want to drop only the Index combination ``(B, a)``. With the current implementation of the drop function, this is not possible. #### Describe the solution you'd like Maybe adding an additional parameter called ``combination``, which is a boolean value, could solve the problem. When setting ``combination=True``, the list-like ``label`` parameter could be recognized as the combination to drop, which would then result in ```python df = df.drop(labels=["B", "a"], axis=0, combination=True) df ``` | | | Column 1 | Column 2 | | ------- | ------- | -------- | -------- | | Index 1 | Index 2 | | | | A | a | 1 | 2 | | | b | 3 | 4 | | B | b | 7 | 8 | #### API breaking implications I think adding the parameter would not break the API. #### Describe alternatives you've considered I have not considered alternatives #### Additional context For my problem, I implemented a function similar to the one below ```python def drop(df: pd.DataFrame, index1: Optional[str]=None, index2: Optional[int]=None) -> pd.DataFrame: if index1 is None: if index2 is None: # if no index1 and index2 is defined, return the original dataframe return df else: return df.drop(index2, level="Index2").sort_index() else: if index2 is None: return df.drop(index1, level="Index1").sort_index() else: a = df.drop(index1, level="Index1") b = pd.concat([df.loc[index1].drop(index2, level="Index2")], keys=[index1], names=["Index1"]) return pd.concat([a, b]).sort_index() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43793/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43793/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43794
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43794/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43794/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43794/events
https://github.com/pandas-dev/pandas/issues/43794
1,010,638,930
I_kwDOAA0YD848PSBS
43,794
how to merge on one column while keeping index?
{ "avatar_url": "https://avatars.githubusercontent.com/u/14806954?v=4", "events_url": "https://api.github.com/users/lidh15/events{/privacy}", "followers_url": "https://api.github.com/users/lidh15/followers", "following_url": "https://api.github.com/users/lidh15/following{/other_user}", "gists_url": "https://api.github.com/users/lidh15/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lidh15", "id": 14806954, "login": "lidh15", "node_id": "MDQ6VXNlcjE0ODA2OTU0", "organizations_url": "https://api.github.com/users/lidh15/orgs", "received_events_url": "https://api.github.com/users/lidh15/received_events", "repos_url": "https://api.github.com/users/lidh15/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lidh15/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lidh15/subscriptions", "type": "User", "url": "https://api.github.com/users/lidh15" }
[ { "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
2021-09-29T08:14:34Z
2021-10-04T21:16:02Z
2021-10-04T21:16:02Z
NONE
null
Question: In older version of pandas, I got this: df1 value index 10 100 20 200 30 300 df2 value index 40 100 50 300 60 600 by merge on "value" and set "left_index=True" I got df3 value index 10 100 30 300 but after update the library, it's illegal to do this, if I set left_index=True, there won't be any intersection, if I use "on" key word, I lost the original index what is the solution?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43794/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43794/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43795
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43795/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43795/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43795/events
https://github.com/pandas-dev/pandas/issues/43795
1,010,646,833
I_kwDOAA0YD848PT8x
43,795
ENH:
{ "avatar_url": "https://avatars.githubusercontent.com/u/10107101?v=4", "events_url": "https://api.github.com/users/MMCMA/events{/privacy}", "followers_url": "https://api.github.com/users/MMCMA/followers", "following_url": "https://api.github.com/users/MMCMA/following{/other_user}", "gists_url": "https://api.github.com/users/MMCMA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MMCMA", "id": 10107101, "login": "MMCMA", "node_id": "MDQ6VXNlcjEwMTA3MTAx", "organizations_url": "https://api.github.com/users/MMCMA/orgs", "received_events_url": "https://api.github.com/users/MMCMA/received_events", "repos_url": "https://api.github.com/users/MMCMA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MMCMA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MMCMA/subscriptions", "type": "User", "url": "https://api.github.com/users/MMCMA" }
[ { "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
4
2021-09-29T08:21:50Z
2021-09-30T16:44:43Z
2021-09-30T16:44:43Z
NONE
null
#### Is your feature request related to a problem? Not really, there are ways around (as always). #### Describe the solution you'd like Allow `df.pipe()` to accept strings for pd.DataFrame built-in methods . For example, it would be very helpful to simply call a pipeline as follows: `df.pipe(f, arg_1=1).pipe("rank", ascending=True)` I know I can call explicitly invoke the method `df.pipe(f, arg_1=1).rank(ascending=True)` but this feature could enable a more general usage of pipelines as outlined below: ``` pipes= [ (fun_1, dict(arg_1=0)), (fun_2, dict(arg_1=1)), ("rank", dict(ascending=True)) ] for fun, kwargs in pipes: df = df.pipe(fun, **kwargs) ``` #### API breaking implications Not sure what to add here. #### Describe alternatives you've considered I can re-write most methods as standalone function but why if the built-in is so reach in features. #### Additional context see example above.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43795/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43795/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43796
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43796/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43796/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43796/events
https://github.com/pandas-dev/pandas/pull/43796
1,010,661,918
PR_kwDOAA0YD84sb4ys
43,796
Move group_selection_context from module to class
{ "avatar_url": "https://avatars.githubusercontent.com/u/8927258?v=4", "events_url": "https://api.github.com/users/johnzangwill/events{/privacy}", "followers_url": "https://api.github.com/users/johnzangwill/followers", "following_url": "https://api.github.com/users/johnzangwill/following{/other_user}", "gists_url": "https://api.github.com/users/johnzangwill/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johnzangwill", "id": 8927258, "login": "johnzangwill", "node_id": "MDQ6VXNlcjg5MjcyNTg=", "organizations_url": "https://api.github.com/users/johnzangwill/orgs", "received_events_url": "https://api.github.com/users/johnzangwill/received_events", "repos_url": "https://api.github.com/users/johnzangwill/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johnzangwill/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johnzangwill/subscriptions", "type": "User", "url": "https://api.github.com/users/johnzangwill" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-29T08:35:54Z
2021-09-29T13:14:11Z
2021-09-29T12:55:28Z
CONTRIBUTOR
null
@jreback request to bring forwards part of #42947
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43796/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43796/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43796.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43796", "merged_at": "2021-09-29T12:55:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43796.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43796" }
https://api.github.com/repos/pandas-dev/pandas/issues/43797
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43797/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43797/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43797/events
https://github.com/pandas-dev/pandas/issues/43797
1,010,951,523
I_kwDOAA0YD848QeVj
43,797
BUG: DataFrame resample fails across daylight savings boundary
{ "avatar_url": "https://avatars.githubusercontent.com/u/16756448?v=4", "events_url": "https://api.github.com/users/lnzmst/events{/privacy}", "followers_url": "https://api.github.com/users/lnzmst/followers", "following_url": "https://api.github.com/users/lnzmst/following{/other_user}", "gists_url": "https://api.github.com/users/lnzmst/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lnzmst", "id": 16756448, "login": "lnzmst", "node_id": "MDQ6VXNlcjE2NzU2NDQ4", "organizations_url": "https://api.github.com/users/lnzmst/orgs", "received_events_url": "https://api.github.com/users/lnzmst/received_events", "repos_url": "https://api.github.com/users/lnzmst/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lnzmst/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lnzmst/subscriptions", "type": "User", "url": "https://api.github.com/users/lnzmst" }
[ { "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": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
open
false
null
[]
null
1
2021-09-29T13:19:02Z
2021-10-04T15:26:48Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame( {'timestamp': ['2021-03-28T00:37:28.952+01:00','2021-03-28T04:09:36.106+02:00'],'data': [1, 2]}) df = df.set_index('timestamp') df.index = pd.to_datetime(df.index) df.resample('H').size() ``` ### Issue Description `pandas.DataFrame.resample()` fails when index crosses a daylight savings boundary. Error as below `TypeError: Only valid with DatetimeIndex, TimedeltaIndex or PeriodIndex, but got an instance of 'Index' ` ### Expected Behavior ``` timestamp 2021-03-28 00:00:00+01:00 1 2021-03-28 01:00:00+01:00 0 2021-03-28 02:00:00+01:00 0 2021-03-28 03:00:00+02:00 0 2021-03-28 03:00:00+02:00 0 2021-03-28 04:00:00+02:00 1 Freq: H, dtype: int64 ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.2.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-17-cloud-amd64 Version : #1 SMP Debian 4.19.194-2 (2021-06-21) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : C LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43797/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43797/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43798
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43798/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43798/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43798/events
https://github.com/pandas-dev/pandas/issues/43798
1,011,102,872
I_kwDOAA0YD848RDSY
43,798
BUG: python engine in pd.read_csv fails to parse with " after delimiter
{ "avatar_url": "https://avatars.githubusercontent.com/u/57070945?v=4", "events_url": "https://api.github.com/users/alex-tully/events{/privacy}", "followers_url": "https://api.github.com/users/alex-tully/followers", "following_url": "https://api.github.com/users/alex-tully/following{/other_user}", "gists_url": "https://api.github.com/users/alex-tully/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alex-tully", "id": 57070945, "login": "alex-tully", "node_id": "MDQ6VXNlcjU3MDcwOTQ1", "organizations_url": "https://api.github.com/users/alex-tully/orgs", "received_events_url": "https://api.github.com/users/alex-tully/received_events", "repos_url": "https://api.github.com/users/alex-tully/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alex-tully/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alex-tully/subscriptions", "type": "User", "url": "https://api.github.com/users/alex-tully" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2021-09-29T15:22:57Z
2021-10-01T16:10:15Z
2021-10-01T16:10:15Z
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd pd.read_csv("pandas_check.csv", engine="python") # pandas_check.csv id,name,description ID001,Task_001,Task_001 – here for the testing ID002,"Task_002" this is a test,Task_002 – here for the testing ``` ### Issue Description When the python engine is used in `read_csv` and a column contains a `"text" more text` after the delimiter then a parser error is thrown. ``` Traceback (most recent call last): File "/home/development/my_project/.venv/lib/python3.8/site-packages/pandas/io/parsers/python_parser.py", line 742, in _next_iter_line return next(self.data) _csv.Error: ',' expected after '"' ``` ### Expected Behavior I would expect the column to be parsed without error as it is in the C engine ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.9.final.0 python-bits : 64 OS : Linux OS-release : 4.14.246-187.474.amzn2.x86_64 Version : #1 SMP Tue Sep 7 21:48:11 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.3 setuptools : 49.2.1 Cython : None pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43798/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43798/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43799
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43799/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43799/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43799/events
https://github.com/pandas-dev/pandas/pull/43799
1,011,206,127
PR_kwDOAA0YD84sdiwD
43,799
CI/TYP: run pyright at manual stage in pre-commit
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
2021-09-29T17:06:54Z
2021-10-03T22:31:01Z
2021-10-03T22:30:51Z
CONTRIBUTOR
null
with numpy<1.21.0 pyright (and mypy?) cannot determine some types which leads to overlapping overloads. See https://github.com/pandas-dev/pandas/pull/43747#issuecomment-930343454 @attack68
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43799/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43799/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43799.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43799", "merged_at": "2021-10-03T22:30:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43799.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43799" }
https://api.github.com/repos/pandas-dev/pandas/issues/43800
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43800/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43800/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43800/events
https://github.com/pandas-dev/pandas/pull/43800
1,011,234,993
PR_kwDOAA0YD84sdo39
43,800
REF: make _unpack_bool_indexer a function
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-29T17:33:18Z
2021-09-30T01:17:25Z
2021-09-30T01:15:23Z
MEMBER
null
Perf-neutral, makes code-sharing slightly easier for the EA (in particular Nullable) Engine in the works.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43800/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43800/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43800.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43800", "merged_at": "2021-09-30T01:15:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43800.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43800" }
https://api.github.com/repos/pandas-dev/pandas/issues/43801
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43801/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43801/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43801/events
https://github.com/pandas-dev/pandas/pull/43801
1,011,402,980
PR_kwDOAA0YD84seK-Z
43,801
DOC: Add cross merge to userguide section
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
4
2021-09-29T20:14:18Z
2021-09-30T13:51:44Z
2021-09-30T13:22:35Z
MEMBER
null
Forgot this when adding cross
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43801/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43801/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43801.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43801", "merged_at": "2021-09-30T13:22:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43801.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43801" }
https://api.github.com/repos/pandas-dev/pandas/issues/43802
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43802/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43802/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43802/events
https://github.com/pandas-dev/pandas/pull/43802
1,011,426,627
PR_kwDOAA0YD84sePrq
43,802
REG: Regression in explode when column is non string
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
7
2021-09-29T20:45:19Z
2021-10-01T14:33:35Z
2021-09-30T12:54:17Z
MEMBER
null
- [x] closes #43314 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry This should cover the issue since the other pr did not make any progress. Is there a fixture providing all scalar dtypes?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43802/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43802/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43802.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43802", "merged_at": "2021-09-30T12:54:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43802.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43802" }
https://api.github.com/repos/pandas-dev/pandas/issues/43803
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43803/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43803/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43803/events
https://github.com/pandas-dev/pandas/pull/43803
1,011,426,998
PR_kwDOAA0YD84sePwV
43,803
REF: share _get_bool_indexer
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-29T20:45:49Z
2021-09-30T01:06:12Z
2021-09-29T22:55:43Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43803/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43803/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43803.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43803", "merged_at": "2021-09-29T22:55:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43803.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43803" }
https://api.github.com/repos/pandas-dev/pandas/issues/43804
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43804/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43804/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43804/events
https://github.com/pandas-dev/pandas/issues/43804
1,011,431,833
I_kwDOAA0YD848STmZ
43,804
CI: Incompatible versions in resolved dependencies
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
open
false
null
[]
null
2
2021-09-29T20:51:44Z
2021-10-11T17:22:48Z
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python . ``` ### Issue Description I tried to create a new development environment today. Resolving the dependencies using `pip install -r requirements-dev.txt` took two hours before I cancelled it. I then tried to use `pip-compile` from `pip install pip-tools` and I received the message: ``` There are incompatible versions in the resolved dependencies: botocore>=1.11 (from -r requirements-dev.in (line 35)) botocore>=1.12.201 (from moto==2.2.8->-r requirements-dev.in (line 37)) botocore<1.22.0,>=1.21.51 (from boto3==1.18.51->-r requirements-dev.in (line 34)) botocore<1.20.107,>=1.20.106 (from aiobotocore==1.4.1->-r requirements-dev.in (line 72)) ``` Having pinned `boto3>=1.17.106,<1.17.107` since that is what `aiobotocore` packages with, the next error was: ``` There are incompatible versions in the resolved dependencies: fsspec<2021.6.0,>=0.7.4 (from -r requirements-dev.in (line 73)) fsspec==2021.09.0 (from gcsfs==2021.9.0->-r requirements-dev.in (line 74)) fsspec==2021.09.0 (from s3fs==2021.9.0->-r requirements-dev.in (line 71)) fsspec (from fastparquet==0.7.1->-r requirements-dev.in (line 67)) fsspec>=0.6.0 (from dask==2021.9.1->-r requirements-dev.in (line 26)) ``` So then I pinned `gcsfs==2021.5.0` and `s3f2==2021.5.0`. It then compiled and I was able to install packages. (adding a third complaint: new pyright checks need numpy >1.21.0 but numba needs less than that) ### Expected Behavior consistent deps. ### Installed Versions master as of 29-sep-21. python 3.8, mac os.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43804/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43804/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43805
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43805/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43805/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43805/events
https://github.com/pandas-dev/pandas/pull/43805
1,011,441,918
PR_kwDOAA0YD84seShW
43,805
PERF: improve perf of conversion to string arrays
{ "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": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
11
2021-09-29T21:03:43Z
2021-09-30T22:44:45Z
2021-09-30T19:43:54Z
CONTRIBUTOR
null
`f"{val}"` is faster than `str(val)`. Utilizing this in the tight string conversion loop in `ensure_string_array` gives a nice performance boost. ```python >>> int_arr = np.arange(1_000_000) >>> %timeit pd.Series(int_arr, dtype="string") 850 ms ± 8.65 ms per loop # master 455 ms ± 8.65 ms per loop # this PR >>> ser = pd.Series(int_arr) >>> %timeit ser.astype("string") 890 ms ± 8.65 ms per loop # master 505 ms ± 8.65 ms per loop # this PR ``` The same improvement is given when we use `dtype=str`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43805/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43805/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43805.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43805", "merged_at": "2021-09-30T19:43:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43805.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43805" }
https://api.github.com/repos/pandas-dev/pandas/issues/43806
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43806/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43806/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43806/events
https://github.com/pandas-dev/pandas/pull/43806
1,011,488,657
PR_kwDOAA0YD84sebXc
43,806
TYP: GroupBy
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-29T22:08:11Z
2021-09-30T20:13:26Z
2021-09-30T19:42:32Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43806/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43806/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43806.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43806", "merged_at": "2021-09-30T19:42:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43806.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43806" }
https://api.github.com/repos/pandas-dev/pandas/issues/43807
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43807/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43807/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43807/events
https://github.com/pandas-dev/pandas/issues/43807
1,011,506,633
I_kwDOAA0YD848Sl3J
43,807
TYP: mypy complaint isocalendar does not match supertype
{ "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
4
2021-09-29T22:37:26Z
2021-09-30T19:49:48Z
2021-09-30T19:49:48Z
MEMBER
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python When I run mypy locally (this has happened for a while and I've been ignoring it) I get pandas/_libs/tslibs/timestamps.pyi:160: error: Return type "Tuple[int, int, int]" of "isocalendar" incompatible with return type "_IsoCalendarDate" in supertype "datetime" [override] pandas/_libs/tslibs/timestamps.pyi:160: error: Return type "Tuple[int, int, int]" of "isocalendar" incompatible with return type "_IsoCalendarDate" in supertype "date" [override] ``` ``` ### Issue Description N/A ### Expected Behavior N/A ### Installed Versions py39, master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43807/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43807/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43808
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43808/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43808/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43808/events
https://github.com/pandas-dev/pandas/pull/43808
1,011,511,988
PR_kwDOAA0YD84seftP
43,808
Backport PR #43213 on branch 1.3.x (BUG: groupby agg fails silently with mixed dtypes)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
2021-09-29T22:47:46Z
2021-09-30T07:41:23Z
2021-09-30T07:41:23Z
NONE
null
Backport PR #43213: BUG: groupby agg fails silently with mixed dtypes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43808/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43808/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43808.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43808", "merged_at": "2021-09-30T07:41:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43808.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43808" }
https://api.github.com/repos/pandas-dev/pandas/issues/43809
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43809/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43809/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43809/events
https://github.com/pandas-dev/pandas/pull/43809
1,011,550,321
PR_kwDOAA0YD84semuq
43,809
DOC: Add link to previous versions documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/22901938?v=4", "events_url": "https://api.github.com/users/DrGFreeman/events{/privacy}", "followers_url": "https://api.github.com/users/DrGFreeman/followers", "following_url": "https://api.github.com/users/DrGFreeman/following{/other_user}", "gists_url": "https://api.github.com/users/DrGFreeman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DrGFreeman", "id": 22901938, "login": "DrGFreeman", "node_id": "MDQ6VXNlcjIyOTAxOTM4", "organizations_url": "https://api.github.com/users/DrGFreeman/orgs", "received_events_url": "https://api.github.com/users/DrGFreeman/received_events", "repos_url": "https://api.github.com/users/DrGFreeman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DrGFreeman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DrGFreeman/subscriptions", "type": "User", "url": "https://api.github.com/users/DrGFreeman" }
[ { "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": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
5
2021-09-30T00:03:24Z
2021-09-30T13:19:03Z
2021-09-30T12:43:50Z
CONTRIBUTOR
null
Add a "Previous versions" block with link to https://pandas.pydata.org where links to the documentation of prior versions are available. See preview below. ![image](https://user-images.githubusercontent.com/22901938/135364568-9f22f930-b7b4-42c7-ba39-c57f6290afc2.png) - [x] closes #43782 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43809/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43809/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43809.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43809", "merged_at": "2021-09-30T12:43:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43809.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43809" }
https://api.github.com/repos/pandas-dev/pandas/issues/43810
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43810/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43810/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43810/events
https://github.com/pandas-dev/pandas/pull/43810
1,011,595,459
PR_kwDOAA0YD84seu4d
43,810
CLN/TYP: assorted
{ "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-30T01:24:52Z
2021-09-30T14:27:24Z
2021-09-30T12:32:41Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43810/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43810/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43810.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43810", "merged_at": "2021-09-30T12:32:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43810.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43810" }
https://api.github.com/repos/pandas-dev/pandas/issues/43811
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43811/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43811/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43811/events
https://github.com/pandas-dev/pandas/pull/43811
1,011,658,670
PR_kwDOAA0YD84se5xo
43,811
REF: handle uint-negatve cases in _check_type
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-30T03:23:23Z
2021-09-30T14:24:51Z
2021-09-30T12:42:30Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43811/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43811/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43811.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43811", "merged_at": "2021-09-30T12:42:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43811.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43811" }
https://api.github.com/repos/pandas-dev/pandas/issues/43812
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43812/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43812/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43812/events
https://github.com/pandas-dev/pandas/pull/43812
1,011,660,390
PR_kwDOAA0YD84se6Eh
43,812
CI/TYP: set python_version for mypy
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-30T03:27:06Z
2021-09-30T19:49:58Z
2021-09-30T19:49:48Z
CONTRIBUTOR
null
- [x] closes #43807 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] 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/43812/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43812/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43812.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43812", "merged_at": "2021-09-30T19:49:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43812.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43812" }
https://api.github.com/repos/pandas-dev/pandas/issues/43813
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43813/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43813/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43813/events
https://github.com/pandas-dev/pandas/pull/43813
1,011,785,456
PR_kwDOAA0YD84sfQGA
43,813
Multiindex drop doc improvement
{ "avatar_url": "https://avatars.githubusercontent.com/u/38472982?v=4", "events_url": "https://api.github.com/users/juliandwain/events{/privacy}", "followers_url": "https://api.github.com/users/juliandwain/followers", "following_url": "https://api.github.com/users/juliandwain/following{/other_user}", "gists_url": "https://api.github.com/users/juliandwain/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/juliandwain", "id": 38472982, "login": "juliandwain", "node_id": "MDQ6VXNlcjM4NDcyOTgy", "organizations_url": "https://api.github.com/users/juliandwain/orgs", "received_events_url": "https://api.github.com/users/juliandwain/received_events", "repos_url": "https://api.github.com/users/juliandwain/repos", "site_admin": false, "starred_url": "https://api.github.com/users/juliandwain/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/juliandwain/subscriptions", "type": "User", "url": "https://api.github.com/users/juliandwain" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2021-09-30T06:51:08Z
2021-10-16T17:30:48Z
2021-10-16T17:30:44Z
CONTRIBUTOR
null
- [ ] closes #43793 - [ ] tests added / passed - N/A - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - N/A - [ ] Improved documentation for ``DataFrame.drop``
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43813/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43813/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43813.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43813", "merged_at": "2021-10-16T17:30:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43813.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43813" }
https://api.github.com/repos/pandas-dev/pandas/issues/43814
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43814/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43814/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43814/events
https://github.com/pandas-dev/pandas/issues/43814
1,011,847,520
I_kwDOAA0YD848T5Fg
43,814
Using `.loc` with MultiIndex containing `np.nan` unexpected behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/45828280?v=4", "events_url": "https://api.github.com/users/deponovo/events{/privacy}", "followers_url": "https://api.github.com/users/deponovo/followers", "following_url": "https://api.github.com/users/deponovo/following{/other_user}", "gists_url": "https://api.github.com/users/deponovo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deponovo", "id": 45828280, "login": "deponovo", "node_id": "MDQ6VXNlcjQ1ODI4Mjgw", "organizations_url": "https://api.github.com/users/deponovo/orgs", "received_events_url": "https://api.github.com/users/deponovo/received_events", "repos_url": "https://api.github.com/users/deponovo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deponovo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deponovo/subscriptions", "type": "User", "url": "https://api.github.com/users/deponovo" }
[ { "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, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
14
2021-09-30T08:00:06Z
2021-11-08T14:44:08Z
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np df = pd.DataFrame( { "temp_playlist": [0, 0, 0, 0], "objId": ["o1", np.nan, "o1", np.nan], "x": [1, 2, 3, 4], } ) agg_df = df.groupby(by=['temp_playlist', 'objId'], dropna=False)["x"].agg(list) print(agg_df.loc[agg_df.index[-1]]) # KeyError: because it is (0, np.nan), wanted to get [2, 4] ``` ### Issue Description This issue is a follow-up of the discussion in this [SO question](https://stackoverflow.com/questions/69373456/get-values-from-dataframe-with-multiindex-index-containg-nans?noredirect=1#comment122618699_69373456). It appears to be a bug, but if not, meaning, if this is desired behavior it should be documented. As shown in the `Reproducible Example`, after grouping `x` data on the `temp_playlist` and `objId` columns, there is a MultiIndex `(0, nan)`. This index is meaningful and I wanted to access the data via it as I can perform with any other index from `agg_df.index` as `agg_df.loc[<index_pos>]`. This is not possible for the index containing the `nan` (`agg_info_df.loc[agg_info_df.index[-1]]`). However, it does work if that same index is provided in a list of indices. So this seems at least inconsistent if not a bug entirely. For more info, please consult the SO question, especially [this answer](https://stackoverflow.com/a/69375568/14094460). ### Expected Behavior `agg_info_df.loc[(0, np.nan)]` should return `[2, 4]` ### Installed Versions python 3.8.5, pandas 1.3.1, numpy 1.20.3
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43814/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43814/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43815
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43815/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43815/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43815/events
https://github.com/pandas-dev/pandas/issues/43815
1,012,072,773
I_kwDOAA0YD848UwFF
43,815
BUG: Printing DataFrame in Jupyter Notebook modifies DataFrame State
{ "avatar_url": "https://avatars.githubusercontent.com/u/26186714?v=4", "events_url": "https://api.github.com/users/arminherbsthofer/events{/privacy}", "followers_url": "https://api.github.com/users/arminherbsthofer/followers", "following_url": "https://api.github.com/users/arminherbsthofer/following{/other_user}", "gists_url": "https://api.github.com/users/arminherbsthofer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arminherbsthofer", "id": 26186714, "login": "arminherbsthofer", "node_id": "MDQ6VXNlcjI2MTg2NzE0", "organizations_url": "https://api.github.com/users/arminherbsthofer/orgs", "received_events_url": "https://api.github.com/users/arminherbsthofer/received_events", "repos_url": "https://api.github.com/users/arminherbsthofer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arminherbsthofer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arminherbsthofer/subscriptions", "type": "User", "url": "https://api.github.com/users/arminherbsthofer" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
2
2021-09-30T11:43:43Z
2021-10-02T00:42:14Z
2021-10-02T00:42:07Z
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python ### Notebook Cell 1 ### import pandas as pd data = pd.DataFrame([i for i in range(100)], index=pd.date_range(start="2000-01-01", freq="1H", periods=100), columns=["data_col_1"]) ### Notebook Cell 2 ### data ### Notebook Call 3 ### data = data.at_time("10:00") data["data_col_2"] = 0 data.loc[data["data_col_1"] > 0.0, "data_col_2"] = 1 ``` ### Issue Description If I run the 3 notebook cells above, I get the following pandas warning: _A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead_ However, if I only run cell 1 and 3, no warning is triggered. The only difference is cell 2 where we just print the DataFrame. To be more specific, running `print(data)` instead of just `data` also does not trigger the warning. I do not believe this to be a jupyter notebook bug but it seems that by simply running a cell with `data`, the state of the DataFrame is in some way modified which is definitely not expected behavior. Probably this bug is due to some pandas styling functions that are triggered in the background when a cell is run on a DataFrame. As a side note, the bug also does not appear when all the code is run in one single cell (probably because no DataFrame is printed) or when the line `data = data.at_time("10:00")` is omitted. ### Expected Behavior The triggering of the warning should not be dependent on whether you run cell 2 or not. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.3.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-37-generic Version : #41~20.04.2-Ubuntu SMP Fri Sep 24 09:06:38 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 49.2.0.post20200714 Cython : 0.29.21 pytest : 5.4.3 hypothesis : None sphinx : 3.1.2 blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : 0.7.4 fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.4 pandas_gbq : None pyarrow : 2.0.0 pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.18 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.50.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43815/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43815/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43816
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43816/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43816/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43816/events
https://github.com/pandas-dev/pandas/pull/43816
1,012,133,331
PR_kwDOAA0YD84sgSsx
43,816
Backport PR #43809 on branch 1.3.x (DOC: Add link to previous versions documentation)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
2021-09-30T12:44:16Z
2021-09-30T13:57:56Z
2021-09-30T13:57:56Z
NONE
null
Backport PR #43809: DOC: Add link to previous versions documentation
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43816/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43816/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43816.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43816", "merged_at": "2021-09-30T13:57:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43816.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43816" }
https://api.github.com/repos/pandas-dev/pandas/issues/43817
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43817/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43817/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43817/events
https://github.com/pandas-dev/pandas/pull/43817
1,012,143,962
PR_kwDOAA0YD84sgUun
43,817
Backport PR #43802 on branch 1.3.x (REG: Regression in explode when column is non string)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
2021-09-30T12:54:25Z
2021-09-30T14:06:29Z
2021-09-30T14:06:29Z
NONE
null
Backport PR #43802: REG: Regression in explode when column is non string
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43817/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43817/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43817.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43817", "merged_at": "2021-09-30T14:06:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43817.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43817" }
https://api.github.com/repos/pandas-dev/pandas/issues/43818
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43818/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43818/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43818/events
https://github.com/pandas-dev/pandas/pull/43818
1,012,175,719
PR_kwDOAA0YD84sgbCt
43,818
Backport PR #43801 on branch 1.3.x (DOC: Add cross merge to userguide section)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
2021-09-30T13:22:42Z
2021-09-30T14:46:43Z
2021-09-30T14:46:42Z
NONE
null
Backport PR #43801: DOC: Add cross merge to userguide section
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43818/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43818/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43818.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43818", "merged_at": "2021-09-30T14:46:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43818.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43818" }
https://api.github.com/repos/pandas-dev/pandas/issues/43819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43819/events
https://github.com/pandas-dev/pandas/pull/43819
1,012,246,210
PR_kwDOAA0YD84sgoqB
43,819
TYP: fix RegisteredOption
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-30T14:22:31Z
2021-09-30T17:45:58Z
2021-09-30T17:45:58Z
CONTRIBUTOR
null
Followup to #43776
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43819/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43819.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43819", "merged_at": "2021-09-30T17:45:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43819.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43819" }
https://api.github.com/repos/pandas-dev/pandas/issues/43820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43820/events
https://github.com/pandas-dev/pandas/pull/43820
1,012,257,119
PR_kwDOAA0YD84sgq5p
43,820
DOC: Typo(s?) in pandas.DataFrame.isin
{ "avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4", "events_url": "https://api.github.com/users/Varun270/events{/privacy}", "followers_url": "https://api.github.com/users/Varun270/followers", "following_url": "https://api.github.com/users/Varun270/following{/other_user}", "gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Varun270", "id": 75975268, "login": "Varun270", "node_id": "MDQ6VXNlcjc1OTc1MjY4", "organizations_url": "https://api.github.com/users/Varun270/orgs", "received_events_url": "https://api.github.com/users/Varun270/received_events", "repos_url": "https://api.github.com/users/Varun270/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varun270/subscriptions", "type": "User", "url": "https://api.github.com/users/Varun270" }
[ { "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
2
2021-09-30T14:32:07Z
2021-10-03T14:14:10Z
2021-10-03T14:14:03Z
CONTRIBUTOR
null
- [🗸] closes #43755 - [🗸] tests added / passed - [🗸] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [🗸] 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/43820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43820/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43820.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43820", "merged_at": "2021-10-03T14:14:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43820.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43820" }
https://api.github.com/repos/pandas-dev/pandas/issues/43821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43821/events
https://github.com/pandas-dev/pandas/issues/43821
1,012,305,951
I_kwDOAA0YD848VpAf
43,821
ENH: Add a ```level``` option to ```pd.DataFrame.append()```
{ "avatar_url": "https://avatars.githubusercontent.com/u/89147478?v=4", "events_url": "https://api.github.com/users/MoAly98/events{/privacy}", "followers_url": "https://api.github.com/users/MoAly98/followers", "following_url": "https://api.github.com/users/MoAly98/following{/other_user}", "gists_url": "https://api.github.com/users/MoAly98/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MoAly98", "id": 89147478, "login": "MoAly98", "node_id": "MDQ6VXNlcjg5MTQ3NDc4", "organizations_url": "https://api.github.com/users/MoAly98/orgs", "received_events_url": "https://api.github.com/users/MoAly98/received_events", "repos_url": "https://api.github.com/users/MoAly98/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MoAly98/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MoAly98/subscriptions", "type": "User", "url": "https://api.github.com/users/MoAly98" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
null
4
2021-09-30T15:14:30Z
2021-11-19T17:24:02Z
2021-11-19T17:24:01Z
NONE
null
I have two dataframes: The first one looks like this: | | | variable | |:----: |:------: | :-----:| | entry | subentry | | | 0 | 1 | X | | | 2 | Y | | | 3 | Z | and the second one looks like: | | | variable | |:----: |:------: | :-----:| | entry | subentry | | | 0 | 1 | A | | | 2 | B | I would like to merge the two dataframe such that I get: | | | variable | |:----: |:------: | :-----:| | entry | subentry | | | 0 | 1 | X | | | 2 | Y | | | 3 | Z | | 1 | 1 | A | | | 2 | B | Simply using ```df1.append(df2, ignore_index=True)``` gives | |variable | |:----: |:-----:| | | | | 0 |X | | 1 | Y | | 2 | Z | | 3 | A | | 4 | B | In other words, it appends on the highest level (level 1) in the dataframes. I think it important to allow the user dealing with mutli-index dataframes to specify which level of the dataframe to append on. In the simple example above, this would allow me to specify "entry" as the index to append on. Here is a code sinppet that will reproduce the problem: ``` arrays = [ np.array([0,0,0]), np.array([0,1,2]),] arrays_2 = [ np.array([0,0]), np.array([0,1]),] df1 = pd.DataFrame(np.random.randn(3, 1), index=arrays) df2 = pd.DataFrame(np.random.randn(2, 1), index=arrays_2) df = df1.append(df2, ignore_index=True) print(df) ``` In practice, I am looking ao combine N dataframes, each with a different number of "entry" rows. So I am looking for an approach that will not rely on me knowing the exact of the dataframes I am combining.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43821/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43822/events
https://github.com/pandas-dev/pandas/pull/43822
1,012,403,435
PR_kwDOAA0YD84shHbM
43,822
PERF: assorted
{ "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": "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2021-09-30T16:50:27Z
2021-09-30T20:22:43Z
2021-09-30T19:42:00Z
MEMBER
null
``` import numpy as np from pandas._libs.internals import BlockPlacement arr = np.arange(5, dtype=np.intp) %timeit BlockPlacement(arr) 93.3 ns ± 0.203 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <- PR 1.71 µs ± 40.2 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <- master ``` ``` import numpy as np import pandas as pd np.random.seed(92342) arr = np.random.randn(100, 100) df = pd.DataFrame(arr) mgr = df._mgr %timeit mgr._rebuild_blknos_and_blklocs() 6.47 µs ± 132 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- PR 13.4 µs ± 703 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- master ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43822/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43822.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43822", "merged_at": "2021-09-30T19:42:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43822.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43822" }