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
unknown
updated_at
unknown
closed_at
unknown
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/41620
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41620/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41620/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41620/events
https://github.com/pandas-dev/pandas/pull/41620
898,857,165
MDExOlB1bGxSZXF1ZXN0NjUwNjY3Njk1
41,620
TYP: __future__ annotations in parsers
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-22T18:24:03Z"
"2021-05-23T17:13:03Z"
"2021-05-23T08:49:24Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41620/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41620/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41620.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41620", "merged_at": "2021-05-23T08:49:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41620.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41620" }
https://api.github.com/repos/pandas-dev/pandas/issues/41621
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41621/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41621/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41621/events
https://github.com/pandas-dev/pandas/pull/41621
898,857,662
MDExOlB1bGxSZXF1ZXN0NjUwNjY4MDI3
41,621
TYP: NaTType comparisons
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-22T18:26:48Z"
"2021-05-24T15:16:11Z"
"2021-05-24T08:59:54Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41621/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41621/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41621.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41621", "merged_at": "2021-05-24T08:59:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41621.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41621" }
https://api.github.com/repos/pandas-dev/pandas/issues/41622
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41622/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41622/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41622/events
https://github.com/pandas-dev/pandas/pull/41622
898,866,059
MDExOlB1bGxSZXF1ZXN0NjUwNjc0MzA5
41,622
REF: convert_dtypes return dtype objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-22T19:19:05Z"
"2021-05-24T18:30:47Z"
"2021-05-24T18:18:31Z"
MEMBER
null
This turns out to be a blocker for sharing arrays.integers.safe_cast with maybe_cast_to_integer_array, which in turn is a blocker for #34460
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41622/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41622/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41622.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41622", "merged_at": "2021-05-24T18:18:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41622.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41622" }
https://api.github.com/repos/pandas-dev/pandas/issues/41623
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41623/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41623/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41623/events
https://github.com/pandas-dev/pandas/issues/41623
898,876,722
MDU6SXNzdWU4OTg4NzY3MjI=
41,623
QST: Error in Pandas to_datetime conversion?
{ "avatar_url": "https://avatars.githubusercontent.com/u/63075560?v=4", "events_url": "https://api.github.com/users/ardamaks/events{/privacy}", "followers_url": "https://api.github.com/users/ardamaks/followers", "following_url": "https://api.github.com/users/ardamaks/following{/other_user}", "gists_url": "https://api.github.com/users/ardamaks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ardamaks", "id": 63075560, "login": "ardamaks", "node_id": "MDQ6VXNlcjYzMDc1NTYw", "organizations_url": "https://api.github.com/users/ardamaks/orgs", "received_events_url": "https://api.github.com/users/ardamaks/received_events", "repos_url": "https://api.github.com/users/ardamaks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ardamaks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ardamaks/subscriptions", "type": "User", "url": "https://api.github.com/users/ardamaks" }
[ { "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": 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" }, { "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
6
"2021-05-22T20:29:22Z"
"2021-07-16T13:14:38Z"
"2021-07-16T13:14:38Z"
NONE
null
#### Is this an error in Pandas to_datetime conversion? **Initial data stored in following format as dtype: object:** 17:00:00 **After using following code, data is returned with year added and desired dtype: datetime** ``` df['$Time'] = pd.to_datetime(df['$Time'], exact=True, format='%H:%M:%S', errors='coerce') 0 1900-01-01 17:00:00 1 1900-01-01 17:00:01 2 1900-01-01 17:00:02 3 1900-01-01 17:00:03 4 1900-01-01 17:00:04 Name: $Time, dtype: datetime64[ns] ``` **If Im using now dt.time to remove date and keep only hours, I'm getting dtype: object back... Is this a bug? What should be correct logic to keep %H:%M:%S and dtype: datetime?** ``` df['$Time'] = df['$Time'].dt.time 0 17:00:00 1 17:00:01 2 17:00:02 3 17:00:03 4 17:00:04 Name: $Time, dtype: object ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41623/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41623/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41624
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41624/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41624/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41624/events
https://github.com/pandas-dev/pandas/pull/41624
898,877,540
MDExOlB1bGxSZXF1ZXN0NjUwNjgyOTA0
41,624
REF: simplify maybe_cast_to_datetime
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-22T20:35:07Z"
"2021-05-25T14:00:27Z"
"2021-05-25T13:23:32Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41624/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41624/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41624.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41624", "merged_at": "2021-05-25T13:23:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41624.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41624" }
https://api.github.com/repos/pandas-dev/pandas/issues/41625
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41625/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41625/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41625/events
https://github.com/pandas-dev/pandas/issues/41625
898,881,669
MDU6SXNzdWU4OTg4ODE2Njk=
41,625
QST: read_excel - "odf engine" remove "\n" when reading multi-line cell from “ods” file
{ "avatar_url": "https://avatars.githubusercontent.com/u/16881960?v=4", "events_url": "https://api.github.com/users/msameen99/events{/privacy}", "followers_url": "https://api.github.com/users/msameen99/followers", "following_url": "https://api.github.com/users/msameen99/following{/other_user}", "gists_url": "https://api.github.com/users/msameen99/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/msameen99", "id": 16881960, "login": "msameen99", "node_id": "MDQ6VXNlcjE2ODgxOTYw", "organizations_url": "https://api.github.com/users/msameen99/orgs", "received_events_url": "https://api.github.com/users/msameen99/received_events", "repos_url": "https://api.github.com/users/msameen99/repos", "site_admin": false, "starred_url": "https://api.github.com/users/msameen99/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/msameen99/subscriptions", "type": "User", "url": "https://api.github.com/users/msameen99" }
[ { "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
6
"2021-05-22T21:03:44Z"
"2021-05-26T00:11:55Z"
"2021-05-26T00:11:54Z"
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). --- I've a simple "ods" file (Test01.ods) with the below data in "sheet1" :- [![enter image description here][2]][2] also I saved it as "xlsx" (Test01.xlsx) so I've two files contains exactly the same data. Now when I try to read them using Pandas "read_excel" with the below code [![enter image description here][3]][3] the "xslx" file is showing the line break char "\n" while the "ods" file does not. [![enter image description here][4]][4] Any idea why? and how to force "odf engine" to output the "\n" to the dataframe? Thanks in advance [1]: https://i.stack.imgur.com/K2PYO.png [2]: https://i.stack.imgur.com/1lLUk.png [3]: https://i.stack.imgur.com/QCRT5.png [4]: https://i.stack.imgur.com/NUV5x.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/41625/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41625/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41626
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41626/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41626/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41626/events
https://github.com/pandas-dev/pandas/issues/41626
898,923,543
MDU6SXNzdWU4OTg5MjM1NDM=
41,626
API: make CategoricalIndex._concat consistent with pd.concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
null
5
"2021-05-23T02:58:55Z"
"2021-08-21T01:33:54Z"
null
MEMBER
null
`Index._concat` (used by `Index.append`) is thin wrapper around `concat_compat`. It is overriden by CategoricalIndex so that CategoricalDtype is retained more often than it is in `concat_compat`. We should make these match. If we just rip `CategoricalIndex._concat`, we break 6 tests, all of which boil down to: ``` def test_append_category_objects(self, ci): # with objects result = ci.append(Index(["c", "a"])) expected = CategoricalIndex(list("aabbcaca"), categories=ci.categories) > tm.assert_index_equal(result, expected, exact=True) ``` If we go the other way and change `concat_compat`, we break 6 different tests, all of which involve all-empty arrays or arrays that can be losslessly cast to the Categorical's dtype, e.g (edited for legibility) ``` def test_concat_empty_series_dtype_category_with_array(self): # GH#18515 left = Series(np.array([]), dtype="category") right = Series(dtype="float64") result = concat([left, right]) > assert result.dtype == "float64" def test_concat_categorical_coercion(self): # GH 13524 # category + not-category => not-category s1 = Series([1, 2, np.nan], dtype="category") s2 = Series([2, 1, 2]) exp = Series([1, 2, np.nan, 2, 1, 2], dtype="object") > tm.assert_series_equal(pd.concat([s1, s2], ignore_index=True), exp) E AssertionError: Attributes of Series are different E E Attribute "dtype" are different E [left]: CategoricalDtype(categories=[1, 2], ordered=False) E [right]: object ``` Changing concat_compat results in much more convenient behavior, but it is textbook "values-dependent behavior" that in general we want to avoid (cc @jorisvandenbossche)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41626/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41626/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41627
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41627/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41627/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41627/events
https://github.com/pandas-dev/pandas/pull/41627
898,929,884
MDExOlB1bGxSZXF1ZXN0NjUwNzIxOTk3
41,627
REF: share _mpl_repr
{ "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-23T04:00:44Z"
"2021-05-25T13:59:21Z"
"2021-05-25T13:21:21Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41627/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41627/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41627.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41627", "merged_at": "2021-05-25T13:21:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41627.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41627" }
https://api.github.com/repos/pandas-dev/pandas/issues/41628
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41628/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41628/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41628/events
https://github.com/pandas-dev/pandas/issues/41628
899,005,679
MDU6SXNzdWU4OTkwMDU2Nzk=
41,628
DOC: merge_asof accepts a vector for 'left_on' parameter (and this is great! :))
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "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" } ]
open
false
null
[]
null
2
"2021-05-23T12:10:59Z"
"2021-05-27T08:05:12Z"
null
NONE
null
#### Documentation problem [pandas.merge_asof()](https://pandas.pydata.org/docs/reference/api/pandas.merge_asof.html) states regarding `left_on`parameter: _left_on : label Field name to join on in left DataFrame._ #### Suggested fix for documentation I tried to see if like `merge_ordered` a vector the size of the left DataFrame would not be accepted, and it is. I would suggest to complete the parameter description similarly to what is stated in [`merge_ordered()`](https://pandas.pydata.org/pandas-docs/version/1.2.4/reference/api/pandas.merge_ordered.html) _left_on : label or list, or array-like Field names to join on in left DataFrame. Can be a vector or list of vectors of the length of the DataFrame to use a particular vector as the join key instead of columns._
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41628/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41628/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41629
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41629/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41629/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41629/events
https://github.com/pandas-dev/pandas/issues/41629
899,013,970
MDU6SXNzdWU4OTkwMTM5NzA=
41,629
QST: difference using ['column'] or .column?
{ "avatar_url": "https://avatars.githubusercontent.com/u/30244899?v=4", "events_url": "https://api.github.com/users/ivangvi/events{/privacy}", "followers_url": "https://api.github.com/users/ivangvi/followers", "following_url": "https://api.github.com/users/ivangvi/following{/other_user}", "gists_url": "https://api.github.com/users/ivangvi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivangvi", "id": 30244899, "login": "ivangvi", "node_id": "MDQ6VXNlcjMwMjQ0ODk5", "organizations_url": "https://api.github.com/users/ivangvi/orgs", "received_events_url": "https://api.github.com/users/ivangvi/received_events", "repos_url": "https://api.github.com/users/ivangvi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivangvi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivangvi/subscriptions", "type": "User", "url": "https://api.github.com/users/ivangvi" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "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/26802758?v=4", "events_url": "https://api.github.com/users/LukeTonin/events{/privacy}", "followers_url": "https://api.github.com/users/LukeTonin/followers", "following_url": "https://api.github.com/users/LukeTonin/following{/other_user}", "gists_url": "https://api.github.com/users/LukeTonin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/LukeTonin", "id": 26802758, "login": "LukeTonin", "node_id": "MDQ6VXNlcjI2ODAyNzU4", "organizations_url": "https://api.github.com/users/LukeTonin/orgs", "received_events_url": "https://api.github.com/users/LukeTonin/received_events", "repos_url": "https://api.github.com/users/LukeTonin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/LukeTonin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LukeTonin/subscriptions", "type": "User", "url": "https://api.github.com/users/LukeTonin" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/26802758?v=4", "events_url": "https://api.github.com/users/LukeTonin/events{/privacy}", "followers_url": "https://api.github.com/users/LukeTonin/followers", "following_url": "https://api.github.com/users/LukeTonin/following{/other_user}", "gists_url": "https://api.github.com/users/LukeTonin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/LukeTonin", "id": 26802758, "login": "LukeTonin", "node_id": "MDQ6VXNlcjI2ODAyNzU4", "organizations_url": "https://api.github.com/users/LukeTonin/orgs", "received_events_url": "https://api.github.com/users/LukeTonin/received_events", "repos_url": "https://api.github.com/users/LukeTonin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/LukeTonin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LukeTonin/subscriptions", "type": "User", "url": "https://api.github.com/users/LukeTonin" } ]
null
6
"2021-05-23T12:53:17Z"
"2021-05-26T03:45:10Z"
"2021-05-26T03:45:04Z"
NONE
null
Hi All, I was wondering if you have any guidelines as to when it is possible to just go for df.column instead of df['column'], as I prefer the former for code styling, but I recall it gave me some issues before. I'm not sure I understand the specific difference between one and the other, is there any? For now, what I do is only use ['column'] when declaring a new column and then always go for .column. Thank you, Iván.
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41629/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41629/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41630
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41630/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41630/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41630/events
https://github.com/pandas-dev/pandas/issues/41630
899,042,988
MDU6SXNzdWU4OTkwNDI5ODg=
41,630
BUG: pd.DataFrame.from_records raises key error 0 when multiprocessing a data frame over multiple cores
{ "avatar_url": "https://avatars.githubusercontent.com/u/14998394?v=4", "events_url": "https://api.github.com/users/FloBay/events{/privacy}", "followers_url": "https://api.github.com/users/FloBay/followers", "following_url": "https://api.github.com/users/FloBay/following{/other_user}", "gists_url": "https://api.github.com/users/FloBay/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/FloBay", "id": 14998394, "login": "FloBay", "node_id": "MDQ6VXNlcjE0OTk4Mzk0", "organizations_url": "https://api.github.com/users/FloBay/orgs", "received_events_url": "https://api.github.com/users/FloBay/received_events", "repos_url": "https://api.github.com/users/FloBay/repos", "site_admin": false, "starred_url": "https://api.github.com/users/FloBay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FloBay/subscriptions", "type": "User", "url": "https://api.github.com/users/FloBay" }
[ { "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
7
"2021-05-23T15:16:48Z"
"2021-05-26T20:34:32Z"
"2021-05-26T20:34:32Z"
NONE
null
- I have checked that this issue has not already been reported. - I have confirmed this bug exists on the latest version of pandas. #### Code Sample, a copy-pastable example ```python import multiprocessing from functools import partial import time import pandas as pd import numpy as np from tqdm.auto import tqdm tqdm.pandas(desc="Progress bar") def some_heavy_row_function(row, mult): a = row.sum() b = a*mult time.sleep(1) return (a,b) def fake_func_1(df, **kwargs): # Apply some heavy row wise function x_cols = ['A','B'] x = df.progress_apply(some_heavy_row_function, mult=kwargs['mult'], axis=1) df[x_cols] = pd.DataFrame(data=x.tolist(), columns=x_cols, index=df.index) # v1 # add some colums for c,v in kwargs.items(): df[c] = v return df def fake_func_2(df, **kwargs): # Apply some heavy row wise function x_cols = ['A','B'] x = df.progress_apply(some_heavy_row_function, mult=kwargs['mult'], axis=1) df[x_cols] = pd.DataFrame.from_records(data=x, columns=x_cols, index=df.index). # v2 # add some colums for c,v in kwargs.items(): df[c] = v return df def create_fake_df(n_rows): return pd.DataFrame(np.random.rand(n_rows, 3), columns=['foo','bar','baz']) def parallelize_dataframe(n_cores, df, func, **kwargs): with multiprocessing.Pool(processes=n_cores) as pool: df_splited = np.array_split(df, n_cores) df_processed = pool.map(partial(func, **kwargs), df_splited) df = pd.concat(df_processed) return df if __name__ == '__main__': # Create an example data frame df = create_fake_df(n_rows = 20) print(df.head()) # "Fixed" function with three cores n_cores = 3 df_1 = parallelize_dataframe(n_cores, df, fake_func_1, mult=10, x=1) print(df_1.head()) # bug function with one core works n_cores = 1 df_2 = parallelize_dataframe(n_cores, df, fake_func_2, mult=10, x=1) print(df_2.head()) # bug function with >1 core crashes n_cores = 3 df_3 = parallelize_dataframe(n_cores, df, fake_func_2, mult=10, x=1) print(df_3.head()) ``` #### Problem description I don't know why it works when I do the small workaround in function 1 (which should be roughly what from record is doing) or why from_records works with 1 core but not with multiple cores. Maybe this is obvious to some. To me it looks like a bug. Thats why I am reporting it. Also this may help others trying similar things. This error occurs under python 3.6 and 3.9; and I tested pandas versions 1.0.2 and 1.2.4 respectively. #### Output | | foo | bar | baz | |---|------------|------------|-------------| | 0 | 0.730996 | 0.206051 | 0.038810 | | 1 | 0.369668 | 0.024069 | 0.383633 | | 2 | 0.769936 | 0.758607 | 0.568493 | | 3 | 0.304604 | 0.213722 | 0.612195 | | 4 | 0.674473 | 0.646581 | 0.322751 | Progress bar: 100%|████████████████████████████████| 6/6 [00:06<00:00, 1.00s/it] Progress bar: 100%|████████████████████████████████| 7/7 [00:07<00:00, 1.00s/it] Progress bar: 100%|████████████████████████████████| 7/7 [00:07<00:00, 1.00s/it] | | foo | bar | baz | A | B | mult | x | |---|------------|------------|-------------|------------|-------------|--------|----| | 0 | 0.730996 | 0.206051 | 0.038810 | 0.975858 | 9.758577 | 10 | 1 | | 1 | 0.369668 | 0.024069 | 0.383633 | 0.777371 | 7.773708 | 10 | 1 | | 2 | 0.769936 | 0.758607 | 0.568493 | 2.097036 | 20.970361 | 10 | 1 | | 3 | 0.304604 | 0.213722 | 0.612195 | 1.130520 | 11.305202 | 10 | 1 | | 4 | 0.674473 | 0.646581 | 0.322751 | 1.643804 | 16.438041 | 10 | 1 | Progress bar: 100%|████████████████████████████████| 20/20 [00:20<00:00, 1.00s/it] | | foo | bar | baz | A | B | mult | x | |---|------------|------------|-------------|------------|-------------|--------|----| | 0 | 0.730996 | 0.206051 | 0.038810 | 0.975858 | 9.758577 | 10 | 1 | | 1 | 0.369668 | 0.024069 | 0.383633 | 0.777371 | 7.773708 | 10 | 1 | | 2 | 0.769936 | 0.758607 | 0.568493 | 2.097036 | 20.970361 | 10 | 1 | | 3 | 0.304604 | 0.213722 | 0.612195 | 1.130520 | 11.305202 | 10 | 1 | | 4 | 0.674473 | 0.646581 | 0.322751 | 1.643804 | 16.438041 | 10 | 1 | Progress bar: 100%|████████████████████████████████| 6/6 [00:06<00:00, 1.00s/it] Progress bar: 100%|████████████████████████████████| 7/7 [00:07<00:00, 1.00s/it] Progress bar: 100%|████████████████████████████████| 7/7 [00:07<00:00, 1.00s/it] multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "C:\...\conda\conda\envs\py3_9\lib\site-packages\pandas\core\indexes\range.py", line 351, in get_loc return self._range.index(new_key) ValueError: 0 is not in range The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\...\conda\conda\envs\py3_9\lib\multiprocessing\pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "C:\...\conda\conda\envs\py3_9\lib\multiprocessing\pool.py", line 48, in mapstar return list(map(*args)) File "paralell2.py", line 34, in fake_func_2 df[x_cols] = pd.DataFrame.from_records(data=x, columns=x_cols, index=df.index) File "C:\...\conda\conda\envs\py3_9\lib\site-packages\pandas\core\frame.py", line 1855, in from_records arrays, arr_columns = to_arrays(data, columns, coerce_float=coerce_float) File "C:\...\conda\conda\envs\py3_9\lib\site-packages\pandas\core\internals\construction.py", line 527, in to_arrays if isinstance(data[0], (list, tuple)): File "C:\...\conda\conda\envs\py3_9\lib\site-packages\pandas\core\series.py", line 853, in __getitem__ return self._get_value(key) File "C:\...\conda\conda\envs\py3_9\lib\site-packages\pandas\core\series.py", line 961, in _get_value loc = self.index.get_loc(label) File "C:\...\conda\conda\envs\py3_9\lib\site-packages\pandas\core\indexes\range.py", line 353, in get_loc raise KeyError(key) from err KeyError: 0 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.4.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.17763 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 49.6.0.post20210108 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.0 IPython : 7.23.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.2 numexpr : None 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/41630/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41630/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41631
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41631/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41631/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41631/events
https://github.com/pandas-dev/pandas/issues/41631
899,047,281
MDU6SXNzdWU4OTkwNDcyODE=
41,631
ENH: Allow vector in 'merge_asof' / 'right_on' parameter ('left_on' already accepts it)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, 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": "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
0
"2021-05-23T15:37:43Z"
"2021-08-21T01:34:29Z"
null
NONE
null
#### Is your feature request related to a problem? `left_on` and `right_on` parameters of [`merge_ordered`](https://pandas.pydata.org/docs/reference/api/pandas.merge_ordered.html) accept vectors of the same length than the DataFrame they relate to. Although not stated in the documentation, `left_on` parameter of [`merge_asof`](https://pandas.pydata.org/docs/reference/api/pandas.merge_asof.html) also accept vector of the same length than the left DataFrame. But not `right_on`. This would allow not having to recreate a DataFrame with a new column for the keys in case it is not already part of the right DataFrame. #### Describe the solution you'd like `right_on` to accept vector as well. #### API breaking implications `right_on` will be able to accept vector. #### Describe alternatives you've considered As a workaround, I will create a new DataFrame with a new column to embed the keys.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41631/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41631/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41632
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41632/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41632/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41632/events
https://github.com/pandas-dev/pandas/issues/41632
899,081,696
MDU6SXNzdWU4OTkwODE2OTY=
41,632
CI: FutureWarning from string promotion on actions-38-numpydev
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "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": 1387848774, "name": "Python 3.8", "node_id": "MDU6TGFiZWwxMzg3ODQ4Nzc0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.8" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
open
false
null
[]
null
2
"2021-05-23T18:39:31Z"
"2021-08-21T01:35:05Z"
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [] I have confirmed this bug exists on the latest master of pandas - [x] (optional) I have confirmed this bug exists on the master branch of pandas. CI seems to be failing in some tests. I did an update to a PR #41594 which ONLY had a doc change and merge to latest master, and now it is failing in CI.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41632/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41632/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41633
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41633/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41633/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41633/events
https://github.com/pandas-dev/pandas/issues/41633
899,083,532
MDU6SXNzdWU4OTkwODM1MzI=
41,633
QST: errors='coerce' causing pd.to_datetime to row-wise change format guessing arbitrarily?
{ "avatar_url": "https://avatars.githubusercontent.com/u/30244899?v=4", "events_url": "https://api.github.com/users/ivangvi/events{/privacy}", "followers_url": "https://api.github.com/users/ivangvi/followers", "following_url": "https://api.github.com/users/ivangvi/following{/other_user}", "gists_url": "https://api.github.com/users/ivangvi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivangvi", "id": 30244899, "login": "ivangvi", "node_id": "MDQ6VXNlcjMwMjQ0ODk5", "organizations_url": "https://api.github.com/users/ivangvi/orgs", "received_events_url": "https://api.github.com/users/ivangvi/received_events", "repos_url": "https://api.github.com/users/ivangvi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivangvi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivangvi/subscriptions", "type": "User", "url": "https://api.github.com/users/ivangvi" }
[ { "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
1
"2021-05-23T18:49:57Z"
"2021-08-21T01:36:47Z"
"2021-08-21T01:36:47Z"
NONE
null
Hi! I just stumbled across this problem, where I had a date field with some '--' values which needed to be coerced to NaT. Problem is that while using that, pd.to_datetime ended up using different date formats across the records, exchanging month with date apparently arbitrarily. I think I solved this by declaring the format explicitly, but I'm worried about any other related issues that I may oversee. Any thoughts? Thank you, Iván.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41633/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41633/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41634
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41634/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41634/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41634/events
https://github.com/pandas-dev/pandas/issues/41634
899,084,387
MDU6SXNzdWU4OTkwODQzODc=
41,634
ENH: Raise error on ascending='False'
{ "avatar_url": "https://avatars.githubusercontent.com/u/10409077?v=4", "events_url": "https://api.github.com/users/ezerkar/events{/privacy}", "followers_url": "https://api.github.com/users/ezerkar/followers", "following_url": "https://api.github.com/users/ezerkar/following{/other_user}", "gists_url": "https://api.github.com/users/ezerkar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ezerkar", "id": 10409077, "login": "ezerkar", "node_id": "MDQ6VXNlcjEwNDA5MDc3", "organizations_url": "https://api.github.com/users/ezerkar/orgs", "received_events_url": "https://api.github.com/users/ezerkar/received_events", "repos_url": "https://api.github.com/users/ezerkar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ezerkar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ezerkar/subscriptions", "type": "User", "url": "https://api.github.com/users/ezerkar" }
[ { "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/36496171?v=4", "events_url": "https://api.github.com/users/vishalkumarprasad/events{/privacy}", "followers_url": "https://api.github.com/users/vishalkumarprasad/followers", "following_url": "https://api.github.com/users/vishalkumarprasad/following{/other_user}", "gists_url": "https://api.github.com/users/vishalkumarprasad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vishalkumarprasad", "id": 36496171, "login": "vishalkumarprasad", "node_id": "MDQ6VXNlcjM2NDk2MTcx", "organizations_url": "https://api.github.com/users/vishalkumarprasad/orgs", "received_events_url": "https://api.github.com/users/vishalkumarprasad/received_events", "repos_url": "https://api.github.com/users/vishalkumarprasad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vishalkumarprasad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vishalkumarprasad/subscriptions", "type": "User", "url": "https://api.github.com/users/vishalkumarprasad" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/12632118?v=4", "events_url": "https://api.github.com/users/gaikwadrahul20/events{/privacy}", "followers_url": "https://api.github.com/users/gaikwadrahul20/followers", "following_url": "https://api.github.com/users/gaikwadrahul20/following{/other_user}", "gists_url": "https://api.github.com/users/gaikwadrahul20/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gaikwadrahul20", "id": 12632118, "login": "gaikwadrahul20", "node_id": "MDQ6VXNlcjEyNjMyMTE4", "organizations_url": "https://api.github.com/users/gaikwadrahul20/orgs", "received_events_url": "https://api.github.com/users/gaikwadrahul20/received_events", "repos_url": "https://api.github.com/users/gaikwadrahul20/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gaikwadrahul20/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaikwadrahul20/subscriptions", "type": "User", "url": "https://api.github.com/users/gaikwadrahul20" }, { "avatar_url": "https://avatars.githubusercontent.com/u/36496171?v=4", "events_url": "https://api.github.com/users/vishalkumarprasad/events{/privacy}", "followers_url": "https://api.github.com/users/vishalkumarprasad/followers", "following_url": "https://api.github.com/users/vishalkumarprasad/following{/other_user}", "gists_url": "https://api.github.com/users/vishalkumarprasad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vishalkumarprasad", "id": 36496171, "login": "vishalkumarprasad", "node_id": "MDQ6VXNlcjM2NDk2MTcx", "organizations_url": "https://api.github.com/users/vishalkumarprasad/orgs", "received_events_url": "https://api.github.com/users/vishalkumarprasad/received_events", "repos_url": "https://api.github.com/users/vishalkumarprasad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vishalkumarprasad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vishalkumarprasad/subscriptions", "type": "User", "url": "https://api.github.com/users/vishalkumarprasad" } ]
{ "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" }
15
"2021-05-23T18:54:45Z"
"2021-07-30T22:15:03Z"
"2021-07-30T22:15:03Z"
NONE
null
#### Is your feature request related to a problem? when sort_values ascending parameter is set to a string (df.sort_values(col_name, ascending='False') it does not error although it's meaningless, this could be quite confusing. #### Describe the solution you'd like Raise an error if ascending is equal to values that are not boolean #### API breaking implications Error raising #### Describe alternatives you've considered Warning is also good, but I think error makes more sense #### Additional context for an hour I was wondering why ascending='False' is not working ```python isinstance('False', bool) :) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41634/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41634/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41635
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41635/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41635/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41635/events
https://github.com/pandas-dev/pandas/pull/41635
899,092,147
MDExOlB1bGxSZXF1ZXN0NjUwODQzNzEx
41,635
ENH: set render limits on `Styler` to automatically trim dataframes
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-23T19:37:14Z"
"2021-06-04T18:11:35Z"
"2021-06-04T12:51:37Z"
CONTRIBUTOR
null
- [x] closes #40712 also linking #11700 - [x] tests added / passed Adds an option: `styler.max.elements` with a default value of 2**18 = 262144. ``` >>> pd.options.styler.max.elements = 2**18 >>> df = pd.DataFrame(np.random.rand(10000,100)) >>> %timeit df.style.render() 4.11 s ± 30.3 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) ``` Even though this is a *'large'* dataframe it is reduced to the max elements and still renders in reasonable time (4s plus about 5s for a browser to render the date). If the number of data elements exceeds the max then the right side, or bottom, or both of the DataFrame will be trimmed (starting with the largest axis and recursively reducing), leaving '...' filler indicators. All reduction takes place before index or data looping so it avoids any crashes. ![Screen Shot 2021-05-23 at 20 44 15](https://user-images.githubusercontent.com/24256554/119274105-975dc100-bc0e-11eb-9ac4-8df45ceb0d0d.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/41635/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41635/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41635.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41635", "merged_at": "2021-06-04T12:51:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41635.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41635" }
https://api.github.com/repos/pandas-dev/pandas/issues/41636
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41636/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41636/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41636/events
https://github.com/pandas-dev/pandas/issues/41636
899,110,492
MDU6SXNzdWU4OTkxMTA0OTI=
41,636
BUG: decimal=',' does not work properly with complex values
{ "avatar_url": "https://avatars.githubusercontent.com/u/1177400?v=4", "events_url": "https://api.github.com/users/pjrandewijk/events{/privacy}", "followers_url": "https://api.github.com/users/pjrandewijk/followers", "following_url": "https://api.github.com/users/pjrandewijk/following{/other_user}", "gists_url": "https://api.github.com/users/pjrandewijk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pjrandewijk", "id": 1177400, "login": "pjrandewijk", "node_id": "MDQ6VXNlcjExNzc0MDA=", "organizations_url": "https://api.github.com/users/pjrandewijk/orgs", "received_events_url": "https://api.github.com/users/pjrandewijk/received_events", "repos_url": "https://api.github.com/users/pjrandewijk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pjrandewijk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjrandewijk/subscriptions", "type": "User", "url": "https://api.github.com/users/pjrandewijk" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-23T21:14:00Z"
"2021-05-24T13:44:07Z"
"2021-05-24T13:44: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 of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here import pandas as pd Y0=array([[0.-20.j , 0. +0.j ], [0. +0.j , 0.-12.j ]]) Y0df=pd.DataFrame(Y0) print(Y0df.to_latex(header=False,index=False,decimal=','), file=open('Y0.tex', 'w')) ``` #### Problem description The contence of Y0.tex is shown below with only the real part having the correct decimal symbol. \begin{tabular}{rr} \toprule 0,000000-20.000000j & 0,000000+0.000000j \\ 0,000000+0.000000j & 0,000000-12.000000j \\ \bottomrule \end{tabular} #### Expected Output \begin{tabular}{rr} \toprule 0,000000-20,000000j & 0,000000+0,000000j \\ 0,000000+0.000000j & 0,000000-12,000000j \\ \bottomrule \end{tabular} #### Desired Output #instead of using 'decimal' an 'use_numprint=True' would be nicer to allow for custom customisation within LaTeX, which would ideally produce the following output %uncomment the following line if not already defined %\newcommand{\np}[2][]{\numprint[#1]{#2}} \begin{tabular}{rr} \toprule \np{0.000000}-\np{20.000000}j & \np{0.000000}+\np{0.000000}j \\ \np{0.000000}+\np{0.000000}j & \np{0.000000}-\np{12.000000}j \\ \bottomrule \end{tabular} #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 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 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : en LOCALE : English_South Africa.1252 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.1.post20201107 Cython : 0.29.21 pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.1 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.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/41636/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41636/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41637
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41637/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41637/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41637/events
https://github.com/pandas-dev/pandas/pull/41637
899,111,990
MDExOlB1bGxSZXF1ZXN0NjUwODU5MDA5
41,637
CI: Unpin pip in py38 npdev
{ "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": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-23T21:21:35Z"
"2021-05-28T20:48:47Z"
"2021-05-25T08:09:06Z"
MEMBER
null
- [x] closes #38221 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41637/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41637/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41637.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41637", "merged_at": "2021-05-25T08:09:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41637.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41637" }
https://api.github.com/repos/pandas-dev/pandas/issues/41638
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41638/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41638/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41638/events
https://github.com/pandas-dev/pandas/pull/41638
899,240,347
MDExOlB1bGxSZXF1ZXN0NjUwOTYzNTk1
41,638
CLN: remove unnecessary _comparables
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-24T04:45:55Z"
"2021-05-26T04:23:55Z"
"2021-05-26T01:48:50Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41638/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41638/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41638.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41638", "merged_at": "2021-05-26T01:48:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41638.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41638" }
https://api.github.com/repos/pandas-dev/pandas/issues/41639
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41639/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41639/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41639/events
https://github.com/pandas-dev/pandas/pull/41639
899,249,896
MDExOlB1bGxSZXF1ZXN0NjUwOTcxOTAx
41,639
CLN: remove unused _max_fitting_element
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-24T05:03:37Z"
"2021-05-24T15:15:38Z"
"2021-05-24T08:52:45Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41639/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41639/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41639.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41639", "merged_at": "2021-05-24T08:52:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41639.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41639" }
https://api.github.com/repos/pandas-dev/pandas/issues/41640
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41640/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41640/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41640/events
https://github.com/pandas-dev/pandas/issues/41640
899,623,091
MDU6SXNzdWU4OTk2MjMwOTE=
41,640
BUG: Rounding not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/59920376?v=4", "events_url": "https://api.github.com/users/akald/events{/privacy}", "followers_url": "https://api.github.com/users/akald/followers", "following_url": "https://api.github.com/users/akald/following{/other_user}", "gists_url": "https://api.github.com/users/akald/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/akald", "id": 59920376, "login": "akald", "node_id": "MDQ6VXNlcjU5OTIwMzc2", "organizations_url": "https://api.github.com/users/akald/orgs", "received_events_url": "https://api.github.com/users/akald/received_events", "repos_url": "https://api.github.com/users/akald/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akald/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akald/subscriptions", "type": "User", "url": "https://api.github.com/users/akald" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "006b75", "default": false, "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": "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
10
"2021-05-24T12:40:10Z"
"2021-11-09T18:01:50Z"
"2021-06-06T09:12:27Z"
NONE
null
The conventional system for rounding is that if the second digit is larger or equal to 5, we round up df Value 0 0.45 1 0.95 df.Value.round(1) doesn't give the correct answer. It should be 0.5 and 1.0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41640/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41640/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41641
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41641/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41641/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41641/events
https://github.com/pandas-dev/pandas/issues/41641
899,726,394
MDU6SXNzdWU4OTk3MjYzOTQ=
41,641
ENH: Add a unit conversion method for Pandas Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/6743349?v=4", "events_url": "https://api.github.com/users/normansimonr/events{/privacy}", "followers_url": "https://api.github.com/users/normansimonr/followers", "following_url": "https://api.github.com/users/normansimonr/following{/other_user}", "gists_url": "https://api.github.com/users/normansimonr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/normansimonr", "id": 6743349, "login": "normansimonr", "node_id": "MDQ6VXNlcjY3NDMzNDk=", "organizations_url": "https://api.github.com/users/normansimonr/orgs", "received_events_url": "https://api.github.com/users/normansimonr/received_events", "repos_url": "https://api.github.com/users/normansimonr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/normansimonr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/normansimonr/subscriptions", "type": "User", "url": "https://api.github.com/users/normansimonr" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "009800", "default": false, "description": "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
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
"2021-05-24T14:42:08Z"
"2021-05-24T15:34:49Z"
"2021-05-24T15:34:49Z"
NONE
null
I wish I could use pandas to do unit conversion between miles/kilometres, inches/centimetres, feet/metres, etc, in a single line of code. I was thinking of something that someone could use like this: ~~~python my_series_in_kilometres = my_series_in_miles.convert_units(from="mi", to="km") my_series_in_feet = my_series_in_metres.convert_units(from="m", to="ft") ~~~ I think this feature could potentially ease the lives of people who have to do a lot of data munging with `pandas`. I don't know if this already exists (`pandas` is so vast!) but after having searched on Google and having found nothing, I decided to open an issue. I am aware that you can do this with simple arithmetic operations, but perhaps it'd be nice to have a built-in method that saves you the looking up in conversion tables. Thank you!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41641/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41641/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41642
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41642/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41642/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41642/events
https://github.com/pandas-dev/pandas/pull/41642
899,762,509
MDExOlB1bGxSZXF1ZXN0NjUxNDE4MTIz
41,642
typo fix
{ "avatar_url": "https://avatars.githubusercontent.com/u/20906652?v=4", "events_url": "https://api.github.com/users/stphnlyd/events{/privacy}", "followers_url": "https://api.github.com/users/stphnlyd/followers", "following_url": "https://api.github.com/users/stphnlyd/following{/other_user}", "gists_url": "https://api.github.com/users/stphnlyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stphnlyd", "id": 20906652, "login": "stphnlyd", "node_id": "MDQ6VXNlcjIwOTA2NjUy", "organizations_url": "https://api.github.com/users/stphnlyd/orgs", "received_events_url": "https://api.github.com/users/stphnlyd/received_events", "repos_url": "https://api.github.com/users/stphnlyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stphnlyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stphnlyd/subscriptions", "type": "User", "url": "https://api.github.com/users/stphnlyd" }
[]
closed
false
null
[]
null
1
"2021-05-24T15:24:22Z"
"2021-05-24T15:43:47Z"
"2021-05-24T15:43:40Z"
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41642/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41642/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41642.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41642", "merged_at": "2021-05-24T15:43:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41642.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41642" }
https://api.github.com/repos/pandas-dev/pandas/issues/41643
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41643/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41643/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41643/events
https://github.com/pandas-dev/pandas/pull/41643
899,764,026
MDExOlB1bGxSZXF1ZXN0NjUxNDE5MzQ5
41,643
REF: share __array_wrap__
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-24T15:26:15Z"
"2021-05-25T13:58:22Z"
"2021-05-25T12:48:10Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41643/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41643/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41643.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41643", "merged_at": "2021-05-25T12:48:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41643.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41643" }
https://api.github.com/repos/pandas-dev/pandas/issues/41644
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41644/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41644/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41644/events
https://github.com/pandas-dev/pandas/pull/41644
899,770,249
MDExOlB1bGxSZXF1ZXN0NjUxNDI0NzEx
41,644
BUG: Series[int].loc setitem with Series[int] results in Series[float]
{ "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": "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": "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": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-05-24T15:32:39Z"
"2021-06-09T21:57:09Z"
"2021-06-08T14:12:08Z"
MEMBER
null
``` >>> pd.__version__ '1.3.0.dev0+1695.g55e58542db' >>> >>> s = pd.Series([0, 0]) >>> s 0 0 1 0 dtype: int64 >>> >>> s2 = pd.Series([42]) >>> s2 0 42 dtype: int64 >>> >>> s.loc[0] = s2 >>> s 0 42.0 1 0.0 dtype: float64 >>> ``` Does not need a release note, this issue is only on master as on 1.2.4 this raises `ValueError: No axis named 1 for object type Series` which was fixed in #39358 draft, since if we merge and backport #40555 first, we can also remove the patch in this PR.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41644/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41644/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41644.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41644", "merged_at": "2021-06-08T14:12:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41644.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41644" }
https://api.github.com/repos/pandas-dev/pandas/issues/41645
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41645/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41645/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41645/events
https://github.com/pandas-dev/pandas/pull/41645
899,780,209
MDExOlB1bGxSZXF1ZXN0NjUxNDMyOTU5
41,645
Documentation: Indexing and selecting data¶
{ "avatar_url": "https://avatars.githubusercontent.com/u/22501334?v=4", "events_url": "https://api.github.com/users/rbrishabh/events{/privacy}", "followers_url": "https://api.github.com/users/rbrishabh/followers", "following_url": "https://api.github.com/users/rbrishabh/following{/other_user}", "gists_url": "https://api.github.com/users/rbrishabh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rbrishabh", "id": 22501334, "login": "rbrishabh", "node_id": "MDQ6VXNlcjIyNTAxMzM0", "organizations_url": "https://api.github.com/users/rbrishabh/orgs", "received_events_url": "https://api.github.com/users/rbrishabh/received_events", "repos_url": "https://api.github.com/users/rbrishabh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rbrishabh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rbrishabh/subscriptions", "type": "User", "url": "https://api.github.com/users/rbrishabh" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
"2021-05-24T15:44:59Z"
"2021-05-26T01:45:13Z"
"2021-05-26T01:45:12Z"
NONE
null
fixes #41629 Hi @LukeTonin, how does this look? let me know if this needs any changes! Thanks
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41645/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41645/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41645.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41645", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41645.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41645" }
https://api.github.com/repos/pandas-dev/pandas/issues/41646
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41646/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41646/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41646/events
https://github.com/pandas-dev/pandas/issues/41646
899,866,440
MDU6SXNzdWU4OTk4NjY0NDA=
41,646
DOC: Sort list of month name strings in ascending order (No Documentation present)
{ "avatar_url": "https://avatars.githubusercontent.com/u/38494676?v=4", "events_url": "https://api.github.com/users/Lokeshrathi/events{/privacy}", "followers_url": "https://api.github.com/users/Lokeshrathi/followers", "following_url": "https://api.github.com/users/Lokeshrathi/following{/other_user}", "gists_url": "https://api.github.com/users/Lokeshrathi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lokeshrathi", "id": 38494676, "login": "Lokeshrathi", "node_id": "MDQ6VXNlcjM4NDk0Njc2", "organizations_url": "https://api.github.com/users/Lokeshrathi/orgs", "received_events_url": "https://api.github.com/users/Lokeshrathi/received_events", "repos_url": "https://api.github.com/users/Lokeshrathi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lokeshrathi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lokeshrathi/subscriptions", "type": "User", "url": "https://api.github.com/users/Lokeshrathi" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0052cc", "default": false, "description": "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-05-24T17:39:00Z"
"2021-08-21T01:38:30Z"
"2021-08-21T01:38:29Z"
NONE
null
#### No Doc present While using the datetime library, when we extract month from a given datetime datatype. There should be a way to sort those values in ascending order. tried: 1. sorted() 2. sort_values Neither of them throws a error nor gives the desired output. Although found a solution on [StackOverflow](https://stackoverflow.com/questions/60624571/sort-list-of-month-name-strings-in-ascending-order) but I assume, this is used widely in time series problems and could come in handy! Thank you
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41646/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41646/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41647
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41647/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41647/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41647/events
https://github.com/pandas-dev/pandas/issues/41647
899,925,042
MDU6SXNzdWU4OTk5MjUwNDI=
41,647
BUG: numba function being cached with arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/61287624?v=4", "events_url": "https://api.github.com/users/jose-moralez/events{/privacy}", "followers_url": "https://api.github.com/users/jose-moralez/followers", "following_url": "https://api.github.com/users/jose-moralez/following{/other_user}", "gists_url": "https://api.github.com/users/jose-moralez/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jose-moralez", "id": 61287624, "login": "jose-moralez", "node_id": "MDQ6VXNlcjYxMjg3NjI0", "organizations_url": "https://api.github.com/users/jose-moralez/orgs", "received_events_url": "https://api.github.com/users/jose-moralez/received_events", "repos_url": "https://api.github.com/users/jose-moralez/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jose-moralez/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jose-moralez/subscriptions", "type": "User", "url": "https://api.github.com/users/jose-moralez" }
[ { "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": "5319e7", "default": false, "description": "numba-accelerated operations", "id": 2138993554, "name": "numba", "node_id": "MDU6TGFiZWwyMTM4OTkzNTU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-24T18:59:56Z"
"2021-05-26T01:46:37Z"
"2021-05-26T01:46:37Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd def sum_last(values, index, n): return values[-n:].sum() df = pd.DataFrame({'id': [0, 0, 1, 1], 'x': [1, 1, 1, 1]}) grouped_x = df.groupby('id')['x'] grouped_x.transform(sum_last, 1, engine='numba') # 0 1.0 # 1 1.0 # 2 1.0 # 3 1.0 # Name: x, dtype: float64 ``` ```python grouped_x.transform(sum_last, 2, engine='numba') # 0 1.0 # 1 1.0 # 2 1.0 # 3 1.0 # Name: x, dtype: float64 ``` #### Problem description When using `groupby.transform` with `engine='numba'` calling the same function with different arguments gives the same results as the first time it was called. I believe this is because the function is being cached with its arguments. https://github.com/pandas-dev/pandas/blob/85f48783dcd1ba04997e5b55fdb68162b1be652b/pandas/core/groupby/groupby.py#L1133-L1135 https://github.com/pandas-dev/pandas/blob/85f48783dcd1ba04997e5b55fdb68162b1be652b/pandas/core/groupby/groupby.py#L1140-L1142 #### Expected Output ```python grouped_x.transform(sum_last, 2, engine='numba') # 0 2.0 # 1 2.0 # 2 2.0 # 3 2.0 # Name: x, dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.8.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-7614-generic Version : #15~1618626693~20.10~ecb25cd-Ubuntu SMP Thu Apr 22 16:00:45 UTC machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1 setuptools : 49.6.0.post20210108 Cython : None pytest : None hypothesis : None sphinx : 4.0.0 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.23.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 2021.04.0 fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : 2021.04.0 scipy : 1.6.3 sqlalchemy : None tables : None tabulate : 0.8.9 xarray : None xlrd : None xlwt : None 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/41647/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41647/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41648
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41648/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41648/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41648/events
https://github.com/pandas-dev/pandas/pull/41648
899,994,783
MDExOlB1bGxSZXF1ZXN0NjUxNjE0NTM5
41,648
REF: `DataFrame.to_latex` directs to `Styler.to_latex`
{ "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": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "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
[]
null
8
"2021-05-24T20:47:22Z"
"2021-11-16T17:33:12Z"
"2021-11-16T17:33:11Z"
CONTRIBUTOR
null
Closes #41649. A lot of the audit trail for the features to get this to work are documented in the issue. ## For Reviewers These are the key changes to note in **DataFrame.to_latex tests** - The expected output remains as close as possible to the original, altering the arg input in `to_latex` to demonstrate the new combinations needed. - No tests have been removed, and all pass with often minor alterations to the test formatting . - `hrules=True` is added to all tests to get `\toprule \midrule \bottomrule`. This is a new option and the default in Styler is not to have these. - `\cline` (for multirow) has gone. This feature is not implemented in Styler. - `col_space` is gone, meaning there is not a nice console alignment of text. Of course the LaTeX rendering is unaffected by this, and when styling LaTeX commands are added this needs to be removed anyway. - There are some nice new features added here, but all currently exists from Styler anyway, and that is where testing resides. ## Follow-Ups - [ ] Make jinja2 a **hard dependency** (#43423) (this PR actually contains the jinja2 PR to help with tests passing) - [ ] Deprecate all `pandas.options.display.latex` documenting the replacement `styler.latex` options instead. - [ ] Remove all redundant code for python LatexFormatter. - [ ] Reimplement cline? Im not a huge fan of this and I think it (maybe?) quite complicated to implement ## Revised Docs ![Screen Shot 2021-09-06 at 23 50 02](https://user-images.githubusercontent.com/24256554/132262289-da75546f-9aca-4938-b32b-12eb84377b25.png) ![Screen Shot 2021-09-06 at 23 50 20](https://user-images.githubusercontent.com/24256554/132262291-eca0003a-ca69-4079-8023-88c489d84034.png) ![Screen Shot 2021-09-06 at 23 50 32](https://user-images.githubusercontent.com/24256554/132262293-89d724d2-673b-4770-9924-0a7269b82b9e.png) ![Screen Shot 2021-09-06 at 23 50 44](https://user-images.githubusercontent.com/24256554/132262294-0e03da0d-5fbb-4101-90d5-5728fe1dfeb6.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/41648/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41648/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41648.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41648", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41648.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41648" }
https://api.github.com/repos/pandas-dev/pandas/issues/41649
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41649/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41649/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41649/events
https://github.com/pandas-dev/pandas/issues/41649
899,999,437
MDU6SXNzdWU4OTk5OTk0Mzc=
41,649
DEPR: `DataFrame.to_latex` in favour of `Styler.to_latex`
{ "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": "fbca04", "default": false, "description": "High level tracker for similar issues", "id": 183784729, "name": "Master Tracker", "node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "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" } ]
open
false
null
[]
null
3
"2021-05-24T20:54:13Z"
"2021-10-09T07:54:50Z"
null
CONTRIBUTOR
null
The tracker of items needed to do before deprecating `DataFrame.to_latex()`. - [x] acceptance of the `jinja2` requirement for LaTeX output, since `Styler` requires `jinja2`: this is blocker. - [x] make Styler functional for all DataFrames (i.e. including non-unique columns, indexes) (#41269). - [x] enhance for `longtable` keyword or other environments (#41866). - [x] enhance for `caption` to allow short and long captions, and allow top/bottom caption placement. (#41659) - [x] enhance with ability to style indexes/column headers with styles (e.g bold rows). (#41993) - [x] enhance with an escape option for LaTeX characters. (#41619) - [ ] <s>enhance `.hide_columns` with `.show_columns` alternative (optional)</s> not necessary - [x] enhance `.hide_columns` and `.hide_index` to have dual function to hide the entire array, or specific items (#41266) - [x] make styler reactive to separate sparse columns and index separately (#41512) - [x] acceptance of removal of specific kwargs and all formatting keyword args (see below). - [ ] validation for ``column_format`` to pass tests or just rely on docs/duck typing? - [x] validation for ``caption`` to pass tests (#43368) or just remove the validation in favour of duck typing? - [x] ability to format index with a formatter #43101 - [x] separate `siunitx` for encapsulating headers in curly braces only when necessary #43397 - [x] index names removal #43346 - [x] Optionally use multirow / multicol or just blank out cells. #43369 #43382 - [x] fix bug: label doesnt render if a caption is not given (table and longtable) #43399 ### Removed Keyword Args `col_space`: **removed** since `Styler.to_latex()` does not necessarily produce display values of equal length, (this is a console display only arg) `sparsify`: **replaced** by alternative kwargs `sparse_index` and `sparse_columns` `multicolumn`, `multicolumn_format`, `multirow`: **replaced** by alternative kwargs `multirow_align` `multicol_align` `formatters` `float_format` : **replaced** by the superior `df.style.format(...)` args
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41649/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41649/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41650
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41650/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41650/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41650/events
https://github.com/pandas-dev/pandas/pull/41650
900,026,907
MDExOlB1bGxSZXF1ZXN0NjUxNjQyOTc0
41,650
Deprecated nonkeyword arguments for set_codes function
{ "avatar_url": "https://avatars.githubusercontent.com/u/42492589?v=4", "events_url": "https://api.github.com/users/Pydare/events{/privacy}", "followers_url": "https://api.github.com/users/Pydare/followers", "following_url": "https://api.github.com/users/Pydare/following{/other_user}", "gists_url": "https://api.github.com/users/Pydare/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pydare", "id": 42492589, "login": "Pydare", "node_id": "MDQ6VXNlcjQyNDkyNTg5", "organizations_url": "https://api.github.com/users/Pydare/orgs", "received_events_url": "https://api.github.com/users/Pydare/received_events", "repos_url": "https://api.github.com/users/Pydare/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pydare/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pydare/subscriptions", "type": "User", "url": "https://api.github.com/users/Pydare" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-24T21:25:28Z"
"2021-05-27T14:44:30Z"
"2021-05-27T14:44:26Z"
CONTRIBUTOR
null
- [ ] xref #41485 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41650/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41650/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41650.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41650", "merged_at": "2021-05-27T14:44:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41650.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41650" }
https://api.github.com/repos/pandas-dev/pandas/issues/41651
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41651/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41651/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41651/events
https://github.com/pandas-dev/pandas/pull/41651
900,061,568
MDExOlB1bGxSZXF1ZXN0NjUxNjczMzg5
41,651
GH41457 Upgrade Bootstrap to v5.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/18680207?v=4", "events_url": "https://api.github.com/users/calvh/events{/privacy}", "followers_url": "https://api.github.com/users/calvh/followers", "following_url": "https://api.github.com/users/calvh/following{/other_user}", "gists_url": "https://api.github.com/users/calvh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/calvh", "id": 18680207, "login": "calvh", "node_id": "MDQ6VXNlcjE4NjgwMjA3", "organizations_url": "https://api.github.com/users/calvh/orgs", "received_events_url": "https://api.github.com/users/calvh/received_events", "repos_url": "https://api.github.com/users/calvh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/calvh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/calvh/subscriptions", "type": "User", "url": "https://api.github.com/users/calvh" }
[ { "color": "23ef97", "default": false, "description": "pandas website", "id": 1508144531, "name": "Web", "node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web" } ]
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-05-24T22:19:48Z"
"2021-07-06T22:33:05Z"
"2021-07-06T21:32:53Z"
CONTRIBUTOR
null
Whats new: Update BS script tags in template Replace jumbotron with utilities Replace font-weight-bold with fw-bold Replace ml-auto with ms-auto Replace float-right with float-end Replace data-target with data-bs-target Replace data-toggle with data-bs-toggle Add CSS rules for <a> - [x] closes #41457 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41651/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41651/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41651.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41651", "merged_at": "2021-07-06T21:32:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41651.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41651" }
https://api.github.com/repos/pandas-dev/pandas/issues/41652
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41652/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41652/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41652/events
https://github.com/pandas-dev/pandas/pull/41652
900,081,150
MDExOlB1bGxSZXF1ZXN0NjUxNjkwNjEw
41,652
REF: standardize astype in EA subclasses
{ "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
null
4
"2021-05-24T22:57:01Z"
"2021-11-08T16:37:29Z"
"2021-06-18T02:08:07Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41652/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41652/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41652.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41652", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41652.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41652" }
https://api.github.com/repos/pandas-dev/pandas/issues/41653
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41653/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41653/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41653/events
https://github.com/pandas-dev/pandas/pull/41653
900,097,478
MDExOlB1bGxSZXF1ZXN0NjUxNzA0OTQ3
41,653
FMT: trim redundant freqstr from PeriodIndex __repr__
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-24T23:28:04Z"
"2021-05-25T14:16:58Z"
"2021-05-25T12:39:44Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41653/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41653/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41653.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41653", "merged_at": "2021-05-25T12:39:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41653.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41653" }
https://api.github.com/repos/pandas-dev/pandas/issues/41654
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41654/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41654/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41654/events
https://github.com/pandas-dev/pandas/pull/41654
900,100,724
MDExOlB1bGxSZXF1ZXN0NjUxNzA3NzYz
41,654
API: EA._can_hold_na -> EDtype.can_hold_na
{ "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": "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": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
16
"2021-05-24T23:34:41Z"
"2021-06-08T14:43:16Z"
"2021-06-08T12:55:41Z"
MEMBER
null
- [x] closes #40574 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41654/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41654/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41654.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41654", "merged_at": "2021-06-08T12:55:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41654.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41654" }
https://api.github.com/repos/pandas-dev/pandas/issues/41655
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41655/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41655/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41655/events
https://github.com/pandas-dev/pandas/pull/41655
900,102,647
MDExOlB1bGxSZXF1ZXN0NjUxNzA5NTI3
41,655
REF: de-duplicate _format_attrs
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-24T23:37:24Z"
"2021-05-25T14:01:37Z"
"2021-05-25T12:37:52Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41655/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41655/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41655.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41655", "merged_at": "2021-05-25T12:37:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41655.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41655" }
https://api.github.com/repos/pandas-dev/pandas/issues/41656
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41656/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41656/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41656/events
https://github.com/pandas-dev/pandas/pull/41656
900,272,140
MDExOlB1bGxSZXF1ZXN0NjUxODU1MDU4
41,656
BUG: groupby.transform/agg caching *args with numba engine
{ "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": "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": "numba-accelerated operations", "id": 2138993554, "name": "numba", "node_id": "MDU6TGFiZWwyMTM4OTkzNTU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-25T04:57:22Z"
"2021-05-26T03:26:26Z"
"2021-05-26T01:46:37Z"
MEMBER
null
- [x] closes #41647 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 1, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41656/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41656/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41656.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41656", "merged_at": "2021-05-26T01:46:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41656.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41656" }
https://api.github.com/repos/pandas-dev/pandas/issues/41657
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41657/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41657/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41657/events
https://github.com/pandas-dev/pandas/pull/41657
900,285,301
MDExOlB1bGxSZXF1ZXN0NjUxODY2NzUx
41,657
ENH: Deprecate arguments #41485
{ "avatar_url": "https://avatars.githubusercontent.com/u/56446640?v=4", "events_url": "https://api.github.com/users/Anupam-USP/events{/privacy}", "followers_url": "https://api.github.com/users/Anupam-USP/followers", "following_url": "https://api.github.com/users/Anupam-USP/following{/other_user}", "gists_url": "https://api.github.com/users/Anupam-USP/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Anupam-USP", "id": 56446640, "login": "Anupam-USP", "node_id": "MDQ6VXNlcjU2NDQ2NjQw", "organizations_url": "https://api.github.com/users/Anupam-USP/orgs", "received_events_url": "https://api.github.com/users/Anupam-USP/received_events", "repos_url": "https://api.github.com/users/Anupam-USP/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Anupam-USP/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Anupam-USP/subscriptions", "type": "User", "url": "https://api.github.com/users/Anupam-USP" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
16
"2021-05-25T05:18:11Z"
"2021-05-29T08:21:48Z"
"2021-05-27T18:18:15Z"
CONTRIBUTOR
null
- [ ] xref #41485 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41657/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41657/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41657.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41657", "merged_at": "2021-05-27T18:18:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41657.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41657" }
https://api.github.com/repos/pandas-dev/pandas/issues/41658
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41658/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41658/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41658/events
https://github.com/pandas-dev/pandas/pull/41658
900,352,140
MDExOlB1bGxSZXF1ZXN0NjUxOTI2MDQw
41,658
DOC: add `Styler.to_latex` info in `io.rst` doc page
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-25T06:47:54Z"
"2021-05-25T15:00:11Z"
"2021-05-25T14:46:23Z"
CONTRIBUTOR
null
follow-on from adding `Styler.to_latex`. This is basic addition that primarily points to the core method docs (which have detailed descriptions and examples)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41658/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41658/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41658.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41658", "merged_at": "2021-05-25T14:46:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41658.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41658" }
https://api.github.com/repos/pandas-dev/pandas/issues/41659
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41659/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41659/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41659/events
https://github.com/pandas-dev/pandas/pull/41659
900,445,546
MDExOlB1bGxSZXF1ZXN0NjUyMDEwOTI2
41,659
ENH: add long and short captions to `Styler.to_latex`
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-25T07:58:00Z"
"2021-06-04T18:10:35Z"
"2021-06-04T14:40:12Z"
CONTRIBUTOR
null
completes an item on the list for `DataFrame.to_latex` deprecation #41649
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41659/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41659/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41659.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41659", "merged_at": "2021-06-04T14:40:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41659.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41659" }
https://api.github.com/repos/pandas-dev/pandas/issues/41660
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41660/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41660/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41660/events
https://github.com/pandas-dev/pandas/issues/41660
900,530,746
MDU6SXNzdWU5MDA1MzA3NDY=
41,660
BUG: `pd.concat` on MultiIndex joins named levels by order rather than by name
{ "avatar_url": "https://avatars.githubusercontent.com/u/10451445?v=4", "events_url": "https://api.github.com/users/zhenruiliao/events{/privacy}", "followers_url": "https://api.github.com/users/zhenruiliao/followers", "following_url": "https://api.github.com/users/zhenruiliao/following{/other_user}", "gists_url": "https://api.github.com/users/zhenruiliao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhenruiliao", "id": 10451445, "login": "zhenruiliao", "node_id": "MDQ6VXNlcjEwNDUxNDQ1", "organizations_url": "https://api.github.com/users/zhenruiliao/orgs", "received_events_url": "https://api.github.com/users/zhenruiliao/received_events", "repos_url": "https://api.github.com/users/zhenruiliao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhenruiliao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhenruiliao/subscriptions", "type": "User", "url": "https://api.github.com/users/zhenruiliao" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "009800", "default": false, "description": "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": "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
[]
null
2
"2021-05-25T09:10:56Z"
"2021-05-25T14:47:26Z"
"2021-05-25T14:47:26Z"
NONE
null
- [ X] I have checked that this issue has not already been reported. - [ X] I have confirmed this bug exists on the latest version of pandas. - [] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python iris_data = pd.read_csv('https://raw.githubusercontent.com/mwaskom/seaborn-data/master/iris.csv') iris = iris_data.set_index(['species', 'petal_width']) iris1 = iris[:100] iris2 = iris[100:] iris2.index = iris2.index.reorder_levels([1,0]) pd.concat([iris1, iris2]) ``` #### Problem description When concatenating on a named MultiIndex, expected behavior is that corresponding named levels are joined even if the order of levels is different. Instead, the levels are only joined in order. This occurs even if `levels=` is passed explicitly #### Expected Output Same as `iris` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.101-0504101-generic Version : #202102261049 SMP Fri Feb 26 11:30: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.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.1 setuptools : 52.0.0.post20210125 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.23.1 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 : 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/41660/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41660/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41661
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41661/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41661/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41661/events
https://github.com/pandas-dev/pandas/pull/41661
900,602,790
MDExOlB1bGxSZXF1ZXN0NjUyMTQ4NjY3
41,661
DOC: update styler user guide for new `text_gradient`
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-25T10:22:55Z"
"2021-05-25T13:33:18Z"
"2021-05-25T12:43:05Z"
CONTRIBUTOR
null
Add `text_gradient` to Styler user guide after merge.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41661/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41661/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41661.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41661", "merged_at": "2021-05-25T12:43:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41661.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41661" }
https://api.github.com/repos/pandas-dev/pandas/issues/41662
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41662/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41662/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41662/events
https://github.com/pandas-dev/pandas/pull/41662
900,926,927
MDExOlB1bGxSZXF1ZXN0NjUyNDM3ODg3
41,662
DEPR: Series(dt64naive, dtype=dt64tz) -> will match DatetimeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "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": "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" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-25T14:55:41Z"
"2021-05-31T15:12:52Z"
"2021-05-31T14:50:51Z"
MEMBER
null
- [ ] xref #33401 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry I think this is the last deprecation needed for the constructor/astype consistency.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41662/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41662/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41662.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41662", "merged_at": "2021-05-31T14:50:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41662.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41662" }
https://api.github.com/repos/pandas-dev/pandas/issues/41663
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41663/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41663/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41663/events
https://github.com/pandas-dev/pandas/pull/41663
901,033,088
MDExOlB1bGxSZXF1ZXN0NjUyNTMxODk4
41,663
REF: move _str_extract function in accessor.py to array method
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "5319e7", "default": false, "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-25T16:06:25Z"
"2021-05-27T10:18:44Z"
"2021-05-27T01:52:24Z"
MEMBER
null
perf neutral refactor, another step towards #41372 after this... can use pyarrow native functions for expand case use _wrap_result and _str_map (without a perf impact)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41663/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41663/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41663.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41663", "merged_at": "2021-05-27T01:52:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41663.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41663" }
https://api.github.com/repos/pandas-dev/pandas/issues/41664
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41664/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41664/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41664/events
https://github.com/pandas-dev/pandas/pull/41664
901,134,694
MDExOlB1bGxSZXF1ZXN0NjUyNjIzNTM3
41,664
ENH: Add support for defaultdict as "dtype" in parser
{ "avatar_url": "https://avatars.githubusercontent.com/u/17028401?v=4", "events_url": "https://api.github.com/users/NickVeld/events{/privacy}", "followers_url": "https://api.github.com/users/NickVeld/followers", "following_url": "https://api.github.com/users/NickVeld/following{/other_user}", "gists_url": "https://api.github.com/users/NickVeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NickVeld", "id": 17028401, "login": "NickVeld", "node_id": "MDQ6VXNlcjE3MDI4NDAx", "organizations_url": "https://api.github.com/users/NickVeld/orgs", "received_events_url": "https://api.github.com/users/NickVeld/received_events", "repos_url": "https://api.github.com/users/NickVeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NickVeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NickVeld/subscriptions", "type": "User", "url": "https://api.github.com/users/NickVeld" }
[ { "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": "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "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
18
"2021-05-25T17:31:30Z"
"2021-08-20T05:48:58Z"
null
NONE
null
- [x] closes #41574 - [x] tests added / passed (1 test is modified) - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry # What is new: Now defaultdict can be provides as dtype. The implementation allows moving to supporting Iterable as dtype
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41664/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41664/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41664.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41664", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41664.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41664" }
https://api.github.com/repos/pandas-dev/pandas/issues/41665
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41665/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41665/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41665/events
https://github.com/pandas-dev/pandas/pull/41665
901,187,930
MDExOlB1bGxSZXF1ZXN0NjUyNjcxMzQ3
41,665
CI: fix npdev build
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
null
9
"2021-05-25T18:21:32Z"
"2021-06-04T20:37:44Z"
"2021-05-31T16:23:05Z"
MEMBER
null
- [ ] xref #41632 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry hopefully numpy will provide an alternative that makes this unnecessary
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41665/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41665/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41665.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41665", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41665.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41665" }
https://api.github.com/repos/pandas-dev/pandas/issues/41666
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41666/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41666/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41666/events
https://github.com/pandas-dev/pandas/issues/41666
901,275,718
MDU6SXNzdWU5MDEyNzU3MTg=
41,666
QST: In what circumstances that the pandas.DataFrame.agg works on mean, median ... but not on std function?
{ "avatar_url": "https://avatars.githubusercontent.com/u/65866753?v=4", "events_url": "https://api.github.com/users/hoangphanthai/events{/privacy}", "followers_url": "https://api.github.com/users/hoangphanthai/followers", "following_url": "https://api.github.com/users/hoangphanthai/following{/other_user}", "gists_url": "https://api.github.com/users/hoangphanthai/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hoangphanthai", "id": 65866753, "login": "hoangphanthai", "node_id": "MDQ6VXNlcjY1ODY2NzUz", "organizations_url": "https://api.github.com/users/hoangphanthai/orgs", "received_events_url": "https://api.github.com/users/hoangphanthai/received_events", "repos_url": "https://api.github.com/users/hoangphanthai/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hoangphanthai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hoangphanthai/subscriptions", "type": "User", "url": "https://api.github.com/users/hoangphanthai" }
[ { "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
1
"2021-05-25T19:43:37Z"
"2021-05-26T16:27:54Z"
"2021-05-26T16:27:54Z"
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). [https://stackoverflow.com/questions/67693185/pandas-dataframe-agg-does-not-work-with-np-std](https://stackoverflow.com/questions/67693185/pandas-dataframe-agg-does-not-work-with-np-std) --- #### Question about pandas I have a dataframe (containing sensor data) with the columns like ['ax', 'ay', 'az', 'gx', 'gy', 'gz']. I want to aggregate some columns with some functions. I set this goal through a dict variable like `features_dict = {'ax': ['mean', 'std'], 'ay': ['max', 'mean', 'std', 'median']}` in which each column will be aggregated with a different function set. I implement that by the following codes ``` features_dict = {'ax': ['mean', 'std'], 'ay': ['max', 'mean', 'std', 'median']} for key in features_dict: df_agg = df.agg({key: features_dict[key]}) ``` The returning result only has results for other functions except for **std**, and when I eliminate other functions except for std, or setting the `features_dict = {'ax': ['std]}`, it raises the error **ValueError("no results")**. The error logs is like this: ``` Traceback (most recent call last): File "C:\prediction_framework_django\predictions\predictor.py", line 112, in pre_aggregated_unseen_data agg_df = dataframe.agg({axis: [np.std]}) File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\frame.py", line 7578, in aggregate result, how = self._aggregate(func, axis, *args, **kwargs) File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\frame.py", line 7609, in _aggregate return aggregate(self, arg, *args, **kwargs) File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\aggregation.py", line 582, in aggregate return agg_dict_like(obj, arg, _axis), True File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\aggregation.py", line 768, in agg_dict_like results = {key: obj._gotitem(key, ndim=1).agg(how) for key, how in arg.items()} File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\aggregation.py", line 768, in <dictcomp> results = {key: obj._gotitem(key, ndim=1).agg(how) for key, how in arg.items()} File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\series.py", line 3974, in aggregate result, how = aggregate(self, func, *args, **kwargs) File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\aggregation.py", line 586, in aggregate return agg_list_like(obj, arg, _axis=_axis), None File "C:\prediction_framework_django\env\lib\site-packages\pandas\core\aggregation.py", line 672, in agg_list_like raise ValueError("no results") ValueError: no results ``` I don't think that comes from the data in the data frame itself as it worked with other similar functions, so can someone give me the hint? Thank you!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41666/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41666/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41667
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41667/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41667/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41667/events
https://github.com/pandas-dev/pandas/pull/41667
901,405,205
MDExOlB1bGxSZXF1ZXN0NjUyODY2NDMx
41,667
ENH: add abiility for json.dumps to parse and add timezones
{ "avatar_url": "https://avatars.githubusercontent.com/u/5315539?v=4", "events_url": "https://api.github.com/users/jeliashi/events{/privacy}", "followers_url": "https://api.github.com/users/jeliashi/followers", "following_url": "https://api.github.com/users/jeliashi/following{/other_user}", "gists_url": "https://api.github.com/users/jeliashi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeliashi", "id": 5315539, "login": "jeliashi", "node_id": "MDQ6VXNlcjUzMTU1Mzk=", "organizations_url": "https://api.github.com/users/jeliashi/orgs", "received_events_url": "https://api.github.com/users/jeliashi/received_events", "repos_url": "https://api.github.com/users/jeliashi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeliashi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeliashi/subscriptions", "type": "User", "url": "https://api.github.com/users/jeliashi" }
[]
closed
false
null
[]
null
2
"2021-05-25T21:42:40Z"
"2021-05-26T15:42:30Z"
"2021-05-26T15:42:27Z"
NONE
null
- [x] closes #12997 - [x] tests modofied - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Ok, so this is a doozy AND it's not done, but it can be merged as is. What do we do: We add timezones to json output! Before: ``` ts = pd.Timestamp('2020-10-5 4:00:05', tz='US/Pacific') print(pd.io.json.dumps(ts, iso_dates=True)) print(ts.isoformat()) ``` would provide `"2020-10-05T11:00:05.000Z"` and `"2020-10-05T04:00:05.000-07:00"` respectively. Now they both produce ``"2020-10-05T04:00:05.000-07:00"`` So what do I mean by not complete? This still doesn't work for arrays that have datetime values. This only works for single datetime values. So: `pd.DataFrame({'foo': range(5)}, index=pd.date_range('2020-10-12', freq='H', periods=5, tz='US/Eastern')).to_json(date_format='iso')` will still produce: `'{"foo":{"2020-10-12T04:00:00.000Z":0,"2020-10-12T05:00:00.000Z":1,"2020-10-12T06:00:00.000Z":2,"2020-10-12T07:00:00.000Z":3,"2020-10-12T08:00:00.000Z":4}}'` and not `'{"foo":{"2020-10-12T00:00:00.000-04:00":0,"2020-10-12T01:00:00.000-04:00":1,"2020-10-12T02:00:00.000-04:00":2,"2020-10-12T03:00:00.000-04:00":3,"2020-10-12T04:00:00.000-04:00":4}}'` Working on it currently. Open to recommendations!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41667/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41667/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41667.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41667", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41667.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41667" }
https://api.github.com/repos/pandas-dev/pandas/issues/41668
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41668/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41668/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41668/events
https://github.com/pandas-dev/pandas/pull/41668
901,433,578
MDExOlB1bGxSZXF1ZXN0NjUyODkyMDk1
41,668
TST: Check float format in object column (#35603)
{ "avatar_url": "https://avatars.githubusercontent.com/u/52055110?v=4", "events_url": "https://api.github.com/users/mdhsieh/events{/privacy}", "followers_url": "https://api.github.com/users/mdhsieh/followers", "following_url": "https://api.github.com/users/mdhsieh/following{/other_user}", "gists_url": "https://api.github.com/users/mdhsieh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdhsieh", "id": 52055110, "login": "mdhsieh", "node_id": "MDQ6VXNlcjUyMDU1MTEw", "organizations_url": "https://api.github.com/users/mdhsieh/orgs", "received_events_url": "https://api.github.com/users/mdhsieh/received_events", "repos_url": "https://api.github.com/users/mdhsieh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdhsieh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdhsieh/subscriptions", "type": "User", "url": "https://api.github.com/users/mdhsieh" }
[ { "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-05-25T22:11:50Z"
"2021-05-27T18:41:10Z"
"2021-05-27T18:41:06Z"
CONTRIBUTOR
null
- [ ] closes #35603 - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry This test checks if a Series cast to object still shows data in float format. Ran `pytest pandas/tests/series/test_constructors.py` Output: ``` ================================================= test session starts ================================================= platform win32 -- Python 3.8.10, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 rootdir: C:\Users\mdhsi\pandas-michael, configfile: pyproject.toml plugins: hypothesis-6.12.0, asyncio-0.14.0, cov-2.11.1, forked-1.3.0, instafail-0.4.1, xdist-2.2.1 collected 301 items pandas\tests\series\test_constructors.py .......................................................................................................................................................................................................x..................................................................................................... --------------------------- generated xml file: C:\Users\mdhsi\pandas-michael\test-data.xml --------------------------- ================================================ slowest 30 durations ================================================= 0.25s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_empty_constructor[<lambda>-True0] 0.13s call pandas/tests/series/test_constructors.py::TestSeriesConstructorIndexCoercion::test_series_constructor_datetimelike_index_coercion 0.09s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['dateutil/US/Pacific'-True] 0.04s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_dtype_datetime64_10 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_empty[OrderedDict] 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_empty[dict] 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_cant_cast_datetimelike[PeriodIndex] 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_cant_cast_datetimelike[DatetimeIndex] 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_cant_cast_datetimelike[TimedeltaIndex] 0.02s setup pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_datetimelike_scalar_to_string_dtype[string] 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_pass_none 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_categorical_with_coercion 0.02s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_dtype_timedelta64 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[pytz.FixedOffset(300)-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['Asia/Tokyo'-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[pytz.FixedOffset(300)-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[tzlocal()-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['dateutil/Asia/Singapore'-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[datetime.timezone(datetime.timedelta(seconds=3600))-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[tzutc()-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['+01:15'-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['UTC'-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['UTC-02:15'-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[tzlocal()-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[pytz.FixedOffset(-300)-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['dateutil/Asia/Singapore'-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['UTC'-True] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive['-02:15'-False] 0.01s call pandas/tests/series/test_constructors.py::TestSeriesConstructors::test_constructor_data_aware_dtype_naive[pytz.FixedOffset(-300)-False] =========================================== 300 passed, 1 xfailed in 2.22s ============================================ ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41668/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41668/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41668.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41668", "merged_at": "2021-05-27T18:41:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41668.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41668" }
https://api.github.com/repos/pandas-dev/pandas/issues/41669
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41669/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41669/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41669/events
https://github.com/pandas-dev/pandas/issues/41669
901,466,838
MDU6SXNzdWU5MDE0NjY4Mzg=
41,669
BUG: `Series.map` to tuple values fails for category dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/315810?v=4", "events_url": "https://api.github.com/users/mwaskom/events{/privacy}", "followers_url": "https://api.github.com/users/mwaskom/followers", "following_url": "https://api.github.com/users/mwaskom/following{/other_user}", "gists_url": "https://api.github.com/users/mwaskom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mwaskom", "id": 315810, "login": "mwaskom", "node_id": "MDQ6VXNlcjMxNTgxMA==", "organizations_url": "https://api.github.com/users/mwaskom/orgs", "received_events_url": "https://api.github.com/users/mwaskom/received_events", "repos_url": "https://api.github.com/users/mwaskom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mwaskom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mwaskom/subscriptions", "type": "User", "url": "https://api.github.com/users/mwaskom" }
[ { "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
open
false
null
[]
null
2
"2021-05-25T22:49:34Z"
"2021-08-21T01:39:38Z"
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd s = pd.Series(["a", "a", "b"]).astype("category") s.map({"a": (1, 2), "b": (3, 4)}) ``` #### Problem description ```python-traceback NotImplementedError: isna is not defined for MultiIndex ``` <details><summary>Full traceback</summary> ```python-traceback --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) <ipython-input-209-1bb58119eb75> in <module> 1 import pandas as pd 2 s = pd.Series(["a", "a", "b"]).astype("category") ----> 3 s.map({"a": (1, 2), "b": (3, 4)}) ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/series.py in map(self, arg, na_action) 3907 dtype: object 3908 """ -> 3909 new_values = super()._map_values(arg, na_action=na_action) 3910 return self._constructor(new_values, index=self.index).__finalize__( 3911 self, method="map" ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/base.py in _map_values(self, mapper, na_action) 901 # "Union[ExtensionArray, Any]" has no attribute "map" 902 # [union-attr] --> 903 return self._values.map(mapper) # type: ignore[union-attr] 904 905 values = self._values ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/arrays/categorical.py in map(self, mapper) 1196 new_categories = self.categories.map(mapper) 1197 try: -> 1198 return self.from_codes( 1199 self._codes.copy(), categories=new_categories, ordered=self.ordered 1200 ) ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/arrays/categorical.py in from_codes(cls, codes, categories, ordered, dtype) 567 Categories (2, object): ['a' < 'b'] 568 """ --> 569 dtype = CategoricalDtype._from_values_or_dtype( 570 categories=categories, ordered=ordered, dtype=dtype 571 ) ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/dtypes/dtypes.py in _from_values_or_dtype(cls, values, categories, ordered, dtype) 271 # Note: This could potentially have categories=None and 272 # ordered=None. --> 273 dtype = CategoricalDtype(categories, ordered) 274 275 return dtype ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/dtypes/dtypes.py in __init__(self, categories, ordered) 158 159 def __init__(self, categories=None, ordered: Ordered = False): --> 160 self._finalize(categories, ordered, fastpath=False) 161 162 @classmethod ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/dtypes/dtypes.py in _finalize(self, categories, ordered, fastpath) 312 313 if categories is not None: --> 314 categories = self.validate_categories(categories, fastpath=fastpath) 315 316 self._categories = categories ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/dtypes/dtypes.py in validate_categories(categories, fastpath) 505 if not fastpath: 506 --> 507 if categories.hasnans: 508 raise ValueError("Categorical categories cannot be null") 509 pandas/_libs/properties.pyx in pandas._libs.properties.CachedProperty.__get__() ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/indexes/base.py in hasnans(self) 2193 """ 2194 if self._can_hold_na: -> 2195 return bool(self._isnan.any()) 2196 else: 2197 return False pandas/_libs/properties.pyx in pandas._libs.properties.CachedProperty.__get__() ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/indexes/base.py in _isnan(self) 2172 """ 2173 if self._can_hold_na: -> 2174 return isna(self) 2175 else: 2176 # shouldn't reach to this condition by checking hasnans beforehand ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/dtypes/missing.py in isna(obj) 125 Name: 1, dtype: bool 126 """ --> 127 return _isna(obj) 128 129 ~/miniconda3/envs/seaborn-py38-latest/lib/python3.8/site-packages/pandas/core/dtypes/missing.py in _isna(obj, inf_as_na) 154 # hack (for now) because MI registers as ndarray 155 elif isinstance(obj, ABCMultiIndex): --> 156 raise NotImplementedError("isna is not defined for MultiIndex") 157 elif isinstance(obj, type): 158 return False NotImplementedError: isna is not defined for MultiIndex ``` </details> #### Expected Output With an object-typed Series: ```python import pandas as pd s = pd.Series(["a", "a", "b"]) s.map({"a": (1, 2), "b": (3, 4)}) ``` ``` 0 (1, 2) 1 (1, 2) 2 (3, 4) dtype: object ``` #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Apr 12 20:57:45 PDT 2021; root:xnu-6153.141.28.1~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.3.1 setuptools : 49.6.0.post20210108 Cython : None pytest : 5.4.3 hypothesis : None sphinx : 3.3.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.15.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.1 numexpr : None 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/41669/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41669/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41670
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41670/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41670/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41670/events
https://github.com/pandas-dev/pandas/pull/41670
901,500,902
MDExOlB1bGxSZXF1ZXN0NjUyOTU0Mzgz
41,670
BUG: PeriodIndex.get_loc with mismatched freq
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
12
"2021-05-25T23:22:58Z"
"2021-06-26T07:47:43Z"
"2021-05-28T15:58:08Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41670/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41670/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41670.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41670", "merged_at": "2021-05-28T15:58:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41670.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41670" }
https://api.github.com/repos/pandas-dev/pandas/issues/41671
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41671/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41671/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41671/events
https://github.com/pandas-dev/pandas/issues/41671
901,566,089
MDU6SXNzdWU5MDE1NjYwODk=
41,671
QST: pandas.loc["x", :] (slicing) automatically converts int to float : is this issue addressed somewhere?
{ "avatar_url": "https://avatars.githubusercontent.com/u/77342154?v=4", "events_url": "https://api.github.com/users/github4xyz/events{/privacy}", "followers_url": "https://api.github.com/users/github4xyz/followers", "following_url": "https://api.github.com/users/github4xyz/following{/other_user}", "gists_url": "https://api.github.com/users/github4xyz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/github4xyz", "id": 77342154, "login": "github4xyz", "node_id": "MDQ6VXNlcjc3MzQyMTU0", "organizations_url": "https://api.github.com/users/github4xyz/orgs", "received_events_url": "https://api.github.com/users/github4xyz/received_events", "repos_url": "https://api.github.com/users/github4xyz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/github4xyz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github4xyz/subscriptions", "type": "User", "url": "https://api.github.com/users/github4xyz" }
[ { "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
1
"2021-05-26T00:47:14Z"
"2021-08-21T01:42:37Z"
"2021-08-21T01:42:37Z"
NONE
null
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. yes, and I can not find any resolution or explanations other then confirming the issue is there. refer to https://stackoverflow.com/questions/55455010/how-to-stop-pandas-dataframe-from-converting-int-to-float-for-no-reason - [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas **Note**: If you'd still like to submit a question, please read [this guide]( https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. please look into the following link for the code which explains the issue as well as reproducible codes. https://stackoverflow.com/questions/55455010/how-to-stop-pandas-dataframe-from-converting-int-to-float-for-no-reason ```python # Your code here, if applicable ``` I am looking for confirmation on whether this is a bug, if it is a feature, point me to appropriate documentation. Thanks in advance!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41671/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41671/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41672
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41672/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41672/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41672/events
https://github.com/pandas-dev/pandas/issues/41672
901,714,812
MDU6SXNzdWU5MDE3MTQ4MTI=
41,672
BUG: DataFrame.agg produces different types if the DataFrame is empty
{ "avatar_url": "https://avatars.githubusercontent.com/u/2552507?v=4", "events_url": "https://api.github.com/users/fluggo/events{/privacy}", "followers_url": "https://api.github.com/users/fluggo/followers", "following_url": "https://api.github.com/users/fluggo/following{/other_user}", "gists_url": "https://api.github.com/users/fluggo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fluggo", "id": 2552507, "login": "fluggo", "node_id": "MDQ6VXNlcjI1NTI1MDc=", "organizations_url": "https://api.github.com/users/fluggo/orgs", "received_events_url": "https://api.github.com/users/fluggo/received_events", "repos_url": "https://api.github.com/users/fluggo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fluggo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fluggo/subscriptions", "type": "User", "url": "https://api.github.com/users/fluggo" }
[ { "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
2
"2021-05-26T03:54:22Z"
"2021-08-21T01:43:12Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python tdf2 = pd.DataFrame([], columns=['lang', 'name']) print(type(tdf2.agg({'name': lambda y: y.values}))) tdf2 = pd.DataFrame([['a', 'boof']], columns=['lang', 'name']) print(type(tdf2.agg({'name': lambda y: y.values}))) ``` #### Problem description This seems very similar to the description of #16621, and may be the same bug; check there for some history, which points to an original fix in #2476. You can also look at [this StackExchange question](https://stackoverflow.com/questions/67697606/pandas-dataframe-agg-produces-multiindex-after-selection-with-missing-categories/) if you want to see how I nearly pulled my hair out. The first call of `.agg()` above, on the empty DataFrame, produces a DataFrame result. The second call of `.agg()` produces a Series instead. This has unfortunate implications when used with `groupby()`: ```python tdf2 = ( pd.DataFrame([['a', 'boof'], ['a', 'toop']], columns=['lang', 'name']) .astype({'lang': pd.CategoricalDtype(['a', 'b'])}) ) print(tdf2.groupby('lang').apply(lambda x: x.agg({'name': lambda y: ', '.join(y.values)}))) ``` ...produces: | lang | | 0 | name | | -- | -- | -- | -- | | **a** | **name** | boof, toop | NaN | ...instead of: | lang | name | | -- | -- | | **a** | boof, toop | #### Expected Output I'm assuming that the call with data produces a series because the `agg()` is single-valued, therefore the top code should probably produce two Series: ``` <class 'pandas.core.series.Series'> <class 'pandas.core.series.Series'> ``` #### Actual output ``` <class 'pandas.core.frame.DataFrame'> <class 'pandas.core.series.Series'> ``` #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.8.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Apr 12 20:57:45 PDT 2021; root:xnu-6153.141.28.1~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 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 : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.7 tables : 3.6.1 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/41672/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41672/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41673
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41673/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41673/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41673/events
https://github.com/pandas-dev/pandas/issues/41673
901,734,236
MDU6SXNzdWU5MDE3MzQyMzY=
41,673
ENH: Support online operations in windowing operations
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
4
"2021-05-26T04:19:49Z"
"2021-06-21T16:10:44Z"
"2021-06-21T16:10:44Z"
MEMBER
null
### Problem Currently calculating the the windowing aggregation of several pandas objects requires concatenating them together and returning the entire result ``` pd.concat([df1, df2, df3, ...], axis=1).rolling(10).mean() ``` By holding the latest state of a windowing aggregation, it is possible to calculate the above more efficiently (and flexibly) in an online fashion, e.g. ``` roll = df1.rolling(10) roll.mean() roll.mean(update=df2) roll.mean(update=df3) ``` Aiming to eventually target: ``` rolling/expanding/ewm groupby.rolling/groupby.expanding/groupby.ewm ``` As windowing operations are adapting `numba` this would be a `numba` only feature. ### Important API features 1. Independent state sharing (e.g. an update provided to rolling mean should not affect the state of rolling variance) 2. Independent numba engine configuration (e.g. a user should be able to have rolling mean call `nogil=True` while also having rolling variance call `nogil=False`) ### Proposed API options (example with `ExponentialMovingWindow`) 1. `ExponentialMovingWindow` automatically hold state of an aggregation call, and an `update` keyword exists on the aggregation methods to pass in updated data ``` In [1]: s = pd.Series([0, 1, 2, np.nan, 4]) In [2]: ewm = s.head(1).ewm(com=0.5) # Prime the first resulting state In [3]: ewm.mean(engine="numba") Out[3]: 0 0.0 dtype: float64 In [4]: ewm.mean(engine="numba", update=s.iloc[1:4]) Out[4]: 1 0.750000 2 1.615385 3 1.615385 dtype: float64 In [5]: ewm.mean(engine="numba", update=s.tail(1)) Out[5]: 1 3.670213 dtype: float64 # Clear the latest ewm state In [6]: ewm.reset_update() # Re-prime the first resulting state In [7]: ewm.mean(engine="numba") Out[7]: 0 0.0 dtype: float64 In [8]: ewm.mean(engine="numba", update=s.tail(4)) Out[8]: 1 0.750000 2 1.615385 3 1.615385 4 3.670213 dtype: float64 ``` 2. A new `online` method in `ewm` that makes a new `OnlineExponentialMovingWindow` object. The aggregations methods on this object then support an `update` keyword. ``` In [6]: s = pd.Series([0, 1, 2, np.nan, 4]) # This will raise if numba is not installed In [7]: ewm_online = s.head(1).ewm(com=0.5).online() In [8]: ewm_online Out[8]: OnlineExponentialMovingWindow [com=0.5,min_periods=1,adjust=True,ignore_na=False,axis=0] # Prime the first resulting state In [10]: ewm_online.mean() Out[10]: 0 0.0 dtype: float64 In [11]: ewm_online.mean(update=s.iloc[1:4]) Out[11]: 1 0.750000 2 1.615385 3 1.615385 dtype: float64 # Clear the latest ewm state In [12]: ewm_online.reset() # Re-prime the first resulting state In [13]: ewm_online.mean() Out[13]: 0 0.0 dtype: float64 In [14]: ewm_online.mean(update=s.tail(4)) Out[14]: 1 0.750000 2 1.615385 3 1.615385 4 3.670213 dtype: float64 ``` ### Considered API Options 1. Create a new object per windowing method + aggregation, but this would lead to too many individual classes 2. Use [streamz](https://github.com/python-streamz/streamz) as an optional dependency for online calculations. However, streamz has a full API workflow adopted for this operation which may be difficult to reuse. Also, we would ideally want this to start as a numba accelerated operation cc @mrocklin @pandas-dev/pandas-core
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41673/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41673/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41674
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41674/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41674/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41674/events
https://github.com/pandas-dev/pandas/pull/41674
901,786,434
MDExOlB1bGxSZXF1ZXN0NjUzMjE3MjA2
41,674
TST: Old Issues
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-26T05:22:05Z"
"2021-05-26T18:33:02Z"
"2021-05-26T17:12:42Z"
MEMBER
null
- [x] closes #16710 - [x] closes #16719 - [x] closes #16867 - [x] closes #17091 - [x] closes #17286 - [x] closes #18549 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41674/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41674/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41674.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41674", "merged_at": "2021-05-26T17:12:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41674.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41674" }
https://api.github.com/repos/pandas-dev/pandas/issues/41675
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41675/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41675/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41675/events
https://github.com/pandas-dev/pandas/issues/41675
902,104,079
MDU6SXNzdWU5MDIxMDQwNzk=
41,675
ENH: when using groupby with levels of a multi-index, add option to drop levels in index of created groups
{ "avatar_url": "https://avatars.githubusercontent.com/u/70274528?v=4", "events_url": "https://api.github.com/users/scd75/events{/privacy}", "followers_url": "https://api.github.com/users/scd75/followers", "following_url": "https://api.github.com/users/scd75/following{/other_user}", "gists_url": "https://api.github.com/users/scd75/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scd75", "id": 70274528, "login": "scd75", "node_id": "MDQ6VXNlcjcwMjc0NTI4", "organizations_url": "https://api.github.com/users/scd75/orgs", "received_events_url": "https://api.github.com/users/scd75/received_events", "repos_url": "https://api.github.com/users/scd75/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scd75/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scd75/subscriptions", "type": "User", "url": "https://api.github.com/users/scd75" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "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" }, { "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
3
"2021-05-26T09:39:27Z"
"2021-08-21T01:43:40Z"
null
NONE
null
#### Is your feature request related to a problem? I often use Groupby combined with the "level" parameter, to create groups for particular subsets of my multi-indexed df. Yet, Those levels are again included in the created groups. I then have to drop them "manually" at the level of each group (as I will not need those, especially since they take a unique value at the level of a particular group). #### Describe the solution you'd like Would it be possible to add an option to pandas.DataFrame.Groupby API, to automatically remove grouping levels from the index of created groups? Example of my current code: ```python df = df.groupby(level=['contract','subcontract']).apply( lambda grp: grp.droplevel(['contract','subcontract']).interpolate('slinear')) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41675/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41675/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41676
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41676/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41676/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41676/events
https://github.com/pandas-dev/pandas/issues/41676
902,128,136
MDU6SXNzdWU5MDIxMjgxMzY=
41,676
DOC: to_datetime works real differently on DataFrames vs other datatypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/327080?v=4", "events_url": "https://api.github.com/users/nielsbom/events{/privacy}", "followers_url": "https://api.github.com/users/nielsbom/followers", "following_url": "https://api.github.com/users/nielsbom/following{/other_user}", "gists_url": "https://api.github.com/users/nielsbom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nielsbom", "id": 327080, "login": "nielsbom", "node_id": "MDQ6VXNlcjMyNzA4MA==", "organizations_url": "https://api.github.com/users/nielsbom/orgs", "received_events_url": "https://api.github.com/users/nielsbom/received_events", "repos_url": "https://api.github.com/users/nielsbom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nielsbom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nielsbom/subscriptions", "type": "User", "url": "https://api.github.com/users/nielsbom" }
[ { "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": "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": "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/55283735?v=4", "events_url": "https://api.github.com/users/abatomunkuev/events{/privacy}", "followers_url": "https://api.github.com/users/abatomunkuev/followers", "following_url": "https://api.github.com/users/abatomunkuev/following{/other_user}", "gists_url": "https://api.github.com/users/abatomunkuev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/abatomunkuev", "id": 55283735, "login": "abatomunkuev", "node_id": "MDQ6VXNlcjU1MjgzNzM1", "organizations_url": "https://api.github.com/users/abatomunkuev/orgs", "received_events_url": "https://api.github.com/users/abatomunkuev/received_events", "repos_url": "https://api.github.com/users/abatomunkuev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/abatomunkuev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abatomunkuev/subscriptions", "type": "User", "url": "https://api.github.com/users/abatomunkuev" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/55283735?v=4", "events_url": "https://api.github.com/users/abatomunkuev/events{/privacy}", "followers_url": "https://api.github.com/users/abatomunkuev/followers", "following_url": "https://api.github.com/users/abatomunkuev/following{/other_user}", "gists_url": "https://api.github.com/users/abatomunkuev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/abatomunkuev", "id": 55283735, "login": "abatomunkuev", "node_id": "MDQ6VXNlcjU1MjgzNzM1", "organizations_url": "https://api.github.com/users/abatomunkuev/orgs", "received_events_url": "https://api.github.com/users/abatomunkuev/received_events", "repos_url": "https://api.github.com/users/abatomunkuev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/abatomunkuev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abatomunkuev/subscriptions", "type": "User", "url": "https://api.github.com/users/abatomunkuev" } ]
{ "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-05-26T09:57:39Z"
"2021-10-17T20:55:07Z"
"2021-10-17T20:55:07Z"
NONE
null
#### Location of the documentation * https://pandas.pydata.org/docs/reference/api/pandas.to_datetime.html * https://pandas.pydata.org/docs/dev/reference/api/pandas.to_datetime.html?highlight=to_datetime #### Documentation problem The `to_datetime` method does something wildly different on strings or Series vs DataFrames. This caught me by surprise and I think it would help if the documentation reflected this more clearly. #### Suggested fix for documentation Something along the lines of: For most datatypes given to the `to_datetime` method it creates datetime objects out of strings. If `to_datetime` is given a dataframe it does something quite different: it combines columns that contain year, month and day information _into_ datetime objects.
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41676/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41676/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41677
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41677/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41677/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41677/events
https://github.com/pandas-dev/pandas/pull/41677
902,135,522
MDExOlB1bGxSZXF1ZXN0NjUzNTMzMzk0
41,677
Add test for fixed regression in concat with empty DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/36619387?v=4", "events_url": "https://api.github.com/users/weikhor/events{/privacy}", "followers_url": "https://api.github.com/users/weikhor/followers", "following_url": "https://api.github.com/users/weikhor/following{/other_user}", "gists_url": "https://api.github.com/users/weikhor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/weikhor", "id": 36619387, "login": "weikhor", "node_id": "MDQ6VXNlcjM2NjE5Mzg3", "organizations_url": "https://api.github.com/users/weikhor/orgs", "received_events_url": "https://api.github.com/users/weikhor/received_events", "repos_url": "https://api.github.com/users/weikhor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/weikhor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/weikhor/subscriptions", "type": "User", "url": "https://api.github.com/users/weikhor" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-05-26T10:03:14Z"
"2021-05-28T19:05:52Z"
"2021-05-28T19:05:48Z"
CONTRIBUTOR
null
- [ ✓ ] closes #39037 - [ ✓ ] tests added / passed - [ ✓ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41677/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41677/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41677.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41677", "merged_at": "2021-05-28T19:05:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41677.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41677" }
https://api.github.com/repos/pandas-dev/pandas/issues/41678
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41678/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41678/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41678/events
https://github.com/pandas-dev/pandas/issues/41678
902,449,213
MDU6SXNzdWU5MDI0NDkyMTM=
41,678
Drop support for Python 3.7
{ "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": "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" } ]
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-05-26T14:07:36Z"
"2021-07-04T21:44:01Z"
"2021-07-04T21:44:01Z"
MEMBER
null
from https://numpy.org/neps/nep-0029-deprecation_policy.html > On Dec 26, 2021 drop support for Python 3.7 (initially released on Jun 27, 2018) The next release after 1.3 can be scheduled for 6 months, and we can drop 3.7 support in the next release.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41678/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41678/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41679
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41679/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41679/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41679/events
https://github.com/pandas-dev/pandas/issues/41679
902,565,414
MDU6SXNzdWU5MDI1NjU0MTQ=
41,679
BUG: cannot install Pandas on mac Big Sur 11.1 M1 - Python 3.9
{ "avatar_url": "https://avatars.githubusercontent.com/u/1516827?v=4", "events_url": "https://api.github.com/users/ahaffar/events{/privacy}", "followers_url": "https://api.github.com/users/ahaffar/followers", "following_url": "https://api.github.com/users/ahaffar/following{/other_user}", "gists_url": "https://api.github.com/users/ahaffar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ahaffar", "id": 1516827, "login": "ahaffar", "node_id": "MDQ6VXNlcjE1MTY4Mjc=", "organizations_url": "https://api.github.com/users/ahaffar/orgs", "received_events_url": "https://api.github.com/users/ahaffar/received_events", "repos_url": "https://api.github.com/users/ahaffar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ahaffar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ahaffar/subscriptions", "type": "User", "url": "https://api.github.com/users/ahaffar" }
[ { "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": "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" }, { "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
[]
null
5
"2021-05-26T15:28:54Z"
"2021-08-21T01:46:47Z"
"2021-08-21T01:46:47Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. --- #### Code Sample, a copy-pastable example ```sh #16 409.4 Installing 'psycopg2-binary' #16 409.5 $ ['/usr/local/bin/pip', 'install', '--verbose', '--upgrade', '--require-hashes', '--no-use-pep517', '--no-deps', '--exists-action=i', '-r', '/tmp/pipenv-lcvqdjrs-requirements/pipenv-h5kx5keb-requirement.txt', '-i', 'https://pypi.org/simple'] #16 411.6 Traceback (most recent call last): #16 411.6 File "/usr/local/bin/pipenv", line 8, in <module> #16 411.6 sys.exit(cli()) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 829, in __call__ #16 411.6 return self.main(*args, **kwargs) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 782, in main #16 411.6 rv = self.invoke(ctx) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1259, in invoke #16 411.6 return _process_result(sub_ctx.command.invoke(sub_ctx)) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke #16 411.6 return ctx.invoke(self.callback, **ctx.params) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 610, in invoke #16 411.6 return callback(*args, **kwargs) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 73, in new_func #16 411.6 return ctx.invoke(f, obj, *args, **kwargs) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 610, in invoke #16 411.6 return callback(*args, **kwargs) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 21, in new_func #16 411.6 return f(get_current_context(), *args, **kwargs) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/cli/command.py", line 233, in install #16 411.6 retcode = do_install( #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/core.py", line 2052, in do_install #16 411.6 do_init( #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/core.py", line 1304, in do_init #16 411.6 do_install_dependencies( #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/core.py", line 899, in do_install_dependencies #16 411.6 batch_install( #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/core.py", line 796, in batch_install #16 411.6 _cleanup_procs(procs, failed_deps_queue, retry=retry) #16 411.6 File "/usr/local/lib/python3.9/site-packages/pipenv/core.py", line 703, in _cleanup_procs #16 411.6 raise exceptions.InstallError(c.dep.name, extra=err_lines) #16 411.6 pipenv.exceptions.InstallError: ERROR: Couldn't install package: pandas #16 411.6 Package installation failed... #16 411.7 /usr/local/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 1716 is still running #16 411.7 _warn("subprocess %s is still running" % self.pid, #16 411.7 sys:1: ResourceWarning: unclosed file <_io.FileIO name=6 mode='wb' closefd=True> #16 411.7 sys:1: ResourceWarning: unclosed file <_io.FileIO name=7 mode='rb' closefd=True> ------ executor failed running [/bin/sh -c pipenv install --system --deploy --dev --verbose]: exit code: 1 ``` #### Problem description running into this issue while building the docker image OS: MAC OX X 11.4 Apple M1 [arm64] python 3.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/41679/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41679/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41680
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41680/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41680/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41680/events
https://github.com/pandas-dev/pandas/issues/41680
902,587,843
MDU6SXNzdWU5MDI1ODc4NDM=
41,680
dataframe.groupby returns wrong multi level column index
{ "avatar_url": "https://avatars.githubusercontent.com/u/5367340?v=4", "events_url": "https://api.github.com/users/szelok/events{/privacy}", "followers_url": "https://api.github.com/users/szelok/followers", "following_url": "https://api.github.com/users/szelok/following{/other_user}", "gists_url": "https://api.github.com/users/szelok/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/szelok", "id": 5367340, "login": "szelok", "node_id": "MDQ6VXNlcjUzNjczNDA=", "organizations_url": "https://api.github.com/users/szelok/orgs", "received_events_url": "https://api.github.com/users/szelok/received_events", "repos_url": "https://api.github.com/users/szelok/repos", "site_admin": false, "starred_url": "https://api.github.com/users/szelok/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/szelok/subscriptions", "type": "User", "url": "https://api.github.com/users/szelok" }
[ { "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
null
[]
null
2
"2021-05-26T15:45:14Z"
"2021-08-21T01:48:08Z"
null
NONE
null
It works as expected when the dataframe w/ multi level column index have 5 or more columns. Like below. ``` arrays = [ ["x", "x", "x", "x","x"], ["y", "y", "y", "y","y"], ["bar1", "bar2", "baz1", "baz2","bar3"], ["w", "w", "w", "w","w"], ["z", "z", "z", "z","z"], ] tuples = list(zip(*arrays)) index = pd.MultiIndex.from_tuples(tuples, names=["1","2","3","4","5"]) df = pd.DataFrame(np.random.randn(3, 5), index=["A", "B", "C"], columns=index) print("before group by") print(df) df = df.groupby(df.columns.names[0:-1], axis=1).min() print("after group by - GOOD") print(df) ``` Returns expected results ``` before group by 1 x 2 y 3 bar1 bar2 baz1 baz2 bar3 4 w w w w w 5 z z z z z A 1.508435 0.079822 -1.052383 -1.622857 0.738883 B -1.842490 0.432695 -0.089462 -0.146393 1.146759 C -2.109186 2.211993 1.911678 -0.399462 -0.817357 after group by - GOOD 1 x 2 y 3 bar1 bar2 bar3 baz1 baz2 4 w w w w w A 1.508435 0.079822 0.738883 -1.052383 -1.622857 B -1.842490 0.432695 1.146759 -0.089462 -0.146393 C -2.109186 2.211993 -0.817357 1.911678 -0.399462 ``` **BUT** it does not work when the dataframe has 4 or less columns ``` arrays = [ ["x", "x", "x", "x"], ["y", "y", "y", "y"], ["bar1", "bar2", "baz1", "baz2"], ["w", "w", "w", "w"], ["z", "z", "z", "z"], ] tuples = list(zip(*arrays)) index = pd.MultiIndex.from_tuples(tuples, names=["1","2","3","4","5"]) df = pd.DataFrame(np.random.randn(3, 4), index=["A", "B", "C"], columns=index) print("before group by") print(df) df = df.groupby(df.columns.names[0:-1], axis=1).min() print("after group by - BAD") print(df) ``` **Returns unexpected results where multi level column index is gone and is replaced by column names** ``` before group by 1 x 2 y 3 bar1 bar2 baz1 baz2 4 w w w w 5 z z z z A 0.760272 1.128186 0.185643 0.238319 B 0.711782 0.535957 -0.633338 -1.435772 C -1.297180 -0.721576 0.380401 1.407220 after group by - BAD 1 2 3 4 A 0.760272 1.128186 0.185643 0.238319 B 0.711782 0.535957 -0.633338 -1.435772 C -1.297180 -0.721576 0.380401 1.407220 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41680/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41680/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41681
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41681/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41681/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41681/events
https://github.com/pandas-dev/pandas/issues/41681
902,703,572
MDU6SXNzdWU5MDI3MDM1NzI=
41,681
BUG: df.to_excel() with openpyxl engine doesn't use write-optimized mode, resulting in higher memory consumption
{ "avatar_url": "https://avatars.githubusercontent.com/u/7454464?v=4", "events_url": "https://api.github.com/users/Kharms/events{/privacy}", "followers_url": "https://api.github.com/users/Kharms/followers", "following_url": "https://api.github.com/users/Kharms/following{/other_user}", "gists_url": "https://api.github.com/users/Kharms/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Kharms", "id": 7454464, "login": "Kharms", "node_id": "MDQ6VXNlcjc0NTQ0NjQ=", "organizations_url": "https://api.github.com/users/Kharms/orgs", "received_events_url": "https://api.github.com/users/Kharms/received_events", "repos_url": "https://api.github.com/users/Kharms/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Kharms/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kharms/subscriptions", "type": "User", "url": "https://api.github.com/users/Kharms" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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" }
3
"2021-05-26T17:14:09Z"
"2021-06-01T15:34:39Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. --- #### Problem description `openpyxl` has fairly high memory consumption by default. To address this for write-only operations, they recommend two things: 1. Install the `lxml` package, which is more optimized than the default xml parser. 2. Use the `write_only` mode on the workbook. In `pandas/pandas/io/excel/_openpyxl.py` we have the [a comment](https://github.com/pandas-dev/pandas/blob/d662e9740a8cd738970cce97e341640b00cadcf8/pandas/io/excel/_openpyxl.py#L64) which states intent - `# Create workbook object with default optimized_write=True.` However `openpyxl` depreciated the `optimized_write` option in [version 2.4](https://openpyxl.readthedocs.io/en/stable/changes.html?highlight=optimized_write%3DTrue.#a1-2016-04-11) and now recommends setting `write_only=True` on workbook creation. Pandas requires 2.6 so the result is that writes to excel use more memory than necessary. Switching to `write_only=True` has [other ramifications](https://openpyxl.readthedocs.io/en/stable/optimized.html#write-only-mode), like only being able to write out once, so would need to be tested. #### Proposed solution 1. Print out a warning about `lxml` being missing if writing to excel in an environment that doesn't have it installed. 2. Use the `write_only` mode if possible. #### other context Running on a GCP cloud function, I had a `df = pd.DataFrame()` of size ~150mb. `df.to_excel()` without lxml used >2gb memory, crashing the function. With lxml it used ~1.4gb memory, returning successfully but getting too close. Adding in write-only should lower that by an order of magnitude to <100mb.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41681/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41681/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41682
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41682/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41682/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41682/events
https://github.com/pandas-dev/pandas/issues/41682
902,810,746
MDU6SXNzdWU5MDI4MTA3NDY=
41,682
BUG: DataFrame constructor with UserList dataclass broken by upgrade to 1.1.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1130635?v=4", "events_url": "https://api.github.com/users/TomGoBravo/events{/privacy}", "followers_url": "https://api.github.com/users/TomGoBravo/followers", "following_url": "https://api.github.com/users/TomGoBravo/following{/other_user}", "gists_url": "https://api.github.com/users/TomGoBravo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomGoBravo", "id": 1130635, "login": "TomGoBravo", "node_id": "MDQ6VXNlcjExMzA2MzU=", "organizations_url": "https://api.github.com/users/TomGoBravo/orgs", "received_events_url": "https://api.github.com/users/TomGoBravo/received_events", "repos_url": "https://api.github.com/users/TomGoBravo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomGoBravo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomGoBravo/subscriptions", "type": "User", "url": "https://api.github.com/users/TomGoBravo" }
[ { "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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
[]
{ "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-05-26T19:01:28Z"
"2021-06-25T23:11:43Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import dataclasses import pandas as pd from typing import List from collections import UserList @dataclasses.dataclass(frozen=True) class MyList(UserList): data: List[float] stuff = [MyList([1, 2, 3]), [4, 5, 6]] df = pd.DataFrame(stuff) print("No error!") ``` #### Problem description I wrote code like this for pandas 1.0.5. When I upgraded to 1.2 my unittests started failing with `TypeError: asdict() should be called on dataclass instances`. PR https://github.com/pandas-dev/pandas/pull/27999 and issue https://github.com/pandas-dev/pandas/issues/21910 changed the behavior of the DataFrame constructor to treat `data` as all dataclasses if the first element is a dataclass. The behavior is documented but not quite what I'd like. #### Expected Output Admittedly a esoteric case, but I'm documenting my upgrade issuse. In this case I think checking for `is_list_like(data[0])` before `is_dataclass(data[0])` works better for me. Or maybe in hindsight from_dataclasses wasn't a bad idea.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41682/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41682/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41683
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41683/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41683/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41683/events
https://github.com/pandas-dev/pandas/issues/41683
902,818,094
MDU6SXNzdWU5MDI4MTgwOTQ=
41,683
BUG: Series groupby with by as Series raises `FutureWarning`
{ "avatar_url": "https://avatars.githubusercontent.com/u/4806877?v=4", "events_url": "https://api.github.com/users/jsignell/events{/privacy}", "followers_url": "https://api.github.com/users/jsignell/followers", "following_url": "https://api.github.com/users/jsignell/following{/other_user}", "gists_url": "https://api.github.com/users/jsignell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jsignell", "id": 4806877, "login": "jsignell", "node_id": "MDQ6VXNlcjQ4MDY4Nzc=", "organizations_url": "https://api.github.com/users/jsignell/orgs", "received_events_url": "https://api.github.com/users/jsignell/received_events", "repos_url": "https://api.github.com/users/jsignell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jsignell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jsignell/subscriptions", "type": "User", "url": "https://api.github.com/users/jsignell" }
[ { "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": "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": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
null
4
"2021-05-26T19:10:09Z"
"2021-06-26T00:40:52Z"
"2021-06-26T00:40:52Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- I ran into this when testing dask against pandas nightly builds. https://github.com/dask/dask/issues/7710 #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame( {"a": [1, 2, 6, 4, 4, 6, 4, 3, 7], "b": [4, 2, 7, 3, 3, 1, 1, 1, 2]}, index=[0, 1, 3, 5, 6, 8, 9, 9, 9], ) df.a.groupby(df.b).sum() ``` #### Problem description According to the series groupby docstring, I should be able to groupby series objects, but I get a `FutureWarning` ```python-traceback /home/julia/conda/envs/dask-upstream/lib/python3.8/site-packages/pandas/core/indexes/base.py:3372: FutureWarning: Promotion of numbers and bools to strings is deprecated. In the future, code such as `np.concatenate((['string'], [0]))` will raise an error, while `np.asarray(['string', 0])` will return an array with `dtype=object`. To avoid the warning while retaining a string result use `dtype='U'` (or 'S'). To get an array of Python objects use `dtype=object`. (Warning added in NumPy 1.21) return self._engine.get_loc(casted_key) ``` #### Expected Output When I call `.tolist()` on the series before passing it as `by` I get the expected result: ```python df.a.groupby(df.b.tolist()).sum() ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : e7c1ef71d80797cab0bffda8c47948261cffc139 python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-72-generic Version : #80~18.04.1-Ubuntu SMP Mon Apr 12 23:26:25 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.0.dev0+1738.ge7c1ef71d8 numpy : 1.22.0.dev0+4.gb283e1632 pytz : 2021.1 dateutil : 2.8.1 pip : 21.1.2 setuptools : 46.1.3 Cython : None pytest : 6.2.4 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.23.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 2021.05.0+16.g07df543 fastparquet : 0.6.3 gcsfs : None matplotlib : 3.4.2 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.0 pyxlsb : None s3fs : 2021.05.0 scipy : 1.6.3 sqlalchemy : 1.3.23 tables : 3.6.1 tabulate : None xarray : 0.18.2 xlrd : None xlwt : None 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/41683/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41683/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41684
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41684/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41684/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41684/events
https://github.com/pandas-dev/pandas/pull/41684
902,893,611
MDExOlB1bGxSZXF1ZXN0NjU0MjExNTY1
41,684
DOC: Add woodwork to ecosystem docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/8726321?v=4", "events_url": "https://api.github.com/users/gsheni/events{/privacy}", "followers_url": "https://api.github.com/users/gsheni/followers", "following_url": "https://api.github.com/users/gsheni/following{/other_user}", "gists_url": "https://api.github.com/users/gsheni/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gsheni", "id": 8726321, "login": "gsheni", "node_id": "MDQ6VXNlcjg3MjYzMjE=", "organizations_url": "https://api.github.com/users/gsheni/orgs", "received_events_url": "https://api.github.com/users/gsheni/received_events", "repos_url": "https://api.github.com/users/gsheni/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gsheni/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gsheni/subscriptions", "type": "User", "url": "https://api.github.com/users/gsheni" }
[ { "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-26T20:38:04Z"
"2021-05-27T01:54:04Z"
"2021-05-27T01:47:23Z"
CONTRIBUTOR
null
- [x] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41684/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41684/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41684.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41684", "merged_at": "2021-05-27T01:47:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41684.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41684" }
https://api.github.com/repos/pandas-dev/pandas/issues/41685
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41685/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41685/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41685/events
https://github.com/pandas-dev/pandas/pull/41685
902,953,286
MDExOlB1bGxSZXF1ZXN0NjU0MjY0OTY1
41,685
CI: add sdist release workflow
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
"2021-05-26T21:51:39Z"
"2021-07-07T02:39:48Z"
"2021-06-21T13:03:13Z"
MEMBER
null
- [x] closes #39417
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41685/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41685/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41685.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41685", "merged_at": "2021-06-21T13:03:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41685.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41685" }
https://api.github.com/repos/pandas-dev/pandas/issues/41686
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41686/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41686/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41686/events
https://github.com/pandas-dev/pandas/issues/41686
903,131,501
MDU6SXNzdWU5MDMxMzE1MDE=
41,686
May 2021 Docs Meeting
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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": "0bbec4", "default": false, "description": "Community topics (meetings, etc.)", "id": 2187005593, "name": "Community", "node_id": "MDU6TGFiZWwyMTg3MDA1NTkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Community" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" } ]
null
1
"2021-05-27T02:24:58Z"
"2021-06-24T04:40:30Z"
"2021-06-24T04:40:30Z"
MEMBER
null
- [Thursday, May 27th 9-10am US Eastern Time](https://everytimezone.com/s/5f687654) - [Zoom link](https://nyu.zoom.us/j/98201283174?pwd=d0VoUy9GTDRlVVZ0cCtTK0s4NnlBZz09) - [Agenda/notes](https://docs.google.com/document/d/1JoiqTdK6gi5W1QiTWrqtTV-rNmIqU3xROgHY5iT4J5g/edit#heading=h.pd2rym64bmch) --- For this session, thinking we try something a bit different: In [the workshop around the Diátaxis documentation framework](https://github.com/pandas-dev/pandas/issues/40603#issuecomment-830860731), @evildmp was explaining his highly incremental approach to documentation improvement. He: 1. Picks a small chunk of content 2. Asks things like: - Is this in the right place? - Is it still valuable? - Is there anything that could be improved in it? 3. He moves/edits/deletes it 4. Repeat (Hope I summed that up well!) I thought this might be interesting to try as a group; kind of like [mob programming](https://en.wikipedia.org/wiki/Mob_programming) but for docs. We'll see how it goes! @pandas-dev/pandas-core @pandas-dev/pandas-triage @pandas-dev/pydata-sphinx-theme @pandas-dev/pandas-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/41686/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41686/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41687
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41687/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41687/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41687/events
https://github.com/pandas-dev/pandas/issues/41687
903,219,755
MDU6SXNzdWU5MDMyMTk3NTU=
41,687
Cannot install pandas on Linux machine
{ "avatar_url": "https://avatars.githubusercontent.com/u/74471606?v=4", "events_url": "https://api.github.com/users/krishna3008/events{/privacy}", "followers_url": "https://api.github.com/users/krishna3008/followers", "following_url": "https://api.github.com/users/krishna3008/following{/other_user}", "gists_url": "https://api.github.com/users/krishna3008/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/krishna3008", "id": 74471606, "login": "krishna3008", "node_id": "MDQ6VXNlcjc0NDcxNjA2", "organizations_url": "https://api.github.com/users/krishna3008/orgs", "received_events_url": "https://api.github.com/users/krishna3008/received_events", "repos_url": "https://api.github.com/users/krishna3008/repos", "site_admin": false, "starred_url": "https://api.github.com/users/krishna3008/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/krishna3008/subscriptions", "type": "User", "url": "https://api.github.com/users/krishna3008" }
[ { "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" }, { "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-05-27T05:06:07Z"
"2021-06-02T19:53:07Z"
"2021-06-02T19:52:49Z"
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). --- #### Question about pandas **Note**: If you'd still like to submit a question, please read [this guide]( https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. ```python ![MicrosoftTeams-image](https://user-images.githubusercontent.com/74471606/119768973-3caaba80-bed7-11eb-9f03-a515df26a731.png) I tried to install pandas in linux machine using pip3 and error raised as in the image uploaded please look into this and 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/41687/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41687/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41688
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41688/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41688/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41688/events
https://github.com/pandas-dev/pandas/pull/41688
903,410,974
MDExOlB1bGxSZXF1ZXN0NjU0NjcxMTEx
41,688
Fix error in pre commit for ecosystem rst
{ "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-27T08:39:28Z"
"2021-05-27T10:25:30Z"
"2021-05-27T10:20:58Z"
MEMBER
null
Pre-commit errors on master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41688/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41688/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41688.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41688", "merged_at": "2021-05-27T10:20:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41688.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41688" }
https://api.github.com/repos/pandas-dev/pandas/issues/41689
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41689/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41689/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41689/events
https://github.com/pandas-dev/pandas/pull/41689
903,778,340
MDExOlB1bGxSZXF1ZXN0NjU1MDAxMDk3
41,689
DOC: added explanation of each of the documentation sections
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
4
"2021-05-27T13:44:56Z"
"2021-08-17T01:56:06Z"
"2021-08-17T01:56:06Z"
MEMBER
null
This is meant to help contributors understand what information belongs where. - [ ] ~~closes #xxxx~~ - [ ] tests ~~added /~~ passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41689/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41689/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41689.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41689", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41689.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41689" }
https://api.github.com/repos/pandas-dev/pandas/issues/41690
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41690/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41690/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41690/events
https://github.com/pandas-dev/pandas/issues/41690
903,870,278
MDU6SXNzdWU5MDM4NzAyNzg=
41,690
BUG: pytz.exceptions.UnknownTimeZoneError when loading psycopg2 timezone from Parquet
{ "avatar_url": "https://avatars.githubusercontent.com/u/2877717?v=4", "events_url": "https://api.github.com/users/torfsen/events{/privacy}", "followers_url": "https://api.github.com/users/torfsen/followers", "following_url": "https://api.github.com/users/torfsen/following{/other_user}", "gists_url": "https://api.github.com/users/torfsen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/torfsen", "id": 2877717, "login": "torfsen", "node_id": "MDQ6VXNlcjI4Nzc3MTc=", "organizations_url": "https://api.github.com/users/torfsen/orgs", "received_events_url": "https://api.github.com/users/torfsen/received_events", "repos_url": "https://api.github.com/users/torfsen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/torfsen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/torfsen/subscriptions", "type": "User", "url": "https://api.github.com/users/torfsen" }
[ { "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": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
open
false
null
[]
null
2
"2021-05-27T14:46:43Z"
"2021-11-04T23:07:47Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import datetime as dt import pandas as pd from psycopg2.tz import FixedOffsetTimezone # Simulate getting a timestamp from the DB psycopg2_utc = FixedOffsetTimezone() timestamp = dt.datetime.now(psycopg2_utc) df = pd.DataFrame({'foo': [timestamp]}) df.to_parquet('test1.parquet') try: pd.read_parquet('test1.parquet') except Exception as e: print(f'First load failed: {e}') # Fix by converting to pytz UTC df['foo'] = df['foo'].dt.tz_convert('UTC') df.to_parquet('test2.parquet') pd.read_parquet('test2.parquet') print('Second load succeeded') ``` #### Problem description When a DataFrame that contains a datetime with a psycopg2 timezone object is stored in a Parquet file then loading the file raises a `pytz.exceptions.UnknownTimeZoneError`. Conversion to pytz UTC via `.dt.tz_convert` fixes the issue. This is similar to but different from #25423 and #35997 as far as I understand. See also [this StackOverflow discussion](https://stackoverflow.com/questions/66104233/pandas-read-parquet-pytz-exceptions-unknowntimezoneerror). #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-73-generic Version : #82~18.04.1-Ubuntu SMP Fri Apr 16 15:10:02 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.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 20.3.3 setuptools : 52.0.0.post20210125 Cython : None pytest : 6.2.2 hypothesis : None sphinx : 4.0.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 3.0.0 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41690/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41690/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41691
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41691/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41691/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41691/events
https://github.com/pandas-dev/pandas/pull/41691
904,005,795
MDExOlB1bGxSZXF1ZXN0NjU1MTk3ODE4
41,691
Min max sparse fillna
{ "avatar_url": "https://avatars.githubusercontent.com/u/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" }
[ { "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": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-05-27T17:16:45Z"
"2021-06-02T13:23:23Z"
"2021-06-02T13:23:19Z"
CONTRIBUTOR
null
- [x] closes #41552 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41691/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41691/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41691.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41691", "merged_at": "2021-06-02T13:23:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41691.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41691" }
https://api.github.com/repos/pandas-dev/pandas/issues/41692
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41692/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41692/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41692/events
https://github.com/pandas-dev/pandas/pull/41692
904,034,856
MDExOlB1bGxSZXF1ZXN0NjU1MjIyNDgw
41,692
DOC: add `to_html` to style.rst
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-27T17:51:59Z"
"2021-06-04T08:10:07Z"
"2021-06-03T23:28:33Z"
CONTRIBUTOR
null
follow up on recent `to_html` enhancement.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41692/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41692/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41692.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41692", "merged_at": "2021-06-03T23:28:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41692.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41692" }
https://api.github.com/repos/pandas-dev/pandas/issues/41693
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41693/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41693/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41693/events
https://github.com/pandas-dev/pandas/issues/41693
904,073,658
MDU6SXNzdWU5MDQwNzM2NTg=
41,693
DEPR: `DataFrame.to_html` in favour of `Styler.to_html`
{ "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": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "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": "High level tracker for similar issues", "id": 183784729, "name": "Master Tracker", "node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker" }, { "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" } ]
open
false
null
[]
null
0
"2021-05-27T18:41:45Z"
"2021-11-16T19:57:42Z"
null
CONTRIBUTOR
null
The tracker of items needed to do before deprecating `DataFrame.to_html()`. ### Blockers - [x] Acceptance of the `jinja2` requirement for HTML output, since `Styler` requires `jinja2`. - [x] Acceptance of removal/hard break of specific kwargs and all formatting keyword args (see below). ### Development - [x] make `Styler.to_html` as performant or better than `DataFrame.to_html` (#39972) (#40425) (#41269) - [x] make Styler functional for all DataFrames (i.e. including non-unique columns, indexes) (#41269). - [x] enhance with ability to style indexes/column headers with styles (e.g bold rows) (#43149) - [x] <s> enhance `.hide_columns` with `.show_columns` alternative (optional) </s> not necessary - [x] add the sparsify kwargs (#41946). - [x] add render trimming to prevent browser crash on large data (#41635) - [x] decide whether to add or drop max_rows / max_cols / min_rows (#42972) - [x] enhance `.hide_columns` and `.hide_index` to have dual function to hide the entire array, or specific items (#41266 #43771) - [x] make styler reactive to separate sparse columns and index separately (#41512) - [ ] add pandas options for `styler` for default output manipulation, using `_repr_html_` methods (#41395) - [ ] add the ability to render a a table_id even if exclude_styles is True (for back compat) - [x] add the ability to hide index names #43346 - [ ] <s>add the `class="dataframe"` attribute by default for google colab </s> (https://github.com/googlecolab/colabtools/issues/1687) ### Treatment of Keyword Args Old Keyword | New Keyword | Reason --- | --- | --- `buf` | `buf` | `encoding` | `encoding` | `table_id` | `table_uuid` | `classes` | `table_attributes` | extended utility `sparsify` | `sparse_index`<br>`sparse_columns` | more control of individual components `max_rows`<br>`min_rows`<br>`max_cols` | `max_rows`<br>`max_columns` | `min_rows` removed since it is console related `bold_rows` | `bold_headers` | included to allows some back compatability ... | `doctype_html` | adds ability to form a full HTML document or just `style` and `table` HTML elements. ... | `exclude_styles` | adds ability to more closely replicate `DataFrame.to_html` by dropping extra features. ... | `caption` | adds ability to set a caption on Styler from the calling method. `na_rep`<br>`formatters`<br>`float_format`<br>`decimal`<br>`escape` | *removed* | replaced by `Styler.format(...)` which has more control `columns`<br>`header`<br>`index` | *removed* | replaced by `Styler.hide_index(...)` and `Styler.hide_columns(...)` `border` | *removed* | deprecated HTML should be controlled with CSS `col_space` | *removed* | should be controlled with CSS, e.g. 'min-width: 100px;' `render_links` | *removed* | not useful. only renders links identified as `http[...]`, not as sub part of string, i.e. `other http[...] text`. if required should be added to `Styler.format(...)` `notebook` | *removed* | This seems to only provide minor alignment changes that should be controlled with other CSS `show_dimensions` | *removed* | This information is not needed in an HTML table of the DataFrame. `df.shape` provides the necessary workaround, and as a last resort `caption=f"dimension: {df.shape}"` displays the info. `justify` | *removed* | since this is a styling arg which should be dealt with by other methods. `index_names` | *removed* | assumed index names are removed from DataFrame if unwanted. As an alternative `hide_columns` could introduce a keyword argument to specifically hide the index names row.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41693/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41693/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41694
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41694/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41694/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41694/events
https://github.com/pandas-dev/pandas/pull/41694
904,158,800
MDExOlB1bGxSZXF1ZXN0NjU1MzMwNTE0
41,694
BUG: Empty DataFrame(..., dtype='datetime64[ns]').quantile(..., axis=1) returns float64 dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/37243923?v=4", "events_url": "https://api.github.com/users/jmholzer/events{/privacy}", "followers_url": "https://api.github.com/users/jmholzer/followers", "following_url": "https://api.github.com/users/jmholzer/following{/other_user}", "gists_url": "https://api.github.com/users/jmholzer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmholzer", "id": 37243923, "login": "jmholzer", "node_id": "MDQ6VXNlcjM3MjQzOTIz", "organizations_url": "https://api.github.com/users/jmholzer/orgs", "received_events_url": "https://api.github.com/users/jmholzer/received_events", "repos_url": "https://api.github.com/users/jmholzer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmholzer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmholzer/subscriptions", "type": "User", "url": "https://api.github.com/users/jmholzer" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "quantile method", "id": 1631984902, "name": "quantile", "node_id": "MDU6TGFiZWwxNjMxOTg0OTAy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/quantile" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
3
"2021-05-27T20:28:22Z"
"2021-08-17T02:01:47Z"
"2021-08-17T02:01:47Z"
CONTRIBUTOR
null
- [ ] xref #41544 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41694/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41694/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41694.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41694", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41694.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41694" }
https://api.github.com/repos/pandas-dev/pandas/issues/41695
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41695/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41695/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41695/events
https://github.com/pandas-dev/pandas/pull/41695
904,250,083
MDExOlB1bGxSZXF1ZXN0NjU1NDEzMDYz
41,695
TYP: io broken off from #41059
{ "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
[]
null
0
"2021-05-27T21:59:39Z"
"2021-06-12T18:14:57Z"
"2021-06-12T18:14:44Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41695/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41695/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41695.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41695", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41695.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41695" }
https://api.github.com/repos/pandas-dev/pandas/issues/41696
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41696/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41696/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41696/events
https://github.com/pandas-dev/pandas/issues/41696
904,548,354
MDU6SXNzdWU5MDQ1NDgzNTQ=
41,696
Series idxmin() TypeError?Need change type to 'float'
{ "avatar_url": "https://avatars.githubusercontent.com/u/67775594?v=4", "events_url": "https://api.github.com/users/rICHi97/events{/privacy}", "followers_url": "https://api.github.com/users/rICHi97/followers", "following_url": "https://api.github.com/users/rICHi97/following{/other_user}", "gists_url": "https://api.github.com/users/rICHi97/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rICHi97", "id": 67775594, "login": "rICHi97", "node_id": "MDQ6VXNlcjY3Nzc1NTk0", "organizations_url": "https://api.github.com/users/rICHi97/orgs", "received_events_url": "https://api.github.com/users/rICHi97/received_events", "repos_url": "https://api.github.com/users/rICHi97/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rICHi97/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rICHi97/subscriptions", "type": "User", "url": "https://api.github.com/users/rICHi97" }
[]
closed
false
null
[]
null
4
"2021-05-28T02:14:34Z"
"2021-05-28T22:03:52Z"
"2021-05-28T22:03:52Z"
NONE
null
i'm using idxmin() on a series, which is like: ``` ltc: 调度报障工单号 DD182103227 5 .. DD082104265 5 Name: 供电所, Length: 848, dtype: Int64 ``` However, when using: ` ltc.idxmin()` i got an error: ` TypeError: argmin() takes 1 positional argument but 2 were given` when using: ` ltc.astype('float').idxmin()` i got the right answer: 'DD092104104' But the api doesn't say that idxmin() can only use on float data.Why?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41696/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41696/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41697
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41697/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41697/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41697/events
https://github.com/pandas-dev/pandas/pull/41697
904,647,269
MDExOlB1bGxSZXF1ZXN0NjU1Nzg3NzY4
41,697
TST: More old issues
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-28T03:46:24Z"
"2021-05-28T19:14:09Z"
"2021-05-28T19:14:00Z"
MEMBER
null
- [x] closes #19354 - [x] closes #19517 - [x] closes #20414 - [x] closes #20420 - [x] closes #20520 - [x] closes #20734 - [x] closes #20951 - [x] closes #21651 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41697/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41697/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41697.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41697", "merged_at": "2021-05-28T19:13:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41697.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41697" }
https://api.github.com/repos/pandas-dev/pandas/issues/41698
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41698/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41698/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41698/events
https://github.com/pandas-dev/pandas/pull/41698
904,670,020
MDExOlB1bGxSZXF1ZXN0NjU1ODA4Njgy
41,698
BUG: Ignore chartsheets
{ "avatar_url": "https://avatars.githubusercontent.com/u/50434302?v=4", "events_url": "https://api.github.com/users/ahawryluk/events{/privacy}", "followers_url": "https://api.github.com/users/ahawryluk/followers", "following_url": "https://api.github.com/users/ahawryluk/following{/other_user}", "gists_url": "https://api.github.com/users/ahawryluk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ahawryluk", "id": 50434302, "login": "ahawryluk", "node_id": "MDQ6VXNlcjUwNDM0MzAy", "organizations_url": "https://api.github.com/users/ahawryluk/orgs", "received_events_url": "https://api.github.com/users/ahawryluk/received_events", "repos_url": "https://api.github.com/users/ahawryluk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ahawryluk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ahawryluk/subscriptions", "type": "User", "url": "https://api.github.com/users/ahawryluk" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": 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-05-28T04:12:15Z"
"2021-07-02T01:23:47Z"
"2021-07-02T01:23:08Z"
CONTRIBUTOR
null
- [x] closes #41448 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Issue #41448 relates specifically to our openpyxl engine, and is resolved by this commit. However, the bug also exists in our pyxlsb engine and cannot be resolved until the upstream https://github.com/willtrnr/pyxlsb/issues/33 is addressed. I propose closing #41448 and leaving the pyxlsb case as an xfail for now. Let me know if there's a better way to track this.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41698/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41698/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41698.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41698", "merged_at": "2021-07-02T01:23:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41698.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41698" }
https://api.github.com/repos/pandas-dev/pandas/issues/41699
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41699/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41699/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41699/events
https://github.com/pandas-dev/pandas/pull/41699
905,362,599
MDExOlB1bGxSZXF1ZXN0NjU2NDQ3MDM4
41,699
ENH: Deprecate non-keyword arguments for Resampler.interpolate
{ "avatar_url": "https://avatars.githubusercontent.com/u/56446640?v=4", "events_url": "https://api.github.com/users/Anupam-USP/events{/privacy}", "followers_url": "https://api.github.com/users/Anupam-USP/followers", "following_url": "https://api.github.com/users/Anupam-USP/following{/other_user}", "gists_url": "https://api.github.com/users/Anupam-USP/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Anupam-USP", "id": 56446640, "login": "Anupam-USP", "node_id": "MDQ6VXNlcjU2NDQ2NjQw", "organizations_url": "https://api.github.com/users/Anupam-USP/orgs", "received_events_url": "https://api.github.com/users/Anupam-USP/received_events", "repos_url": "https://api.github.com/users/Anupam-USP/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Anupam-USP/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Anupam-USP/subscriptions", "type": "User", "url": "https://api.github.com/users/Anupam-USP" }
[ { "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" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
13
"2021-05-28T12:59:07Z"
"2021-06-05T09:12:49Z"
"2021-06-05T09:12:39Z"
CONTRIBUTOR
null
- [x] xref #41485 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41699/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41699/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41699.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41699", "merged_at": "2021-06-05T09:12:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41699.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41699" }
https://api.github.com/repos/pandas-dev/pandas/issues/41700
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41700/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41700/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41700/events
https://github.com/pandas-dev/pandas/issues/41700
905,503,328
MDU6SXNzdWU5MDU1MDMzMjg=
41,700
BUG: 'ExponentialMovingWindow' object has no attribute 'apply' when using 'agg'
{ "avatar_url": "https://avatars.githubusercontent.com/u/41852601?v=4", "events_url": "https://api.github.com/users/gioxc88/events{/privacy}", "followers_url": "https://api.github.com/users/gioxc88/followers", "following_url": "https://api.github.com/users/gioxc88/following{/other_user}", "gists_url": "https://api.github.com/users/gioxc88/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gioxc88", "id": 41852601, "login": "gioxc88", "node_id": "MDQ6VXNlcjQxODUyNjAx", "organizations_url": "https://api.github.com/users/gioxc88/orgs", "received_events_url": "https://api.github.com/users/gioxc88/received_events", "repos_url": "https://api.github.com/users/gioxc88/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gioxc88/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gioxc88/subscriptions", "type": "User", "url": "https://api.github.com/users/gioxc88" }
[ { "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": "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
open
false
null
[]
null
4
"2021-05-28T14:24:07Z"
"2021-06-17T09:26:28Z"
null
NONE
null
The following code fails: ```python import numpy as np import pandas as pd df = pd.DataFrame(np.random.normal(size=(100, 10))) df.ewm(alpha=0.1).agg(lambda x: x) ``` Below the traceback ```python --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-69-c018ca7d52b8> in <module> ----> 1 df.ewm(alpha=0.1).agg(lambda x: x) c:\dev\projects\weedget\venv\lib\site-packages\pandas\core\window\ewm.py in aggregate(self, func, *args, **kwargs) 316 ) 317 def aggregate(self, func, *args, **kwargs): --> 318 return super().aggregate(func, *args, **kwargs) 319 320 agg = aggregate c:\dev\projects\weedget\venv\lib\site-packages\pandas\core\window\rolling.py in aggregate(self, func, *args, **kwargs) 472 result, how = aggregate(self, func, *args, **kwargs) 473 if result is None: --> 474 return self.apply(func, raw=False, args=args, kwargs=kwargs) 475 return result 476 c:\dev\projects\weedget\venv\lib\site-packages\pandas\core\window\rolling.py in __getattr__(self, attr) 206 return self[attr] 207 --> 208 raise AttributeError( 209 f"'{type(self).__name__}' object has no attribute '{attr}'" 210 ) AttributeError: 'ExponentialMovingWindow' object has no attribute 'apply' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41700/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41700/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41701
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41701/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41701/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41701/events
https://github.com/pandas-dev/pandas/pull/41701
905,512,953
MDExOlB1bGxSZXF1ZXN0NjU2NTg2MzAy
41,701
REGR: fix DataFrame sum and prod with min_count and numeric_only
{ "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" }, { "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": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "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.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
7
"2021-05-28T14:29:58Z"
"2021-05-31T18:44:41Z"
"2021-05-31T16:59:24Z"
MEMBER
null
- [ ] closes #41074 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry it appears that the clean-up in #35899 to simplify _reduce may have been a bit premature, have reinstated a few lines of the removed code for backport purposes. The longer term fix would probably be to support min_count in _mgr.reduce, https://github.com/pandas-dev/pandas/pull/40143#issuecomment-787945291
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41701/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41701/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41701.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41701", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41701.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41701" }
https://api.github.com/repos/pandas-dev/pandas/issues/41702
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41702/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41702/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41702/events
https://github.com/pandas-dev/pandas/pull/41702
905,569,401
MDExOlB1bGxSZXF1ZXN0NjU2NjM4MTMz
41,702
TYP: fix ignores
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-28T15:03:59Z"
"2021-05-31T19:12:18Z"
"2021-05-31T19:04:25Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41702/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41702/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41702.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41702", "merged_at": "2021-05-31T19:04:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41702.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41702" }
https://api.github.com/repos/pandas-dev/pandas/issues/41703
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41703/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41703/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41703/events
https://github.com/pandas-dev/pandas/pull/41703
905,614,624
MDExOlB1bGxSZXF1ZXN0NjU2NjgwMTE0
41,703
REF: simplify Index.astype
{ "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-28T15:32:10Z"
"2021-05-31T21:30:02Z"
"2021-05-31T21:29:45Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41703/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41703/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41703.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41703", "merged_at": "2021-05-31T21:29:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41703.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41703" }
https://api.github.com/repos/pandas-dev/pandas/issues/41704
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41704/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41704/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41704/events
https://github.com/pandas-dev/pandas/issues/41704
905,620,478
MDU6SXNzdWU5MDU2MjA0Nzg=
41,704
core.DataFrame(or Series).combine_first better doc string
{ "avatar_url": "https://avatars.githubusercontent.com/u/5233801?v=4", "events_url": "https://api.github.com/users/zhangyi-hu/events{/privacy}", "followers_url": "https://api.github.com/users/zhangyi-hu/followers", "following_url": "https://api.github.com/users/zhangyi-hu/following{/other_user}", "gists_url": "https://api.github.com/users/zhangyi-hu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhangyi-hu", "id": 5233801, "login": "zhangyi-hu", "node_id": "MDQ6VXNlcjUyMzM4MDE=", "organizations_url": "https://api.github.com/users/zhangyi-hu/orgs", "received_events_url": "https://api.github.com/users/zhangyi-hu/received_events", "repos_url": "https://api.github.com/users/zhangyi-hu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhangyi-hu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhangyi-hu/subscriptions", "type": "User", "url": "https://api.github.com/users/zhangyi-hu" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
open
false
null
[]
null
1
"2021-05-28T15:35:57Z"
"2021-06-06T16:58:13Z"
null
NONE
null
https://github.com/pandas-dev/pandas/blob/beabf0aab2a1ff7776d1aa30b8ede9d9386f9836/pandas/core/frame.py#L7315 I'm suggesting adding this sentence after the above location to make the function name easier to understand: The 'first' dataframe overrides the second one where both first.loc[index, col] and second.loc[index, col] are not nan, upon calling first.combine_first(second).
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41704/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41704/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41705
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41705/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41705/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41705/events
https://github.com/pandas-dev/pandas/pull/41705
905,658,707
MDExOlB1bGxSZXF1ZXN0NjU2NzIxMDQ0
41,705
REF: simplify _try_cast
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-28T16:00:43Z"
"2021-05-31T18:10:51Z"
"2021-05-31T17:41:50Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41705/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41705/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41705.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41705", "merged_at": "2021-05-31T17:41:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41705.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41705" }
https://api.github.com/repos/pandas-dev/pandas/issues/41706
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41706/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41706/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41706/events
https://github.com/pandas-dev/pandas/pull/41706
905,680,243
MDExOlB1bGxSZXF1ZXN0NjU2NzQxMDA0
41,706
BUG: DataFrameGroupBy with numeric_only and empty non-numeric data
{ "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": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-05-28T16:14:58Z"
"2021-06-02T16:59:36Z"
"2021-06-02T15:14:09Z"
MEMBER
null
- [x] closes #41291 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41706/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41706/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41706.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41706", "merged_at": "2021-06-02T15:14:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41706.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41706" }
https://api.github.com/repos/pandas-dev/pandas/issues/41707
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41707/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41707/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41707/events
https://github.com/pandas-dev/pandas/pull/41707
905,750,277
MDExOlB1bGxSZXF1ZXN0NjU2ODA2Mjg0
41,707
BUG: MultiIndex.reindex with non-MultiIndex; Series constructor
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-28T17:03:11Z"
"2021-06-01T16:05:15Z"
"2021-06-01T14:52:40Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry preliminary to de-duplicating some code in internals.construction
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41707/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41707/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41707.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41707", "merged_at": "2021-06-01T14:52:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41707.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41707" }
https://api.github.com/repos/pandas-dev/pandas/issues/41708
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41708/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41708/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41708/events
https://github.com/pandas-dev/pandas/pull/41708
905,833,144
MDExOlB1bGxSZXF1ZXN0NjU2ODgzNTc0
41,708
CLN: Removing unused Travis files for GBQ
{ "avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4", "events_url": "https://api.github.com/users/datapythonista/events{/privacy}", "followers_url": "https://api.github.com/users/datapythonista/followers", "following_url": "https://api.github.com/users/datapythonista/following{/other_user}", "gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/datapythonista", "id": 10058240, "login": "datapythonista", "node_id": "MDQ6VXNlcjEwMDU4MjQw", "organizations_url": "https://api.github.com/users/datapythonista/orgs", "received_events_url": "https://api.github.com/users/datapythonista/received_events", "repos_url": "https://api.github.com/users/datapythonista/repos", "site_admin": false, "starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions", "type": "User", "url": "https://api.github.com/users/datapythonista" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-28T18:07:21Z"
"2021-05-30T19:25:24Z"
"2021-05-30T19:25:04Z"
MEMBER
null
If I'm not missing anything, Travis is only used to test on ARM64, and it's not testing on GBQ, since it doesn't have its dependencies in the conda environment. So, I think all GBQ stuff for Travis can be removed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41708/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41708/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41708.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41708", "merged_at": "2021-05-30T19:25:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41708.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41708" }
https://api.github.com/repos/pandas-dev/pandas/issues/41709
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41709/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41709/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41709/events
https://github.com/pandas-dev/pandas/pull/41709
905,927,934
MDExOlB1bGxSZXF1ZXN0NjU2OTcxOTQx
41,709
REF: avoid maybe_convert_platform
{ "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" }, { "color": "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-28T19:22:18Z"
"2021-05-31T16:19:09Z"
"2021-05-31T16:17:27Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry After this it is exclusively used in core.construction and core.internals.construction
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41709/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41709/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41709.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41709", "merged_at": "2021-05-31T16:17:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41709.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41709" }
https://api.github.com/repos/pandas-dev/pandas/issues/41710
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41710/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41710/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41710/events
https://github.com/pandas-dev/pandas/issues/41710
906,155,160
MDU6SXNzdWU5MDYxNTUxNjA=
41,710
BUG: Formatting issues with stderr output of read_csv() with warn_bad_lines=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/3587185?v=4", "events_url": "https://api.github.com/users/dericke/events{/privacy}", "followers_url": "https://api.github.com/users/dericke/followers", "following_url": "https://api.github.com/users/dericke/following{/other_user}", "gists_url": "https://api.github.com/users/dericke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dericke", "id": 3587185, "login": "dericke", "node_id": "MDQ6VXNlcjM1ODcxODU=", "organizations_url": "https://api.github.com/users/dericke/orgs", "received_events_url": "https://api.github.com/users/dericke/received_events", "repos_url": "https://api.github.com/users/dericke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dericke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dericke/subscriptions", "type": "User", "url": "https://api.github.com/users/dericke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/44815845?v=4", "events_url": "https://api.github.com/users/terryluan12/events{/privacy}", "followers_url": "https://api.github.com/users/terryluan12/followers", "following_url": "https://api.github.com/users/terryluan12/following{/other_user}", "gists_url": "https://api.github.com/users/terryluan12/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/terryluan12", "id": 44815845, "login": "terryluan12", "node_id": "MDQ6VXNlcjQ0ODE1ODQ1", "organizations_url": "https://api.github.com/users/terryluan12/orgs", "received_events_url": "https://api.github.com/users/terryluan12/received_events", "repos_url": "https://api.github.com/users/terryluan12/repos", "site_admin": false, "starred_url": "https://api.github.com/users/terryluan12/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/terryluan12/subscriptions", "type": "User", "url": "https://api.github.com/users/terryluan12" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/44815845?v=4", "events_url": "https://api.github.com/users/terryluan12/events{/privacy}", "followers_url": "https://api.github.com/users/terryluan12/followers", "following_url": "https://api.github.com/users/terryluan12/following{/other_user}", "gists_url": "https://api.github.com/users/terryluan12/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/terryluan12", "id": 44815845, "login": "terryluan12", "node_id": "MDQ6VXNlcjQ0ODE1ODQ1", "organizations_url": "https://api.github.com/users/terryluan12/orgs", "received_events_url": "https://api.github.com/users/terryluan12/received_events", "repos_url": "https://api.github.com/users/terryluan12/repos", "site_admin": false, "starred_url": "https://api.github.com/users/terryluan12/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/terryluan12/subscriptions", "type": "User", "url": "https://api.github.com/users/terryluan12" } ]
{ "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" }
3
"2021-05-28T22:29:58Z"
"2021-05-29T19:36: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 of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example **badly-formatted.csv** ```csv lname fname birthday hometown Deere Jane 2003-01-02 Philadelphia, PA Doe John 2001-04-01 New York, NY Jefferson Thomas 1743-04-13 Shadwell, VA Lincoln Abraham 1809-02-12 Sinking Spring, KY Washington George 1732-02-22 Pope's Creek, VA ``` (note extra tab characters) **main.py** ```python import pandas pandas.read_csv("badly-formatted.csv", sep="\t", error_bad_lines=False, warn_bad_lines=True) ``` #### Problem description When using `pandas.read_csv()` with the `error_bad_lines=False` argument (and the default `warn_bad_lines=True` arg), the output being printed to stderr appears to be `bytes` type that has been cast to `str`. This adds noise to the console output, and is making it difficult to properly capture stderr output from this constructor. #### Expected stderr Output from MRE ``` Skipping line 3: expected 4 fields, saw 5 Skipping line 4: expected 4 fields, saw 5 Skipping line 6: expected 4 fields, saw 5 ``` #### Actual stderr Output from MRE ``` b'Skipping line 3: expected 4 fields, saw 5\nSkipping line 4: expected 4 fields, saw 5\nSkipping line 6: expected 4 fields, saw 5\n' ``` #### Inconsistent line breaks with larger files I have also seen line breaks appear inconsistently when reading in larger files. I haven't been able to isolate any causes of this inconsistency yet #### Actual stderr output from large file ``` b'Skipping line 342635: expected 25 fields, saw 26\n' b'Skipping line 392116: expected 25 fields, saw 26\n' b'Skipping line 544651: expected 25 fields, saw 26\nSkipping line 553773: expected 25 fields, saw 26\n' b'Skipping line 559046: expected 25 fields, saw 26\nSkipping line 559146: expected 25 fields, saw 26\nSkipping line 559148: expected 25 fields, saw 26\nSkipping line 559155: expected 25 fields, saw 26\n' b'Skipping line 596525: expected 25 fields, saw 26\n' b'Skipping line 634470: expected 25 fields, saw 26\n' b'Skipping line 777743: expected 25 fields, saw 26\nSkipping line 777744: expected 25 fields, saw 26\nSkipping line 777745: expected 25 fields, saw 26\nSkipping line 777746: expected 25 fields, saw 26\nSkipping line 777747: expected 25 fields, saw 26\nSkipping line 777748: expected 25 fields, saw 26\nSkipping line 777749: expected 25 fields, saw 26\nSkipping line 777750: expected 25 fields, saw 26\nSkipping line 777831: expected 25 fields, saw 26\nSkipping line 777832: expected 25 fields, saw 26\nSkipping line 778297: expected 25 fields, saw 26\n' ``` #### Expected stderr output from large file ``` Skipping line 342635: expected 25 fields, saw 26 Skipping line 392116: expected 25 fields, saw 26 Skipping line 544651: expected 25 fields, saw 26 Skipping line 553773: expected 25 fields, saw 26 Skipping line 559046: expected 25 fields, saw 26 Skipping line 559146: expected 25 fields, saw 26 Skipping line 559148: expected 25 fields, saw 26 Skipping line 559155: expected 25 fields, saw 26 Skipping line 596525: expected 25 fields, saw 26 Skipping line 634470: expected 25 fields, saw 26 Skipping line 777743: expected 25 fields, saw 26 Skipping line 777744: expected 25 fields, saw 26 Skipping line 777745: expected 25 fields, saw 26 Skipping line 777746: expected 25 fields, saw 26 Skipping line 777747: expected 25 fields, saw 26 Skipping line 777748: expected 25 fields, saw 26 Skipping line 777749: expected 25 fields, saw 26 Skipping line 777750: expected 25 fields, saw 26 Skipping line 777831: expected 25 fields, saw 26 Skipping line 777832: expected 25 fields, saw 26 Skipping line 778297: expected 25 fields, saw 26 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.5.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Mon Mar 8 22:11:48 PST 2021; root:xnu-4903.278.65~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.19.4 pytz : 2020.5 dateutil : 2.8.1 pip : 21.1.2 setuptools : 56.0.0 Cython : None pytest : 6.2.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 2.2.5 numexpr : None 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/41710/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41710/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41711
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41711/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41711/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41711/events
https://github.com/pandas-dev/pandas/pull/41711
906,188,476
MDExOlB1bGxSZXF1ZXN0NjU3MjE4MzI1
41,711
REGR: DataFrame reduction with min_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": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "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.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
11
"2021-05-28T23:02:15Z"
"2021-06-10T07:19:12Z"
"2021-06-01T14:54:44Z"
MEMBER
null
- [ ] closes #41074 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry tests copied from #41701; i think this gets at the root problem cc @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/41711/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41711/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41711.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41711", "merged_at": "2021-06-01T14:54:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41711.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41711" }
https://api.github.com/repos/pandas-dev/pandas/issues/41712
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41712/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41712/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41712/events
https://github.com/pandas-dev/pandas/pull/41712
906,291,514
MDExOlB1bGxSZXF1ZXN0NjU3MzE0OTMw
41,712
TST: More old issues
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-05-29T02:00:11Z"
"2021-05-31T16:30:56Z"
"2021-05-31T14:27:05Z"
MEMBER
null
- [x] closes #18561 - [x] closes #22060 - [x] closes #22449 - [x] closes #22512 - [x] closes #22719 - [x] closes #23542 - [x] closes #26859 - [x] closes #28697 - [x] closes #28928 - [x] closes #29687 - [x] closes #30263 - [x] closes #29699 - [x] closes #31861 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41712/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41712/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41712.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41712", "merged_at": "2021-05-31T14:27:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41712.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41712" }
https://api.github.com/repos/pandas-dev/pandas/issues/41713
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41713/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41713/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41713/events
https://github.com/pandas-dev/pandas/pull/41713
906,335,160
MDExOlB1bGxSZXF1ZXN0NjU3MzU1MDk3
41,713
CI: suppress numpy FutureWarnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[]
closed
false
null
[]
null
0
"2021-05-29T03:55:38Z"
"2021-05-29T15:07:08Z"
"2021-05-29T15:06:57Z"
MEMBER
null
hopefully temporary
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41713/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41713/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41713.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41713", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41713.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41713" }
https://api.github.com/repos/pandas-dev/pandas/issues/41714
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41714/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41714/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41714/events
https://github.com/pandas-dev/pandas/pull/41714
906,348,508
MDExOlB1bGxSZXF1ZXN0NjU3MzY3MTMx
41,714
ENH: maybe_convert_objects corner cases
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-05-29T04:30:18Z"
"2021-06-02T17:00:44Z"
"2021-06-02T15:18:33Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41714/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41714/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41714.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41714", "merged_at": "2021-06-02T15:18:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41714.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41714" }
https://api.github.com/repos/pandas-dev/pandas/issues/41715
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41715/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41715/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41715/events
https://github.com/pandas-dev/pandas/issues/41715
906,389,190
MDU6SXNzdWU5MDYzODkxOTA=
41,715
BUG: ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl.
{ "avatar_url": "https://avatars.githubusercontent.com/u/47092529?v=4", "events_url": "https://api.github.com/users/ranabanik/events{/privacy}", "followers_url": "https://api.github.com/users/ranabanik/followers", "following_url": "https://api.github.com/users/ranabanik/following{/other_user}", "gists_url": "https://api.github.com/users/ranabanik/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ranabanik", "id": 47092529, "login": "ranabanik", "node_id": "MDQ6VXNlcjQ3MDkyNTI5", "organizations_url": "https://api.github.com/users/ranabanik/orgs", "received_events_url": "https://api.github.com/users/ranabanik/received_events", "repos_url": "https://api.github.com/users/ranabanik/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ranabanik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ranabanik/subscriptions", "type": "User", "url": "https://api.github.com/users/ranabanik" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "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" }, { "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
16
"2021-05-29T06:21:41Z"
"2021-05-29T18:06:06Z"
"2021-05-29T17:47:11Z"
NONE
null
I am running the following code from Jupyter notebook. ``` dataDir = r'D:\\' files = glob(os.path.join(dataDir, '*.xlsx')) print(files) if os.path.isfile(files[0]): print('ok') df = pd.read_excel(files[0], engine='openpyxl') ``` which prints: `['D:\\\\file_index_all.xlsx', 'D:\\\\file_index_all2.xlsx']` `ok` But I get the following error. ``` --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-52-5dc0ef3ce47b> in <module> 6 if os.path.isfile(files[0]): 7 print('ok') ----> 8 df = pd.read_excel(files[0], engine='openpyxl') c:\users\ranab\miniconda3\lib\site-packages\pandas\io\excel\_base.py in read_excel(io, sheet_name, header, names, index_col, usecols, squeeze, dtype, engine, converters, true_values, false_values, skiprows, nrows, na_values, keep_default_na, verbose, parse_dates, date_parser, thousands, comment, skipfooter, convert_float, mangle_dupe_cols, **kwds) 302 303 if not isinstance(io, ExcelFile): --> 304 io = ExcelFile(io, engine=engine) 305 elif engine and engine != io.engine: 306 raise ValueError( c:\users\ranab\miniconda3\lib\site-packages\pandas\io\excel\_base.py in __init__(self, io, engine) 819 self._io = stringify_path(io) 820 --> 821 self._reader = self._engines[engine](self._io) 822 823 def __fspath__(self): c:\users\ranab\miniconda3\lib\site-packages\pandas\io\excel\_openpyxl.py in __init__(self, filepath_or_buffer) 482 Object to be parsed. 483 """ --> 484 import_optional_dependency("openpyxl") 485 super().__init__(filepath_or_buffer) 486 c:\users\ranab\miniconda3\lib\site-packages\pandas\compat\_optional.py in import_optional_dependency(name, extra, raise_on_missing, on_version) 90 except ImportError: 91 if raise_on_missing: ---> 92 raise ImportError(msg) from None 93 else: 94 return None ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl. ``` pandas version: `pd.__version__`<br> `1.0.1` Also one other thing I noticed despite having `openpyxl 3.0.7` I can't import it in **jupyter notebook** but in **pycharm** <br> ``` import openpyxl print(openpyxl.__version__) ``` shows `3.0.7`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41715/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41715/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41716
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41716/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41716/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41716/events
https://github.com/pandas-dev/pandas/pull/41716
906,432,832
MDExOlB1bGxSZXF1ZXN0NjU3NDM4NjAy
41,716
Fix inconsistent results for empty datasets describe
{ "avatar_url": "https://avatars.githubusercontent.com/u/36619387?v=4", "events_url": "https://api.github.com/users/weikhor/events{/privacy}", "followers_url": "https://api.github.com/users/weikhor/followers", "following_url": "https://api.github.com/users/weikhor/following{/other_user}", "gists_url": "https://api.github.com/users/weikhor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/weikhor", "id": 36619387, "login": "weikhor", "node_id": "MDQ6VXNlcjM2NjE5Mzg3", "organizations_url": "https://api.github.com/users/weikhor/orgs", "received_events_url": "https://api.github.com/users/weikhor/received_events", "repos_url": "https://api.github.com/users/weikhor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/weikhor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/weikhor/subscriptions", "type": "User", "url": "https://api.github.com/users/weikhor" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
6
"2021-05-29T09:55:20Z"
"2021-08-17T02:03:23Z"
"2021-08-17T02:03:23Z"
CONTRIBUTOR
null
- [✔ ] closes https://github.com/pandas-dev/pandas/issues/41575 - [ ✔] tests added / passed - [✔ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41716/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41716/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41716.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41716", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41716.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41716" }
https://api.github.com/repos/pandas-dev/pandas/issues/41717
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41717/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41717/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41717/events
https://github.com/pandas-dev/pandas/pull/41717
906,474,044
MDExOlB1bGxSZXF1ZXN0NjU3NDcwMTA5
41,717
CLN: Deprecate non-keyword arguments in read_table #41485
{ "avatar_url": "https://avatars.githubusercontent.com/u/10183808?v=4", "events_url": "https://api.github.com/users/tegardp/events{/privacy}", "followers_url": "https://api.github.com/users/tegardp/followers", "following_url": "https://api.github.com/users/tegardp/following{/other_user}", "gists_url": "https://api.github.com/users/tegardp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tegardp", "id": 10183808, "login": "tegardp", "node_id": "MDQ6VXNlcjEwMTgzODA4", "organizations_url": "https://api.github.com/users/tegardp/orgs", "received_events_url": "https://api.github.com/users/tegardp/received_events", "repos_url": "https://api.github.com/users/tegardp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tegardp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tegardp/subscriptions", "type": "User", "url": "https://api.github.com/users/tegardp" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-05-29T13:37:49Z"
"2021-05-31T14:52:34Z"
"2021-05-31T14:52:28Z"
CONTRIBUTOR
null
- [x] xref #41485 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41717/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41717/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41717.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41717", "merged_at": "2021-05-31T14:52:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41717.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41717" }
https://api.github.com/repos/pandas-dev/pandas/issues/41718
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41718/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41718/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41718/events
https://github.com/pandas-dev/pandas/pull/41718
906,483,603
MDExOlB1bGxSZXF1ZXN0NjU3NDc3NDMw
41,718
DEPR: Deprecated passing arguments as positional in pd.concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/10183808?v=4", "events_url": "https://api.github.com/users/tegardp/events{/privacy}", "followers_url": "https://api.github.com/users/tegardp/followers", "following_url": "https://api.github.com/users/tegardp/following{/other_user}", "gists_url": "https://api.github.com/users/tegardp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tegardp", "id": 10183808, "login": "tegardp", "node_id": "MDQ6VXNlcjEwMTgzODA4", "organizations_url": "https://api.github.com/users/tegardp/orgs", "received_events_url": "https://api.github.com/users/tegardp/received_events", "repos_url": "https://api.github.com/users/tegardp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tegardp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tegardp/subscriptions", "type": "User", "url": "https://api.github.com/users/tegardp" }
[ { "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
"2021-05-29T14:24:17Z"
"2021-06-07T16:46:28Z"
"2021-06-07T16:46:24Z"
CONTRIBUTOR
null
- [x] xref #41485 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) 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/41718/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41718/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41718.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41718", "merged_at": "2021-06-07T16:46:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41718.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41718" }
https://api.github.com/repos/pandas-dev/pandas/issues/41719
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41719/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41719/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41719/events
https://github.com/pandas-dev/pandas/issues/41719
906,490,784
MDU6SXNzdWU5MDY0OTA3ODQ=
41,719
STYLE disallow assigning to single-letter variable names
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
"2021-05-29T14:59:30Z"
"2021-08-15T21:08:08Z"
"2021-08-15T21:08:08Z"
MEMBER
null
We keep leaving this comment to each other and to contributors in review, so let's add a rule for it PR should be made to https://github.com/pandas-dev/pandas-dev-flaker if anyone wants to give this a go
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41719/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41719/timeline
null
null
null