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/44423 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44423/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44423/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44423/events | https://github.com/pandas-dev/pandas/pull/44423 | 1,052,556,649 | PR_kwDOAA0YD84ue3b1 | 44,423 | BUG: AttributeError: 'BooleanArray' object has no attribute 'sum' while infer types | {
"avatar_url": "https://avatars.githubusercontent.com/u/58493968?v=4",
"events_url": "https://api.github.com/users/zhangxiaoxing/events{/privacy}",
"followers_url": "https://api.github.com/users/zhangxiaoxing/followers",
"following_url": "https://api.github.com/users/zhangxiaoxing/following{/other_user}",
"gists_url": "https://api.github.com/users/zhangxiaoxing/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhangxiaoxing",
"id": 58493968,
"login": "zhangxiaoxing",
"node_id": "MDQ6VXNlcjU4NDkzOTY4",
"organizations_url": "https://api.github.com/users/zhangxiaoxing/orgs",
"received_events_url": "https://api.github.com/users/zhangxiaoxing/received_events",
"repos_url": "https://api.github.com/users/zhangxiaoxing/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhangxiaoxing/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhangxiaoxing/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhangxiaoxing"
} | [] | closed | false | null | [] | null | 0 | "2021-11-13T06:12:28Z" | "2021-11-14T04:10:15Z" | "2021-11-14T04:10:15Z" | CONTRIBUTOR | null | - [x] closes #44079
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44423/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44423/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44423.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44423",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44423.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44423"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44424 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44424/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44424/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44424/events | https://github.com/pandas-dev/pandas/issues/44424 | 1,052,646,495 | I_kwDOAA0YD84-vhxf | 44,424 | ENH: pd.Series.shift and .diff to accept a collection of numbers | {
"avatar_url": "https://avatars.githubusercontent.com/u/4321826?v=4",
"events_url": "https://api.github.com/users/jona-sassenhagen/events{/privacy}",
"followers_url": "https://api.github.com/users/jona-sassenhagen/followers",
"following_url": "https://api.github.com/users/jona-sassenhagen/following{/other_user}",
"gists_url": "https://api.github.com/users/jona-sassenhagen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jona-sassenhagen",
"id": 4321826,
"login": "jona-sassenhagen",
"node_id": "MDQ6VXNlcjQzMjE4MjY=",
"organizations_url": "https://api.github.com/users/jona-sassenhagen/orgs",
"received_events_url": "https://api.github.com/users/jona-sassenhagen/received_events",
"repos_url": "https://api.github.com/users/jona-sassenhagen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jona-sassenhagen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jona-sassenhagen"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "eb6420",
"default": false,
"description": "Non-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": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/75383007?v=4",
"events_url": "https://api.github.com/users/GitChein/events{/privacy}",
"followers_url": "https://api.github.com/users/GitChein/followers",
"following_url": "https://api.github.com/users/GitChein/following{/other_user}",
"gists_url": "https://api.github.com/users/GitChein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GitChein",
"id": 75383007,
"login": "GitChein",
"node_id": "MDQ6VXNlcjc1MzgzMDA3",
"organizations_url": "https://api.github.com/users/GitChein/orgs",
"received_events_url": "https://api.github.com/users/GitChein/received_events",
"repos_url": "https://api.github.com/users/GitChein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GitChein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GitChein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GitChein"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/75383007?v=4",
"events_url": "https://api.github.com/users/GitChein/events{/privacy}",
"followers_url": "https://api.github.com/users/GitChein/followers",
"following_url": "https://api.github.com/users/GitChein/following{/other_user}",
"gists_url": "https://api.github.com/users/GitChein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GitChein",
"id": 75383007,
"login": "GitChein",
"node_id": "MDQ6VXNlcjc1MzgzMDA3",
"organizations_url": "https://api.github.com/users/GitChein/orgs",
"received_events_url": "https://api.github.com/users/GitChein/received_events",
"repos_url": "https://api.github.com/users/GitChein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GitChein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GitChein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GitChein"
}
] | null | 17 | "2021-11-13T10:11:26Z" | "2021-11-19T22:40:20Z" | null | NONE | null | #### Is your feature request related to a problem?
No
#### Describe the solution you'd like
`pd.DataFrame.shift`/`pd.Series.shift` could alternatively accept a list of ints or a collection of numbers, and the result would be a dataframe with one column per shift. This would make it very convenient to e.g. create multiple lagged versions of a column for time series problems.
E.g.,
```
time_series_df[my_time_feature].shift([-3, -2, -1, 0, 1, 2, 3])
```
would give me a dataframe with 7 columns, each shifted versions of `time_series_df[my_time_feature]`.
#### API breaking implications
The first input to `df.shift` would be overloaded to also accept a list of ints.
#### Describe alternatives you've considered
Alternatives are very simple to do, you just iterate over the lags and concatenate or join.
This would just be a handy shortcut.
#### Additional context
I'd in principle be open to implementing this myself, although I've never contributed to pandas. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44424/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44424/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44425 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44425/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44425/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44425/events | https://github.com/pandas-dev/pandas/pull/44425 | 1,052,675,168 | PR_kwDOAA0YD84ufDil | 44,425 | BUG: Using boolean keys to select a column (GH44322) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4",
"events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}",
"followers_url": "https://api.github.com/users/DriesSchaumont/followers",
"following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}",
"gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DriesSchaumont",
"id": 5946712,
"login": "DriesSchaumont",
"node_id": "MDQ6VXNlcjU5NDY3MTI=",
"organizations_url": "https://api.github.com/users/DriesSchaumont/orgs",
"received_events_url": "https://api.github.com/users/DriesSchaumont/received_events",
"repos_url": "https://api.github.com/users/DriesSchaumont/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DriesSchaumont"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-13T12:51:42Z" | "2021-11-15T18:22:59Z" | "2021-11-15T18:22:56Z" | MEMBER | null | - [x] closes #44322
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44425/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44425/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44425.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44425",
"merged_at": "2021-11-15T18:22:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44425.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44425"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44426 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44426/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44426/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44426/events | https://github.com/pandas-dev/pandas/pull/44426 | 1,052,742,627 | PR_kwDOAA0YD84ufPgS | 44,426 | TYP: improve typing for DataFrame.to_string | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 6 | "2021-11-13T18:33:54Z" | "2021-11-18T10:09:52Z" | "2021-11-18T09:38:11Z" | CONTRIBUTOR | null | 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/44426/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44426/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44426.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44426",
"merged_at": "2021-11-18T09:38:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44426.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44426"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44427 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44427/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44427/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44427/events | https://github.com/pandas-dev/pandas/pull/44427 | 1,052,742,769 | PR_kwDOAA0YD84ufPhp | 44,427 | [DOC] Transferring data from the 6th column to the first. #44379 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
} | [
{
"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 | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-11-13T18:34:43Z" | "2021-11-17T19:32:54Z" | null | CONTRIBUTOR | null | Transferring data from the 6th column to the first.
This should resolve issue #44379
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44427/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44427/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44427.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44427",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44427.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44427"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44428 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44428/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44428/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44428/events | https://github.com/pandas-dev/pandas/pull/44428 | 1,052,751,902 | PR_kwDOAA0YD84ufRHZ | 44,428 | BUG: DataFrame with mismatched NA value and dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-13T19:20:24Z" | "2021-11-14T15:20:30Z" | "2021-11-14T02:05:12Z" | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
<s>Also fixed the FloatingArray.equals bug on older numpys</s>no longer needed, so reverted | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44428/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44428/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44428.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44428",
"merged_at": "2021-11-14T02:05:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44428.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44428"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44429 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44429/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44429/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44429/events | https://github.com/pandas-dev/pandas/pull/44429 | 1,052,754,968 | PR_kwDOAA0YD84ufRrr | 44,429 | TST: troubleshoot xfails | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | open | false | null | [] | null | 2 | "2021-11-13T19:34:50Z" | "2021-11-21T00:50:01Z" | null | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44429/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44429/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44429.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44429",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44429.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44429"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44430 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44430/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44430/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44430/events | https://github.com/pandas-dev/pandas/pull/44430 | 1,052,755,468 | PR_kwDOAA0YD84ufRxu | 44,430 | Doc: Clean obj.empty docs to describe Series/DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-13T19:37:30Z" | "2021-11-14T19:41:40Z" | "2021-11-14T02:23:35Z" | MEMBER | null | - [x] closes #42697
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44430/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44430/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44430.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44430",
"merged_at": "2021-11-14T02:23:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44430.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44430"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44431 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44431/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44431/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44431/events | https://github.com/pandas-dev/pandas/pull/44431 | 1,052,758,372 | PR_kwDOAA0YD84ufST_ | 44,431 | BUG: to_datetime/to_timedelta with memoryview | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 4 | "2021-11-13T19:53:27Z" | "2021-11-20T16:16:06Z" | null | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44431/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44431/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44431.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44431",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44431.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44431"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44432 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44432/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44432/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44432/events | https://github.com/pandas-dev/pandas/pull/44432 | 1,052,773,377 | PR_kwDOAA0YD84ufVCh | 44,432 | Fix FloatingArray.equals on older numpy | {
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-13T21:17:18Z" | "2021-11-13T23:26:58Z" | "2021-11-13T23:26:01Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44432/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44432/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44432.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44432",
"merged_at": "2021-11-13T23:26:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44432.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44432"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44433 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44433/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44433/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44433/events | https://github.com/pandas-dev/pandas/issues/44433 | 1,052,774,476 | I_kwDOAA0YD84-wBBM | 44,433 | ENH: pd.Inplace/pd.Copy enum | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "4530B5",
"default": false,
"description": "Relating to inplace parameter or equivalent",
"id": 3498153567,
"name": "inplace",
"node_id": "LA_kwDOAA0YD87QgZZf",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/inplace"
}
] | open | false | null | [] | null | 2 | "2021-11-13T21:23:59Z" | "2021-11-16T16:10:30Z" | null | MEMBER | null | For e.g. `DataFrame.mask`, `inplace=True` can be misleading because it really means "inplace if you don't have to cast, otherwise not inplace". We could be more explicit with an enum like
```
class InPlace(enum.Enum):
only = 0 # never copy; raise instead of casting
attempt = 1 # inplace if you can, cast on fallback
never = 2 # always make a copy
```
I think I've seen numpy discussions on doing something similar, forget which kwarg that was about. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44433/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44433/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44434 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44434/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44434/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44434/events | https://github.com/pandas-dev/pandas/pull/44434 | 1,052,776,190 | PR_kwDOAA0YD84ufVhu | 44,434 | BUG: read_csv and read_fwf not skipping all defined rows when nrows is given | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-13T21:34:27Z" | "2021-11-19T21:31:24Z" | "2021-11-16T00:55:59Z" | MEMBER | null | - [x] closes #44021
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44434/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44434/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44434.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44434",
"merged_at": "2021-11-16T00:55:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44434.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44434"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44435 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44435/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44435/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44435/events | https://github.com/pandas-dev/pandas/pull/44435 | 1,052,777,207 | PR_kwDOAA0YD84ufVtL | 44,435 | REF: simplify putmask_smart | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-13T21:41:14Z" | "2021-11-14T15:11:45Z" | "2021-11-14T02:06:51Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44435/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44435/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44435.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44435",
"merged_at": "2021-11-14T02:06:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44435.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44435"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44436 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44436/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44436/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44436/events | https://github.com/pandas-dev/pandas/pull/44436 | 1,052,782,368 | PR_kwDOAA0YD84ufWzU | 44,436 | TST: remove pyarrow bz2 xfail | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"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"
} | 0 | "2021-11-13T21:48:56Z" | "2021-11-14T15:12:16Z" | "2021-11-14T02:06:11Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44436/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44436/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44436.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44436",
"merged_at": "2021-11-14T02:06:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44436.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44436"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44437 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44437/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44437/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44437/events | https://github.com/pandas-dev/pandas/pull/44437 | 1,052,786,544 | PR_kwDOAA0YD84ufXgF | 44,437 | TST: FIXMES in DataFrame.quantile tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-13T22:13:18Z" | "2021-11-15T07:32:43Z" | "2021-11-14T02:09:07Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
cc @jorisvandenbossche these were introduced in #14536 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44437/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44437/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44437.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44437",
"merged_at": "2021-11-14T02:09:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44437.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44437"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44438 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44438/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44438/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44438/events | https://github.com/pandas-dev/pandas/issues/44438 | 1,052,787,839 | I_kwDOAA0YD84-wER_ | 44,438 | ENH: No numeric_only argument for pandas.core.groupby.GroupBy.rank() | {
"avatar_url": "https://avatars.githubusercontent.com/u/67621470?v=4",
"events_url": "https://api.github.com/users/notBillJames/events{/privacy}",
"followers_url": "https://api.github.com/users/notBillJames/followers",
"following_url": "https://api.github.com/users/notBillJames/following{/other_user}",
"gists_url": "https://api.github.com/users/notBillJames/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/notBillJames",
"id": 67621470,
"login": "notBillJames",
"node_id": "MDQ6VXNlcjY3NjIxNDcw",
"organizations_url": "https://api.github.com/users/notBillJames/orgs",
"received_events_url": "https://api.github.com/users/notBillJames/received_events",
"repos_url": "https://api.github.com/users/notBillJames/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/notBillJames/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/notBillJames/subscriptions",
"type": "User",
"url": "https://api.github.com/users/notBillJames"
} | [
{
"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": "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"
}
] | open | false | null | [] | null | 4 | "2021-11-13T22:21:24Z" | "2021-11-15T05:48:43Z" | null | NONE | null | ### pandas.core.groupby.GroupBy.rank does not have a numeric_only argument like DataFrame.rank()
I have a DataFrame with several statistics from baseball teams across different years. I want to rank each team in each statistic, grouped by season. Every column is numeric, except for the teamID column which is an object type containing the names of each team as a string. My code looks something like this
```python
stats = pd.read_csv('stats.csv')
ranked = stats.groupby('yearID').rank(method='average', ascending=False)
ranked['teamID'] = stats['teamID']
```
Since it is GroupBy.rank() I can't pass the `numeric_only` argument and that means I have to reassign `ranked['teamID']` to the original column. I also cannot do
```python
ranked = stats.groupby(['yearID', 'teamID']).rank(...)
```
because that would give everybody a rank of 1.
Is there a reason that `numeric_only` is included in DataFrame.rank() but not GroupBy.rank(). Could it be added to GroupBy.rank()?
Then I could code it like this, which would be easier.
```python
```python
stats = pd.read_csv('stats.csv')
ranked = stats.groupby('yearID').rank(method='average', ascending=False, numeric_only=False)
```
I am just a hobbyist and so I don't know much about the implementation of these methods which means there may be something I am completely ignoring, or another more efficient way to do it. If so I would appreciate some enlightenment about what I am missing. 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/44438/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44438/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44439 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44439/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44439/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44439/events | https://github.com/pandas-dev/pandas/pull/44439 | 1,052,790,192 | PR_kwDOAA0YD84ufYJj | 44,439 | ENH: Use stacklevel in warnings | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"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"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-13T22:36:28Z" | "2021-11-14T02:38:11Z" | "2021-11-14T02:08:32Z" | MEMBER | null | Part of #44347
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44439/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44439/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44439.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44439",
"merged_at": "2021-11-14T02:08:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44439.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44439"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44440 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44440/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44440/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44440/events | https://github.com/pandas-dev/pandas/pull/44440 | 1,052,799,687 | PR_kwDOAA0YD84ufaAY | 44,440 | DOC: Some minor doc cleanups | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-13T23:16:06Z" | "2021-11-14T19:41:33Z" | "2021-11-14T02:13:44Z" | MEMBER | null | - [x] closes #40362
- [x] closes #44147
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44440/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44440/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44440.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44440",
"merged_at": "2021-11-14T02:13:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44440.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44440"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44441 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44441/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44441/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44441/events | https://github.com/pandas-dev/pandas/pull/44441 | 1,052,806,186 | PR_kwDOAA0YD84ufbIr | 44,441 | BLD: Exclude CPT data files | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-14T00:03:35Z" | "2021-11-14T04:41:46Z" | "2021-11-14T02:11:15Z" | MEMBER | null | xref #44300. Since that added a .cpt data file, we should also exclude it from the manifest.
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44441/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44441/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44441.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44441",
"merged_at": "2021-11-14T02:11:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44441.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44441"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44442 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44442/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44442/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44442/events | https://github.com/pandas-dev/pandas/pull/44442 | 1,052,841,201 | PR_kwDOAA0YD84ufhVn | 44,442 | BUG: AttributeError: 'BooleanArray' object has no attribute 'sum' while infer types #44079 | {
"avatar_url": "https://avatars.githubusercontent.com/u/58493968?v=4",
"events_url": "https://api.github.com/users/zhangxiaoxing/events{/privacy}",
"followers_url": "https://api.github.com/users/zhangxiaoxing/followers",
"following_url": "https://api.github.com/users/zhangxiaoxing/following{/other_user}",
"gists_url": "https://api.github.com/users/zhangxiaoxing/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhangxiaoxing",
"id": 58493968,
"login": "zhangxiaoxing",
"node_id": "MDQ6VXNlcjU4NDkzOTY4",
"organizations_url": "https://api.github.com/users/zhangxiaoxing/orgs",
"received_events_url": "https://api.github.com/users/zhangxiaoxing/received_events",
"repos_url": "https://api.github.com/users/zhangxiaoxing/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhangxiaoxing/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhangxiaoxing/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhangxiaoxing"
} | [
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-14T04:11:49Z" | "2021-11-20T15:59:00Z" | "2021-11-20T15:58:54Z" | CONTRIBUTOR | null | - [x] closes #44079
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44442/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44442/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44442.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44442",
"merged_at": "2021-11-20T15:58:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44442.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44442"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44443 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44443/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44443/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44443/events | https://github.com/pandas-dev/pandas/pull/44443 | 1,052,847,174 | PR_kwDOAA0YD84ufiXA | 44,443 | COMPAT: Python 3.9.8 | {
"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": "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": "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": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 3 | "2021-11-14T04:59:24Z" | "2021-11-14T14:13:28Z" | "2021-11-14T10:48:44Z" | MEMBER | null | Please see bpo 20028. https://github.com/python/cpython/pull/28705.
This breaks our nightlies, but doesn't on regular CI. It should show up pretty soon in regular CI, once the conda-forge folks add it.
This means unfortuanately that I have no way to test this.
Can someone with with the perms on the MacPython repo please trigger the nightlies manually to see if that fixes the builds after this? Thanks.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44443/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44443/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44443.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44443",
"merged_at": "2021-11-14T10:48:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44443.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44443"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44444 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44444/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44444/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44444/events | https://github.com/pandas-dev/pandas/pull/44444 | 1,052,907,119 | PR_kwDOAA0YD84ufs6l | 44,444 | Backport PR #44443 on branch 1.3.x (COMPAT: Python 3.9.8) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "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": "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": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 0 | "2021-11-14T10:49:57Z" | "2021-11-14T11:53:49Z" | "2021-11-14T11:53:48Z" | NONE | null | Backport PR #44443: COMPAT: Python 3.9.8 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44444/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44444/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44444.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44444",
"merged_at": "2021-11-14T11:53:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44444.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44444"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44445 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44445/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44445/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44445/events | https://github.com/pandas-dev/pandas/pull/44445 | 1,052,927,955 | PR_kwDOAA0YD84ufwwb | 44,445 | ENH: Infer inner file name of zip archive (GH39465) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2641501?v=4",
"events_url": "https://api.github.com/users/MarcelGerber/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcelGerber/followers",
"following_url": "https://api.github.com/users/MarcelGerber/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcelGerber/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcelGerber",
"id": 2641501,
"login": "MarcelGerber",
"node_id": "MDQ6VXNlcjI2NDE1MDE=",
"organizations_url": "https://api.github.com/users/MarcelGerber/orgs",
"received_events_url": "https://api.github.com/users/MarcelGerber/received_events",
"repos_url": "https://api.github.com/users/MarcelGerber/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcelGerber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcelGerber/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcelGerber"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 5 | "2021-11-14T12:32:35Z" | "2021-11-17T06:48:35Z" | "2021-11-17T02:09:41Z" | CONTRIBUTOR | null | relevant for `DataFrame.to_csv` and `Series.to_csv` with `compression='zip'`
- [x] closes #39465
- also relevant for #26023
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
This fix is similar-in-spirit to #40387, which has been abandoned.
## Before / After
```py
from pandas import pd
df = pd.DataFrame()
df.to_csv('../test.csv.zip')
```
### Before
```
> unzip -l test.csv.zip
Archive: test.csv.zip
Length Date Time Name
--------- ---------- ----- ----
3 2021-11-14 13:39 ../test.csv.zip
--------- -------
3 1 file
```
Notice the `..` in the path - bad! And, of course, that the file _inside_ the zip file is also called `test.csv.zip`.
### After
```
> unzip -l test.csv.zip
Archive: test.csv.zip
Length Date Time Name
--------- ---------- ----- ----
3 2021-11-14 13:44 test.csv
--------- -------
3 1 file
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44445/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44445/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44445.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44445",
"merged_at": "2021-11-17T02:09:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44445.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44445"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44446 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44446/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44446/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44446/events | https://github.com/pandas-dev/pandas/pull/44446 | 1,052,949,902 | PR_kwDOAA0YD84uf0yd | 44,446 | Added "." on to check_dtype and obj parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4",
"events_url": "https://api.github.com/users/Varun270/events{/privacy}",
"followers_url": "https://api.github.com/users/Varun270/followers",
"following_url": "https://api.github.com/users/Varun270/following{/other_user}",
"gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Varun270",
"id": 75975268,
"login": "Varun270",
"node_id": "MDQ6VXNlcjc1OTc1MjY4",
"organizations_url": "https://api.github.com/users/Varun270/orgs",
"received_events_url": "https://api.github.com/users/Varun270/received_events",
"repos_url": "https://api.github.com/users/Varun270/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varun270/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Varun270"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-11-14T14:13:42Z" | "2021-11-15T14:56:55Z" | "2021-11-15T14:46:18Z" | CONTRIBUTOR | null | - [] closes #xxxx
- [] tests added / passed
- [] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [] whatsnew entry
From #28602
`pandas.testing.assert_categorical_equal: Parameter "check_dtype" description should finish with "."
pandas.testing.assert_categorical_equal: Parameter "obj" description should finish with "."` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44446/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44446/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44446.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44446",
"merged_at": "2021-11-15T14:46:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44446.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44446"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44447 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44447/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44447/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44447/events | https://github.com/pandas-dev/pandas/pull/44447 | 1,052,950,649 | PR_kwDOAA0YD84uf06v | 44,447 | DOC: Remove use of as_type for PeriodIndex to DatetimeIndex conversion | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-14T14:17:07Z" | "2021-11-14T16:28:49Z" | "2021-11-14T16:21:58Z" | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
Followup to #44398. Should get docs build to green. cc @jbrockmendel

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44447/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44447/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44447.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44447",
"merged_at": "2021-11-14T16:21:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44447.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44447"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44448 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44448/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44448/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44448/events | https://github.com/pandas-dev/pandas/pull/44448 | 1,052,953,755 | PR_kwDOAA0YD84uf1fX | 44,448 | CI/TST Removed Timestamp.now() from tests. #44341 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | 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"
} | 7 | "2021-11-14T14:30:19Z" | "2021-11-17T17:06:45Z" | "2021-11-16T00:02:18Z" | CONTRIBUTOR | null | Removed Timestamp.now() from tests. #44341
Replaced Timestamp.now () with pd.Timestamp (2021, 1, 1, 12) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44448/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44448/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44448.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44448",
"merged_at": "2021-11-16T00:02:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44448.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44448"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44449 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44449/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44449/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44449/events | https://github.com/pandas-dev/pandas/pull/44449 | 1,052,963,942 | PR_kwDOAA0YD84uf3Y4 | 44,449 | TST: check_stacklevel=True in various tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "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": "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"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-14T15:13:14Z" | "2021-11-14T16:32:41Z" | "2021-11-14T16:32:38Z" | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44449/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44449/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44449.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44449",
"merged_at": "2021-11-14T16:32:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44449.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44449"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44450 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44450/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44450/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44450/events | https://github.com/pandas-dev/pandas/issues/44450 | 1,052,982,351 | I_kwDOAA0YD84-wzxP | 44,450 | CI: benchmark build is taking a long time | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-11-14T16:33:34Z" | "2021-11-16T16:20:12Z" | null | CONTRIBUTOR | null | xref https://github.com/pandas-dev/pandas/runs/4204157179?check_suite_focus=true
have seen this on multiple PRs. Maybe something recently added causes this to timeout. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44450/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44450/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44451 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44451/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44451/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44451/events | https://github.com/pandas-dev/pandas/pull/44451 | 1,053,009,796 | PR_kwDOAA0YD84uf_ux | 44,451 | WARN: Add FutureWarning to `DataFrame.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"
} | [] | open | false | null | [] | null | 1 | "2021-11-14T18:38:33Z" | "2021-11-16T18:53:06Z" | null | CONTRIBUTOR | null | This follows #44411 and has the same purpose. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44451/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44451/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44451.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44451",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44451.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44451"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44452 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44452/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44452/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44452/events | https://github.com/pandas-dev/pandas/pull/44452 | 1,053,012,570 | PR_kwDOAA0YD84ugANU | 44,452 | Revert "CI: xfail tests failing on numpy dev" | {
"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"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 3 | "2021-11-14T18:51:57Z" | "2021-11-15T12:38:02Z" | "2021-11-15T12:12:19Z" | MEMBER | null | Reverts pandas-dev/pandas#44362
closes #44343 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44452/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44452/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44452.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44452",
"merged_at": "2021-11-15T12:12:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44452.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44452"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44453 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44453/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44453/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44453/events | https://github.com/pandas-dev/pandas/issues/44453 | 1,053,015,132 | I_kwDOAA0YD84-w7xc | 44,453 | BLD: remove support for 32 bit | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "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": "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": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] | open | false | null | [] | null | 9 | "2021-11-14T19:03:22Z" | "2021-11-17T02:29:01Z" | null | CONTRIBUTOR | null | seems microsoft has removed support starting 3.10 (as is numpy)
we should do the same | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44453/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44453/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44454 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44454/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44454/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44454/events | https://github.com/pandas-dev/pandas/pull/44454 | 1,053,017,094 | PR_kwDOAA0YD84ugBBz | 44,454 | DOC: substitute multiple entries for `subset` in `style.py` | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-14T19:12:29Z" | "2021-11-20T21:21:40Z" | "2021-11-20T21:21:37Z" | CONTRIBUTOR | null | as described
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44454/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44454/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44454.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44454",
"merged_at": "2021-11-20T21:21:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44454.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44454"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44455 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44455/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44455/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44455/events | https://github.com/pandas-dev/pandas/pull/44455 | 1,053,065,414 | PR_kwDOAA0YD84ugJ3z | 44,455 | CLN: TODOs and FIXMEs | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-14T23:02:00Z" | "2021-11-16T00:22:03Z" | "2021-11-16T00:02:44Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44455/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44455/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44455.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44455",
"merged_at": "2021-11-16T00:02:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44455.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44455"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44456 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44456/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44456/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44456/events | https://github.com/pandas-dev/pandas/pull/44456 | 1,053,096,082 | PR_kwDOAA0YD84ugP96 | 44,456 | TST: Troubleshoot windows timeouts | {
"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"
} | [] | open | false | null | [] | null | 2 | "2021-11-15T00:50:49Z" | "2021-11-21T02:11:26Z" | null | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44456/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44456/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44456.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44456",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44456.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44456"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44457 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44457/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44457/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44457/events | https://github.com/pandas-dev/pandas/pull/44457 | 1,053,136,332 | PR_kwDOAA0YD84ugYbz | 44,457 | REF: dont dispatch Block.putmask to Block.where | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-15T02:12:23Z" | "2021-11-20T21:27:49Z" | "2021-11-20T21:15:15Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44457/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44457/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44457.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44457",
"merged_at": "2021-11-20T21:15:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44457.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44457"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44458 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44458/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44458/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44458/events | https://github.com/pandas-dev/pandas/issues/44458 | 1,053,151,461 | I_kwDOAA0YD84-xdDl | 44,458 | BUG: groupby 2 column then can't set value on multiple columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/1652685?v=4",
"events_url": "https://api.github.com/users/cdarlint/events{/privacy}",
"followers_url": "https://api.github.com/users/cdarlint/followers",
"following_url": "https://api.github.com/users/cdarlint/following{/other_user}",
"gists_url": "https://api.github.com/users/cdarlint/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cdarlint",
"id": 1652685,
"login": "cdarlint",
"node_id": "MDQ6VXNlcjE2NTI2ODU=",
"organizations_url": "https://api.github.com/users/cdarlint/orgs",
"received_events_url": "https://api.github.com/users/cdarlint/received_events",
"repos_url": "https://api.github.com/users/cdarlint/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cdarlint/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cdarlint/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cdarlint"
} | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | "2021-11-15T02:44:11Z" | "2021-11-15T02:55:40Z" | "2021-11-15T02:55:40Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
def f(df):
f'{df}'
df[['c', 'd']]=np.zeros([len(df),2])
df=pd.DataFrame([[1,2],[1,3]],columns=['a','b'])
dfg=df.groupby(['a','b']).apply(f)
```
### Issue Description
1) groupby 2 columns and "apply" a function
2) set value to multiple columns in this "apply" function
3) in the second group invoking this "apply" function, on access of input df, it report an error:
```Length of values (2) does not match length of index (4)```
### Expected Behavior
groupby apply function should not keep changes of index into next iteration
### Installed Versions
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.9.7.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 : zh_CN
LOCALE : Chinese (Simplified)_China.936
pandas : 1.3.4
numpy : 1.21.3
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 57.4.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.29.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44458/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44458/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44459 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44459/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44459/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44459/events | https://github.com/pandas-dev/pandas/pull/44459 | 1,053,156,667 | PR_kwDOAA0YD84ugciW | 44,459 | BUG: Series/Index arithmetic result names with NAs | {
"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": "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": "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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | 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-11-15T02:57:34Z" | "2021-11-20T17:30:54Z" | "2021-11-20T15:55:56Z" | MEMBER | null | - [x] closes #39757
- [x] closes #22041
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44459/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44459/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44459.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44459",
"merged_at": "2021-11-20T15:55:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44459.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44459"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44460 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44460/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44460/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44460/events | https://github.com/pandas-dev/pandas/pull/44460 | 1,053,209,786 | PR_kwDOAA0YD84ugnnP | 44,460 | ENH: don't silently ignore dtype in NaT/Timestamp/Timedelta to_numpy | {
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-15T04:43:04Z" | "2021-11-15T15:25:09Z" | "2021-11-15T13:58:31Z" | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44460/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44460/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44460.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44460",
"merged_at": "2021-11-15T13:58:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44460.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44460"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44461 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44461/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44461/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44461/events | https://github.com/pandas-dev/pandas/pull/44461 | 1,053,213,544 | PR_kwDOAA0YD84ugoXU | 44,461 | ENH: Add numba engine to rolling/expanding.std/var | {
"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": "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 | 1 | "2021-11-15T04:53:02Z" | "2021-11-21T05:16:42Z" | null | MEMBER | null | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44461/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44461/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44461.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44461",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44461.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44461"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44462 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44462/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44462/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44462/events | https://github.com/pandas-dev/pandas/pull/44462 | 1,053,268,891 | PR_kwDOAA0YD84ugz9e | 44,462 | DataFrame.rename renames wrong elements | {
"avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4",
"events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}",
"followers_url": "https://api.github.com/users/DriesSchaumont/followers",
"following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}",
"gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DriesSchaumont",
"id": 5946712,
"login": "DriesSchaumont",
"node_id": "MDQ6VXNlcjU5NDY3MTI=",
"organizations_url": "https://api.github.com/users/DriesSchaumont/orgs",
"received_events_url": "https://api.github.com/users/DriesSchaumont/received_events",
"repos_url": "https://api.github.com/users/DriesSchaumont/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DriesSchaumont"
} | [
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-15T06:33:54Z" | "2021-11-15T13:55:29Z" | "2021-11-15T13:55:26Z" | MEMBER | null | - [x] closes #4980
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44462/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44462/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44462.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44462",
"merged_at": "2021-11-15T13:55:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44462.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44462"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44463 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44463/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44463/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44463/events | https://github.com/pandas-dev/pandas/pull/44463 | 1,053,319,137 | PR_kwDOAA0YD84ug-Yt | 44,463 | DEV: add note to update cython version in environment.yml and asv conf as well | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 0 | "2021-11-15T07:48:31Z" | "2021-11-15T09:49:53Z" | "2021-11-15T09:39:10Z" | MEMBER | null | Seeing https://github.com/pandas-dev/pandas/pull/44359, this seems a good idea to remember the next time cython version is bumped | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44463/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44463/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44463.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44463",
"merged_at": "2021-11-15T09:39:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44463.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44463"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44464 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44464/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44464/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44464/events | https://github.com/pandas-dev/pandas/pull/44464 | 1,053,339,421 | PR_kwDOAA0YD84uhCh4 | 44,464 | CI: publish benchmarks log as artifact | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] | open | false | null | [] | null | 4 | "2021-11-15T08:13:34Z" | "2021-11-16T12:16:54Z" | null | MEMBER | null | To check the benchmarks timings for https://github.com/pandas-dev/pandas/issues/44450 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44464/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44464/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44464.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44464",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44464.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44464"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44465 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44465/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44465/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44465/events | https://github.com/pandas-dev/pandas/issues/44465 | 1,053,421,954 | I_kwDOAA0YD84-yfGC | 44,465 | BUG: get_indexer_non_unique() does not always handle NaNs correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4",
"events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}",
"followers_url": "https://api.github.com/users/johannes-mueller/followers",
"following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}",
"gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johannes-mueller",
"id": 5902745,
"login": "johannes-mueller",
"node_id": "MDQ6VXNlcjU5MDI3NDU=",
"organizations_url": "https://api.github.com/users/johannes-mueller/orgs",
"received_events_url": "https://api.github.com/users/johannes-mueller/received_events",
"repos_url": "https://api.github.com/users/johannes-mueller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johannes-mueller"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | "2021-11-15T09:42:01Z" | "2021-11-16T12:20:02Z" | "2021-11-16T12:20:02Z" | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
idx_no_nan = pd.Index([1, 2], dtype=np.float64)
idx_nan = pd.Index([1, 2, np.nan])
print("dtype=np.float64")
target = pd.Index([1, np.nan], dtype=np.float64)
print(idx_no_nan.get_indexer(target))
print(idx_no_nan.get_indexer_non_unique(target))
print(idx_nan.get_indexer(target))
print(idx_nan.get_indexer_non_unique(target))
print("dtype='object'")
target = pd.Index([1, np.nan], dtype='object')
print(idx_no_nan.get_indexer(target))
print(idx_no_nan.get_indexer_non_unique(target))
print(idx_nan.get_indexer(target))
print(idx_nan.get_indexer_non_unique(target))
```
### Issue Description
Annotated script output
```
dtype=np.float64
[ 0 -1]
(array([ 0, -1]), array([1])) # ← expected
[0 2]
(array([ 0, -1]), array([1])) # ← would expect (array([0, 2]), array([], dtype=int64)
dtype='object'
[ 0 -1]
(array([0, 0, 1]), array([], dtype=int64)) # ← would expect (array([0, -1]), array([1]))
[0 2]
(array([0, 2]), array([], dtype=int64) # ← expected
```
### Expected Behavior
As the indexes and the targets are unique I would expect the output of `get_indexer()` and `get_indexer_non_unique()` to be equivalent.
```
dtype=np.float64
[ 0 -1]
(array([ 0, -1]), array([1]))
[0 2]
(array([0, 2]), array([], dtype=int64)
dtype='object'
[ 0 -1]
(array([0, -1]), array([1]))
[0 2]
(array([0, 2]), array([], dtype=int64)
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : a07561e5a33b78cb54d163e81dd7a4444ca41554
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-90-lowlatency
Version : #101-Ubuntu SMP PREEMPT Fri Oct 15 20:57:56 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 1.4.0.dev0+1117.ga07561e5a3
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 58.5.3
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.24.2
sphinx : 4.2.0
blosc : None
feather : None
xlsxwriter : 3.0.2
lxml.etree : 4.6.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.23.1
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fsspec : 2021.11.0
fastparquet : 0.7.1
gcsfs : 2021.11.0
matplotlib : 3.4.3
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 6.0.0
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.26
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44465/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44465/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44466 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44466/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44466/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44466/events | https://github.com/pandas-dev/pandas/pull/44466 | 1,053,518,834 | PR_kwDOAA0YD84uhoQc | 44,466 | BUG: fix timedelta floordiv with scalar float | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-15T10:53:10Z" | "2021-11-15T15:33:58Z" | "2021-11-15T15:06:51Z" | MEMBER | null | Discovered while trying to fix test failures in https://github.com/pandas-dev/pandas/pull/40482. Currently normal division with a float scalar works, but floordiv doesn't (returns garbage):
```
In [42]: arr = pd.timedelta_range(0, periods=3)
In [43]: pd.Series(arr) / 2.0
Out[43]:
0 0 days 00:00:00
1 0 days 12:00:00
2 1 days 00:00:00
dtype: timedelta64[ns]
In [44]: pd.Series(arr) // 2.0
Out[44]:
0 0 days 00:00:00
1 55681 days 08:53:22.404319232
2 55733 days 11:53:22.031689728
dtype: timedelta64[ns]
In [45]: pd.__version__
Out[45]: '1.3.3'
```
It's only the scalar case; dividing with eg float array already works:
```
In [46]: pd.Series(arr) // np.array([2.0]*3)
Out[46]:
0 0 days 00:00:00
1 0 days 12:00:00
2 1 days 00:00:00
dtype: timedelta64[ns]
```
I suppose the current code uses the workaround of `asi8` and casting back to timedelta, because numpy didn't support floordiv in the past (didn't check which version started to implement this, will see what CI says)
- [ ] 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/44466/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44466/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44466.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44466",
"merged_at": "2021-11-15T15:06:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44466.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44466"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44467 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44467/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44467/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44467/events | https://github.com/pandas-dev/pandas/issues/44467 | 1,053,588,597 | I_kwDOAA0YD84-zHx1 | 44,467 | ENH: Implement reading the output of a MDX query into a dataframe. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1655105?v=4",
"events_url": "https://api.github.com/users/jachymb/events{/privacy}",
"followers_url": "https://api.github.com/users/jachymb/followers",
"following_url": "https://api.github.com/users/jachymb/following{/other_user}",
"gists_url": "https://api.github.com/users/jachymb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jachymb",
"id": 1655105,
"login": "jachymb",
"node_id": "MDQ6VXNlcjE2NTUxMDU=",
"organizations_url": "https://api.github.com/users/jachymb/orgs",
"received_events_url": "https://api.github.com/users/jachymb/received_events",
"repos_url": "https://api.github.com/users/jachymb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jachymb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jachymb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jachymb"
} | [
{
"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": "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"
}
] | open | false | null | [] | null | 4 | "2021-11-15T12:06:03Z" | "2021-11-21T04:23:28Z" | null | NONE | null | #### Is your feature request related to a problem?
This may be a quite big thing. But I's like pandas to be able to execute a MDX query to an OLAP server and read the results into a DataFrame.
#### Describe the solution you'd like
I imagine there could be a function similar to pd.read_sql
#### API breaking implications
May require a new library as a pandas dependency?
#### Describe alternatives you've considered
It's possible to actually embed a MDX query into a SQL and simply use read_sql. It's also possible to use a library like adodbapi and transform the output into a DataFrame myself. But both feel kind of cumbersome.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44467/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44467/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44468 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44468/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44468/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44468/events | https://github.com/pandas-dev/pandas/pull/44468 | 1,053,597,022 | PR_kwDOAA0YD84uh4ry | 44,468 | TYP/CLN: remove defaults from overloads | {
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-15T12:14:08Z" | "2021-11-15T14:32:51Z" | "2021-11-15T13:52:06Z" | MEMBER | null | 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/44468/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44468/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44468.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44468",
"merged_at": "2021-11-15T13:52:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44468.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44468"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44469 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44469/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44469/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44469/events | https://github.com/pandas-dev/pandas/pull/44469 | 1,053,617,997 | PR_kwDOAA0YD84uh9EH | 44,469 | Backport PR #44452: Revert "CI: xfail tests failing on numpy dev" | {
"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": "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 | [] | {
"closed_at": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 0 | "2021-11-15T12:36:48Z" | "2021-11-15T13:39:35Z" | "2021-11-15T13:39:31Z" | MEMBER | null | Backport PR #44452 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44469/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44469/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44469.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44469",
"merged_at": "2021-11-15T13:39:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44469.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44469"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44470 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44470/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44470/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44470/events | https://github.com/pandas-dev/pandas/issues/44470 | 1,053,772,149 | I_kwDOAA0YD84-z0l1 | 44,470 | BUG: Segmentation-fault during a "custom" rolling operation | {
"avatar_url": "https://avatars.githubusercontent.com/u/4324329?v=4",
"events_url": "https://api.github.com/users/erezinman/events{/privacy}",
"followers_url": "https://api.github.com/users/erezinman/followers",
"following_url": "https://api.github.com/users/erezinman/following{/other_user}",
"gists_url": "https://api.github.com/users/erezinman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erezinman",
"id": 4324329,
"login": "erezinman",
"node_id": "MDQ6VXNlcjQzMjQzMjk=",
"organizations_url": "https://api.github.com/users/erezinman/orgs",
"received_events_url": "https://api.github.com/users/erezinman/received_events",
"repos_url": "https://api.github.com/users/erezinman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erezinman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erezinman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erezinman"
} | [
{
"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": "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"
},
{
"color": "36ede0",
"default": false,
"description": "Non-Recoverable Error",
"id": 1121248195,
"name": "Segfault",
"node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault"
}
] | 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"
} | 8 | "2021-11-15T15:07:54Z" | "2021-11-20T16:08:53Z" | "2021-11-20T16:08:53Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
from pandas.core.window.indexers import BaseIndexer
from typing import Union, Tuple, Optional
import numpy as np
import pandas as pd
class RollingFixedOffsetVariableWindowIndexer(BaseIndexer):
def get_window_bounds(self, num_values: int = 0, min_periods: Optional[int] = None, center: Optional[bool] = None,
closed: Optional[str] = None) -> Tuple[np.ndarray, np.ndarray]:
# Every hour
start = np.arange(0, num_values, 60 * 60)
# Every hour + day
end = start + 60 * 60 * 24
return start, end
ser = pd.Series(np.arange(100000), index=pd.date_range(start='2020', freq='1s', periods=100000))
idxr = RollingFixedOffsetVariableWindowIndexer(window_size=60 * 60 * 24)
out = ser.rolling(idxr, min_periods=10).mean()
```
### Issue Description
(Maybe related to #43267 ? Couldn't tell.)
I'm trying to create a custom `BaseIndexer` for a `.rolling` operation. The extraction of the window is quick and efficient, yet when I attempt to perform various operations on it I get the seg-fault error:
> Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
I have created an MWE for this behavior using a fixed-indexer (that carries the same name). The original indexer was supposed to produce a rolling-operation with overlaps, so the above indexer is similar in the sense that it creates a 1-day windows 1-hour apart for a one-second index.
### Expected Behavior
Hmmm... Not to have a seg-fault error?
### Installed Versions
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.8.9.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-77-generic
Version : #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 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.4
numpy : 1.18.5
pytz : 2018.3
dateutil : 2.8.1
pip : 21.1.3
setuptools : 57.4.0
Cython : None
pytest : 6.2.2
hypothesis : None
sphinx : 3.5.3
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 0.999999999
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : None
pandas_datareader: None
bs4 : 4.6.0
bottleneck : None
fsspec : 0.8.7
fastparquet : None
gcsfs : None
matplotlib : 3.1.3
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : 3.6.1
tabulate : 0.8.9
xarray : None
xlrd : 1.2.0
xlwt : None
numba : None
None
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44470/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44470/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44471 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44471/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44471/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44471/events | https://github.com/pandas-dev/pandas/pull/44471 | 1,053,801,680 | PR_kwDOAA0YD84uijRC | 44,471 | BUG: fix timedelta floordiv with scalar float (correction of #44466) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | 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"
} | 7 | "2021-11-15T15:33:16Z" | "2021-11-18T18:59:54Z" | "2021-11-18T18:59:51Z" | MEMBER | null | Follow-up on https://github.com/pandas-dev/pandas/pull/44466#discussion_r749430496
I still need to add a test that would actually catch 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/44471/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44471/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44471.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44471",
"merged_at": "2021-11-18T18:59:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44471.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44471"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44472 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44472/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44472/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44472/events | https://github.com/pandas-dev/pandas/pull/44472 | 1,053,836,228 | PR_kwDOAA0YD84uiqSp | 44,472 | BUG: inconsistent behaviour when grouping a populated dataframe and a… | {
"avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4",
"events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}",
"followers_url": "https://api.github.com/users/DriesSchaumont/followers",
"following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}",
"gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DriesSchaumont",
"id": 5946712,
"login": "DriesSchaumont",
"node_id": "MDQ6VXNlcjU5NDY3MTI=",
"organizations_url": "https://api.github.com/users/DriesSchaumont/orgs",
"received_events_url": "https://api.github.com/users/DriesSchaumont/received_events",
"repos_url": "https://api.github.com/users/DriesSchaumont/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DriesSchaumont"
} | [] | closed | false | null | [] | null | 0 | "2021-11-15T16:06:02Z" | "2021-11-15T17:46:14Z" | "2021-11-15T17:46:10Z" | MEMBER | null | …n empty dataframe in terms of index naming
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44472/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44472/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44472.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44472",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44472.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44472"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44473 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44473/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44473/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44473/events | https://github.com/pandas-dev/pandas/issues/44473 | 1,053,976,773 | I_kwDOAA0YD84-0mjF | 44,473 | BUG: Values in pivot table that aren't in original df | {
"avatar_url": "https://avatars.githubusercontent.com/u/64660988?v=4",
"events_url": "https://api.github.com/users/mkemorgn/events{/privacy}",
"followers_url": "https://api.github.com/users/mkemorgn/followers",
"following_url": "https://api.github.com/users/mkemorgn/following{/other_user}",
"gists_url": "https://api.github.com/users/mkemorgn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mkemorgn",
"id": 64660988,
"login": "mkemorgn",
"node_id": "MDQ6VXNlcjY0NjYwOTg4",
"organizations_url": "https://api.github.com/users/mkemorgn/orgs",
"received_events_url": "https://api.github.com/users/mkemorgn/received_events",
"repos_url": "https://api.github.com/users/mkemorgn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mkemorgn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mkemorgn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mkemorgn"
} | [
{
"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 | 0 | "2021-11-15T18:28:32Z" | "2021-11-15T21:50:26Z" | "2021-11-15T21:50: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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
df = pd.read_csv('filtered1.csv')
df = df.pivot_table(
index='X', columns='Y', values='T').reset_index()
df
```
### Issue Description
Some of the values in the pivot table aren't in the file used.
I attached the file I'm using and a screenshot of my current output
[filtered1.csv](https://github.com/pandas-dev/pandas/files/7540864/filtered1.csv)

### Expected Behavior
I should get a pivot table with only the values in the file.
### Installed Versions
<details>
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.9.7.final.0
python-bits : 64
OS : Linux
OS-release : 5.15.2-zen1-1-zen
Version : #1 ZEN SMP PREEMPT Fri, 12 Nov 2021 19:22:07 +0000
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.21.0
pytz : 2021.3
dateutil : 2.8.2
pip : 20.3.4
setuptools : 57.4.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.29.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : 1.4.25
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44473/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44473/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44474 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44474/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44474/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44474/events | https://github.com/pandas-dev/pandas/pull/44474 | 1,053,983,086 | PR_kwDOAA0YD84ujIc1 | 44,474 | BUG: Tick + np.timedelta64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-15T18:36:51Z" | "2021-11-16T00:19:31Z" | "2021-11-16T00:07:26Z" | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Looks like a pass to de-duplicate the test_business_day and test_custom_business_day files would be worthwhile | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44474/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44474/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44474.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44474",
"merged_at": "2021-11-16T00:07:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44474.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44474"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44475 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44475/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44475/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44475/events | https://github.com/pandas-dev/pandas/pull/44475 | 1,054,069,366 | PR_kwDOAA0YD84ujZ-r | 44,475 | REF: rolling benchmarks to reduce redundant benchmarks | {
"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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
},
{
"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 | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-15T20:25:34Z" | "2021-11-16T06:26:29Z" | "2021-11-15T23:57:08Z" | MEMBER | null | xref https://github.com/pandas-dev/pandas/issues/44450
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
Some of the current `param` definitions are causing the same benchmark to run more than once without changes. Reorganizing the benchmarks such that the `param` combinations avoid the redundancy.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44475/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44475/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44475.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44475",
"merged_at": "2021-11-15T23:57:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44475.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44475"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44476 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44476/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44476/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44476/events | https://github.com/pandas-dev/pandas/pull/44476 | 1,054,075,810 | PR_kwDOAA0YD84ujbPm | 44,476 | TST: flaky gcs compression test | {
"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-11-15T20:34:04Z" | "2021-11-15T22:01:40Z" | "2021-11-15T22:01:37Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Bit of a shot in the dark. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44476/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44476/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44476.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44476",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44476.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44476"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44477 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44477/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44477/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44477/events | https://github.com/pandas-dev/pandas/issues/44477 | 1,054,270,484 | I_kwDOAA0YD84-1uQU | 44,477 | CI/ASV: create separate benchmarks build | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-15T23:59:31Z" | "2021-11-15T23:59:31Z" | null | CONTRIBUTOR | null | i think this is worth it to make the Check build very fast and then this build (at 30m is ok)
xref #44450 | {
"+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/44477/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44477/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44478 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44478/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44478/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44478/events | https://github.com/pandas-dev/pandas/pull/44478 | 1,054,336,316 | PR_kwDOAA0YD84ukHRD | 44,478 | avoid a warning by PyTypeChecker | {
"avatar_url": "https://avatars.githubusercontent.com/u/24448028?v=4",
"events_url": "https://api.github.com/users/foreverseer/events{/privacy}",
"followers_url": "https://api.github.com/users/foreverseer/followers",
"following_url": "https://api.github.com/users/foreverseer/following{/other_user}",
"gists_url": "https://api.github.com/users/foreverseer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/foreverseer",
"id": 24448028,
"login": "foreverseer",
"node_id": "MDQ6VXNlcjI0NDQ4MDI4",
"organizations_url": "https://api.github.com/users/foreverseer/orgs",
"received_events_url": "https://api.github.com/users/foreverseer/received_events",
"repos_url": "https://api.github.com/users/foreverseer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/foreverseer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/foreverseer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/foreverseer"
} | [] | closed | false | null | [] | null | 5 | "2021-11-16T01:32:06Z" | "2021-11-16T20:43:47Z" | "2021-11-16T20:43:46Z" | NONE | null | NDFrame.to_csv(str) got a warning by PyTypeChecker, "Expected type 'None', got 'str' instead"
use typing.Union to combine type "FilePathOrBuffer[AnyStr]" and "None", instead of " | " can avoid it.

- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44478/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44478/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44478.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44478",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44478.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44478"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44479 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44479/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44479/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44479/events | https://github.com/pandas-dev/pandas/pull/44479 | 1,054,400,940 | PR_kwDOAA0YD84ukUWd | 44,479 | CLN: TODOs and FIXMEs | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-16T03:28:35Z" | "2021-11-17T02:42:20Z" | "2021-11-17T02:04:46Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
We have to run out of these eventually, right? right? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44479/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44479/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44479.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44479",
"merged_at": "2021-11-17T02:04:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44479.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44479"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44480 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44480/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44480/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44480/events | https://github.com/pandas-dev/pandas/pull/44480 | 1,054,429,220 | PR_kwDOAA0YD84ukaHN | 44,480 | DOC: df.to_html documentation incorrectly contains min_rows optional param (release note) | {
"avatar_url": "https://avatars.githubusercontent.com/u/52484416?v=4",
"events_url": "https://api.github.com/users/loicdiridollou/events{/privacy}",
"followers_url": "https://api.github.com/users/loicdiridollou/followers",
"following_url": "https://api.github.com/users/loicdiridollou/following{/other_user}",
"gists_url": "https://api.github.com/users/loicdiridollou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/loicdiridollou",
"id": 52484416,
"login": "loicdiridollou",
"node_id": "MDQ6VXNlcjUyNDg0NDE2",
"organizations_url": "https://api.github.com/users/loicdiridollou/orgs",
"received_events_url": "https://api.github.com/users/loicdiridollou/received_events",
"repos_url": "https://api.github.com/users/loicdiridollou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/loicdiridollou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/loicdiridollou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/loicdiridollou"
} | [] | closed | false | null | [] | null | 0 | "2021-11-16T04:27:52Z" | "2021-11-16T17:29:45Z" | "2021-11-16T17:29:45Z" | CONTRIBUTOR | null | - [x] closes #44304
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Following PR #44331, I added a release note for the 1.4.0 release according to @simonjayhawkins recommendation.
Happy to move it into another paragraph if needed. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44480/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44480/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44480.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44480",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44480.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44480"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44481 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44481/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44481/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44481/events | https://github.com/pandas-dev/pandas/issues/44481 | 1,054,832,627 | I_kwDOAA0YD84-33fz | 44,481 | BUG: get_indexer_non_unique() does not find NaNs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4",
"events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}",
"followers_url": "https://api.github.com/users/johannes-mueller/followers",
"following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}",
"gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johannes-mueller",
"id": 5902745,
"login": "johannes-mueller",
"node_id": "MDQ6VXNlcjU5MDI3NDU=",
"organizations_url": "https://api.github.com/users/johannes-mueller/orgs",
"received_events_url": "https://api.github.com/users/johannes-mueller/received_events",
"repos_url": "https://api.github.com/users/johannes-mueller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johannes-mueller"
} | [
{
"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"
}
] | open | false | null | [] | null | 0 | "2021-11-16T12:37:36Z" | "2021-11-16T12:39:33Z" | null | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
idx = pd.Index([1, 2, np.nan])
target = pd.Index([1, np.nan])
print(idx.get_indexer(target))
print(idx.get_indexer_non_unique(target))
```
### Issue Description
The script outputs:
```
[0 2]
(array([ 0, -1]), array([1]))
```
So `get_indexer()` correctly found the NaN value at position 2 but `get_indexer_non_unique()` has not found the NaN value anywhere.
This is one aspect of #44465 which needs to be split due to two different root causes.
### Expected Behavior
Expected output
```
[0 2]
(array([ 0, 2]), array([], dtype=int64))
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 700be617eb567fb4ab82aa8151d5c4ee02c22b95
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-90-lowlatency
Version : #101-Ubuntu SMP PREEMPT Fri Oct 15 20:57:56 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 1.4.0.dev0+1132.g700be617eb
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 58.5.3
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.24.2
sphinx : 4.2.0
blosc : None
feather : None
xlsxwriter : 3.0.2
lxml.etree : 4.6.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.23.1
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fsspec : 2021.11.0
fastparquet : 0.7.1
gcsfs : 2021.11.0
matplotlib : 3.4.3
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 6.0.0
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.26
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44481/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44481/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44482 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44482/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44482/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44482/events | https://github.com/pandas-dev/pandas/issues/44482 | 1,054,845,118 | I_kwDOAA0YD84-36i- | 44,482 | BUG: get_indexer_non_unique() does not handle targets of dtype='object' with NaNs correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4",
"events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}",
"followers_url": "https://api.github.com/users/johannes-mueller/followers",
"following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}",
"gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johannes-mueller",
"id": 5902745,
"login": "johannes-mueller",
"node_id": "MDQ6VXNlcjU5MDI3NDU=",
"organizations_url": "https://api.github.com/users/johannes-mueller/orgs",
"received_events_url": "https://api.github.com/users/johannes-mueller/received_events",
"repos_url": "https://api.github.com/users/johannes-mueller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johannes-mueller"
} | [
{
"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"
}
] | open | false | null | [] | null | 0 | "2021-11-16T12:51:37Z" | "2021-11-16T12:51:37Z" | null | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
idx = pd.Index([1.0, 2.0])
target = pd.Index([1, np.nan], dtype='object')
print(idx.get_indexer(target))
print(idx.get_indexer_non_unique(target))
```
### Issue Description
The script outputs
```
[ 0 -1]
(array([0, 0, 1]), array([], dtype=int64))
```
It boils down to the fact that in `object` arrays with NaNs in them the are not sorted in as expected as discussed in numpy/numpy#15499.
This is one aspect of #44465 which needs to be split due to two different root causes.
### Expected Behavior
Expected output
```
[ 0 -1]
(array([ 0, -1]), array([1]))
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 700be617eb567fb4ab82aa8151d5c4ee02c22b95
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-90-lowlatency
Version : #101-Ubuntu SMP PREEMPT Fri Oct 15 20:57:56 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 1.4.0.dev0+1132.g700be617eb
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 58.5.3
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.24.2
sphinx : 4.2.0
blosc : None
feather : None
xlsxwriter : 3.0.2
lxml.etree : 4.6.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.23.1
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fsspec : 2021.11.0
fastparquet : 0.7.1
gcsfs : 2021.11.0
matplotlib : 3.4.3
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 6.0.0
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.26
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44482/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44482/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44483 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44483/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44483/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44483/events | https://github.com/pandas-dev/pandas/pull/44483 | 1,054,883,944 | PR_kwDOAA0YD84ul5yp | 44,483 | BUG: fix get_indexer_non_unique() with 'object' targets with NaNs (#4… | {
"avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4",
"events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}",
"followers_url": "https://api.github.com/users/johannes-mueller/followers",
"following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}",
"gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johannes-mueller",
"id": 5902745,
"login": "johannes-mueller",
"node_id": "MDQ6VXNlcjU5MDI3NDU=",
"organizations_url": "https://api.github.com/users/johannes-mueller/orgs",
"received_events_url": "https://api.github.com/users/johannes-mueller/received_events",
"repos_url": "https://api.github.com/users/johannes-mueller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johannes-mueller"
} | [] | open | false | null | [] | null | 0 | "2021-11-16T13:29:33Z" | "2021-11-19T19:00:36Z" | null | CONTRIBUTOR | null | …4482)
numpy.searchsorted() does not handle NaNs in 'object' arrays as
expected (numpy/numpy#15499). Therefore we cannot search NaNs using binary
search. So we use binary search only for targets without NaNs.
- [x] closes #44482
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
This does also put the whatsnew of #44404 to the correct place. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44483/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44483/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44483.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44483",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44483.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44483"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44484 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44484/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44484/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44484/events | https://github.com/pandas-dev/pandas/issues/44484 | 1,055,005,214 | I_kwDOAA0YD84-4hoe | 44,484 | API (BUG?): DatetimeArray.astype vs to_numpy behaviour differences | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "FD8B10",
"default": false,
"description": "",
"id": 3555077089,
"name": "Astype",
"node_id": "LA_kwDOAA0YD87T5ivh",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Astype"
}
] | open | false | null | [] | null | 0 | "2021-11-16T15:20:32Z" | "2021-11-16T15:20:32Z" | null | MEMBER | null | Currently, the `to_numpy()` implementation on the datetimelike arrays is quite simple (basically `np.array(EA, dtype)`, which calls `__array__` which returns/casts the underlying numpy array). This means that it basically follows numpy's casting rules, while for `astype` we have a whole bunch of custom conversion rules.
Some examples:
```python
In [1]: arr = pd.date_range("2012-01-01", periods=3).array
In [2]: arr
Out[2]:
<DatetimeArray>
['2012-01-01 00:00:00', '2012-01-02 00:00:00', '2012-01-03 00:00:00']
Length: 3, dtype: datetime64[ns]
# conversion to string (-> different formatting)
In [3]: arr.astype(str)
Out[3]: array(['2012-01-01', '2012-01-02', '2012-01-03'], dtype=object)
In [4]: arr.to_numpy(str)
Out[4]:
array(['2012-01-01T00:00:00.000000000', '2012-01-02T00:00:00.000000000',
'2012-01-03T00:00:00.000000000'], dtype='<U48')
# conversion to float or timedelta (error vs working cast)
In [5]: arr.astype(float)
...
TypeError: Cannot cast DatetimeArray to dtype float64
In [6]: arr.to_numpy(float)
Out[6]: array([1.3253760e+18, 1.3254624e+18, 1.3255488e+18])
In [7]: arr.astype('timedelta64[ns]')
...
TypeError: Cannot cast DatetimeArray to dtype timedelta64[ns]
In [8]: arr.to_numpy('timedelta64[ns]')
Out[8]:
array([1325376000000000000, 1325462400000000000, 1325548800000000000],
dtype='timedelta64[ns]')
```
We might say: `to_numpy()` is for converting to a numpy array, so in that case it is fine to follow numpy's casting rules. But it would still be good to explicitly decide on this.
On the other hand it's also strange to have two different sets of rules (and the fact that it uses numpy's rules here is somewhat an implementation detail). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44484/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44484/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44485 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44485/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44485/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44485/events | https://github.com/pandas-dev/pandas/issues/44485 | 1,055,024,000 | I_kwDOAA0YD84-4mOA | 44,485 | BUG: dataframe.replace({np.nan: None}) failed when replaced even number of times | {
"avatar_url": "https://avatars.githubusercontent.com/u/8130047?v=4",
"events_url": "https://api.github.com/users/wchengit/events{/privacy}",
"followers_url": "https://api.github.com/users/wchengit/followers",
"following_url": "https://api.github.com/users/wchengit/following{/other_user}",
"gists_url": "https://api.github.com/users/wchengit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wchengit",
"id": 8130047,
"login": "wchengit",
"node_id": "MDQ6VXNlcjgxMzAwNDc=",
"organizations_url": "https://api.github.com/users/wchengit/orgs",
"received_events_url": "https://api.github.com/users/wchengit/received_events",
"repos_url": "https://api.github.com/users/wchengit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wchengit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wchengit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wchengit"
} | [
{
"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"
}
] | open | false | null | [] | null | 0 | "2021-11-16T15:36:52Z" | "2021-11-16T15:39:03Z" | null | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import numpy as np
import pandas as pd
def check_nan(df):
for entry in df.to_dict(orient='records'):
if any([isinstance(v, float) and np.isnan(v) for v in entry.values()]):
return True
return False
def generate_df():
return pd.DataFrame(dict(age=[5, 6, np.NaN],
born=[pd.NaT, pd.Timestamp('1939-05-27'),
pd.Timestamp('1940-04-25')],
name=['Alfred', 'Batman', ''],
toy=[None, 'Batmobile', 'Joker']))
def where_not_working():
df = generate_df()
df = df.where((pd.notnull(df)), None)
print('where not working', check_nan(df))
def replace_working():
df = generate_df()
df = df.replace({np.nan: None})
print('replace working', check_nan(df))
def replace_twice_not_working():
df = generate_df()
df = df.replace({np.nan: None})
df = df.replace({np.nan: None})
print('replace twice not working', check_nan(df))
def replace_odd_num_working():
df = generate_df()
df = df.replace({np.nan: None})
df = df.replace({np.nan: None})
df = df.replace({np.nan: None})
print('replace three times working', check_nan(df))
where_not_working()
replace_working()
replace_twice_not_working()
replace_odd_num_working()
```
### Issue Description
As shown in the example above:
dataframe.replace({np.nan: None}) works when it's applied to a dataframe once, 3 times, but not working (or "reverse" the change) when run twice, 4 times, etc.
### Expected Behavior
It should consistently have the result dataframe containing no np.nan, doesn't matter how many replace attempts have been made.
### Installed Versions
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 4.18.0-240.1.1.el8_3.x86_64
Version : #1 SMP Fri Oct 16 13:36:46 EDT 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.3.4
numpy : 1.21.2
pytz : 2021.3
dateutil : 2.8.2
pip : 21.2.4
setuptools : 58.0.4
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.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : 1.4.22
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44485/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44485/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44486 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44486/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44486/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44486/events | https://github.com/pandas-dev/pandas/issues/44486 | 1,055,137,502 | I_kwDOAA0YD84-5B7e | 44,486 | ENH: DataFrame.sample should accept numpy.random.Generator | {
"avatar_url": "https://avatars.githubusercontent.com/u/6707555?v=4",
"events_url": "https://api.github.com/users/gmaratos/events{/privacy}",
"followers_url": "https://api.github.com/users/gmaratos/followers",
"following_url": "https://api.github.com/users/gmaratos/following{/other_user}",
"gists_url": "https://api.github.com/users/gmaratos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gmaratos",
"id": 6707555,
"login": "gmaratos",
"node_id": "MDQ6VXNlcjY3MDc1NTU=",
"organizations_url": "https://api.github.com/users/gmaratos/orgs",
"received_events_url": "https://api.github.com/users/gmaratos/received_events",
"repos_url": "https://api.github.com/users/gmaratos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gmaratos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gmaratos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gmaratos"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "eb6420",
"default": false,
"description": "Non-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": "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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | "2021-11-16T17:26:50Z" | "2021-11-19T17:33:15Z" | "2021-11-19T17:32:59Z" | NONE | null | This seems to be related to this [issue](https://github.com/pandas-dev/pandas/issues/28440) and this [merge](https://github.com/pandas-dev/pandas/pull/42243). But currently DataFrame.sample does not allow Generator objects for random_state.
## Rationale
As far as I can tell, the convention for numpy 1.21 random sampling, in their [documentation](https://numpy.org/doc/stable/reference/random/index.html) is to create Generators using numpy.random.default_rng, so creating BitGenerators directly seems a little awkward.
## Fix
This is a quick fix though because the generator has [field](https://numpy.org/doc/stable/reference/random/generated/numpy.random.Generator.bit_generator.html#numpy.random.Generator.bit_generator) to access the bit generator
`from numpy.random import default_rng`
`rng = default_rng()`
`bit_generator = rng.bit_generator` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44486/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44486/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44487 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44487/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44487/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44487/events | https://github.com/pandas-dev/pandas/pull/44487 | 1,055,207,846 | PR_kwDOAA0YD84um9tH | 44,487 | update astype keyerror msg | {
"avatar_url": "https://avatars.githubusercontent.com/u/11783247?v=4",
"events_url": "https://api.github.com/users/endremborza/events{/privacy}",
"followers_url": "https://api.github.com/users/endremborza/followers",
"following_url": "https://api.github.com/users/endremborza/following{/other_user}",
"gists_url": "https://api.github.com/users/endremborza/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/endremborza",
"id": 11783247,
"login": "endremborza",
"node_id": "MDQ6VXNlcjExNzgzMjQ3",
"organizations_url": "https://api.github.com/users/endremborza/orgs",
"received_events_url": "https://api.github.com/users/endremborza/received_events",
"repos_url": "https://api.github.com/users/endremborza/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/endremborza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/endremborza/subscriptions",
"type": "User",
"url": "https://api.github.com/users/endremborza"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-16T18:45:37Z" | "2021-11-20T21:14:07Z" | "2021-11-20T21:14:03Z" | CONTRIBUTOR | null | Hi!
This is extremely minor and i just quickly did it in codespaces but I ran into this a few times and I thought it might be helpful for others. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44487/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44487/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44487.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44487",
"merged_at": "2021-11-20T21:14:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44487.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44487"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44488 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44488/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44488/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44488/events | https://github.com/pandas-dev/pandas/pull/44488 | 1,055,244,951 | PR_kwDOAA0YD84unFTy | 44,488 | Fix 'rtol' and 'atol' for numeric extension types | {
"avatar_url": "https://avatars.githubusercontent.com/u/175722?v=4",
"events_url": "https://api.github.com/users/jonashaag/events{/privacy}",
"followers_url": "https://api.github.com/users/jonashaag/followers",
"following_url": "https://api.github.com/users/jonashaag/following{/other_user}",
"gists_url": "https://api.github.com/users/jonashaag/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jonashaag",
"id": 175722,
"login": "jonashaag",
"node_id": "MDQ6VXNlcjE3NTcyMg==",
"organizations_url": "https://api.github.com/users/jonashaag/orgs",
"received_events_url": "https://api.github.com/users/jonashaag/received_events",
"repos_url": "https://api.github.com/users/jonashaag/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jonashaag/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonashaag/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jonashaag"
} | [
{
"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"
}
] | open | false | null | [] | null | 1 | "2021-11-16T19:30:03Z" | "2021-11-21T13:32:16Z" | null | NONE | null | - [ ] closes #xxxx
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
cc @stefansorgqc | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44488/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44488/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44488.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44488",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44488.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44488"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44489 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44489/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44489/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44489/events | https://github.com/pandas-dev/pandas/pull/44489 | 1,055,250,630 | PR_kwDOAA0YD84unGg2 | 44,489 | TST: fix deprecation warning in test | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-16T19:37:19Z" | "2021-11-20T07:28:42Z" | "2021-11-20T07:28:38Z" | CONTRIBUTOR | null | deprecation warning regarding ambiguous boolean of empty array (numpy)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44489/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44489/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44489.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44489",
"merged_at": "2021-11-20T07:28:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44489.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44489"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44490 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44490/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44490/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44490/events | https://github.com/pandas-dev/pandas/issues/44490 | 1,055,275,216 | I_kwDOAA0YD84-5jjQ | 44,490 | ENH: Warning with only one column used in `apply` causing performance issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/18083323?v=4",
"events_url": "https://api.github.com/users/crosspolar/events{/privacy}",
"followers_url": "https://api.github.com/users/crosspolar/followers",
"following_url": "https://api.github.com/users/crosspolar/following{/other_user}",
"gists_url": "https://api.github.com/users/crosspolar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/crosspolar",
"id": 18083323,
"login": "crosspolar",
"node_id": "MDQ6VXNlcjE4MDgzMzIz",
"organizations_url": "https://api.github.com/users/crosspolar/orgs",
"received_events_url": "https://api.github.com/users/crosspolar/received_events",
"repos_url": "https://api.github.com/users/crosspolar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/crosspolar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/crosspolar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/crosspolar"
} | [
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"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"
}
] | open | false | null | [] | null | 1 | "2021-11-16T20:08:31Z" | "2021-11-21T02:41:43Z" | null | NONE | null | #### Is your feature request related to a problem?
From what I've seen in python classes: Handling a huge data frame, especially beginners using `apply` on huge data frames don't know that it loads the whole frame while looping.
[Example](https://stackoverflow.com/a/62968313):
Consider following function and data frame
```python
import pandas as pd
def complex_function(x, y=0):
if x > 5 and x > y:
return 1
else:
return 2
df = pd.DataFrame(data={'col1': [1, 4, 6, 2, 7], 'col2': [6, 7, 1, 2, 8]})
```
For a greater data frame, consider performance differences with
```python
df['col1'] = df['col1'].apply(complex_function)
```
and the much less efficient
```
df['col1'] = df.apply(function(x) {complex_function(x['col1'])})
```
#### Describe the solution you'd like
Just a small warning that, if only one column is accessed within apply body. Something like:
```
Warning: Only one column seems to be accessed, causing performance issues
```
#### Describe alternatives you've considered
We just leave it as it is, no great differences for most users
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44490/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44490/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44491 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44491/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44491/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44491/events | https://github.com/pandas-dev/pandas/pull/44491 | 1,055,275,285 | PR_kwDOAA0YD84unLuQ | 44,491 | DOCS: use non-deprecated method in doc examples | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-16T20:08:37Z" | "2021-11-17T16:59:34Z" | "2021-11-17T01:49:38Z" | CONTRIBUTOR | null | as described | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44491/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44491/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44491.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44491",
"merged_at": "2021-11-17T01:49:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44491.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44491"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44492 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44492/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44492/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44492/events | https://github.com/pandas-dev/pandas/pull/44492 | 1,055,293,278 | PR_kwDOAA0YD84unPft | 44,492 | BUG: NumericArray.__pos__ should make a copy | {
"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": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-16T20:31:08Z" | "2021-11-17T02:30:48Z" | "2021-11-17T02:03:09Z" | 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_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44492/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44492/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44492.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44492",
"merged_at": "2021-11-17T02:03:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44492.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44492"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44493 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44493/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44493/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44493/events | https://github.com/pandas-dev/pandas/pull/44493 | 1,055,478,556 | PR_kwDOAA0YD84unt_z | 44,493 | TST: share a bunch of test_custom_business_day | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-16T22:31:07Z" | "2021-11-17T02:43:13Z" | "2021-11-17T02:01:18Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44493/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44493/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44493.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44493",
"merged_at": "2021-11-17T02:01:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44493.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44493"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44494 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44494/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44494/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44494/events | https://github.com/pandas-dev/pandas/issues/44494 | 1,055,558,695 | I_kwDOAA0YD84-6own | 44,494 | CI: Doc build is failing because of upstream changes | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "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": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 8 | "2021-11-17T00:01:27Z" | "2021-11-21T11:34:57Z" | "2021-11-20T22:42:54Z" | MEMBER | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
>>>-------------------------------------------------------------------------
Warning in /home/runner/work/pandas/pandas/doc/source/user_guide/io.rst at block ending on line 3033
Specify :okwarning: as an option in the ipython:: block to suppress this message
----------------------------------------------------------------------------
/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/charset_normalizer/api.py:91: UserWarning: Trying to detect encoding from a tiny portion of (11) byte(s).
warn('Trying to detect encoding from a tiny portion of ({}) byte(s).'.format(length))
<<<-------------------------------------------------------------------------
and
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://www.statsmodels.org/devel/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='www.statsmodels.org', port=443): Max retries exceeded with url: /devel/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fef8dc72670>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44494/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44494/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44495 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44495/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44495/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44495/events | https://github.com/pandas-dev/pandas/pull/44495 | 1,055,634,729 | PR_kwDOAA0YD84uoO_h | 44,495 | PERF: lib.Validator iteration | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-17T02:29:26Z" | "2021-11-17T15:14:05Z" | "2021-11-17T13:54:38Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
This is yak-shaving the trails back to a bug in Series.where with nullable dtypes.
```
from pandas._libs.lib import *
arr = np.empty(10**6, dtype=bool).astype(object)
%timeit is_bool_array(arr)
8.87 ms ± 28.4 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master
5.33 ms ± 11.8 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44495/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44495/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44495.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44495",
"merged_at": "2021-11-17T13:54:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44495.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44495"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44496 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44496/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44496/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44496/events | https://github.com/pandas-dev/pandas/issues/44496 | 1,055,650,706 | I_kwDOAA0YD84-6_OS | 44,496 | PERF: DataFrame.merge with MultiIndex issues PerformanceWarning | {
"avatar_url": "https://avatars.githubusercontent.com/u/3383837?v=4",
"events_url": "https://api.github.com/users/itcarroll/events{/privacy}",
"followers_url": "https://api.github.com/users/itcarroll/followers",
"following_url": "https://api.github.com/users/itcarroll/following{/other_user}",
"gists_url": "https://api.github.com/users/itcarroll/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/itcarroll",
"id": 3383837,
"login": "itcarroll",
"node_id": "MDQ6VXNlcjMzODM4Mzc=",
"organizations_url": "https://api.github.com/users/itcarroll/orgs",
"received_events_url": "https://api.github.com/users/itcarroll/received_events",
"repos_url": "https://api.github.com/users/itcarroll/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/itcarroll/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itcarroll/subscriptions",
"type": "User",
"url": "https://api.github.com/users/itcarroll"
} | [
{
"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": "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"
}
] | open | false | null | [] | null | 0 | "2021-11-17T03:04:04Z" | "2021-11-17T03:04:04Z" | null | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this issue exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this issue exists on the master branch of pandas.
### Reproducible Example
```
>>> import pandas as pd
>>> left = pd.DataFrame.from_dict({('A', 'a'): [0]})
>>> right = pd.DataFrame.from_dict({('B', 'b'): [1]})
>>> left.merge(right, how='cross')
PerformanceWarning: dropping on a non-lexsorted multi-index without a level parameter may impact performance.
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
A B
a b
0 0 1
```
It is neither `left.columns` nor `right.columns` that has `_lexsort_depth == 0`. Some MultiIndex created during the merge is not sorted (and/or dropped without a level parameter). I don't know if this actually affects performance or is better described as a bug.
### Installed Versions
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.11.0-27-generic
Version : #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.3.4
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.2.4
setuptools : 57.4.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
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
### Prior Performance
_No response_ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44496/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44496/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44497 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44497/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44497/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44497/events | https://github.com/pandas-dev/pandas/pull/44497 | 1,055,710,085 | PR_kwDOAA0YD84uoen2 | 44,497 | ERR: Raise ValueError when BaseIndexer start & end bounds are unequal length | {
"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": "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"
},
{
"color": "36ede0",
"default": false,
"description": "Non-Recoverable Error",
"id": 1121248195,
"name": "Segfault",
"node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-17T05:05:48Z" | "2021-11-20T18:02:43Z" | "2021-11-20T16:08:54Z" | MEMBER | null | - [x] closes #44470
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44497/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44497/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44497.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44497",
"merged_at": "2021-11-20T16:08:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44497.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44497"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44498 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44498/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44498/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44498/events | https://github.com/pandas-dev/pandas/issues/44498 | 1,055,895,726 | I_kwDOAA0YD84-77Cu | 44,498 | df[col].dtype==object reverts back to df[col].dtype==datetime upon df.replace({np.nan: None}) | {
"avatar_url": "https://avatars.githubusercontent.com/u/32708833?v=4",
"events_url": "https://api.github.com/users/rdmtinez/events{/privacy}",
"followers_url": "https://api.github.com/users/rdmtinez/followers",
"following_url": "https://api.github.com/users/rdmtinez/following{/other_user}",
"gists_url": "https://api.github.com/users/rdmtinez/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rdmtinez",
"id": 32708833,
"login": "rdmtinez",
"node_id": "MDQ6VXNlcjMyNzA4ODMz",
"organizations_url": "https://api.github.com/users/rdmtinez/orgs",
"received_events_url": "https://api.github.com/users/rdmtinez/received_events",
"repos_url": "https://api.github.com/users/rdmtinez/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rdmtinez/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rdmtinez/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rdmtinez"
} | [] | open | false | null | [] | null | 0 | "2021-11-17T09:23:46Z" | "2021-11-17T09:23:46Z" | null | NONE | null | I explicitly coerce the dtype==datetime of a column containing NaT and datetimes (call it: DateTimeCol) to be of type object so that I can convert NaT to None (because Django complains about it). Then later during the workflow, when I have a need to replace all other NaN to None (because Django also compalins about it) using df.replace({np.nan: None}), the DateTimeCol is retransformed back into a type: datetime automatically without it explicit input and the NaT are present again which forces django to complain. Surely this is not a wanted behaviour.
`
# pre replace
0 None
1 None
2 None
3 None
4 None
...
163 2013-12-19 16:30:00+01:00
164 2013-12-19 16:30:00+01:00
165 2013-12-19 16:30:00+01:00
166 2013-12-19 16:30:00+01:00
167 2013-12-19 16:30:00+01:00
Name: Tempering DateTime, Length: 168, dtype: object
df.replace({np.nan: None})
# post replace
0 NaT
1 NaT
2 NaT
3 NaT
4 NaT
...
163 2013-12-19 16:30:00+01:00
164 2013-12-19 16:30:00+01:00
165 2013-12-19 16:30:00+01:00
166 2013-12-19 16:30:00+01:00
167 2013-12-19 16:30:00+01:00
Name: Tempering DateTime, Length: 168, dtype: datetime64[ns, Europe/Berlin]
` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44498/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44498/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44499 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44499/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44499/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44499/events | https://github.com/pandas-dev/pandas/issues/44499 | 1,056,220,208 | I_kwDOAA0YD84-9KQw | 44,499 | BUG: Pandas DataFrame replace() doesn't work if the dataframe has nullable boolean columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/525675?v=4",
"events_url": "https://api.github.com/users/ilCatania/events{/privacy}",
"followers_url": "https://api.github.com/users/ilCatania/followers",
"following_url": "https://api.github.com/users/ilCatania/following{/other_user}",
"gists_url": "https://api.github.com/users/ilCatania/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ilCatania",
"id": 525675,
"login": "ilCatania",
"node_id": "MDQ6VXNlcjUyNTY3NQ==",
"organizations_url": "https://api.github.com/users/ilCatania/orgs",
"received_events_url": "https://api.github.com/users/ilCatania/received_events",
"repos_url": "https://api.github.com/users/ilCatania/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ilCatania/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ilCatania/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ilCatania"
} | [
{
"color": "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": "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": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-17T14:48:51Z" | "2021-11-20T16:15:51Z" | "2021-11-20T16:15:51Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df = pd.DataFrame({"a": ["x", "y", "z", "w"], "b": [True, False, False, True]}).astype({"b":"boolean"})
df.replace("x", "X")
```
### Issue Description
When trying to use `pandas.DataFrame.replace()` on a dataframe with several columns including boolean columns where the `boolean` (i.e. nullable) dtype has been set explicitly beforehand. When running the above snippet I get the following error:
```
File "C:\users\el_caminooooo\playground\venv/lib/python3.7/site-packages/pandas/core/arrays/boolean.py", line 265, in __init__
"values should be boolean numpy array. Use "
TypeError: values should be boolean numpy array. Use the 'pd.array' function instead
```
Is this a pandas bug?. Also please note both of the following work fine:
```python
import pandas as pd
df = pd.DataFrame({"a": ["x", "y", "z", "w"], "b": [True, False, False, True]}).astype({"b":"bool"}) # notice 'bool' instead of 'boolean'
df.replace("x", "X")
```
and:
```python
df = pd.DataFrame({"a": ["x", "y", "z", "w"], "b": [True, False, False, True]})
df.replace("x", "X")
```
### Expected Behavior
the replace should complete successfully
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 7c48ff4409c622c582c56a5702373f726de08e96
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-957.27.2.el7.x86_64
Version : #1 SMP Mon Jul 29 17:46:05 UTC 2019
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.4
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 21.3.1
setuptools : 47.1.0
Cython : 0.29.23
pytest : 6.2.5
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 : None
pandas_datareader: 0.10.0
bs4 : None
bottleneck : None
fsspec : 2021.08.1
fastparquet : 0.7.0
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.3
sqlalchemy : None
tables : None
tabulate : 0.8.9
xarray : None
xlrd : None
xlwt : None
numba : None</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44499/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44499/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44500 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44500/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44500/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44500/events | https://github.com/pandas-dev/pandas/pull/44500 | 1,056,250,690 | PR_kwDOAA0YD84uqQfi | 44,500 | TYP: changed variable new_pd_index to final_pd_index | {
"avatar_url": "https://avatars.githubusercontent.com/u/71138854?v=4",
"events_url": "https://api.github.com/users/prithvijitguha/events{/privacy}",
"followers_url": "https://api.github.com/users/prithvijitguha/followers",
"following_url": "https://api.github.com/users/prithvijitguha/following{/other_user}",
"gists_url": "https://api.github.com/users/prithvijitguha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prithvijitguha",
"id": 71138854,
"login": "prithvijitguha",
"node_id": "MDQ6VXNlcjcxMTM4ODU0",
"organizations_url": "https://api.github.com/users/prithvijitguha/orgs",
"received_events_url": "https://api.github.com/users/prithvijitguha/received_events",
"repos_url": "https://api.github.com/users/prithvijitguha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prithvijitguha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prithvijitguha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prithvijitguha"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | open | false | null | [] | {
"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-11-17T15:15:41Z" | "2021-11-17T17:41:11Z" | null | NONE | null | xref #37715
Changed variable new_pd_index to final_pd_index in line 2099
Handled mypy type ignore[assignment] error in pandas/io/pytables.py in line 2099
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44500/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44500/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44500.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44500",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44500.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44500"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44501 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44501/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44501/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44501/events | https://github.com/pandas-dev/pandas/pull/44501 | 1,056,403,750 | PR_kwDOAA0YD84uqxLw | 44,501 | (TST) Replacing Timestamp.now () in tests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
} | [
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-11-17T17:30:53Z" | "2021-11-20T20:10:55Z" | "2021-11-20T20:10:36Z" | CONTRIBUTOR | null | - [x] xref #44341
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Replacing Timestamp.now() in tests.
Left Timestamp.now () in the following tests:
```
scalar/timestamp/test_timestamp.py:290: compare(Timestamp.now(), datetime.now())
scalar/timestamp/test_timestamp.py:291: compare(Timestamp.now("UTC"), datetime.now(timezone("UTC")))
scalar/timestamp/test_timestamp.py:320: compare(Timestamp.now(), datetime.now())
scalar/timestamp/test_timestamp.py:321: compare(Timestamp.now("UTC"), datetime.now(tzutc()))
scalar/timestamp/test_constructors.py:480: ts_from_method = Timestamp.now()
scalar/timestamp/test_constructors.py:484: ts_from_method_tz = Timestamp.now(tz="US/Eastern")
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44501/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44501/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44501.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44501",
"merged_at": "2021-11-20T20:10:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44501.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44501"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44502 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44502/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44502/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44502/events | https://github.com/pandas-dev/pandas/pull/44502 | 1,056,472,712 | PR_kwDOAA0YD84uq9O4 | 44,502 | ENH: `Styler.to_string` | {
"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"
} | [] | open | false | null | [] | null | 0 | "2021-11-17T18:39:21Z" | "2021-11-17T19:00:38Z" | null | CONTRIBUTOR | null | Adds a very basic, skeletal method for writing `Styler` to string using the mechanics already in place and a very basic jinja2 template. Whilst of limited use in its current form it may be useful later and/or maybe able to eliminate other parts of the dataframe string `repr` formatting.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44502/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44502/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44502.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44502",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44502.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44502"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44503 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44503/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44503/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44503/events | https://github.com/pandas-dev/pandas/pull/44503 | 1,056,529,020 | PR_kwDOAA0YD84urEv8 | 44,503 | CLN: whats new 1.4.0 `styler` edits | {
"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"
} | [] | open | false | null | [] | null | 0 | "2021-11-17T19:22:33Z" | "2021-11-17T19:22:33Z" | null | CONTRIBUTOR | null | cleans up some of my placeholder bullets
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44503/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44503/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44503.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44503",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44503.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44503"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44504 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44504/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44504/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44504/events | https://github.com/pandas-dev/pandas/issues/44504 | 1,056,679,274 | I_kwDOAA0YD84--6Vq | 44,504 | BUG: pd.Timedelta breaks hash invariant | {
"avatar_url": "https://avatars.githubusercontent.com/u/6145801?v=4",
"events_url": "https://api.github.com/users/harahu/events{/privacy}",
"followers_url": "https://api.github.com/users/harahu/followers",
"following_url": "https://api.github.com/users/harahu/following{/other_user}",
"gists_url": "https://api.github.com/users/harahu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harahu",
"id": 6145801,
"login": "harahu",
"node_id": "MDQ6VXNlcjYxNDU4MDE=",
"organizations_url": "https://api.github.com/users/harahu/orgs",
"received_events_url": "https://api.github.com/users/harahu/received_events",
"repos_url": "https://api.github.com/users/harahu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harahu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harahu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harahu"
} | [
{
"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"
}
] | open | false | null | [] | null | 2 | "2021-11-17T22:06:04Z" | "2021-11-19T15:57:33Z" | null | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
pd_td = pd.Timedelta(0)
np_td = np.timedelta64(0)
# One of these should be true
assert (pd_td == np_td and hash(pd_td) == hash(np_td)) or pd_td != np_td
```
### Issue Description
Ref: https://bugs.python.org/issue45832
I was prompted by @rhettinger to bring this up with you.
`pd.Timedelta` and `np.timedelta64` are in violation of the python [hash invariant](https://docs.python.org/3/glossary.html#term-hashable).
Specifically:
> Hashable objects which compare equal must have the same hash value.
### Expected Behavior
```py
# Should pass
assert (pd_td == np_td and hash(pd_td) == hash(np_td)) or pd_td != np_td
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.10.0.final.0
python-bits : 64
OS : Darwin
OS-release : 21.1.0
Version : Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.3.4
numpy : 1.21.1
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 58.3.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.29.0
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 : 6.0.0
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44504/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44504/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44505 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44505/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44505/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44505/events | https://github.com/pandas-dev/pandas/pull/44505 | 1,056,777,212 | PR_kwDOAA0YD84ur1sG | 44,505 | REF: combine isnaobj+isnaobj_old | {
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-18T00:14:09Z" | "2021-11-20T16:17:59Z" | "2021-11-20T16:13:39Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44505/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44505/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44505.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44505",
"merged_at": "2021-11-20T16:13:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44505.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44505"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44506 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44506/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44506/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44506/events | https://github.com/pandas-dev/pandas/pull/44506 | 1,056,838,279 | PR_kwDOAA0YD84usCCx | 44,506 | DOC: df.to_html documentation incorrectly contains min_rows optional param (release note) | {
"avatar_url": "https://avatars.githubusercontent.com/u/52484416?v=4",
"events_url": "https://api.github.com/users/loicdiridollou/events{/privacy}",
"followers_url": "https://api.github.com/users/loicdiridollou/followers",
"following_url": "https://api.github.com/users/loicdiridollou/following{/other_user}",
"gists_url": "https://api.github.com/users/loicdiridollou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/loicdiridollou",
"id": 52484416,
"login": "loicdiridollou",
"node_id": "MDQ6VXNlcjUyNDg0NDE2",
"organizations_url": "https://api.github.com/users/loicdiridollou/orgs",
"received_events_url": "https://api.github.com/users/loicdiridollou/received_events",
"repos_url": "https://api.github.com/users/loicdiridollou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/loicdiridollou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/loicdiridollou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/loicdiridollou"
} | [
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-11-18T01:58:29Z" | "2021-11-19T10:49:54Z" | "2021-11-19T10:49:42Z" | CONTRIBUTOR | null | - [x] closes #44304
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44506/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44506/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44506.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44506",
"merged_at": "2021-11-19T10:49:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44506.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44506"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44507 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44507/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44507/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44507/events | https://github.com/pandas-dev/pandas/pull/44507 | 1,056,867,003 | PR_kwDOAA0YD84usIW- | 44,507 | BUG: Period incorrectly allowing np.timedelta64('NaT') | {
"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": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-18T02:34:08Z" | "2021-11-20T18:54:51Z" | "2021-11-20T18:14:50Z" | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44507/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44507/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44507.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44507",
"merged_at": "2021-11-20T18:14:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44507.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44507"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44508 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44508/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44508/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44508/events | https://github.com/pandas-dev/pandas/issues/44508 | 1,057,024,402 | I_kwDOAA0YD84_AOmS | 44,508 | to_sql just keeps on loading ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/91027602?v=4",
"events_url": "https://api.github.com/users/Taherparda/events{/privacy}",
"followers_url": "https://api.github.com/users/Taherparda/followers",
"following_url": "https://api.github.com/users/Taherparda/following{/other_user}",
"gists_url": "https://api.github.com/users/Taherparda/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Taherparda",
"id": 91027602,
"login": "Taherparda",
"node_id": "MDQ6VXNlcjkxMDI3NjAy",
"organizations_url": "https://api.github.com/users/Taherparda/orgs",
"received_events_url": "https://api.github.com/users/Taherparda/received_events",
"repos_url": "https://api.github.com/users/Taherparda/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Taherparda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Taherparda/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Taherparda"
} | [
{
"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": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | "2021-11-18T07:24:31Z" | "2021-11-18T12:08:31Z" | "2021-11-18T11:58:36Z" | NONE | null | I have used pandas.to_sql statement to store data(200 rows X 8 columns) of csv file to postgres database but it just keeps on loading for a while, however it runs perfectly when I use if_exists='append'. I have checked everything but not able to find the issue.Can someone help ?
```
username = session['username']
user_path = os.path.join("user_data",username)
userdb = username + "DB.db"
con = sqlite3.connect(Path(user_path,userdb))
con.row_factory = sqlite3.Row
cur = con.cursor()
cur.execute("select * from data")
data = cur.fetchall()
con.close()
if request.method == 'POST':
uploadExcel = request.files['uploadExcel']
if uploadExcel.filename != '':
filepath = os.path.join(
user_path , uploadExcel.filename)
if os.path.exists(filepath):
flash("The file with the same name already exists !","danger")
else:
uploadExcel.save(filepath)
con = sqlite3.connect(Path(user_path,userdb))
cur = con.cursor()
cur.execute("insert into data(exceldata)values(?)",
(uploadExcel.filename,))
con.commit()
flash("Excel Sheet Uploaded Successfully", "success")
con = sqlite3.connect(Path(user_path,userdb))
con.row_factory = sqlite3.Row
cur = con.cursor()
cur.execute("select * from data")
data = cur.fetchall()
for val in data:
path = os.path.join(user_path, uploadExcel.filename)
print(path)
engine = sqlalchemy.create_engine("postgresql+psycopg2://postgres:falcon123@localhost:5432/SankovFAAS")
df = pd.read_csv(path,index_col=False)
print(df)
df.to_sql('user_data',engine,if_exists='replace', method='multi',index=False)
print("done")
con.close()
return render_template("ExcelUpload.html", data=data, username=session['username'], page_title=" Upload")
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44508/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44508/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44509 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44509/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44509/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44509/events | https://github.com/pandas-dev/pandas/issues/44509 | 1,057,060,603 | I_kwDOAA0YD84_AXb7 | 44,509 | BUG: pd.DataFrame.columns.insert( -1: <name>) does not insert in last position | {
"avatar_url": "https://avatars.githubusercontent.com/u/64612993?v=4",
"events_url": "https://api.github.com/users/stephenhallfr/events{/privacy}",
"followers_url": "https://api.github.com/users/stephenhallfr/followers",
"following_url": "https://api.github.com/users/stephenhallfr/following{/other_user}",
"gists_url": "https://api.github.com/users/stephenhallfr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stephenhallfr",
"id": 64612993,
"login": "stephenhallfr",
"node_id": "MDQ6VXNlcjY0NjEyOTkz",
"organizations_url": "https://api.github.com/users/stephenhallfr/orgs",
"received_events_url": "https://api.github.com/users/stephenhallfr/received_events",
"repos_url": "https://api.github.com/users/stephenhallfr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stephenhallfr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stephenhallfr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stephenhallfr"
} | [
{
"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"
}
] | open | false | null | [] | null | 2 | "2021-11-18T08:13:34Z" | "2021-11-20T22:19:11Z" | null | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df = pd.DataFrame(columns = ["A", "B"])
col = df.columns.insert(-1, "C")
print(col)
df = pd.DataFrame( columns = col)
print(df.columns)
```
### Issue Description
the method index.insert does not allow to insert a value last.
`loc=-1` gives an insertion at the second last place
'loc=0=-0' gives an insertion at 1st place
### Expected Behavior
The method index.insert should follow the standard loc function and 'loc=-1' should insert the item last in the index
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.129+
Version : #1 SMP Wed Aug 18 19:58:18 PDT 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.3.4
numpy : 1.21.3
pytz : 2021.3
dateutil : 2.8.2
pip : 20.0.2
setuptools : 45.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
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
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/44509/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44509/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44510 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44510/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44510/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44510/events | https://github.com/pandas-dev/pandas/pull/44510 | 1,057,150,662 | PR_kwDOAA0YD84utDwi | 44,510 | TYP/CI: fix to_string overload | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-18T09:51:46Z" | "2021-11-18T10:56:52Z" | "2021-11-18T10:56:48Z" | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/44426#issuecomment-972699248 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44510/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44510/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44510.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44510",
"merged_at": "2021-11-18T10:56:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44510.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44510"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44511 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44511/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44511/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44511/events | https://github.com/pandas-dev/pandas/pull/44511 | 1,057,222,656 | PR_kwDOAA0YD84utS6s | 44,511 | TYP: changed variable from vals to array_vals in pandas/core/indexes/multi.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/71138854?v=4",
"events_url": "https://api.github.com/users/prithvijitguha/events{/privacy}",
"followers_url": "https://api.github.com/users/prithvijitguha/followers",
"following_url": "https://api.github.com/users/prithvijitguha/following{/other_user}",
"gists_url": "https://api.github.com/users/prithvijitguha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prithvijitguha",
"id": 71138854,
"login": "prithvijitguha",
"node_id": "MDQ6VXNlcjcxMTM4ODU0",
"organizations_url": "https://api.github.com/users/prithvijitguha/orgs",
"received_events_url": "https://api.github.com/users/prithvijitguha/received_events",
"repos_url": "https://api.github.com/users/prithvijitguha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prithvijitguha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prithvijitguha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prithvijitguha"
} | [] | closed | false | null | [] | null | 1 | "2021-11-18T11:04:34Z" | "2021-11-18T15:03:21Z" | "2021-11-18T15:03:08Z" | NONE | null | xref #37715
Changed variable name from vals to array_vals in pandas/core/index/multi.py: 705 and 706
To remove type: ignore[assignment] mypy error
Changed variable name from m to mapped_result in pandas/core/index/multi.py: 3121
Removed type: ignore[assignment] mypy error in line 3126 and 3131 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44511/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44511/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44511.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44511",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44511.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44511"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44512 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44512/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44512/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44512/events | https://github.com/pandas-dev/pandas/issues/44512 | 1,057,321,885 | I_kwDOAA0YD84_BXOd | 44,512 | DOC: DataFrameGroupBy.diff() returns no columns used for grouping | {
"avatar_url": "https://avatars.githubusercontent.com/u/11488142?v=4",
"events_url": "https://api.github.com/users/ODemidenko/events{/privacy}",
"followers_url": "https://api.github.com/users/ODemidenko/followers",
"following_url": "https://api.github.com/users/ODemidenko/following{/other_user}",
"gists_url": "https://api.github.com/users/ODemidenko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ODemidenko",
"id": 11488142,
"login": "ODemidenko",
"node_id": "MDQ6VXNlcjExNDg4MTQy",
"organizations_url": "https://api.github.com/users/ODemidenko/orgs",
"received_events_url": "https://api.github.com/users/ODemidenko/received_events",
"repos_url": "https://api.github.com/users/ODemidenko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ODemidenko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ODemidenko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ODemidenko"
} | [
{
"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 | 1 | "2021-11-18T12:52:15Z" | "2021-11-19T13:45:46Z" | "2021-11-19T13:45:46Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
dates = pd.date_range("2020-01-01", "2020-01-02").values
availability = pd.DataFrame({'product': ['a', 'a', 'b', 'b'],
'timestamp': np.append(dates, dates),
'stock': [10, 5, 10, 10]
})
(availability.set_index('timestamp')
.groupby('product').diff()
)
```
### Issue Description
Using with `groupby(grouping_columns).diff()` leads to `grouping_columns` columns being missing in the output.
### Expected Behavior
Expected behaviour: having 'product' in the index.
```
stock
product timestamp
a 2020-01-01 NaN
2020-01-02 -5.0
b 2020-01-01 NaN
2020-01-02 0.0
```
### Installed Versions
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.8.10.final.0
pandas : 1.3.4
numpy : 1.20.3
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44512/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44512/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44513 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44513/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44513/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44513/events | https://github.com/pandas-dev/pandas/pull/44513 | 1,057,476,218 | PR_kwDOAA0YD84uuI1B | 44,513 | TYP: Changed variable name repeats to ensured_repeats in pandas/core/indexes/multi.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/71138854?v=4",
"events_url": "https://api.github.com/users/prithvijitguha/events{/privacy}",
"followers_url": "https://api.github.com/users/prithvijitguha/followers",
"following_url": "https://api.github.com/users/prithvijitguha/following{/other_user}",
"gists_url": "https://api.github.com/users/prithvijitguha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prithvijitguha",
"id": 71138854,
"login": "prithvijitguha",
"node_id": "MDQ6VXNlcjcxMTM4ODU0",
"organizations_url": "https://api.github.com/users/prithvijitguha/orgs",
"received_events_url": "https://api.github.com/users/prithvijitguha/received_events",
"repos_url": "https://api.github.com/users/prithvijitguha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prithvijitguha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prithvijitguha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prithvijitguha"
} | [] | closed | false | null | [] | null | 2 | "2021-11-18T15:17:15Z" | "2021-11-19T17:31:48Z" | "2021-11-19T17:31:48Z" | NONE | null | xref #37715
Changed variable name `repeats` to `ensured_repeats` pandas/core/indexes/multi.py: 2161 and 2167
Removed type[ignore] assignment and mypy error comment.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44513/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44513/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44513.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44513",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44513.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44513"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44514 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44514/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44514/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44514/events | https://github.com/pandas-dev/pandas/pull/44514 | 1,057,576,435 | PR_kwDOAA0YD84uud6U | 44,514 | BUG: IntegerArray/FloatingArray constructors mismatched NAs | {
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | open | false | null | [] | null | 0 | "2021-11-18T16:51:09Z" | "2021-11-21T00:20:58Z" | null | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Same yak-shaving as #44495 (which turned out to be a dead end for this particular yak, but still a perf bump) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44514/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44514/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44514.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44514",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/44514.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44514"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44515 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44515/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44515/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44515/events | https://github.com/pandas-dev/pandas/issues/44515 | 1,057,633,047 | I_kwDOAA0YD84_CjMX | 44,515 | BUG: | {
"avatar_url": "https://avatars.githubusercontent.com/u/30285349?v=4",
"events_url": "https://api.github.com/users/alexmondaini/events{/privacy}",
"followers_url": "https://api.github.com/users/alexmondaini/followers",
"following_url": "https://api.github.com/users/alexmondaini/following{/other_user}",
"gists_url": "https://api.github.com/users/alexmondaini/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexmondaini",
"id": 30285349,
"login": "alexmondaini",
"node_id": "MDQ6VXNlcjMwMjg1MzQ5",
"organizations_url": "https://api.github.com/users/alexmondaini/orgs",
"received_events_url": "https://api.github.com/users/alexmondaini/received_events",
"repos_url": "https://api.github.com/users/alexmondaini/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexmondaini/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexmondaini/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexmondaini"
} | [
{
"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 | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | "2021-11-18T17:48:13Z" | "2021-11-18T18:33:25Z" | "2021-11-18T18:33:13Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df = pd.DataFrame([NaN,*range(5),1000],columns=['col1'])
df.update(df.loc[:,df.columns != 'some_column'].pct_change(-1))
print(df)
```
### Issue Description
This code without `df.update` will make the last row of the dataset filled with `NaN` values, however when an `update` is made the row remains unchanged. is this a normal behavior of pandas ? shouldn't the row be updated to `Nan` ?
### Expected Behavior
return last row with `NaN`
### Installed Versions
INSTALLED VERSIONS
------------------
commit : 73c68257545b5f8530b7044f56647bd2db92e2ba
python : 3.9.7.final.0
python-bits : 64
OS : Darwin
OS-release : 21.1.0
Version : Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101
machine : arm64
processor : arm
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.3.3
numpy : 1.21.2
pytz : 2021.3
dateutil : 2.8.2
pip : 21.2.4
setuptools : 58.0.4
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.28.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44515/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44515/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44516 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44516/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44516/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44516/events | https://github.com/pandas-dev/pandas/issues/44516 | 1,057,702,518 | I_kwDOAA0YD84_C0J2 | 44,516 | CI: web/doc not building for multiple workflows | {
"avatar_url": "https://avatars.githubusercontent.com/u/52484416?v=4",
"events_url": "https://api.github.com/users/loicdiridollou/events{/privacy}",
"followers_url": "https://api.github.com/users/loicdiridollou/followers",
"following_url": "https://api.github.com/users/loicdiridollou/following{/other_user}",
"gists_url": "https://api.github.com/users/loicdiridollou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/loicdiridollou",
"id": 52484416,
"login": "loicdiridollou",
"node_id": "MDQ6VXNlcjUyNDg0NDE2",
"organizations_url": "https://api.github.com/users/loicdiridollou/orgs",
"received_events_url": "https://api.github.com/users/loicdiridollou/received_events",
"repos_url": "https://api.github.com/users/loicdiridollou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/loicdiridollou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/loicdiridollou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/loicdiridollou"
} | [
{
"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 | 0 | "2021-11-18T19:06:52Z" | "2021-11-18T19:11:16Z" | "2021-11-18T19:11:16Z" | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
Make a PR that launches the workflow
```
### Issue Description
I have been looking at updating some documentation and been pushing the PR for review. Although code was approved, there are still some checks that are not passing (and they are not for many other pull requests so my case does not seem to be isolated).
The error that appears is in the CI/Web and docs workflow:
```
/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
WARNING:
>>>-------------------------------------------------------------------------
Warning in /home/runner/work/pandas/pandas/doc/source/user_guide/io.rst at block ending on line 3033
Specify :okwarning: as an option in the ipython:: block to suppress this message
----------------------------------------------------------------------------
/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/charset_normalizer/api.py:91: UserWarning: Trying to detect encoding from a tiny portion of (11) byte(s).
warn('Trying to detect encoding from a tiny portion of ({}) byte(s).'.format(length))
<<<-------------------------------------------------------------------------
```
which triggers a warning that is considered as an error since we pass the `--warnings-are-errors` in the `doc/make.py --warnings-are-errors | tee sphinx.log ; exit ${PIPESTATUS[0]}` command to build the documentation
### Expected Behavior
Tests should be passing without issues (has been passing in the past without issues, not sure what is breaking the tests now).
Latest changes on the file `doc/source/user_guide/io.rst` do not seem to impact this section
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : c2587f807cbaaf16585fa293e9b1ec41cef1b511
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.104-microsoft-standard
Version : #1 SMP Wed Feb 19 06:37:35 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.4.0.dev0+1158.gc2587f807c
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 59.1.1
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.24.6
sphinx : 4.3.0
blosc : None
feather : None
xlsxwriter : 3.0.2
lxml.etree : 4.6.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.29.0
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fsspec : 2021.11.0
fastparquet : 0.7.1
gcsfs : 2021.11.0
matplotlib : 3.5.0
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 6.0.1
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.27
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44516/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44516/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44517 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44517/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44517/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44517/events | https://github.com/pandas-dev/pandas/issues/44517 | 1,057,716,664 | I_kwDOAA0YD84_C3m4 | 44,517 | BUG: groupby(..., dropna=False).filter() never includes rows with NaNs in the index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1377457?v=4",
"events_url": "https://api.github.com/users/pganssle/events{/privacy}",
"followers_url": "https://api.github.com/users/pganssle/followers",
"following_url": "https://api.github.com/users/pganssle/following{/other_user}",
"gists_url": "https://api.github.com/users/pganssle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pganssle",
"id": 1377457,
"login": "pganssle",
"node_id": "MDQ6VXNlcjEzNzc0NTc=",
"organizations_url": "https://api.github.com/users/pganssle/orgs",
"received_events_url": "https://api.github.com/users/pganssle/received_events",
"repos_url": "https://api.github.com/users/pganssle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pganssle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pganssle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pganssle"
} | [
{
"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"
}
] | open | false | null | [] | null | 0 | "2021-11-18T19:23:08Z" | "2021-11-18T19:23:45Z" | null | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
nan = float('nan')
df = pd.DataFrame([
[1, 2, 1],
[1, 2, 2],
[2, nan, 3],
[2, nan, 4],
[3, 3, 5],],
columns=["a", "b", "c"])
gb = df.groupby(["a", "b"], dropna=False)
filtered = gb.filter(lambda x: len(x) > 1)
print(filtered)
# a b c
# 0 1 2.0 1
# 1 1 2.0 2
# Expecting:
# a b c
# 0 1 2.0 1
# 1 1 2.0 2
# 2 2 NaN 3
# 3 2 NaN 4
# Note that there is no problem with agg:
print()
agged = gb.agg(len)
print(agged)
# c
# a b
# 1 2.0 2
# 2 NaN 2
# 3 3.0 1
```
### Issue Description
When using `groupby()` and then applying a filter, if the group values include a `NaN`, those rows are *always dropped*! If you add `dropna=False` to the `filter` call, it just fills them with NaNs.
### Expected Behavior
`NaN`s should be treated as unique values rather than dropped automatically.
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 945c9ed766a61c7d2c0a7cbb251b6edebf9cb7d5
python : 3.9.4.final.0
python-bits : 64
OS : Linux
OS-release : 5.14.16-arch1-1
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.4
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 58.3.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
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/44517/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44517/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44518 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44518/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44518/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44518/events | https://github.com/pandas-dev/pandas/pull/44518 | 1,057,803,766 | PR_kwDOAA0YD84uvL8i | 44,518 | BUG: DataFrame with scalar tzaware Timestamp | {
"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": "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": "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": "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": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 8 | "2021-11-18T21:11:02Z" | "2021-11-21T10:37:03Z" | "2021-11-20T21:12:08Z" | MEMBER | null | - [x] closes #42505
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
@simonjayhawkins where does the whatsnew for this 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/44518/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44518/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44518.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44518",
"merged_at": "2021-11-20T21:12:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44518.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44518"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44519 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44519/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44519/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44519/events | https://github.com/pandas-dev/pandas/pull/44519 | 1,057,805,431 | PR_kwDOAA0YD84uvMTC | 44,519 | REF: remove unused allow_object kwarg from sequence_to_dt64ns | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-11-18T21:13:13Z" | "2021-11-20T16:13:40Z" | "2021-11-20T16:05:59Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44519/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44519/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44519.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44519",
"merged_at": "2021-11-20T16:05:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44519.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44519"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44520 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44520/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44520/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44520/events | https://github.com/pandas-dev/pandas/pull/44520 | 1,057,918,514 | PR_kwDOAA0YD84uvZeB | 44,520 | REF: implement _maybe_squeeze_arg | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-18T22:42:52Z" | "2021-11-20T16:11:52Z" | "2021-11-20T16:05:08Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Allows for sharing some more Block methods. Will be able to do the same for 'where' following the bugfix that comes after #44514. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44520/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44520/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44520.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44520",
"merged_at": "2021-11-20T16:05:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44520.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44520"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/44521 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44521/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44521/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44521/events | https://github.com/pandas-dev/pandas/issues/44521 | 1,057,992,863 | I_kwDOAA0YD84_D7Cf | 44,521 | CI: test failing in the plotting module | {
"avatar_url": "https://avatars.githubusercontent.com/u/52484416?v=4",
"events_url": "https://api.github.com/users/loicdiridollou/events{/privacy}",
"followers_url": "https://api.github.com/users/loicdiridollou/followers",
"following_url": "https://api.github.com/users/loicdiridollou/following{/other_user}",
"gists_url": "https://api.github.com/users/loicdiridollou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/loicdiridollou",
"id": 52484416,
"login": "loicdiridollou",
"node_id": "MDQ6VXNlcjUyNDg0NDE2",
"organizations_url": "https://api.github.com/users/loicdiridollou/orgs",
"received_events_url": "https://api.github.com/users/loicdiridollou/received_events",
"repos_url": "https://api.github.com/users/loicdiridollou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/loicdiridollou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/loicdiridollou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/loicdiridollou"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"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"
}
] | {
"closed_at": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 0 | "2021-11-19T00:16:00Z" | "2021-11-20T00:11:39Z" | "2021-11-20T00:11:39Z" | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
Create a PR the workflows will run and in the `Test experimental data manager (slow)` workflow it it will return an exit code 1
Launch `pytest pandas/tests/plotting/test_hist_method.py pandas/tests/plotting/test_series.py pandas/tests/plotting/frame/test_hist_box_by.py`
All tests used to pass a week or so ago, now it is failing (and failing in many different PRs, does not look like an isolate case).
```
### Issue Description
The following tests are consistently failing on local installation or in the CI/CD pipeline.
```
=========================== short test summary info ============================
FAILED pandas/tests/plotting/test_hist_method.py::TestDataFrameGroupByPlots::test_axis_share_x
FAILED pandas/tests/plotting/test_hist_method.py::TestDataFrameGroupByPlots::test_axis_share_y
FAILED pandas/tests/plotting/test_hist_method.py::TestDataFrameGroupByPlots::test_axis_share_xy
FAILED pandas/tests/plotting/test_series.py::TestSeriesPlots::test_area_sharey_dont_overwrite
FAILED pandas/tests/plotting/frame/test_frame.py::TestDataFramePlots::test_area_sharey_dont_overwrite
FAILED pandas/tests/plotting/frame/test_hist_box_by.py::TestHistWithBy::test_axis_share_x_with_by
FAILED pandas/tests/plotting/frame/test_hist_box_by.py::TestHistWithBy::test_axis_share_y_with_by
```
### Expected Behavior
Tests should pass
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 8c4bd0e0c3698ced1420c41d33bac9f0e8fb4916
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.104-microsoft-standard
Version : #1 SMP Wed Feb 19 06:37:35 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.4.0.dev0+1144.g8c4bd0e0c3.dirty
numpy : 1.21.4
pytz : 2021.3
dateutil : 2.8.2
pip : 21.3.1
setuptools : 59.1.1
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.24.6
sphinx : 4.3.0
blosc : None
feather : None
xlsxwriter : 3.0.2
lxml.etree : 4.6.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.3
IPython : 7.29.0
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fsspec : 2021.11.0
fastparquet : 0.7.1
gcsfs : 2021.11.0
matplotlib : 3.5.0
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 6.0.1
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.27
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44521/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44521/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44522 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44522/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44522/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44522/events | https://github.com/pandas-dev/pandas/pull/44522 | 1,058,006,265 | PR_kwDOAA0YD84uvs02 | 44,522 | DEPR: DateOffset.apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-11-19T00:41:30Z" | "2021-11-20T21:30:54Z" | "2021-11-20T20:46:44Z" | 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_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Gives us the flexibility to consolidate the logic in `__add__` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44522/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44522/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/44522.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/44522",
"merged_at": "2021-11-20T20:46:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/44522.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/44522"
} |
Subsets and Splits