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/40619 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40619/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40619/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40619/events | https://github.com/pandas-dev/pandas/pull/40619 | 840,160,672 | MDExOlB1bGxSZXF1ZXN0NjAwMDY2NDMy | 40,619 | REF: share _maybe_downcast between Block subclasses | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-24T21:00:45Z" | "2021-03-24T23:14:52Z" | "2021-03-24T23:11:20Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40619/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40619/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40619.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40619",
"merged_at": "2021-03-24T23:11:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40619.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40619"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40620 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40620/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40620/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40620/events | https://github.com/pandas-dev/pandas/pull/40620 | 840,164,941 | MDExOlB1bGxSZXF1ZXN0NjAwMDcwMDU4 | 40,620 | PERF: cache_readonly for Block properties | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-24T21:07:12Z" | "2021-03-29T14:46:12Z" | "2021-03-29T14:42:30Z" | MEMBER | null | We'll be able to cache more aggressively following each of #35417, #40574, and #40263 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40620/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40620/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40620.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40620",
"merged_at": "2021-03-29T14:42:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40620.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40620"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40621 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40621/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40621/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40621/events | https://github.com/pandas-dev/pandas/pull/40621 | 840,318,176 | MDExOlB1bGxSZXF1ZXN0NjAwMjExNTEw | 40,621 | BUG: groupby any/all raising on extension types | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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 | [] | null | 3 | "2021-03-24T23:24:08Z" | "2021-04-06T17:57:35Z" | "2021-04-06T17:57:35Z" | MEMBER | null | - [x] closes #40585
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Will follow up by looking into #37506 so that the `skipna=False` case can also be handled correctly. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40621/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40621/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40621.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40621",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40621.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40621"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40622 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40622/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40622/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40622/events | https://github.com/pandas-dev/pandas/issues/40622 | 840,437,297 | MDU6SXNzdWU4NDA0MzcyOTc= | 40,622 | ENH: How about "cannot reindex from an index with duplicate values"? | {
"avatar_url": "https://avatars.githubusercontent.com/u/57646?v=4",
"events_url": "https://api.github.com/users/jabowery/events{/privacy}",
"followers_url": "https://api.github.com/users/jabowery/followers",
"following_url": "https://api.github.com/users/jabowery/following{/other_user}",
"gists_url": "https://api.github.com/users/jabowery/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jabowery",
"id": 57646,
"login": "jabowery",
"node_id": "MDQ6VXNlcjU3NjQ2",
"organizations_url": "https://api.github.com/users/jabowery/orgs",
"received_events_url": "https://api.github.com/users/jabowery/received_events",
"repos_url": "https://api.github.com/users/jabowery/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jabowery/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jabowery/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jabowery"
} | [
{
"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": "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": "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"
}
] | open | false | null | [] | null | 1 | "2021-03-25T00:55:53Z" | "2021-08-19T02:56:50Z" | null | NONE | null | #### Is your feature request related to a problem?
I spent quite a bit of time trying to figure out what this message means:
`*** ValueError: cannot reindex from a duplicate axis`
#### Describe the solution you'd like
It would have been much easier for me to figure out what I was doing wrong with the message:
`*** ValueError: cannot reindex from an index with duplicate values`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40622/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40622/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40623 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40623/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40623/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40623/events | https://github.com/pandas-dev/pandas/pull/40623 | 840,446,554 | MDExOlB1bGxSZXF1ZXN0NjAwMzMyNzcz | 40,623 | TYP: intp in libalgos | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | null | 2 | "2021-03-25T01:03:13Z" | "2021-03-26T15:24:11Z" | "2021-03-26T13:05:46Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40623/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40623/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40623.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40623",
"merged_at": "2021-03-26T13:05:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40623.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40623"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40624 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40624/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40624/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40624/events | https://github.com/pandas-dev/pandas/issues/40624 | 840,479,252 | MDU6SXNzdWU4NDA0NzkyNTI= | 40,624 | BUG: Arithmetic operations on 0 length ExtensionArrays aren't tested | {
"avatar_url": "https://avatars.githubusercontent.com/u/13157776?v=4",
"events_url": "https://api.github.com/users/andrewgsavage/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewgsavage/followers",
"following_url": "https://api.github.com/users/andrewgsavage/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewgsavage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andrewgsavage",
"id": 13157776,
"login": "andrewgsavage",
"node_id": "MDQ6VXNlcjEzMTU3Nzc2",
"organizations_url": "https://api.github.com/users/andrewgsavage/orgs",
"received_events_url": "https://api.github.com/users/andrewgsavage/received_events",
"repos_url": "https://api.github.com/users/andrewgsavage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andrewgsavage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewgsavage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andrewgsavage"
} | [
{
"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": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | "2021-03-25T01:41:01Z" | "2021-07-01T21:41:36Z" | null | NONE | null | pint-pandas includes the arithmetic tests, but had an issue opened for performing addition on a 0 length PintArray. I don't think this is tested in the EA tests.
```
import pint_pandas
import numpy as np
import pint
import pandas as pd
PA_= pint_pandas.PintArray
PT_ = pint_pandas.PintType
ureg=pint.get_application_registry()
data = PA_.from_1darray_quantity(
np.arange(start=1.0, stop=101.0) * ureg.nm
)
s = pd.Series(data)
s.loc[[]] + (1 * ureg.meter) # Untested
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40624/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40624/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40625 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40625/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40625/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40625/events | https://github.com/pandas-dev/pandas/pull/40625 | 840,532,139 | MDExOlB1bGxSZXF1ZXN0NjAwNDA1MzQz | 40,625 | REF: SingleBlockManager dont subclass BlockManager | {
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-25T03:54:12Z" | "2021-04-08T20:57:12Z" | "2021-04-08T20:16:27Z" | MEMBER | null | Instead, most of BlockManager becomes _BlockManager which is subclassed by SingleBlockManager and BlockManager, the latter holding only the 2d-specific BM methods.
Motivation: putting BlockManager constructor in cython gives a much bigger gain if we can define `__cinit__`, and we can't do that with the two subclasses having mismatched `__init__` signatures. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40625/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40625/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40625.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40625",
"merged_at": "2021-04-08T20:16:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40625.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40625"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40626 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40626/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40626/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40626/events | https://github.com/pandas-dev/pandas/issues/40626 | 840,554,057 | MDU6SXNzdWU4NDA1NTQwNTc= | 40,626 | BUG: I got empty Dataframe with index from the summation of empty Dataframe with MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/5256282?v=4",
"events_url": "https://api.github.com/users/llthelinkll/events{/privacy}",
"followers_url": "https://api.github.com/users/llthelinkll/followers",
"following_url": "https://api.github.com/users/llthelinkll/following{/other_user}",
"gists_url": "https://api.github.com/users/llthelinkll/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/llthelinkll",
"id": 5256282,
"login": "llthelinkll",
"node_id": "MDQ6VXNlcjUyNTYyODI=",
"organizations_url": "https://api.github.com/users/llthelinkll/orgs",
"received_events_url": "https://api.github.com/users/llthelinkll/received_events",
"repos_url": "https://api.github.com/users/llthelinkll/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/llthelinkll/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/llthelinkll/subscriptions",
"type": "User",
"url": "https://api.github.com/users/llthelinkll"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 1 | "2021-03-25T04:49:03Z" | "2021-03-25T20:25:07Z" | "2021-03-25T20:24:20Z" | NONE | null | I'm not sure that the current behavior is right, so I would like to ask.
When I have a non-empty Dataframe I can use `sum(level=['Project', 'Task''])` to get the MultiIndex Dataframe as my expectation. But when I try to sum the empty Dataframe, I got Index Dataframe instead of MultiIndex Dataframe and It has no index name and column name in there.
Is this the correct behavior or this is a bug. If this is the correct one, do you have any suggestions for me to handle this?
Thank you in advance.
## Code Sample
```python
pd.__version__
# non-empty data
data = pd.DataFrame([(1,1,1,1,1,1),(2,2,2,2,2,2)],columns=('Project', 'Task', 'Increasing Length', 'Start Period', 'Period', 'Value'))
data.set_index(['Project', 'Task', 'Increasing Length', 'Start Period', 'Period'], inplace=True)
sum_data = data.sum(level=['Project', 'Task'])
print(sum_data)
# empty data
empty_data = pd.DataFrame([],columns=('Project', 'Task', 'Increasing Length', 'Start Period', 'Period', 'Value'))
empty_data.set_index(['Project', 'Task', 'Increasing Length', 'Start Period', 'Period'], inplace=True)
# sum of empty data
sum_empty_data = empty_data.sum(level=['Project', 'Task'])
print(sum_empty_data)
# my expectation
expected_sum_empty_data = pd.DataFrame([],columns=('Project', 'Task', 'Value'))
expected_sum_empty_data.set_index(['Project', 'Task'], inplace=True)
print(expected_sum_empty_data)
```
## Expected Output

## Installed Version
python : 3.8.8
pandas : 1.2.3
numpy : 1.20.1
OS: Ubuntu 20.04.1 LTS (docker)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40626/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40626/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40627 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40627/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40627/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40627/events | https://github.com/pandas-dev/pandas/pull/40627 | 840,565,780 | MDExOlB1bGxSZXF1ZXN0NjAwNDMzNzQx | 40,627 | ENH: Addition of input arguments for boundaries to add more consistency between methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/42876297?v=4",
"events_url": "https://api.github.com/users/hewittk/events{/privacy}",
"followers_url": "https://api.github.com/users/hewittk/followers",
"following_url": "https://api.github.com/users/hewittk/following{/other_user}",
"gists_url": "https://api.github.com/users/hewittk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hewittk",
"id": 42876297,
"login": "hewittk",
"node_id": "MDQ6VXNlcjQyODc2Mjk3",
"organizations_url": "https://api.github.com/users/hewittk/orgs",
"received_events_url": "https://api.github.com/users/hewittk/received_events",
"repos_url": "https://api.github.com/users/hewittk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hewittk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hewittk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hewittk"
} | [] | closed | false | null | [] | null | 1 | "2021-03-25T05:15:31Z" | "2021-03-25T05:50:19Z" | "2021-03-25T05:50:19Z" | CONTRIBUTOR | null | - [x] closes #40245
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40627/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40627/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40627.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40627",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40627.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40627"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40628 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40628/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40628/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40628/events | https://github.com/pandas-dev/pandas/pull/40628 | 840,584,176 | MDExOlB1bGxSZXF1ZXN0NjAwNDQ5NjU0 | 40,628 | ENH: New boundary inputs | {
"avatar_url": "https://avatars.githubusercontent.com/u/42876297?v=4",
"events_url": "https://api.github.com/users/hewittk/events{/privacy}",
"followers_url": "https://api.github.com/users/hewittk/followers",
"following_url": "https://api.github.com/users/hewittk/following{/other_user}",
"gists_url": "https://api.github.com/users/hewittk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hewittk",
"id": 42876297,
"login": "hewittk",
"node_id": "MDQ6VXNlcjQyODc2Mjk3",
"organizations_url": "https://api.github.com/users/hewittk/orgs",
"received_events_url": "https://api.github.com/users/hewittk/received_events",
"repos_url": "https://api.github.com/users/hewittk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hewittk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hewittk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hewittk"
} | [
{
"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": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 13 | "2021-03-25T05:52:36Z" | "2021-06-25T09:26:57Z" | "2021-06-25T09:23:15Z" | CONTRIBUTOR | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] tests added / passed
- [x] closes #40245
- [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/40628/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40628/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40628.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40628",
"merged_at": "2021-06-25T09:23:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40628.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40628"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40629 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40629/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40629/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40629/events | https://github.com/pandas-dev/pandas/pull/40629 | 840,609,480 | MDExOlB1bGxSZXF1ZXN0NjAwNDcxMTM1 | 40,629 | Detect Parsing errors in read_csv first row with index_col=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/28767570?v=4",
"events_url": "https://api.github.com/users/njriasan/events{/privacy}",
"followers_url": "https://api.github.com/users/njriasan/followers",
"following_url": "https://api.github.com/users/njriasan/following{/other_user}",
"gists_url": "https://api.github.com/users/njriasan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/njriasan",
"id": 28767570,
"login": "njriasan",
"node_id": "MDQ6VXNlcjI4NzY3NTcw",
"organizations_url": "https://api.github.com/users/njriasan/orgs",
"received_events_url": "https://api.github.com/users/njriasan/received_events",
"repos_url": "https://api.github.com/users/njriasan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/njriasan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/njriasan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/njriasan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "78bced",
"default": false,
"description": "Waiting for review/response from a maintainer.",
"id": 2324533627,
"name": "Needs Review",
"node_id": "MDU6TGFiZWwyMzI0NTMzNjI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review"
}
] | closed | false | null | [] | null | 16 | "2021-03-25T06:32:30Z" | "2021-11-06T03:03:14Z" | "2021-11-06T03:03:13Z" | NONE | null | - [X] closes #40333
- [X] closes #22144
- [x] tests added / passed
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [X] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40629/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40629/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40629.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40629",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40629.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40629"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40630 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40630/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40630/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40630/events | https://github.com/pandas-dev/pandas/issues/40630 | 840,724,267 | MDU6SXNzdWU4NDA3MjQyNjc= | 40,630 | BUG: series.to_numpy does not work well with pd.Float64Dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/49187354?v=4",
"events_url": "https://api.github.com/users/jaspersival/events{/privacy}",
"followers_url": "https://api.github.com/users/jaspersival/followers",
"following_url": "https://api.github.com/users/jaspersival/following{/other_user}",
"gists_url": "https://api.github.com/users/jaspersival/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaspersival",
"id": 49187354,
"login": "jaspersival",
"node_id": "MDQ6VXNlcjQ5MTg3MzU0",
"organizations_url": "https://api.github.com/users/jaspersival/orgs",
"received_events_url": "https://api.github.com/users/jaspersival/received_events",
"repos_url": "https://api.github.com/users/jaspersival/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaspersival/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaspersival/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaspersival"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "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 | 2 | "2021-03-25T09:15:45Z" | "2021-07-26T20:19:27Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
from scipy.stats import norm
series = pd.Series([2.0, -2.5, pd.NA], dtype=pd.Float64Dtype())
norm.pdf(series)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\XXX-w19Rd76b-py3.9\lib\site-packages\scipy\stats\_distn_infrastructure.py", line 1837, in pdf
cond1 = self._support_mask(x, *args) & (scale > 0)
File "C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\XXX-w19Rd76b-py3.9\lib\site-packages\scipy\stats\_distn_infrastructure.py", line 964, in _support_mask
return (a <= x) & (x <= b)
File "pandas\_libs\missing.pyx", line 360, in pandas._libs.missing.NAType.__bool__
TypeError: boolean value of NA is ambiguous
```
#### Problem description
My issue is about that pandas does not convert a pd.Series with dtype=pd.Float64Dtype() correctly to a numpy array when I try to use the scipy.stats.norm function. Therefore it cannot handle empty values (pd.NA) and the series needs to be cast right now as a float dtype to properly work which is not ideal. It probably has to do with the fact that the method series.to_numpy is called which does not work well with pd.Float64Dtype.
See also [https://github.com/scipy/scipy/issues/13729]
#### Expected Output
array([0.05399097, 0.0175283 , nan])
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.9.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0
Cython : None
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : 1.4.2
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
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/40630/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40630/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40631 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40631/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40631/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40631/events | https://github.com/pandas-dev/pandas/issues/40631 | 840,742,672 | MDU6SXNzdWU4NDA3NDI2NzI= | 40,631 | BUG: | {
"avatar_url": "https://avatars.githubusercontent.com/u/13226855?v=4",
"events_url": "https://api.github.com/users/PiyuGandhi/events{/privacy}",
"followers_url": "https://api.github.com/users/PiyuGandhi/followers",
"following_url": "https://api.github.com/users/PiyuGandhi/following{/other_user}",
"gists_url": "https://api.github.com/users/PiyuGandhi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/PiyuGandhi",
"id": 13226855,
"login": "PiyuGandhi",
"node_id": "MDQ6VXNlcjEzMjI2ODU1",
"organizations_url": "https://api.github.com/users/PiyuGandhi/orgs",
"received_events_url": "https://api.github.com/users/PiyuGandhi/received_events",
"repos_url": "https://api.github.com/users/PiyuGandhi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/PiyuGandhi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PiyuGandhi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/PiyuGandhi"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] | closed | false | null | [] | null | 2 | "2021-03-25T09:37:02Z" | "2021-03-30T01:28:37Z" | "2021-03-30T01:28:37Z" | NONE | null |
---
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas as pd
pd.read_excel('2a/07AAUFG6881H1ZP_012021_R2A.xlsx',sheet_name='B2B',skiprows=6, engine='openpyxl').shape
Ouput- (24, 24)
```
#### Problem description
There are no empty rows, no change in data has occurred. Somehow, only 24 rows are being read since today. There are 4 more files where same thing is happening
#### Expected Output
Actual shape of data - (92,24)
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.8.final.0
python-bits : 64
OS : Darwin
OS-release : 20.3.0
Version : Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.1.2
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 49.6.0.post20200917
Cython : None
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.20.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40631/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40631/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40632 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40632/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40632/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40632/events | https://github.com/pandas-dev/pandas/pull/40632 | 840,795,799 | MDExOlB1bGxSZXF1ZXN0NjAwNjI2MDA5 | 40,632 | CI: fix pre-commit on 1.2.x | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 1 | "2021-03-25T10:40:12Z" | "2021-03-25T11:54:00Z" | "2021-03-25T11:53:56Z" | MEMBER | null | https://github.com/pandas-dev/pandas/pull/40481#issuecomment-806522323 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40632/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40632/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40632.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40632",
"merged_at": "2021-03-25T11:53:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40632.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40632"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40633 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40633/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40633/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40633/events | https://github.com/pandas-dev/pandas/pull/40633 | 840,828,720 | MDExOlB1bGxSZXF1ZXN0NjAwNjUzNjY0 | 40,633 | Backport PR #40457: CI: fix failing script/tests | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 0 | "2021-03-25T11:21:11Z" | "2021-03-25T12:13:52Z" | "2021-03-25T12:13:47Z" | MEMBER | null | Backport PR #40457 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40633/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40633/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40633.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40633",
"merged_at": "2021-03-25T12:13:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40633.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40633"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40634 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40634/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40634/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40634/events | https://github.com/pandas-dev/pandas/pull/40634 | 840,938,899 | MDExOlB1bGxSZXF1ZXN0NjAwNzQ3ODky | 40,634 | Backport PR #40592: REGR: where not copying on no-op | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "370f77",
"default": false,
"description": "DataFrame data structure",
"id": 1049312478,
"name": "DataFrame",
"node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame"
}
] | closed | false | null | [] | {
"closed_at": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 0 | "2021-03-25T13:38:52Z" | "2021-03-25T15:23:29Z" | "2021-03-25T15:23:25Z" | MEMBER | null | Backport PR #40592 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40634/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40634/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40634.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40634",
"merged_at": "2021-03-25T15:23:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40634.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40634"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40635 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40635/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40635/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40635/events | https://github.com/pandas-dev/pandas/pull/40635 | 841,062,044 | MDExOlB1bGxSZXF1ZXN0NjAwODUyMTY2 | 40,635 | TYP: libgroupby int64->intp | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 11 | "2021-03-25T15:45:30Z" | "2021-03-26T15:48:25Z" | "2021-03-26T13:10:00Z" | MEMBER | null | @realead pushing this any further requires getting a HashTable for intp_t. Would that be difficult? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40635/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40635/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40635.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40635",
"merged_at": "2021-03-26T13:10:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40635.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40635"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40636 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40636/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40636/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40636/events | https://github.com/pandas-dev/pandas/pull/40636 | 841,071,470 | MDExOlB1bGxSZXF1ZXN0NjAwODYwMDY2 | 40,636 | add deltalake to eco system doc page | {
"avatar_url": "https://avatars.githubusercontent.com/u/670302?v=4",
"events_url": "https://api.github.com/users/houqp/events{/privacy}",
"followers_url": "https://api.github.com/users/houqp/followers",
"following_url": "https://api.github.com/users/houqp/following{/other_user}",
"gists_url": "https://api.github.com/users/houqp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/houqp",
"id": 670302,
"login": "houqp",
"node_id": "MDQ6VXNlcjY3MDMwMg==",
"organizations_url": "https://api.github.com/users/houqp/orgs",
"received_events_url": "https://api.github.com/users/houqp/received_events",
"repos_url": "https://api.github.com/users/houqp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/houqp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/houqp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/houqp"
} | [
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 5 | "2021-03-25T15:55:29Z" | "2021-06-11T03:36:09Z" | "2021-03-30T02:27:23Z" | CONTRIBUTOR | null | - [x] relates to #35017
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40636/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40636/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40636.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40636",
"merged_at": "2021-03-30T02:27:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40636.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40636"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40637 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40637/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40637/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40637/events | https://github.com/pandas-dev/pandas/pull/40637 | 841,124,073 | MDExOlB1bGxSZXF1ZXN0NjAwOTA0MjU0 | 40,637 | DOC: release notes for 1.3.0 Styler | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-25T16:53:49Z" | "2021-04-03T06:09:46Z" | "2021-04-02T21:37:23Z" | CONTRIBUTOR | null | Added a note to the enhancements section detailing some different upgrades to `Styler` for 1.3.0
If this is not standard or unnecessary just close this PR - I'm only including it in case it is helpful (it is not for self-publication), so I am completely indifferent!
Hopefully there will be one or two more items to add before the end of May.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40637/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40637/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40637.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40637",
"merged_at": "2021-04-02T21:37:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40637.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40637"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40638 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40638/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40638/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40638/events | https://github.com/pandas-dev/pandas/issues/40638 | 841,135,984 | MDU6SXNzdWU4NDExMzU5ODQ= | 40,638 | BUG: PandasArray.to_numpy mishandles na_value | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/57572588?v=4",
"events_url": "https://api.github.com/users/Sudomarko/events{/privacy}",
"followers_url": "https://api.github.com/users/Sudomarko/followers",
"following_url": "https://api.github.com/users/Sudomarko/following{/other_user}",
"gists_url": "https://api.github.com/users/Sudomarko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Sudomarko",
"id": 57572588,
"login": "Sudomarko",
"node_id": "MDQ6VXNlcjU3NTcyNTg4",
"organizations_url": "https://api.github.com/users/Sudomarko/orgs",
"received_events_url": "https://api.github.com/users/Sudomarko/received_events",
"repos_url": "https://api.github.com/users/Sudomarko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Sudomarko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sudomarko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Sudomarko"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/57572588?v=4",
"events_url": "https://api.github.com/users/Sudomarko/events{/privacy}",
"followers_url": "https://api.github.com/users/Sudomarko/followers",
"following_url": "https://api.github.com/users/Sudomarko/following{/other_user}",
"gists_url": "https://api.github.com/users/Sudomarko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Sudomarko",
"id": 57572588,
"login": "Sudomarko",
"node_id": "MDQ6VXNlcjU3NTcyNTg4",
"organizations_url": "https://api.github.com/users/Sudomarko/orgs",
"received_events_url": "https://api.github.com/users/Sudomarko/received_events",
"repos_url": "https://api.github.com/users/Sudomarko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Sudomarko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sudomarko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Sudomarko"
}
] | null | 1 | "2021-03-25T17:07:44Z" | "2021-04-19T23:17:36Z" | null | MEMBER | null | Problem is here:
https://github.com/pandas-dev/pandas/blob/acacff35b1fe87875e2fddccbbadbc1c6834d156/pandas/core/arrays/numpy_.py#L358-L364
Since `na_value` is handled after the dtype conversion, calls like
```
arr = pd.array([pd.NA, 1], dtype="string")
arr.to_numpy(na_value=True, dtype=bool)
```
fail. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40638/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40638/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40639 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40639/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40639/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40639/events | https://github.com/pandas-dev/pandas/pull/40639 | 841,254,483 | MDExOlB1bGxSZXF1ZXN0NjAxMDE0MDc1 | 40,639 | DOC array_algos/take method format update | {
"avatar_url": "https://avatars.githubusercontent.com/u/65365981?v=4",
"events_url": "https://api.github.com/users/LucasHynes/events{/privacy}",
"followers_url": "https://api.github.com/users/LucasHynes/followers",
"following_url": "https://api.github.com/users/LucasHynes/following{/other_user}",
"gists_url": "https://api.github.com/users/LucasHynes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LucasHynes",
"id": 65365981,
"login": "LucasHynes",
"node_id": "MDQ6VXNlcjY1MzY1OTgx",
"organizations_url": "https://api.github.com/users/LucasHynes/orgs",
"received_events_url": "https://api.github.com/users/LucasHynes/received_events",
"repos_url": "https://api.github.com/users/LucasHynes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LucasHynes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LucasHynes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LucasHynes"
} | [] | closed | false | null | [] | null | 2 | "2021-03-25T19:46:42Z" | "2021-03-25T20:28:41Z" | "2021-03-25T20:28:41Z" | NONE | null | Not sure fill_value and indexer definitions in the _take_nd_ndarray method but filled out what I could | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40639/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40639/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40639.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40639",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40639.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40639"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40640 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40640/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40640/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40640/events | https://github.com/pandas-dev/pandas/issues/40640 | 841,324,943 | MDU6SXNzdWU4NDEzMjQ5NDM= | 40,640 | Consolidate into contributing_environment.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/7188421?v=4",
"events_url": "https://api.github.com/users/David-dmh/events{/privacy}",
"followers_url": "https://api.github.com/users/David-dmh/followers",
"following_url": "https://api.github.com/users/David-dmh/following{/other_user}",
"gists_url": "https://api.github.com/users/David-dmh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/David-dmh",
"id": 7188421,
"login": "David-dmh",
"node_id": "MDQ6VXNlcjcxODg0MjE=",
"organizations_url": "https://api.github.com/users/David-dmh/orgs",
"received_events_url": "https://api.github.com/users/David-dmh/received_events",
"repos_url": "https://api.github.com/users/David-dmh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/David-dmh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/David-dmh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/David-dmh"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/7188421?v=4",
"events_url": "https://api.github.com/users/David-dmh/events{/privacy}",
"followers_url": "https://api.github.com/users/David-dmh/followers",
"following_url": "https://api.github.com/users/David-dmh/following{/other_user}",
"gists_url": "https://api.github.com/users/David-dmh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/David-dmh",
"id": 7188421,
"login": "David-dmh",
"node_id": "MDQ6VXNlcjcxODg0MjE=",
"organizations_url": "https://api.github.com/users/David-dmh/orgs",
"received_events_url": "https://api.github.com/users/David-dmh/received_events",
"repos_url": "https://api.github.com/users/David-dmh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/David-dmh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/David-dmh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/David-dmh"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/7188421?v=4",
"events_url": "https://api.github.com/users/David-dmh/events{/privacy}",
"followers_url": "https://api.github.com/users/David-dmh/followers",
"following_url": "https://api.github.com/users/David-dmh/following{/other_user}",
"gists_url": "https://api.github.com/users/David-dmh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/David-dmh",
"id": 7188421,
"login": "David-dmh",
"node_id": "MDQ6VXNlcjcxODg0MjE=",
"organizations_url": "https://api.github.com/users/David-dmh/orgs",
"received_events_url": "https://api.github.com/users/David-dmh/received_events",
"repos_url": "https://api.github.com/users/David-dmh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/David-dmh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/David-dmh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/David-dmh"
}
] | null | 1 | "2021-03-25T21:32:13Z" | "2021-04-04T17:14:58Z" | "2021-04-04T17:14:58Z" | CONTRIBUTOR | null | If you could also make `contributing_environment.rst` which includes _both_ Docker instructions as well as non-Docker, and remove `env_outside_docker`, that'd be great, else it can be a follow-up PR
_Originally posted by @MarcoGorelli in https://github.com/pandas-dev/pandas/issues/40130#issuecomment-803026178_ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40640/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40640/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40641 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40641/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40641/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40641/events | https://github.com/pandas-dev/pandas/pull/40641 | 841,355,885 | MDExOlB1bGxSZXF1ZXN0NjAxMTAxMTEy | 40,641 | TST: move Styler format tests to own module | {
"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": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 4 | "2021-03-25T22:08:41Z" | "2021-03-27T07:14:53Z" | "2021-03-26T13:08:09Z" | CONTRIBUTOR | null | The following tests moved from `style/test_style.py` to their own module `style/test_format.py`.
def test_display_format(styler):
def test_format_dict(styler):
def test_format_string(styler): [added new]
def test_format_callable(styler): [added new]
def test_format_with_na_rep():
def test_format_non_numeric_na():
def test_format_clear(styler):
def test_format_escape():
def test_format_escape_na_rep():
def test_format_escape_floats(styler):
def test_format_raises(styler, formatter):
def test_format_with_precision():
def test_format_subset():
The new module does not use `class` setup structure.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40641/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40641/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40641.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40641",
"merged_at": "2021-03-26T13:08:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40641.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40641"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40642 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40642/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40642/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40642/events | https://github.com/pandas-dev/pandas/pull/40642 | 841,402,496 | MDExOlB1bGxSZXF1ZXN0NjAxMTQzNTc3 | 40,642 | TYP: IndexOpsMixin | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-25T23:04:18Z" | "2021-11-20T23:23:35Z" | "2021-03-30T12:56:56Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40642/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40642/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40642.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40642",
"merged_at": "2021-03-30T12:56:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40642.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40642"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/40643 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40643/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40643/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40643/events | https://github.com/pandas-dev/pandas/pull/40643 | 841,415,529 | MDExOlB1bGxSZXF1ZXN0NjAxMTU1NTI0 | 40,643 | TYP: fix ignores in core.groupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-25T23:18:38Z" | "2021-03-26T22:01:33Z" | "2021-03-26T20:20:21Z" | MEMBER | null | cc @WillAyd | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40643/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40643/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40643.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40643",
"merged_at": "2021-03-26T20:20:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40643.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40643"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40644 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40644/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40644/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40644/events | https://github.com/pandas-dev/pandas/pull/40644 | 841,802,153 | MDExOlB1bGxSZXF1ZXN0NjAxNDgyNDEz | 40,644 | DOC: Change user guide style notebook to reST | {
"avatar_url": "https://avatars.githubusercontent.com/u/332746?v=4",
"events_url": "https://api.github.com/users/moi90/events{/privacy}",
"followers_url": "https://api.github.com/users/moi90/followers",
"following_url": "https://api.github.com/users/moi90/following{/other_user}",
"gists_url": "https://api.github.com/users/moi90/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moi90",
"id": 332746,
"login": "moi90",
"node_id": "MDQ6VXNlcjMzMjc0Ng==",
"organizations_url": "https://api.github.com/users/moi90/orgs",
"received_events_url": "https://api.github.com/users/moi90/received_events",
"repos_url": "https://api.github.com/users/moi90/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moi90/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moi90/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moi90"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | null | 1 | "2021-03-26T10:25:01Z" | "2021-03-30T07:23:16Z" | "2021-03-30T07:23:15Z" | CONTRIBUTOR | null | This way, the content is parsed by Sphinx so that links to the documentation can be automatically inserted.
The downside is, that the downloadable notebook is not as pretty as before (because it contains raw cells with reST code).
Is this something worth the effort?
- [ ] closes #40645
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40644/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40644/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40644.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40644",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40644.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40644"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40645 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40645/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40645/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40645/events | https://github.com/pandas-dev/pandas/issues/40645 | 841,805,716 | MDU6SXNzdWU4NDE4MDU3MTY= | 40,645 | DOC: Styling guide lacks links to the referenced objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/332746?v=4",
"events_url": "https://api.github.com/users/moi90/events{/privacy}",
"followers_url": "https://api.github.com/users/moi90/followers",
"following_url": "https://api.github.com/users/moi90/following{/other_user}",
"gists_url": "https://api.github.com/users/moi90/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moi90",
"id": 332746,
"login": "moi90",
"node_id": "MDQ6VXNlcjMzMjc0Ng==",
"organizations_url": "https://api.github.com/users/moi90/orgs",
"received_events_url": "https://api.github.com/users/moi90/received_events",
"repos_url": "https://api.github.com/users/moi90/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moi90/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moi90/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moi90"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | "2021-03-26T10:29:27Z" | "2021-03-29T15:55:19Z" | "2021-03-29T15:55:19Z" | CONTRIBUTOR | null | #### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/user_guide/style.html
#### Documentation problem
The page lacks links to the referenced objects (`DataFrame`, `Series`, ... but most importantly `Styler`).
#### Suggested fix for documentation
Links should be included. This could either be done using [raw reST cells](https://nbsphinx.readthedocs.io/en/0.8.2/raw-cells.html#reST) (which looks not as nice in the downloadable notebook) or by inserting relative links into the markdown code (which breaks easily).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40645/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40645/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40646 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40646/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40646/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40646/events | https://github.com/pandas-dev/pandas/issues/40646 | 841,829,409 | MDU6SXNzdWU4NDE4Mjk0MDk= | 40,646 | BUG: | {
"avatar_url": "https://avatars.githubusercontent.com/u/49187354?v=4",
"events_url": "https://api.github.com/users/jaspersival/events{/privacy}",
"followers_url": "https://api.github.com/users/jaspersival/followers",
"following_url": "https://api.github.com/users/jaspersival/following{/other_user}",
"gists_url": "https://api.github.com/users/jaspersival/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaspersival",
"id": 49187354,
"login": "jaspersival",
"node_id": "MDQ6VXNlcjQ5MTg3MzU0",
"organizations_url": "https://api.github.com/users/jaspersival/orgs",
"received_events_url": "https://api.github.com/users/jaspersival/received_events",
"repos_url": "https://api.github.com/users/jaspersival/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaspersival/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaspersival/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaspersival"
} | [
{
"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": "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 | [] | null | 1 | "2021-03-26T11:01:34Z" | "2021-03-26T23:36:10Z" | "2021-03-26T23:36:10Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
def test_mask_dataframe():
df = pd.DataFrame(
{
"A": [1, 2, pd.NA],
"B": [4, 5, 6]
}, dtype=pd.Int64Dtype()
)
expected = pd.Series([4, 0, pd.NA], dtype=pd.Int64Dtype(), name="C")
df["C"] = df["B"].mask(df["A"] == 2, 0)
pd.testing.assert_series_equal(expected, df["C"])
E AssertionError: ExtensionArray NA mask are different
E
E ExtensionArray NA mask values are different (33.33333 %)
E [index]: [0, 1, 2]
E [left]: [False, False, True]
E [right]: [False, False, False]
```
Actual output:
```
pd.Series([4, 0, 0], dtype=pd.Int64Dtype(), name="C")
```
#### Problem description
When performing the .mask method on a dataframe, it is expected that a value will be replaced by another value (in this case 0) when the condition result is True. However, when the condition result is pd.NA, it is now also being handled like it is True which is incorrect behaviour. I guess that the same problem happens when using the dataframe.where() method since .mask and .where are linked. It also happens for pd.Float64Dtype().
#### Expected Output
expected = pd.Series([4, 0, pd.NA], dtype=pd.Int64Dtype(), name="C")
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.9.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0
Cython : None
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : 1.4.2
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
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/40646/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40646/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40647 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40647/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40647/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40647/events | https://github.com/pandas-dev/pandas/issues/40647 | 841,839,135 | MDU6SXNzdWU4NDE4MzkxMzU= | 40,647 | ENH: df.to_sql lacks a parameter if_not_exist with options [create, fail] | {
"avatar_url": "https://avatars.githubusercontent.com/u/1566213?v=4",
"events_url": "https://api.github.com/users/olippuner/events{/privacy}",
"followers_url": "https://api.github.com/users/olippuner/followers",
"following_url": "https://api.github.com/users/olippuner/following{/other_user}",
"gists_url": "https://api.github.com/users/olippuner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/olippuner",
"id": 1566213,
"login": "olippuner",
"node_id": "MDQ6VXNlcjE1NjYyMTM=",
"organizations_url": "https://api.github.com/users/olippuner/orgs",
"received_events_url": "https://api.github.com/users/olippuner/received_events",
"repos_url": "https://api.github.com/users/olippuner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/olippuner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/olippuner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/olippuner"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "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"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/37313715?v=4",
"events_url": "https://api.github.com/users/mschmookler/events{/privacy}",
"followers_url": "https://api.github.com/users/mschmookler/followers",
"following_url": "https://api.github.com/users/mschmookler/following{/other_user}",
"gists_url": "https://api.github.com/users/mschmookler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mschmookler",
"id": 37313715,
"login": "mschmookler",
"node_id": "MDQ6VXNlcjM3MzEzNzE1",
"organizations_url": "https://api.github.com/users/mschmookler/orgs",
"received_events_url": "https://api.github.com/users/mschmookler/received_events",
"repos_url": "https://api.github.com/users/mschmookler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mschmookler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mschmookler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mschmookler"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/37313715?v=4",
"events_url": "https://api.github.com/users/mschmookler/events{/privacy}",
"followers_url": "https://api.github.com/users/mschmookler/followers",
"following_url": "https://api.github.com/users/mschmookler/following{/other_user}",
"gists_url": "https://api.github.com/users/mschmookler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mschmookler",
"id": 37313715,
"login": "mschmookler",
"node_id": "MDQ6VXNlcjM3MzEzNzE1",
"organizations_url": "https://api.github.com/users/mschmookler/orgs",
"received_events_url": "https://api.github.com/users/mschmookler/received_events",
"repos_url": "https://api.github.com/users/mschmookler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mschmookler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mschmookler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mschmookler"
}
] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | "2021-03-26T11:14:24Z" | "2021-05-02T17:16:02Z" | null | NONE | null | #### feature request and related problem
If a table does not exist pd.to_sql is unconditionnally creating it. There are situations, where this is not acceptable.
There are application strategies where this has to be avoided. Eg. in case failed name matching the ISERT might have to fail and signal, that programcode has to be adapted. Such condition arise because of possible changes in the DB model - the outside of python's data environment.
requested option feature for pd.to_sql:
If the table expected by python is not there, it should not be created but the attempted INSERT should fail.
Presently a a certain amount of boilerplate is needed to do such fail-safe handling.
```python
tableName = '...'
schemaName = '...'
dbEngine = ....
# dataframe df is holding the data for target table named in [tableName]
# currently quote some boilerplate is needed to fail safe, if database table does not exist to avoid creating one
if tableExists(tableName):
df.to_sql(tableName, schema=schemaName, con=dbEngine, index=True, if_exists='append')**
print(f"INSERT-I-done ")
else
print(f"INSERT-I-failed: table with expected name [{schemaName}].[{tableName}] does not yet or nomore exist")
```
This missing feature leads to another level of encapsulation in a wrapper class. It would be better to integrate this as a option directly to PANDAS.
#### Describe the proposed solution
Integrate this checking of the outside DB environment into Dataframe.to_sql
Suggested new parameter:
if_not_exists{‘fail’, ‘create’}, default 'fail'
#### API breaking implications
Dataframe.to_sql fails if the table specified by name does not exist in the schema. This should be the default, thus avoiding that dead phantom tables are created, resulting in dead ends off the track of the DB model, once the nomenklatura of the DB model has moved on. Coevolutive and agile development of applications python code and the datamodel and its naming thus should be supported, by failsafe handling of naming assumptions.
present processing still is possible with parameter if_no_exist='create'
Possible the default 'create' might be preferred, as thus it does not break existing code, even though in a greenfield approach I consider 'fail' to be the better choice.
#### Describe alternatives you've considered
Handling outside of Pandas is possible, as shown above. Anyway this results in widespread boilder-plate code and violates the idea of code centralisation and functional encapsulation.
#### Additional context
...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40647/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40647/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40648 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40648/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40648/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40648/events | https://github.com/pandas-dev/pandas/pull/40648 | 841,851,894 | MDExOlB1bGxSZXF1ZXN0NjAxNTI0OTkw | 40,648 | Backport PR #40604: REGR: replace with multivalued regex raising | {
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
}
] | closed | false | null | [] | {
"closed_at": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 0 | "2021-03-26T11:23:41Z" | "2021-03-26T13:18:07Z" | "2021-03-26T13:04:25Z" | MEMBER | null | Backport PR #40604 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40648/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40648/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40648.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40648",
"merged_at": "2021-03-26T13:04:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40648.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40648"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40649 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40649/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40649/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40649/events | https://github.com/pandas-dev/pandas/pull/40649 | 842,181,551 | MDExOlB1bGxSZXF1ZXN0NjAxODA2Mjgz | 40,649 | BUG: read_excel failed with empty rows after MultiIndex header | {
"avatar_url": "https://avatars.githubusercontent.com/u/50434302?v=4",
"events_url": "https://api.github.com/users/ahawryluk/events{/privacy}",
"followers_url": "https://api.github.com/users/ahawryluk/followers",
"following_url": "https://api.github.com/users/ahawryluk/following{/other_user}",
"gists_url": "https://api.github.com/users/ahawryluk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ahawryluk",
"id": 50434302,
"login": "ahawryluk",
"node_id": "MDQ6VXNlcjUwNDM0MzAy",
"organizations_url": "https://api.github.com/users/ahawryluk/orgs",
"received_events_url": "https://api.github.com/users/ahawryluk/received_events",
"repos_url": "https://api.github.com/users/ahawryluk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ahawryluk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahawryluk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ahawryluk"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | "2021-03-26T17:49:29Z" | "2021-04-23T17:23:05Z" | "2021-04-23T00:07:08Z" | CONTRIBUTOR | null | - [x] closes #40442
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Prior to this fix, a blank data row after a MultiIndex header was a interpreted as containing a blank index name, but that only works if the user has specified an index column. If index_col is None all subsequent rows should be treated as data, even if the first one is empty. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40649/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40649/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40649.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40649",
"merged_at": "2021-04-23T00:07:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40649.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40649"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40650 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40650/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40650/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40650/events | https://github.com/pandas-dev/pandas/pull/40650 | 842,204,080 | MDExOlB1bGxSZXF1ZXN0NjAxODI1MzM5 | 40,650 | DOC: Update CSS alignment for main documentation page | {
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | null | 3 | "2021-03-26T18:24:52Z" | "2021-03-29T15:48:06Z" | "2021-03-29T15:47:58Z" | MEMBER | null | Updates some CSS to better align buttons on the main documentation page. Seems to be an improvement when built locally (I'm using Ubuntu Firefox) but likely worth checking on other platforms / browsers.
Before:

After:
 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40650/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40650/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40650.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40650",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40650.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40650"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40651 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40651/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40651/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40651/events | https://github.com/pandas-dev/pandas/pull/40651 | 842,373,066 | MDExOlB1bGxSZXF1ZXN0NjAxOTY3NTgy | 40,651 | PERF/BUG: use masked algo in groupby cummin and cummax | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 15 | "2021-03-27T00:28:20Z" | "2021-04-21T12:57:52Z" | "2021-04-21T12:39:20Z" | MEMBER | null | Potential first step towards #37493
ASV's (on `N = 5_000_000` instead of `N = 1_000_000` on the added benchmark to get more stable results):
<details>
```
before after ratio
[3a973b6d] [2fa80ad0]
<master> <perf/masked_cummin/max>
- 297±10ms 241±9ms 0.81 groupby.CumminMax.time_frame_transform('Float64', 'cummax')
- 284±6ms 240±7ms 0.85 groupby.CumminMax.time_frame_transform('Float64', 'cummin')
- 761±60ms 393±4ms 0.52 groupby.CumminMax.time_frame_transform('Int64', 'cummax')
- 753±50ms 390±3ms 0.52 groupby.CumminMax.time_frame_transform('Int64', 'cummin')
481±20ms 474±10ms 0.99 groupby.CumminMax.time_frame_transform('float64', 'cummax')
461±10ms 459±10ms 1.00 groupby.CumminMax.time_frame_transform('float64', 'cummin')
706±40ms 732±50ms 1.04 groupby.CumminMax.time_frame_transform('int64', 'cummax')
730±20ms 674±20ms 0.92 groupby.CumminMax.time_frame_transform('int64', 'cummin')
- 685±30ms 214±5ms 0.31 groupby.CumminMax.time_frame_transform_many_nulls('Float64', 'cummax')
- 698±20ms 225±4ms 0.32 groupby.CumminMax.time_frame_transform_many_nulls('Float64', 'cummin')
- 811±50ms 204±6ms 0.25 groupby.CumminMax.time_frame_transform_many_nulls('Int64', 'cummax')
- 804±50ms 207±6ms 0.26 groupby.CumminMax.time_frame_transform_many_nulls('Int64', 'cummin')
444±20ms 447±4ms 1.01 groupby.CumminMax.time_frame_transform_many_nulls('float64', 'cummax')
447±20ms 459±20ms 1.03 groupby.CumminMax.time_frame_transform_many_nulls('float64', 'cummin')
1.41±0.1s 1.33±0.01s 0.94 groupby.CumminMax.time_frame_transform_many_nulls('int64', 'cummax')
1.41±0.09s 1.33±0s 0.94 groupby.CumminMax.time_frame_transform_many_nulls('int64', 'cummin')
```
</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/40651/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40651/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40651.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40651",
"merged_at": "2021-04-21T12:39:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40651.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40651"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40652 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40652/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40652/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40652/events | https://github.com/pandas-dev/pandas/issues/40652 | 842,396,075 | MDU6SXNzdWU4NDIzOTYwNzU= | 40,652 | ENH: Pandas StructDType | {
"avatar_url": "https://avatars.githubusercontent.com/u/1200058?v=4",
"events_url": "https://api.github.com/users/Hoeze/events{/privacy}",
"followers_url": "https://api.github.com/users/Hoeze/followers",
"following_url": "https://api.github.com/users/Hoeze/following{/other_user}",
"gists_url": "https://api.github.com/users/Hoeze/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Hoeze",
"id": 1200058,
"login": "Hoeze",
"node_id": "MDQ6VXNlcjEyMDAwNTg=",
"organizations_url": "https://api.github.com/users/Hoeze/orgs",
"received_events_url": "https://api.github.com/users/Hoeze/received_events",
"repos_url": "https://api.github.com/users/Hoeze/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Hoeze/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Hoeze/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Hoeze"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "6138b5",
"default": false,
"description": "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": "f2f989",
"default": false,
"description": "Data where the values are collections (lists, sets, dicts, objects, etc.).",
"id": 2189479765,
"name": "Nested Data",
"node_id": "MDU6TGFiZWwyMTg5NDc5NzY1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data"
}
] | open | false | null | [] | null | 4 | "2021-03-27T02:31:40Z" | "2021-10-24T15:54:33Z" | null | NONE | null | I already searched for a while for discussions of nested structures in Pandas, but I couldn't find anything corresponding.
#### Is your feature request related to a problem?
Currently, there is no way to work with arbitrary nested data types in Pandas.
In Spark and PyArrow, one can have StructTypes. In NumPy, we have Compound types.
However, when we try something like this:
```python
df = pd.DataFrame({'pos':[1,2,3], "val": ["a","b", "c"]})
struct = df.to_records(index=False).view(type=np.ndarray, dtype=list(df.dtypes.items()))
pd.Series(struct)
```
Then we only get an error:
```python
ValueError: Cannot construct a Series from an ndarray with compound dtype. Use DataFrame instead.
```
This would be useful for a number of use cases:
- Direct mapping between PySpark and Pandas nested columns
- Easy creation of custom data types; type checking of nested columns
- Efficient serialization with Arrow
#### Describe the solution you'd like
My wish would be to have a generic Pandas StructDType that:
- can be composed of any other Pandas DType
- allows conversion to PyArrow StructType back and forth
- can be written to Parquet
A perfect example is the `IntervalDType`/`IntervalArray` that is already implemented in Pandas:
https://github.com/pandas-dev/pandas/blob/2198f51911dd5a5a0cc1c12c3f083b86c96bd33b/pandas/core/arrays/interval.py#L146
In my opinion, its implementation is a special case of a Struct dtype.
It also supports conversion to and from PyArrow (see https://github.com/pandas-dev/pandas/commit/2198f51911dd5a5a0cc1c12c3f083b86c96bd33b).
Therefore, by generalizing the IntervalDType to use any number of subtypes, we would have the StructDType implementation ready.
#### API breaking implications
`to_csv()`, etc. could have difficulties with storing nested data.
That's maybe a followup problem to solve.
#### Describe alternatives you've considered
One can try to construct the Series as a list of tuples.
However, this has two drawbacks:
- No type checking
- `to_parquet()` fails
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40652/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40652/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40653 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40653/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40653/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40653/events | https://github.com/pandas-dev/pandas/pull/40653 | 842,433,558 | MDExOlB1bGxSZXF1ZXN0NjAyMDEzNjY5 | 40,653 | [ENH] introducing IntpHashMap and making unique_label_indices use intp | {
"avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4",
"events_url": "https://api.github.com/users/realead/events{/privacy}",
"followers_url": "https://api.github.com/users/realead/followers",
"following_url": "https://api.github.com/users/realead/following{/other_user}",
"gists_url": "https://api.github.com/users/realead/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/realead",
"id": 17513912,
"login": "realead",
"node_id": "MDQ6VXNlcjE3NTEzOTEy",
"organizations_url": "https://api.github.com/users/realead/orgs",
"received_events_url": "https://api.github.com/users/realead/received_events",
"repos_url": "https://api.github.com/users/realead/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/realead/subscriptions",
"type": "User",
"url": "https://api.github.com/users/realead"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"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"
} | 22 | "2021-03-27T06:47:28Z" | "2021-10-07T00:37:01Z" | "2021-10-07T00:36:48Z" | CONTRIBUTOR | null | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Introduces IntpHashMap. Instead of making it from the scratch, we map the functionality either to Int32HashMap or Int64HashMap depending on the plattform. This has the advantage, that the resulting so/pyd-files don't get bigger.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40653/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40653/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40653.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40653",
"merged_at": "2021-10-07T00:36:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40653.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40653"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40654 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40654/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40654/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40654/events | https://github.com/pandas-dev/pandas/pull/40654 | 842,435,995 | MDExOlB1bGxSZXF1ZXN0NjAyMDE1NTEy | 40,654 | ENH: Added support for `AsyncEngine` and `AsyncConnection` when using pandas SQL functions/methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/34612646?v=4",
"events_url": "https://api.github.com/users/Ahsoka/events{/privacy}",
"followers_url": "https://api.github.com/users/Ahsoka/followers",
"following_url": "https://api.github.com/users/Ahsoka/following{/other_user}",
"gists_url": "https://api.github.com/users/Ahsoka/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Ahsoka",
"id": 34612646,
"login": "Ahsoka",
"node_id": "MDQ6VXNlcjM0NjEyNjQ2",
"organizations_url": "https://api.github.com/users/Ahsoka/orgs",
"received_events_url": "https://api.github.com/users/Ahsoka/received_events",
"repos_url": "https://api.github.com/users/Ahsoka/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Ahsoka/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ahsoka/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Ahsoka"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, 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 | [] | null | 6 | "2021-03-27T07:04:55Z" | "2021-09-08T02:26:22Z" | "2021-09-08T02:26:22Z" | NONE | null | [`pandas.read_sql`](https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.read_sql.html#pandas.read_sql), [`pandas.read_sql_query`](https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.read_sql_query.html#pandas.read_sql_query), [`pandas.read_sql_table`](https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.read_sql_table.html#pandas.read_sql_table), [`DataFrame.to_sql`](https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.DataFrame.to_sql.html#pandas.DataFrame.to_sql), and [`Series.to_sql`](https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.Series.to_sql.html#pandas.Series.to_sql) can now accept an [`AsyncEngine`](https://docs.sqlalchemy.org/en/latest/orm/extensions/asyncio.html#sqlalchemy.ext.asyncio.AsyncEngine) or an [`AsyncConnection`](https://docs.sqlalchemy.org/en/latest/orm/extensions/asyncio.html#sqlalchemy.ext.asyncio.AsyncConnection) as a valid argument to `con`.
Example Usage:
```py
import asyncio
from sqlalchemy.ext.asyncio import create_async_engine
engine = create_async_engine('postgresql+asyncpg://anakin:skywalker@localhost/test')
async def sql_operations():
# Accessing a table with the AsyncEngine
umbara = await pd.read_sql('umbara', engine)
# Can alternatively be written as: await pd.read_sql_table('umbara', engine)
# Using an SQL query with the AsyncConnection
async with engine.connect() as conn:
seasons = await pd.read_sql_query('SELECT season6, season5, season7 FROM clonewars', conn)
favs = pd.DataFrame({
'FirstName': ['Mace', 'Obi-Wan', 'Ahsoka'],
'LastName': ['Windu', 'Kenobi', 'Tano']
})
# Writing data with the AsyncEngine
await favs.to_sql('jedi', engine)
asyncio.run(sql_operations())
```
# Check list
- [x] tests added / passed (found a way to do this efficiently and relatively easily, will be pushing soon!)
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [X] whatsnew entry
# Issue with unit tests
So unfortunately, as far as I can tell, creating unit tests will require that all the current unit tests for the SQL functions/methods will need to be rewritten, since every time the SQL functions/methods are invoked they need to be awaited. One kind of unique idea I have is to read the source code of the existing test functions and add the word `await` whenever one of the SQL functions/methods is called and the use `exec` function to create the new `asyncio` version of the function. Or perhaps there is a better approach I am not familiar with to avoid having to completely rewrite the unit tests for these new use cases. I'm open to any ideas!
Thank you for considering my proposal! ♥ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40654/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40654/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40654.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40654",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40654.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40654"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40655 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40655/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40655/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40655/events | https://github.com/pandas-dev/pandas/issues/40655 | 842,492,637 | MDU6SXNzdWU4NDI0OTI2Mzc= | 40,655 | BUG: "M" / "m" flagged as datetime / timedelta | {
"avatar_url": "https://avatars.githubusercontent.com/u/15511539?v=4",
"events_url": "https://api.github.com/users/lbittarello/events{/privacy}",
"followers_url": "https://api.github.com/users/lbittarello/followers",
"following_url": "https://api.github.com/users/lbittarello/following{/other_user}",
"gists_url": "https://api.github.com/users/lbittarello/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lbittarello",
"id": 15511539,
"login": "lbittarello",
"node_id": "MDQ6VXNlcjE1NTExNTM5",
"organizations_url": "https://api.github.com/users/lbittarello/orgs",
"received_events_url": "https://api.github.com/users/lbittarello/received_events",
"repos_url": "https://api.github.com/users/lbittarello/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lbittarello/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lbittarello/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lbittarello"
} | [
{
"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-03-27T12:18:52Z" | "2021-03-27T16:00:56Z" | "2021-03-27T16:00:56Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
pd.api.types.is_datetime64_dtype("M") # True
pd.api.types.is_timedelta64_dtype("m") # True
```
#### Problem description
The function `pd.api.types.is_datetime64_dtype` returns `True` for the string `"M"`. The function `pd.api.types.is_timedelta64_dtype` returns `True` for the string `"m"`. Is this behavior intentional?
#### Expected Output
`False`.
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.8.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_Belgium.1252
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : 0.29.22
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.22.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.7
fastparquet : None
gcsfs : None
matplotlib : 3.4.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.53.1
```
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40655/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40655/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40656 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40656/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40656/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40656/events | https://github.com/pandas-dev/pandas/pull/40656 | 842,514,633 | MDExOlB1bGxSZXF1ZXN0NjAyMDczODM2 | 40,656 | CLN: move pytest config to pyproject.toml | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 12 | "2021-03-27T14:23:24Z" | "2021-04-25T16:26:19Z" | "2021-04-25T11:57:19Z" | MEMBER | null | According to https://docs.pytest.org/en/stable/customize.html, using `setup.cfg`as pytest config file is not recommended. So moved everything to `pyproject.toml`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40656/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40656/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40656.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40656",
"merged_at": "2021-04-25T11:57:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40656.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40656"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40657 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40657/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40657/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40657/events | https://github.com/pandas-dev/pandas/pull/40657 | 842,558,690 | MDExOlB1bGxSZXF1ZXN0NjAyMTA5MjYx | 40,657 | REGR: missing vals not replaceable in categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
}
] | closed | false | null | [] | null | 2 | "2021-03-27T17:07:03Z" | "2021-03-31T23:44:35Z" | "2021-03-31T23:44:35Z" | MEMBER | null | - [x] closes #40472
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
This restores behavior to before the regression, but I think also deprecating this behavior while patching might be reasonable. Since categoricals represent all missing values the same way, this allows unintuitive behavior like
```
ser = pd.Series([None, "b"]).astype('category')
ser = ser.replace({np.nan: 'c'})
print(ser)
```
replacing the missing value even though `None` and `np.nan` are different missing values. Forcing usage of the more explicit `fillna` seems more reasonable in this case. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40657/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40657/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40657.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40657",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40657.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40657"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40658 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40658/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40658/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40658/events | https://github.com/pandas-dev/pandas/pull/40658 | 842,569,572 | MDExOlB1bGxSZXF1ZXN0NjAyMTE2Nzg5 | 40,658 | DOC: Clarify DataFrame column argument in API documentation | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | "2021-03-27T18:01:02Z" | "2021-04-01T08:36:18Z" | "2021-04-01T07:15:12Z" | MEMBER | null | - [x] closes #39904
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40658/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40658/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40658.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40658",
"merged_at": "2021-04-01T07:15:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40658.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40658"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40659 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40659/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40659/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40659/events | https://github.com/pandas-dev/pandas/pull/40659 | 842,604,343 | MDExOlB1bGxSZXF1ZXN0NjAyMTQyNDA4 | 40,659 | BUG: rank treating min int as NaN | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-27T21:20:45Z" | "2021-03-29T15:51:23Z" | "2021-03-29T14:21:48Z" | MEMBER | null | - [x] closes #32859
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
ASV's look unaffected:
<details>
```
before after ratio
[029907c9] [b45f9193]
<master> <bug/rank_datetimelike>
6.90±0.2ms 6.76±0.6ms 0.98 frame_methods.Rank.time_rank('float')
2.63±0.3ms 2.39±0.2ms ~0.91 frame_methods.Rank.time_rank('int')
45.7±1ms 45.3±1ms 0.99 frame_methods.Rank.time_rank('object')
2.47±0.2ms 2.22±0.1ms ~0.90 frame_methods.Rank.time_rank('uint')
10.8±0.09ms 10.8±0.8ms 1.01 series_methods.Rank.time_rank('float')
8.10±0.2ms 8.26±0.3ms 1.02 series_methods.Rank.time_rank('int')
51.3±2ms 51.2±1ms 1.00 series_methods.Rank.time_rank('object')
8.76±0.6ms 8.30±0.2ms 0.95 series_methods.Rank.time_rank('uint')
```
</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/40659/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40659/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40659.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40659",
"merged_at": "2021-03-29T14:21:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40659.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40659"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40660 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40660/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40660/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40660/events | https://github.com/pandas-dev/pandas/issues/40660 | 842,646,902 | MDU6SXNzdWU4NDI2NDY5MDI= | 40,660 | BUG: dataframe sum with level drops timedelta columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/730739?v=4",
"events_url": "https://api.github.com/users/orbisvicis/events{/privacy}",
"followers_url": "https://api.github.com/users/orbisvicis/followers",
"following_url": "https://api.github.com/users/orbisvicis/following{/other_user}",
"gists_url": "https://api.github.com/users/orbisvicis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/orbisvicis",
"id": 730739,
"login": "orbisvicis",
"node_id": "MDQ6VXNlcjczMDczOQ==",
"organizations_url": "https://api.github.com/users/orbisvicis/orgs",
"received_events_url": "https://api.github.com/users/orbisvicis/received_events",
"repos_url": "https://api.github.com/users/orbisvicis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/orbisvicis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/orbisvicis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/orbisvicis"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "370f77",
"default": false,
"description": "DataFrame data structure",
"id": 1049312478,
"name": "DataFrame",
"node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-28T02:46:41Z" | "2021-04-08T22:15:42Z" | "2021-04-08T22:15:42Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, Minimal
The data:
```python
>>> d = pd.DataFrame(
{ "a": [pd.Timedelta(hours=6),pd.Timedelta(hours=7)]
, "b": [12.1,13.3]
})
>>> d
a b
0 0 days 06:00:00 12.1
1 0 days 07:00:00 13.3
>>> d.dtypes
a timedelta64[ns]
b float64
dtype: object
```
The operation with unexpected results:
```python
>>> d.sum(level=0)
b
0 12.1
1 13.3
```
The expected results:
```python
>>> d.sum(level=0)
a b
0 0 days 06:00:00 12.1
1 0 days 07:00:00 13.3
```
#### Code Sample, Real-World
There's no point to summing a level without a multi-index. This example is more serious.
```python
>>> d = pd.DataFrame(
{ "a": [1,1]
, "b": [2,2]
, "c": [4,5]
, "d": [pd.Timedelta(hours=6),pd.Timedelta(hours=7)]
, "e": [12.1,13.3]
})
>>> d = d.set_index(["a","b","c"])
>>> d
d e
a b c
1 2 4 0 days 06:00:00 12.1
5 0 days 07:00:00 13.3
>>> d.dtypes
d timedelta64[ns]
e float64
dtype: object
```
Unexpected results:
```python
>>> d.sum(level=["a","b"])
e
a b
1 2 25.4
```
Expected results:
```python
>>> d.sum(level=["a","b"])
d e
a b
1 2 0 days 13:00:00 25.4
```
#### Problem description
If it can be summed without the `level` argument it should be summed with the `level` argument. At the very least, raise an error rather than dropping the column.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.8.8.final.0
python-bits : 64
OS : CYGWIN_NT-10.0-19041
OS-release : 3.1.7-340.x86_64
Version : 2020-08-22 17:48 UTC
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 41.2.0
Cython : 0.29.22
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.21.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : 2.7.3
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : None
tables : 3.6.1
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/40660/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40660/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40661 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40661/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40661/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40661/events | https://github.com/pandas-dev/pandas/issues/40661 | 842,656,454 | MDU6SXNzdWU4NDI2NTY0NTQ= | 40,661 | BUG: cut with labels Tuple[Timestamp, ...] -> wrong number of dimensions | {
"avatar_url": "https://avatars.githubusercontent.com/u/730739?v=4",
"events_url": "https://api.github.com/users/orbisvicis/events{/privacy}",
"followers_url": "https://api.github.com/users/orbisvicis/followers",
"following_url": "https://api.github.com/users/orbisvicis/following{/other_user}",
"gists_url": "https://api.github.com/users/orbisvicis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/orbisvicis",
"id": 730739,
"login": "orbisvicis",
"node_id": "MDQ6VXNlcjczMDczOQ==",
"organizations_url": "https://api.github.com/users/orbisvicis/orgs",
"received_events_url": "https://api.github.com/users/orbisvicis/received_events",
"repos_url": "https://api.github.com/users/orbisvicis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/orbisvicis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/orbisvicis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/orbisvicis"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
},
{
"color": "9aace2",
"default": false,
"description": "cut, qcut",
"id": 1639305834,
"name": "cut",
"node_id": "MDU6TGFiZWwxNjM5MzA1ODM0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/26993491?v=4",
"events_url": "https://api.github.com/users/Svanazar/events{/privacy}",
"followers_url": "https://api.github.com/users/Svanazar/followers",
"following_url": "https://api.github.com/users/Svanazar/following{/other_user}",
"gists_url": "https://api.github.com/users/Svanazar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Svanazar",
"id": 26993491,
"login": "Svanazar",
"node_id": "MDQ6VXNlcjI2OTkzNDkx",
"organizations_url": "https://api.github.com/users/Svanazar/orgs",
"received_events_url": "https://api.github.com/users/Svanazar/received_events",
"repos_url": "https://api.github.com/users/Svanazar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Svanazar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Svanazar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Svanazar"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/26993491?v=4",
"events_url": "https://api.github.com/users/Svanazar/events{/privacy}",
"followers_url": "https://api.github.com/users/Svanazar/followers",
"following_url": "https://api.github.com/users/Svanazar/following{/other_user}",
"gists_url": "https://api.github.com/users/Svanazar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Svanazar",
"id": 26993491,
"login": "Svanazar",
"node_id": "MDQ6VXNlcjI2OTkzNDkx",
"organizations_url": "https://api.github.com/users/Svanazar/orgs",
"received_events_url": "https://api.github.com/users/Svanazar/received_events",
"repos_url": "https://api.github.com/users/Svanazar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Svanazar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Svanazar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Svanazar"
}
] | {
"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-03-28T04:13:22Z" | "2021-10-03T14:12:55Z" | "2021-10-03T14:12:55Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
bins = range(0,20,3)
labels = (
# OK:
[ [i for i in bins[:-1]]
, [(i,) for i in bins[:-1]]
, [(i,)*2 for i in bins[:-1]]
, [(i,)*3 for i in bins[:-1]]
, [pd.Timestamp(i) for i in bins[:-1]]
# Not OK:
, [(pd.Timestamp(i),) for i in bins[:-1]]
, [(pd.Timestamp(i),)*2 for i in bins[:-1]]
, [(pd.Timestamp(i),)*3 for i in bins[:-1]]
# OK:
, [(pd.Timestamp(i),i) for i in bins[:-1]]
, [(pd.Timestamp(i),i,i) for i in bins[:-1]]
, [(i,pd.Timestamp(i)) for i in bins[:-1]]
, [(i,i,pd.Timestamp(i)) for i in bins[:-1]]
, [(*(pd.Timestamp(i),)*5,i) for i in bins[:-1]]
, [(*(pd.Timestamp(i),)*5,i,i) for i in bins[:-1]]
, [(i,*(pd.Timestamp(i),)*5) for i in bins[:-1]]
, [(i,i,*(pd.Timestamp(i),)*5) for i in bins[:-1]]
, [(pd.Timestamp(i),i)*2 for i in bins[:-1]]
, [(pd.Timestamp(i),i)*3 for i in bins[:-1]]
])
for label in labels:
try:
pd.cut(range(20), bins, labels=label)
except ValueError:
print("Error:", label, "", sep="\n")
```
#### Traceback
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2112-25ff621c28d2> in <module>
----> 1 pd.cut(range(20), bins, labels=labels[5])
.../lib/python3.8/site-packages/pandas/core/reshape/tile.py in cut(x, bins, right, labels, retbins, precision, include_lowest, duplicates, ordered)
271 raise ValueError("bins must increase monotonically.")
272
--> 273 fac, bins = _bins_to_cuts(
274 x,
275 bins,
.../lib/python3.8/site-packages/pandas/core/reshape/tile.py in _bins_to_cuts(x, bins, right, labels, precision, include_lowest, dtype, duplicates, ordered)
434 )
435 if not is_categorical_dtype(labels):
--> 436 labels = Categorical(
437 labels,
438 categories=labels if len(set(labels)) == len(labels) else None,
.../lib/python3.8/site-packages/pandas/core/arrays/categorical.py in __init__(self, values, categories, ordered, dtype, fastpath)
366
367 else:
--> 368 codes = _get_codes_for_values(values, dtype.categories)
369
370 if null_mask.any():
.../lib/python3.8/site-packages/pandas/core/arrays/categorical.py in _get_codes_for_values(values, categories)
2524 t = hash_klass(len(cats))
2525 t.map_locations(cats)
-> 2526 return coerce_indexer_dtype(t.lookup(vals), cats)
2527
2528
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.lookup()
ValueError: Buffer has wrong number of dimensions (expected 1, got 2)
```
#### Problem description
Say you are trying to cut a DataFrame:
```python
b = pd.cut(...)
r = d.groupby(b).sum()
```
How do you build the resulting index? Using either the default intervals provided by the cut function or some temporary identifying labels, build the index using lookups on the input dataframe. Merging runs the risk of dropping columns even with `how="left"` and `validate="1:1"`. Concatenation has the same problems assuming the indices are matched. There is no simple way to lookup the value of a matching column given the value of another column (afaik) in the same row. The straightforward approach is to convert the dataframe to a dictionary for lookups and that's tedious.
Or you can just build the index from the input dataframe and pass it to the cut function via the `labels` keyword. And that's **why** the current behaviour is a problem and why it should be fixed.
```python
r.index = pd.MultiIndex.from_tuples(r.index, names=...)
```
#### Aside
As an aside, the documentation for the `labels` parameter is lacking:
```python
labels: array or False, default None
```
It can't accept numpy arrays. It can't accept MultiIndex. It can't accept DataFrame. It can't accept Series, or lists of Series. It can't accept lists of lists. That should be noted. And per my convincing argument above, the list of acceptable types should be expanded.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.8.8.final.0
python-bits : 64
OS : CYGWIN_NT-10.0-19041
OS-release : 3.1.7-340.x86_64
Version : 2020-08-22 17:48 UTC
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 41.2.0
Cython : 0.29.22
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.21.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : 2.7.3
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : None
tables : 3.6.1
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/40661/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40661/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40662 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40662/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40662/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40662/events | https://github.com/pandas-dev/pandas/issues/40662 | 842,673,253 | MDU6SXNzdWU4NDI2NzMyNTM= | 40,662 | BUG: numpy functions (eg, np.add) on DataFrames with 'out' parameter no longer work properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/4811862?v=4",
"events_url": "https://api.github.com/users/quant9/events{/privacy}",
"followers_url": "https://api.github.com/users/quant9/followers",
"following_url": "https://api.github.com/users/quant9/following{/other_user}",
"gists_url": "https://api.github.com/users/quant9/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quant9",
"id": 4811862,
"login": "quant9",
"node_id": "MDQ6VXNlcjQ4MTE4NjI=",
"organizations_url": "https://api.github.com/users/quant9/orgs",
"received_events_url": "https://api.github.com/users/quant9/received_events",
"repos_url": "https://api.github.com/users/quant9/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quant9/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quant9/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quant9"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 8 | "2021-03-28T06:17:23Z" | "2021-04-12T14:27:29Z" | "2021-04-12T14:27:29Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# works
foo = np.array([1,2,3,4]).reshape(2,2)
bar = np.zeros_like(foo)
np.add(foo, 1, out=bar)
print(bar)
# doesn't work. bar remains an array of zeros
foo = np.array([1,2,3,4]).reshape(2,2)
df = pd.DataFrame(foo)
bar = np.zeros_like(df)
np.add(df, 1, out=bar)
print(bar)
```
#### Problem description
Many numpy functions accept an `out` parameter as a way of storing the result. In the current pandas version (1.2.3), when the numpy function takes in a DataFrame as input, it no longer stores the result to the `out` array.
In pandas 1.0.1 (and earlier, on my other machine), the behavior works as expected. (see Expected Output). I am using numpy==1.19 for both machines.
Curiously, note that this problem is not seen for `pd.Series`. The below code works fine:
```python
foo = np.array([1,2,3,4])
series = pd.Series(foo)
bar = np.zeros_like(series)
np.add(series, 1, out=bar)
print(bar)
```
One workaround is to instead use `np.add(df.values, 1, out=bar)` but I am using several packages that require the older behavior.
#### Expected Output
```python
>>> print(bar)
[[2 3]
[4 5]]
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1062.1.1.el7.x86_64
Version : #1 SMP Fri Sep 13 22:55:44 UTC 2019
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.2.3
numpy : 1.19.5
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 41.4.0
Cython : 0.29.21
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : 0.8.2
fastparquet : None
gcsfs : None
matplotlib : 3.1.3
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.13.0
pyxlsb : None
s3fs : 0.5.1
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.49.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/40662/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40662/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40663 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40663/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40663/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40663/events | https://github.com/pandas-dev/pandas/issues/40663 | 842,685,116 | MDU6SXNzdWU4NDI2ODUxMTY= | 40,663 | BUG: row filtering by index slicing does not always work | {
"avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4",
"events_url": "https://api.github.com/users/yohplala/events{/privacy}",
"followers_url": "https://api.github.com/users/yohplala/followers",
"following_url": "https://api.github.com/users/yohplala/following{/other_user}",
"gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yohplala",
"id": 13206058,
"login": "yohplala",
"node_id": "MDQ6VXNlcjEzMjA2MDU4",
"organizations_url": "https://api.github.com/users/yohplala/orgs",
"received_events_url": "https://api.github.com/users/yohplala/received_events",
"repos_url": "https://api.github.com/users/yohplala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yohplala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yohplala"
} | [
{
"color": "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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] | closed | false | null | [] | null | 6 | "2021-03-28T07:53:45Z" | "2021-04-05T01:06:54Z" | "2021-04-05T01:06:54Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame(columns=['a', 'b'], index=range(6))
# Slicings that work
df[::2] = 1
df['a'][::2] = 'a'
df[1::2] = 2
df['a'][1::2] = 'c'
# Slicing that does not work
df[['a','b']][1::2] = 'aha'
```
#### Problem description
The last slicing does not work (Dataframe is not modified), and no error message is issued.
I could check that it works with `pd.IndexSlice`.
At least an error message should be raised.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-48-generic
Version : #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : fr_FR.UTF-8
LOCALE : fr_FR.UTF-8
pandas : 1.2.3
numpy : 1.18.5
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : 0.29.22
pytest : 6.2.2
hypothesis : None
sphinx : 3.5.3
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.21.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.7
fastparquet : 0.5.0
gcsfs : None
matplotlib : 3.3.4
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : 1.3.23
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40663/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40663/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40664 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40664/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40664/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40664/events | https://github.com/pandas-dev/pandas/pull/40664 | 842,789,920 | MDExOlB1bGxSZXF1ZXN0NjAyMjc5NTk5 | 40,664 | BUG: Update Styler.clear method to clear all | {
"avatar_url": "https://avatars.githubusercontent.com/u/52805678?v=4",
"events_url": "https://api.github.com/users/bsun94/events{/privacy}",
"followers_url": "https://api.github.com/users/bsun94/followers",
"following_url": "https://api.github.com/users/bsun94/following{/other_user}",
"gists_url": "https://api.github.com/users/bsun94/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bsun94",
"id": 52805678,
"login": "bsun94",
"node_id": "MDQ6VXNlcjUyODA1Njc4",
"organizations_url": "https://api.github.com/users/bsun94/orgs",
"received_events_url": "https://api.github.com/users/bsun94/received_events",
"repos_url": "https://api.github.com/users/bsun94/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bsun94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bsun94/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bsun94"
} | [
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | "2021-03-28T17:44:44Z" | "2021-04-02T17:50:01Z" | "2021-04-02T17:20:24Z" | CONTRIBUTOR | null | - [ x ] closes #40484
- [ x ] tests added / passed
- [ x ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ x ] whatsnew entry updated in docs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40664/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40664/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40664.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40664",
"merged_at": "2021-04-02T17:20:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40664.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40664"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40665 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40665/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40665/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40665/events | https://github.com/pandas-dev/pandas/pull/40665 | 842,795,173 | MDExOlB1bGxSZXF1ZXN0NjAyMjgzNDcx | 40,665 | DOC: Trivial typo fix in user_guide/window (#40666) | {
"avatar_url": "https://avatars.githubusercontent.com/u/777015?v=4",
"events_url": "https://api.github.com/users/mdengler/events{/privacy}",
"followers_url": "https://api.github.com/users/mdengler/followers",
"following_url": "https://api.github.com/users/mdengler/following{/other_user}",
"gists_url": "https://api.github.com/users/mdengler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mdengler",
"id": 777015,
"login": "mdengler",
"node_id": "MDQ6VXNlcjc3NzAxNQ==",
"organizations_url": "https://api.github.com/users/mdengler/orgs",
"received_events_url": "https://api.github.com/users/mdengler/received_events",
"repos_url": "https://api.github.com/users/mdengler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mdengler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mdengler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mdengler"
} | [] | closed | false | null | [] | null | 1 | "2021-03-28T18:09:14Z" | "2021-03-28T18:19:48Z" | "2021-03-28T18:19:48Z" | CONTRIBUTOR | null | Trivial string change: `min_periods` corrected from `min_peridos` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40665/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40665/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40665.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40665",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40665.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40665"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40666 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40666/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40666/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40666/events | https://github.com/pandas-dev/pandas/issues/40666 | 842,795,924 | MDU6SXNzdWU4NDI3OTU5MjQ= | 40,666 | DOC: Trivial typo fix in user_guide/window | {
"avatar_url": "https://avatars.githubusercontent.com/u/777015?v=4",
"events_url": "https://api.github.com/users/mdengler/events{/privacy}",
"followers_url": "https://api.github.com/users/mdengler/followers",
"following_url": "https://api.github.com/users/mdengler/following{/other_user}",
"gists_url": "https://api.github.com/users/mdengler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mdengler",
"id": 777015,
"login": "mdengler",
"node_id": "MDQ6VXNlcjc3NzAxNQ==",
"organizations_url": "https://api.github.com/users/mdengler/orgs",
"received_events_url": "https://api.github.com/users/mdengler/received_events",
"repos_url": "https://api.github.com/users/mdengler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mdengler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mdengler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mdengler"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | "2021-03-28T18:12:52Z" | "2021-03-28T21:47:52Z" | "2021-03-28T21:47:52Z" | CONTRIBUTOR | null | #### Location of the documentation
Trivial typo fix of `min_periods` from `min_peridos` in the Overview of the [Windowing](https://pandas.pydata.org/docs/user_guide/window.html) User Guide section.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40666/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40666/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40667 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40667/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40667/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40667/events | https://github.com/pandas-dev/pandas/pull/40667 | 842,797,300 | MDExOlB1bGxSZXF1ZXN0NjAyMjg1MDc5 | 40,667 | DOC: Trivial typo fix in user_guide/window (#40666) | {
"avatar_url": "https://avatars.githubusercontent.com/u/777015?v=4",
"events_url": "https://api.github.com/users/mdengler/events{/privacy}",
"followers_url": "https://api.github.com/users/mdengler/followers",
"following_url": "https://api.github.com/users/mdengler/following{/other_user}",
"gists_url": "https://api.github.com/users/mdengler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mdengler",
"id": 777015,
"login": "mdengler",
"node_id": "MDQ6VXNlcjc3NzAxNQ==",
"organizations_url": "https://api.github.com/users/mdengler/orgs",
"received_events_url": "https://api.github.com/users/mdengler/received_events",
"repos_url": "https://api.github.com/users/mdengler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mdengler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mdengler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mdengler"
} | [] | closed | false | null | [] | null | 2 | "2021-03-28T18:18:57Z" | "2021-03-29T03:53:21Z" | "2021-03-28T21:46:37Z" | CONTRIBUTOR | null | Trivial string change: `min_periods` corrected from `min_peridos`
Fixes Issue #40666 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40667/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40667/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40667.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40667",
"merged_at": "2021-03-28T21:46:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40667.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40667"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40668 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40668/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40668/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40668/events | https://github.com/pandas-dev/pandas/pull/40668 | 842,803,894 | MDExOlB1bGxSZXF1ZXN0NjAyMjkwMDU0 | 40,668 | REF: better use of fused_types for group_ohlc | {
"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": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-28T18:49:43Z" | "2021-03-29T14:39:59Z" | "2021-03-29T13:09:14Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40668/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40668/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40668.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40668",
"merged_at": "2021-03-29T13:09:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40668.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40668"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40669 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40669/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40669/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40669/events | https://github.com/pandas-dev/pandas/issues/40669 | 842,813,253 | MDU6SXNzdWU4NDI4MTMyNTM= | 40,669 | BUG: Summing empty DataFrame can convert to incompatible type | {
"avatar_url": "https://avatars.githubusercontent.com/u/730739?v=4",
"events_url": "https://api.github.com/users/orbisvicis/events{/privacy}",
"followers_url": "https://api.github.com/users/orbisvicis/followers",
"following_url": "https://api.github.com/users/orbisvicis/following{/other_user}",
"gists_url": "https://api.github.com/users/orbisvicis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/orbisvicis",
"id": 730739,
"login": "orbisvicis",
"node_id": "MDQ6VXNlcjczMDczOQ==",
"organizations_url": "https://api.github.com/users/orbisvicis/orgs",
"received_events_url": "https://api.github.com/users/orbisvicis/received_events",
"repos_url": "https://api.github.com/users/orbisvicis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/orbisvicis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/orbisvicis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/orbisvicis"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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"
}
] | open | false | null | [] | null | 2 | "2021-03-28T19:34:29Z" | "2021-03-30T01:25:59Z" | null | NONE | null | In `DataFrame._reduce` are there reasons not to have `try/except` clauses around this conversion?
https://github.com/pandas-dev/pandas/blob/029907c9d69a0260401b78a016a6c4515d8f1c40/pandas/core/frame.py#L9581-L9584
Like you have here:
https://github.com/pandas-dev/pandas/blob/029907c9d69a0260401b78a016a6c4515d8f1c40/pandas/core/frame.py#L9609-L9613
Because then you have issues like this, which are very common in `groupby` (I mean empty DataFrames are common):
``` python
pd.DataFrame(columns=["Duration"], dtype="timedelta64[ns]").sum(skipna=False)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2442-dd5151a2feed> in <module>
----> 1 pd.DataFrame(columns=["Duration"], dtype="timedelta64[ns]").sum(skipna=False)
.../lib/python3.8/site-packages/pandas/core/generic.py in sum(self, axis, skipna, level, numeric_only, min_count, **kwargs)
11069 **kwargs,
11070 ):
> 11071 return NDFrame.sum(
11072 self, axis, skipna, level, numeric_only, min_count, **kwargs
11073 )
.../lib/python3.8/site-packages/pandas/core/generic.py in sum(self, axis, skipna, level, numeric_only, min_count, **kwargs)
10789 **kwargs,
10790 ):
> 10791 return self._min_count_stat_function(
10792 "sum", nanops.nansum, axis, skipna, level, numeric_only, min_count, **kwargs
10793 )
.../lib/python3.8/site-packages/pandas/core/generic.py in _min_count_stat_function(self, name, func, axis, skipna, level, numeric_only, min_count, **kwargs)
10771 name, axis=axis, level=level, skipna=skipna, min_count=min_count
10772 )
> 10773 return self._reduce(
10774 func,
10775 name=name,
.../lib/python3.8/site-packages/pandas/core/frame.py in _reduce(self, op, name, axis, skipna, numeric_only, filter_type, **kwds)
8855 # Even if we are object dtype, follow numpy and return
8856 # float64, see test_apply_funcs_over_empty
-> 8857 out = out.astype(np.float64)
8858 return out
8859
.../lib/python3.8/site-packages/pandas/core/generic.py in astype(self, dtype, copy, errors)
5875 else:
5876 # else, only a single dtype is given
-> 5877 new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors)
5878 return self._constructor(new_data).__finalize__(self, method="astype")
5879
.../lib/python3.8/site-packages/pandas/core/internals/managers.py in astype(self, dtype, copy, errors)
629 self, dtype, copy: bool = False, errors: str = "raise"
630 ) -> "BlockManager":
--> 631 return self.apply("astype", dtype=dtype, copy=copy, errors=errors)
632
633 def convert(
.../lib/python3.8/site-packages/pandas/core/internals/managers.py in apply(self, f, align_keys, ignore_failures, **kwargs)
425 applied = b.apply(f, **kwargs)
426 else:
--> 427 applied = getattr(b, f)(**kwargs)
428 except (TypeError, NotImplementedError):
429 if not ignore_failures:
.../lib/python3.8/site-packages/pandas/core/internals/blocks.py in astype(self, dtype, copy, errors)
671 vals1d = values.ravel()
672 try:
--> 673 values = astype_nansafe(vals1d, dtype, copy=True)
674 except (ValueError, TypeError):
675 # e.g. astype_nansafe can fail on object-dtype of strings
.../lib/python3.8/site-packages/pandas/core/dtypes/cast.py in astype_nansafe(arr, dtype, copy, skipna)
1061 return arr.astype(TD64NS_DTYPE, copy=copy)
1062
-> 1063 raise TypeError(f"cannot astype a timedelta from [{arr.dtype}] to [{dtype}]")
1064
1065 elif np.issubdtype(arr.dtype, np.floating) and np.issubdtype(dtype, np.integer):
TypeError: cannot astype a timedelta from [timedelta64[ns]] to [float64]
```
And I don't think one should depend on the the undocumented behavior of a negative `min_count` to bypass that coercion while guaranteeing the same output as if `min_count` were 0.
https://github.com/pandas-dev/pandas/blob/029907c9d69a0260401b78a016a6c4515d8f1c40/pandas/core/frame.py#L9560
Especially with code like:
https://github.com/pandas-dev/pandas/blob/029907c9d69a0260401b78a016a6c4515d8f1c40/pandas/core/nanops.py#L1435
This stackoverflow question, [Sum Empty DataFrame without Converting to Incompatible Type](https://stackoverflow.com/q/66845001/2626865) goes into more 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/40669/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40669/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40670 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40670/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40670/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40670/events | https://github.com/pandas-dev/pandas/issues/40670 | 842,829,513 | MDU6SXNzdWU4NDI4Mjk1MTM= | 40,670 | CI: coverage dropped below target | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "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": "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 | [] | null | 0 | "2021-03-28T20:57:38Z" | "2021-04-03T06:35:54Z" | "2021-04-03T06:35:54Z" | MEMBER | null | The codecov CI is failing. My guess is the seperate AM test added in #40496 overwrites the coverage report. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40670/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40670/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40671 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40671/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40671/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40671/events | https://github.com/pandas-dev/pandas/pull/40671 | 842,871,504 | MDExOlB1bGxSZXF1ZXN0NjAyMzQwOTg2 | 40,671 | REF: move most of Block.interpolate to an array method | {
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 7 | "2021-03-29T00:27:36Z" | "2021-04-02T21:04:41Z" | "2021-04-02T20:20:24Z" | MEMBER | null | Not _quite_ at the point where it can be called directly from ArrayManager, but close. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40671/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40671/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40671.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40671",
"merged_at": "2021-04-02T20:20:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40671.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40671"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40672 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40672/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40672/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40672/events | https://github.com/pandas-dev/pandas/pull/40672 | 842,874,460 | MDExOlB1bGxSZXF1ZXN0NjAyMzQzNDI0 | 40,672 | REF: _cython_operation handle values.ndim==1 case up-front | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 5 | "2021-03-29T00:37:08Z" | "2021-04-01T18:52:15Z" | "2021-03-29T18:41:04Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40672/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40672/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40672.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40672",
"merged_at": "2021-03-29T18:41:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40672.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40672"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40673 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40673/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40673/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40673/events | https://github.com/pandas-dev/pandas/issues/40673 | 842,877,102 | MDU6SXNzdWU4NDI4NzcxMDI= | 40,673 | BUG: Copy not working as expected within DataFrameGroupBy.apply function | {
"avatar_url": "https://avatars.githubusercontent.com/u/11382198?v=4",
"events_url": "https://api.github.com/users/dakenblack/events{/privacy}",
"followers_url": "https://api.github.com/users/dakenblack/followers",
"following_url": "https://api.github.com/users/dakenblack/following{/other_user}",
"gists_url": "https://api.github.com/users/dakenblack/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dakenblack",
"id": 11382198,
"login": "dakenblack",
"node_id": "MDQ6VXNlcjExMzgyMTk4",
"organizations_url": "https://api.github.com/users/dakenblack/orgs",
"received_events_url": "https://api.github.com/users/dakenblack/received_events",
"repos_url": "https://api.github.com/users/dakenblack/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dakenblack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dakenblack/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dakenblack"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] | open | false | null | [] | null | 8 | "2021-03-29T00:45:06Z" | "2021-04-02T21:13:09Z" | null | NONE | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- present in v1.2.3
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
df = pd.DataFrame({
'A' : np.random.normal(10, 12, size=(100, ))
})
# function to cyclically group with a frequency of 4
def grouper(index):
return index % 4
store = {}
# debuging apply function to store the dataframe chunks created by the grouper
# also contains print statements to identify the error
def addstore(df):
key = df.index.min()
if len(store.keys()) > 0:
firstkey = list(store.keys())[0]
print(f'{key:19d} {firstkey:19d} {store[firstkey].index.min():19d} {firstkey == store[firstkey].index.min()!s:6s}')
else:
print('New key', key)
print(f'{"New Key":19s} {"First Key":19s} {"Stored Index":19s} {"Valid":19s}')
# attempting to copy dataframe
store[key] = pd.DataFrame(df).copy(deep=True)
df.groupby(grouper).apply(addstore)
```
A more detailed example with integer and datetime indices can be found here: https://gist.github.com/dakenblack/41595c831def6d06e289f87d015aca5e
#### Problem description
Between calls of the apply function (getstore) the copied dataframe changes. If a copy is created, the copy should be independant of the original dataframe.
#### Found Output
```
New key 0
New Key First Key Stored Index Valid
1 0 1 False
2 0 2 False
3 0 3 False
```
#### Expected Output
```
New key 0
New Key First Key Stored Index Valid
1 0 0 True
2 0 0 True
3 0 0 True
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.7.10.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.21343
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.2.3
numpy : 1.18.5
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 49.2.0.post20200714
Cython : 0.29.21
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.3.3
lxml.etree : 4.5.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.20.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.13
tables : None
tabulate : 0.8.9
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
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/40673/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40673/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40674 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40674/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40674/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40674/events | https://github.com/pandas-dev/pandas/issues/40674 | 842,956,529 | MDU6SXNzdWU4NDI5NTY1Mjk= | 40,674 | BUG: pd.read_json sets wrong value for numeric column names | {
"avatar_url": "https://avatars.githubusercontent.com/u/35905338?v=4",
"events_url": "https://api.github.com/users/ChiQiao/events{/privacy}",
"followers_url": "https://api.github.com/users/ChiQiao/followers",
"following_url": "https://api.github.com/users/ChiQiao/following{/other_user}",
"gists_url": "https://api.github.com/users/ChiQiao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ChiQiao",
"id": 35905338,
"login": "ChiQiao",
"node_id": "MDQ6VXNlcjM1OTA1MzM4",
"organizations_url": "https://api.github.com/users/ChiQiao/orgs",
"received_events_url": "https://api.github.com/users/ChiQiao/received_events",
"repos_url": "https://api.github.com/users/ChiQiao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ChiQiao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChiQiao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ChiQiao"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] | open | false | null | [] | null | 2 | "2021-03-29T04:32:52Z" | "2021-04-16T20:00:15Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
df = pd.DataFrame([1.], columns=[0])
pd.read_json(df.to_json(orient="table"), orient="table")
```
#### Problem description
The returned DataFrame will be all `NaN` without exception or warning.
If the value is int as well (e.g., `df = pd.DataFrame([1], columns=[0])`, a `ValueError` is raised instead. The error message was not clear ("Cannot convert non-finite values (NA or inf) to integer"), but it's still better than returning a DataFrame with wrong values.
`NaN` is set during the call of `pd.read_json`.
#### Expected Output
Based on https://github.com/pandas-dev/pandas/issues/19129, it looks like numeric column names are not allowed in the first place. I think an exception is needed rather than setting `NaN`, which makes the debugging difficult.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 9d598a5e1eee26df95b3910e3f2934890d062caa
python : 3.7.9.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : None.None
pandas : 1.2.1
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : 0.29.22
pytest : 6.2.2
hypothesis : None
sphinx : 3.5.2
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : 1.0.2
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.20.0
pandas_datareader: None
bs4 : 4.7.1
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : 0.4.2
scipy : 1.6.1
sqlalchemy : 1.3.23
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.52.0
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40674/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40674/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40675 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40675/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40675/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40675/events | https://github.com/pandas-dev/pandas/issues/40675 | 843,121,696 | MDU6SXNzdWU4NDMxMjE2OTY= | 40,675 | API: Styler `copy`, `export`, `use`, `clear` methods purpose and implementation | {
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "fbca04",
"default": false,
"description": "High level tracker for similar issues",
"id": 183784729,
"name": "Master Tracker",
"node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | null | 0 | "2021-03-29T08:33:36Z" | "2021-10-23T12:20:07Z" | "2021-10-23T12:19:57Z" | CONTRIBUTOR | null | ### PR Tracking
- [x] copy mechanics (#42187)
- [x] clear mechanics (#42271)
- [x] export mechanics (#43318)
- [x] use mechanics (#43318)
# Post
The 4 methods attached to Styler have weakly defined purposes and implementation. Some recent PRs have sought to address this
[#40664 and #39975] but none go all the way.
So lets define a purpose:
- `export` and `use` are designed to work together to transfer all **non-data dependent** styles from one Styler to another.
- `copy` aims to recreate a new Styler object which contains the same data and styles as the original.
- `clear` only operates on a single instance and seeks to set it to a default state.
How does this work in practice with the different Styler attributes:
### Non-Ambiguous Attributes
#### Fully Data Dependent: should be copied but *not* exported.
- **Tooltips**
- **set_td_classes** and **cell_context**
- **hidden_columns**, **hidden_rows**
- **format** (the format method maps formatting functions to the data internally)
#### Non-Data Dependent: should be copied *and* exported
- **hide_index_**, **hide_columns_**:
- **hidden_header** (future development)
- **table_attributes**
### Ambiguous Attributes
- **apply** and **applymap** and **_todo**: should be copied **and** exported. The user must deal with data dependency, since they have optionally introduced it.
The `apply` and `applymap` methods operate by default in a non-data dependent way and optionally become data dependent when the `subset` argument is used or if the functions given are somehow data dependent themselves.
- **table_styles**: should be copied **and** exported. The user must deal with data dependency.
Table styles provide a generic non-data dependent way of adding styles. It can also be data dependent when the CSS selectors target specific rows or colums that might depend on the data. For consistency we include in export and make the user deal with data dependency. (Since Tooltips add table styles dynamically at render time this will not be exported.)
- **uuid**: is ~~not copied~~ **copied and not exported**
~~The uuid is an attribute designed specifically to avoid CSS clashes. It is preferable to have 2 objects with different uuids, and potentially erroneous for them to have the same, therefore we avoid **copying** or **exporting** the uuid.~~
**edit 14-august-2021**: In order to use `to_html` with args without impacting the `styler` we must be able to fully copy a `styler` including uuid: see #43034. Therefore this is copied.
- **caption**: is copied and **not** exported.
A caption is usually data-dependent, although not necessarily hence not exported.
### Clearing
Some attributes can be provided at class instantiation, so "clearing" a Styler could be seen as reseting to these values. In order to do this, the instantiation variables need to be saved, which is unnecessary overhead. Another interpretation is that the Styler instantiation is rarely called specifically with args, and these can be seen as syntactic sugar for, instead calling a default Styler and then immediately applying the relevant modifiers.
Weighing these arguments it seems best to `clear` a Styler back to its default instantiation without any applied arguments.
The most thorough and future proof clearing method might be to re-instantiate a new object, with default inputs:
```
def clear(self):
return Styler(self.data)
````
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40675/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40675/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40676 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40676/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40676/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40676/events | https://github.com/pandas-dev/pandas/issues/40676 | 843,214,885 | MDU6SXNzdWU4NDMyMTQ4ODU= | 40,676 | ENH: Allow dropna to accept floats [0, 1] as thresh values | {
"avatar_url": "https://avatars.githubusercontent.com/u/11645712?v=4",
"events_url": "https://api.github.com/users/JoshuaC3/events{/privacy}",
"followers_url": "https://api.github.com/users/JoshuaC3/followers",
"following_url": "https://api.github.com/users/JoshuaC3/following{/other_user}",
"gists_url": "https://api.github.com/users/JoshuaC3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JoshuaC3",
"id": 11645712,
"login": "JoshuaC3",
"node_id": "MDQ6VXNlcjExNjQ1NzEy",
"organizations_url": "https://api.github.com/users/JoshuaC3/orgs",
"received_events_url": "https://api.github.com/users/JoshuaC3/received_events",
"repos_url": "https://api.github.com/users/JoshuaC3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JoshuaC3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JoshuaC3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JoshuaC3"
} | [
{
"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": "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": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] | open | false | null | [] | null | 5 | "2021-03-29T10:10:41Z" | "2021-08-19T03:06:04Z" | null | NONE | null | #### Is your feature request related to a problem?
_I wish I could use pandas to_ drop NaN values using a threshold that is a fraction of the total column/row, not an absolute number. See detailed example below.
#### Describe the solution you'd like
**thresh** : int or float, optional
Where int, requires that many non-NA values and where float, require that fraction of non-NA values.
#### API breaking implications
Only needs to extend it to accept floats as well as ints.
#### Describe alternatives you've considered
None. IMHO this solution is too simple and effective to consider other options.
#### Additional context
##### Example
```python
import numpy as np
import pandas as pd
import missingno as msno
X = pd.DataFrame(
{
'ones': np.ones(50),
'rand': np.random.normal(size=50),
'linear': np.linspace(1, 50),
}
)
y = 3 * np.sin(X.linear) + X.ones + X.rand
y = y.rename('sin_target')
X.loc[4:10, 'ones'] = np.nan
X.loc[4:20, 'rand'] = np.nan
X.loc[40:45, ['linear', 'ones', 'rand']] = np.nan
y.loc[23:25] = np.nan
Xy = pd.concat([X, y], axis=1)
msno.matrix(Xy)
```

```python
Xy_t = Xy.dropna(thresh=0.7 * len(Xy), axis=1)
# Proposed: Xy_t = Xy.dropna(thresh=0.7, axis=1)
msno.matrix(Xy_t)
```

```python
Xy_t = Xy.dropna(thresh=0.4 * Xy.shape[1], axis=1)
# Proposed: Xy_t = Xy.dropna(thresh=0.4, axis=1)
msno.matrix(Xy_t)
```

It should be obviously that this is very useful in cases where the df axis size is liable to change, and where using piped functionality (saves the extra line of code calculating `thresh_int = 0.4 * Xy.shape[1]`). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40676/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40676/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40677 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40677/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40677/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40677/events | https://github.com/pandas-dev/pandas/pull/40677 | 843,309,948 | MDExOlB1bGxSZXF1ZXN0NjAyNzExNDMw | 40,677 | TST: [ArrowStringArray] add dtype parameterisation to test_astype_float and test_fillna_args | {
"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": "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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-29T12:13:47Z" | "2021-04-01T12:35:05Z" | "2021-03-29T13:52:08Z" | MEMBER | null | #35259 added dtype parameterisation to existing tests in pandas/tests/arrays/string_/test_string.py and xfailed for ArrowStringArray where needed.
test_astype_float and test_fillna_args were later added in #37974 and #37987 respectively.
This PR doesn't fix (although will be looking at the all the xfailed tests in this module shortly, https://github.com/pandas-dev/pandas/issues/35169#issuecomment-727217462) just xfails to reduce the diff (slightly) for #39908 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40677/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40677/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40677.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40677",
"merged_at": "2021-03-29T13:52:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40677.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40677"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40678 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40678/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40678/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40678/events | https://github.com/pandas-dev/pandas/pull/40678 | 843,324,069 | MDExOlB1bGxSZXF1ZXN0NjAyNzIzMzIz | 40,678 | TST: [ArrowStringArray] remove xfail from test_repr | {
"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": "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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-29T12:32:30Z" | "2021-04-09T11:58:42Z" | "2021-03-29T13:50:04Z" | MEMBER | null | follow-up to #35259, xref https://github.com/pandas-dev/pandas/issues/35169#issuecomment-727217462 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40678/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40678/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40678.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40678",
"merged_at": "2021-03-29T13:50:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40678.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40678"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40679 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40679/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40679/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40679/events | https://github.com/pandas-dev/pandas/pull/40679 | 843,396,882 | MDExOlB1bGxSZXF1ZXN0NjAyNzg0OTUy | 40,679 | TST: [ArrowStringArray] more parameterised testing - part 1 | {
"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": "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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 4 | "2021-03-29T13:56:47Z" | "2021-04-01T14:45:00Z" | "2021-04-01T13:35:41Z" | MEMBER | null | aim to reduce diff to address https://github.com/pandas-dev/pandas/pull/39908#discussion_r585573328, but good to do as follow-up to #35259 anyway.
This also includes a change to inference, which could be broken off if not wanted as part of a TST PR.
more tests to change once fixture in play and also some parameterisation to add for the str accessor testing (which could be a precursor with xfails for ArrowStringArray or combined with PR that adds the accessor.. will open a draft shortly for discussion) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40679/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40679/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40679.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40679",
"merged_at": "2021-04-01T13:35:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40679.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40679"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40680 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40680/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40680/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40680/events | https://github.com/pandas-dev/pandas/issues/40680 | 843,532,378 | MDU6SXNzdWU4NDM1MzIzNzg= | 40,680 | DOC: Additional items for the cheat sheet | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/62167804?v=4",
"events_url": "https://api.github.com/users/kunal21sinha/events{/privacy}",
"followers_url": "https://api.github.com/users/kunal21sinha/followers",
"following_url": "https://api.github.com/users/kunal21sinha/following{/other_user}",
"gists_url": "https://api.github.com/users/kunal21sinha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kunal21sinha",
"id": 62167804,
"login": "kunal21sinha",
"node_id": "MDQ6VXNlcjYyMTY3ODA0",
"organizations_url": "https://api.github.com/users/kunal21sinha/orgs",
"received_events_url": "https://api.github.com/users/kunal21sinha/received_events",
"repos_url": "https://api.github.com/users/kunal21sinha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kunal21sinha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kunal21sinha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kunal21sinha"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/62167804?v=4",
"events_url": "https://api.github.com/users/kunal21sinha/events{/privacy}",
"followers_url": "https://api.github.com/users/kunal21sinha/followers",
"following_url": "https://api.github.com/users/kunal21sinha/following{/other_user}",
"gists_url": "https://api.github.com/users/kunal21sinha/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kunal21sinha",
"id": 62167804,
"login": "kunal21sinha",
"node_id": "MDQ6VXNlcjYyMTY3ODA0",
"organizations_url": "https://api.github.com/users/kunal21sinha/orgs",
"received_events_url": "https://api.github.com/users/kunal21sinha/received_events",
"repos_url": "https://api.github.com/users/kunal21sinha/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kunal21sinha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kunal21sinha/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kunal21sinha"
}
] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 19 | "2021-03-29T16:18:42Z" | "2021-08-19T21:53:25Z" | null | CONTRIBUTOR | null | #### Location of the documentation
https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf
#### Potential Cheat Sheet Improvements
Per discussion at https://github.com/pandas-dev/pandas/pull/39806#pullrequestreview-590105681 , add a third page to the cheat sheet:
- More visualization examples that use pandas plotting (no dependence on third party libraries)
- List of frequently used options shown here: https://pandas.pydata.org/pandas-docs/stable/user_guide/options.html#frequently-used-options
- I/O: A whole section showing a variety of popular IO usage (CSV, Excel, SQL, HTML), and also output file formats (feather, parquet, HDF)
- An Apply Functions section
- The new Extension Types (String, Integer, Float) and how pd.NA works
- Anything else that could fill up the space (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/40680/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40680/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40681 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40681/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40681/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40681/events | https://github.com/pandas-dev/pandas/pull/40681 | 843,583,118 | MDExOlB1bGxSZXF1ZXN0NjAyOTQ0MTA0 | 40,681 | REF: simplify dispatch in groupby.ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-29T17:09:02Z" | "2021-03-31T14:17:13Z" | "2021-03-31T12:57:39Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
only real perf impact is one case where we currently do a complex->object->complex cast that this removes
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40681/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40681/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40681.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40681",
"merged_at": "2021-03-31T12:57:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40681.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40681"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40682 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40682/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40682/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40682/events | https://github.com/pandas-dev/pandas/issues/40682 | 843,840,715 | MDU6SXNzdWU4NDM4NDA3MTU= | 40,682 | BUG: DataFrame from sqlalchemy 1.4 `Query` missing column headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/16175304?v=4",
"events_url": "https://api.github.com/users/CaselIT/events{/privacy}",
"followers_url": "https://api.github.com/users/CaselIT/followers",
"following_url": "https://api.github.com/users/CaselIT/following{/other_user}",
"gists_url": "https://api.github.com/users/CaselIT/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CaselIT",
"id": 16175304,
"login": "CaselIT",
"node_id": "MDQ6VXNlcjE2MTc1MzA0",
"organizations_url": "https://api.github.com/users/CaselIT/orgs",
"received_events_url": "https://api.github.com/users/CaselIT/received_events",
"repos_url": "https://api.github.com/users/CaselIT/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CaselIT/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CaselIT/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CaselIT"
} | [
{
"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": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/56703401?v=4",
"events_url": "https://api.github.com/users/jnchngc/events{/privacy}",
"followers_url": "https://api.github.com/users/jnchngc/followers",
"following_url": "https://api.github.com/users/jnchngc/following{/other_user}",
"gists_url": "https://api.github.com/users/jnchngc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jnchngc",
"id": 56703401,
"login": "jnchngc",
"node_id": "MDQ6VXNlcjU2NzAzNDAx",
"organizations_url": "https://api.github.com/users/jnchngc/orgs",
"received_events_url": "https://api.github.com/users/jnchngc/received_events",
"repos_url": "https://api.github.com/users/jnchngc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jnchngc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jnchngc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jnchngc"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/56703401?v=4",
"events_url": "https://api.github.com/users/jnchngc/events{/privacy}",
"followers_url": "https://api.github.com/users/jnchngc/followers",
"following_url": "https://api.github.com/users/jnchngc/following{/other_user}",
"gists_url": "https://api.github.com/users/jnchngc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jnchngc",
"id": 56703401,
"login": "jnchngc",
"node_id": "MDQ6VXNlcjU2NzAzNDAx",
"organizations_url": "https://api.github.com/users/jnchngc/orgs",
"received_events_url": "https://api.github.com/users/jnchngc/received_events",
"repos_url": "https://api.github.com/users/jnchngc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jnchngc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jnchngc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jnchngc"
}
] | {
"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-03-29T21:47:13Z" | "2021-09-04T14:33:26Z" | "2021-09-04T14:33:26Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```py
# Your code here
from sqlalchemy import create_engine, Table, Column, Integer, String
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
import pandas as pd
import sqlalchemy as sa
BaseModel = declarative_base()
class Test(BaseModel):
__tablename__ = "test"
id = Column(Integer, primary_key=True)
foo = Column(String(50))
engine = create_engine("sqlite:///")
BaseModel.metadata.create_all(engine)
Session = sessionmaker(bind=engine)
session = Session()
df = pd.DataFrame({"id": [0, 1], "foo": ["hello", "world"]})
df.to_sql("test", con=engine, index=False, if_exists="replace")
session.commit()
foo = session.query(Test.id, Test.foo)
df = pd.DataFrame(foo)
session.close()
print(df)
assert list(df.columns) == ["id", "foo"]
```
#### Problem description
Coping from https://github.com/sqlalchemy/sqlalchemy/issues/6154.
In sqlalchemy 1.4 `Query` returns `Row` objects that are no longer subclass of tuple, so they don't pass the `is_named_tuple` check, as mentioned by Mike here https://github.com/sqlalchemy/sqlalchemy/issues/6154#issuecomment-809441845
#### Expected Output
The colums are named `0,1` instead of `'id', 'foo'`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.8.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.21337
machine : AMD64
processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.2.3
numpy : 1.19.2
pytz : 2019.3
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : 3.5.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : 0.9.3
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
IPython : 7.14.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 : None
sqlalchemy : 1.4.4 (actually master)
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.52.0
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40682/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40682/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40683 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40683/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40683/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40683/events | https://github.com/pandas-dev/pandas/pull/40683 | 843,846,023 | MDExOlB1bGxSZXF1ZXN0NjAzMTc0Nzk5 | 40,683 | Agg functions for df not respecting numeric only with level | {
"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": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "370f77",
"default": false,
"description": "DataFrame data structure",
"id": 1049312478,
"name": "DataFrame",
"node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-29T21:55:04Z" | "2021-04-09T20:08:50Z" | "2021-04-08T22:15:43Z" | MEMBER | null | - [x] closes #40660
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
stumbled accross this one | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40683/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40683/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40683.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40683",
"merged_at": "2021-04-08T22:15:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40683.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40683"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40684 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40684/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40684/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40684/events | https://github.com/pandas-dev/pandas/pull/40684 | 843,859,262 | MDExOlB1bGxSZXF1ZXN0NjAzMTg2NDMz | 40,684 | BUG: round_trip_pickle for lib.no_default | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | "2021-03-29T22:15:16Z" | "2021-06-08T16:29:49Z" | "2021-03-30T13:17:57Z" | MEMBER | null | - [x] closes #40397
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
This will also un-block making a .pyi for lib.pyx | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40684/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40684/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40684.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40684",
"merged_at": "2021-03-30T13:17:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40684.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40684"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40685 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40685/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40685/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40685/events | https://github.com/pandas-dev/pandas/issues/40685 | 843,920,711 | MDU6SXNzdWU4NDM5MjA3MTE= | 40,685 | BUG: idxmin and idxmax fail for groupby of decimal columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/1538165?v=4",
"events_url": "https://api.github.com/users/vyasr/events{/privacy}",
"followers_url": "https://api.github.com/users/vyasr/followers",
"following_url": "https://api.github.com/users/vyasr/following{/other_user}",
"gists_url": "https://api.github.com/users/vyasr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vyasr",
"id": 1538165,
"login": "vyasr",
"node_id": "MDQ6VXNlcjE1MzgxNjU=",
"organizations_url": "https://api.github.com/users/vyasr/orgs",
"received_events_url": "https://api.github.com/users/vyasr/received_events",
"repos_url": "https://api.github.com/users/vyasr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vyasr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vyasr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vyasr"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "120491",
"default": false,
"description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply",
"id": 2365523662,
"name": "Nuisance Columns",
"node_id": "MDU6TGFiZWwyMzY1NTIzNjYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns"
}
] | open | false | null | [] | null | 2 | "2021-03-29T23:49:33Z" | "2021-04-03T23:26:41Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas as pd
from decimal import Decimal
# from pandas.tests.extension.decimal import DecimalArray
df = pd.DataFrame({
'idx': [0, 1],
'x': [Decimal('8.68'), Decimal('42.23')],
'y': [Decimal('7.11'), Decimal('79.61')],
# 'x': DecimalArray([Decimal('8.68'), Decimal('42.23')]),
# 'y': DecimalArray([Decimal('7.11'), Decimal('79.61')]),
})
print(df.groupby("idx", sort=True).agg('idxmin'))
# Empty DataFrame
# Columns: []
# Index: [0, 1]
```
#### Problem description
When a column contains `Decimal` objects, the `idxmin` and `idxmax` aggregations return empty output.
#### Expected Output
The expected output is
```
x y
idx
0 0 0
1 1 1
```
If I uncomment the commented lines in the above example (i.e. place the `Decimal` objects inside a `DecimalArray`), it works, but AFAICT that isn't really part of the intended public pandas API. Moreover, the issue is not exclusively due to singleton groups: I can also reproduce it using the following DataFrame:
```
df = pd.DataFrame({
'idx': [0, 1, 0, 1],
'x': [Decimal('8.68'), Decimal('42.23'), Decimal('8.69'), Decimal('42.24')],
'y': [Decimal('7.11'), Decimal('79.61'), Decimal('7.12'), Decimal('79.62')],
})
```
I don't think this is related to #39098 because this only occurs for `idxmin` or `idxmax`, not aggregations like `sum`. That is the only obviously related issue I could find.
#### Output of ``pd.show_versions()``
<details>
I've tested on two separate systems.
**Docker Ubuntu container (running on a host Ubuntu machine)**
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-76-generic
Version : #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : 0.29.22
pytest : 6.2.2
hypothesis : 6.3.4
sphinx : 3.5.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.21.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.7
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.53.0
**conda Python on a Mac**
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.9.2.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 49.6.0.post20210108
Cython : 0.29.22
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.21.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 : 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/40685/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40685/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40686 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40686/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40686/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40686/events | https://github.com/pandas-dev/pandas/issues/40686 | 843,921,961 | MDU6SXNzdWU4NDM5MjE5NjE= | 40,686 | ENH: Upgrade Pandas SQLAlchemy code to be compatible with 2.0+ syntax | {
"avatar_url": "https://avatars.githubusercontent.com/u/937812?v=4",
"events_url": "https://api.github.com/users/scnerd/events{/privacy}",
"followers_url": "https://api.github.com/users/scnerd/followers",
"following_url": "https://api.github.com/users/scnerd/following{/other_user}",
"gists_url": "https://api.github.com/users/scnerd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scnerd",
"id": 937812,
"login": "scnerd",
"node_id": "MDQ6VXNlcjkzNzgxMg==",
"organizations_url": "https://api.github.com/users/scnerd/orgs",
"received_events_url": "https://api.github.com/users/scnerd/received_events",
"repos_url": "https://api.github.com/users/scnerd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scnerd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scnerd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scnerd"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | "2021-03-29T23:52:06Z" | "2021-08-27T02:40:03Z" | null | NONE | null | #### Is your feature request related to a problem?
As of SQLAlchemy 1.4, there is a new syntax available that will become the only syntax in version 2.0+. Pandas uses SQLAlchemy for performing SQL IO, particularly in ``DataFrame.to_sql`` and ``pd.read_sql`` (via ``pd.read_sql_query`` and ``pd.read_sql_table``). This usage is not compatible with the new SQLAlchemy syntax.
#### Describe the solution you'd like
Upgrade Pandas SQLAlchemy code to be compatible with the new 1.4+/2.0+ syntax. [An official guide for how to do so in a test-driven fashion is available here.](https://docs.sqlalchemy.org/en/14/changelog/migration_20.html) Note that at least the following 2.0+ incompatibility warnings are issued (though this list is by no means exhaustive):
```
.../pandas/io/sql.py:1313: RemovedIn20Warning: The MetaData.bind argument is deprecated and will be removed in SQLAlchemy 2.0. (Background on SQLAlchemy 2.0 at: http://sqlalche.me/e/b8d9)
meta = MetaData(self.connectable, schema=schema)
.../pandas/io/sql.py:1103: RemovedIn20Warning: The MetaData.bind argument is deprecated and will be removed in SQLAlchemy 2.0. (Background on SQLAlchemy 2.0 at: http://sqlalche.me/e/b8d9)
meta = MetaData(self.pd_sql, schema=schema)
.../sqlalchemy/sql/schema.py:939: RemovedIn20Warning: The ``bind`` argument for schema methods that invoke SQL against an engine or connection will be required in SQLAlchemy 2.0. (Background on SQLAlchemy 2.0 at: http://sqlalche
.me/e/b8d9)
bind = _bind_or_error(self)
.../pandas/io/sql.py:1612: RemovedIn20Warning: The Connection.connect() method is considered legacy as of the 1.x series of SQLAlchemy and will be removed in 2.0. (Background on SQLAlchemy 2.0 at: http://sqlalche.me/e/b8d9)
with self.connectable.connect() as conn:
```
#### API breaking implications
The upgrade to the 2.0+ syntax is not backwards compatible, and even the upgrade to 1.4 may require some changes (though it is primarily an incremental step from 1.3). Since the range of SQLA features used by Pandas is limited, there should be little difficulty in supporting both >=2.0 (and hence also ~=1.4) and <=1.3.
#### Describe alternatives you've considered
The alternative is to pin ``sqlalchemy<=2.0``, or to stop using the Pandas SQL IO functions.
#### Additional context
[The guide linked above](https://docs.sqlalchemy.org/en/14/changelog/migration_20.html) shows how to discover SQLA compatibility issues, and then how to tweak the test suite to ensure that no issues are later introduced. Note that many of these upgrades are simple fixes (using ``connection.execute`` instead of ``engine.execute``, not binding an ``Engine`` into a ``MetaData`` instance, not calling ``Connection.connect``, etc.) and that most are backwards-compatible with recent versions of SQLA. | {
"+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/40686/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40686/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40687 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40687/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40687/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40687/events | https://github.com/pandas-dev/pandas/pull/40687 | 843,922,415 | MDExOlB1bGxSZXF1ZXN0NjAzMjQyOTU4 | 40,687 | ENH: Add nullable dtypes to read_csv | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, 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"
}
] | open | false | null | [] | null | 11 | "2021-03-29T23:52:55Z" | "2021-10-16T22:52:54Z" | null | MEMBER | null | - [x] closes #36712
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40687/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40687/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40687.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40687",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40687.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40687"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40688 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40688/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40688/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40688/events | https://github.com/pandas-dev/pandas/pull/40688 | 843,943,167 | MDExOlB1bGxSZXF1ZXN0NjAzMjYxMDMx | 40,688 | CLN/TST: Some cleanups in apply.test_invalid_arg | {
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"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"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-30T00:32:16Z" | "2021-03-30T13:39:36Z" | "2021-03-30T13:17:38Z" | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40688/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40688/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40688.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40688",
"merged_at": "2021-03-30T13:17:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40688.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40688"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40689 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40689/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40689/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40689/events | https://github.com/pandas-dev/pandas/pull/40689 | 844,033,135 | MDExOlB1bGxSZXF1ZXN0NjAzMzM2OTcy | 40,689 | REF: de-duplicate pad/backfill code | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-30T03:35:08Z" | "2021-03-31T01:04:25Z" | "2021-03-31T01:01:49Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40689/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40689/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40689.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40689",
"merged_at": "2021-03-31T01:01:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40689.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40689"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40690 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40690/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40690/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40690/events | https://github.com/pandas-dev/pandas/issues/40690 | 844,196,788 | MDU6SXNzdWU4NDQxOTY3ODg= | 40,690 | DOC: `DataFrame.reindex` columns filling | {
"avatar_url": "https://avatars.githubusercontent.com/u/5162060?v=4",
"events_url": "https://api.github.com/users/markoshorro/events{/privacy}",
"followers_url": "https://api.github.com/users/markoshorro/followers",
"following_url": "https://api.github.com/users/markoshorro/following{/other_user}",
"gists_url": "https://api.github.com/users/markoshorro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/markoshorro",
"id": 5162060,
"login": "markoshorro",
"node_id": "MDQ6VXNlcjUxNjIwNjA=",
"organizations_url": "https://api.github.com/users/markoshorro/orgs",
"received_events_url": "https://api.github.com/users/markoshorro/received_events",
"repos_url": "https://api.github.com/users/markoshorro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/markoshorro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markoshorro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/markoshorro"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | open | false | null | [] | null | 4 | "2021-03-30T07:58:34Z" | "2021-03-31T11:31:52Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
frame = pd.DataFrame( np.arange(9).reshape( (3, 3) ), index=['a', 'c', 'd'], columns=['Caladan', 'Corrin', 'Ix'] )
"""
Caladan Corrin Ix
a 0 1 2
c 3 4 5
d 6 7 8
"""
frame.reindex(index=['a','b','c','d'],columns=["Caladan","CZ","Ix"],method="ffill")
"""
comment: this is OK
Caladan CZ Ix
a 0 NaN 2
b 0 NaN 2
c 3 NaN 5
d 6 NaN 8
"""
frame.reindex(index=['a','b','c','d'],columns=["Caladan","DZ","Ix"],method="ffill")
"""
comment: OK this is weird...
Caladan DZ Ix
a 0 1 2
b 0 1 2
c 3 4 5
d 6 7 8
"""
frame.reindex(index=['a','b','c','d'],columns=["Caladan","TZ","Ix"],method="ffill")
"""
comment: wat?
Caladan TZ Ix
a 0 2 2
b 0 2 2
c 3 5 5
d 6 8 8
"""
```
#### Problem description
`DataFrame.reindex`, when changing columns labeling, if column name is unknown it should not fill that column, even though it does. Besides, it has different behaviors depending on the new column name, which is even stranger.
#### Expected Output
New column not filled; same behavior when varying the name of new column/s.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.72-microsoft-standard-WSL2
Version : #1 SMP Wed Oct 28 23:40:43 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.3
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
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 : 2.11.3
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40690/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40690/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40691 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40691/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40691/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40691/events | https://github.com/pandas-dev/pandas/pull/40691 | 844,221,237 | MDExOlB1bGxSZXF1ZXN0NjAzNDk2OTg0 | 40,691 | DOC: minor fixes to recent Styler guide PR | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-30T08:25:53Z" | "2021-03-30T15:28:44Z" | "2021-03-30T13:57:33Z" | CONTRIBUTOR | null | small fixes to the previous doc edits:
1 spell correction.
1 uncomment and add an extra cell for clarity.
2 move creation of internal classes to relevant section.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40691/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40691/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40691.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40691",
"merged_at": "2021-03-30T13:57:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40691.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40691"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40692 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40692/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40692/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40692/events | https://github.com/pandas-dev/pandas/issues/40692 | 844,500,354 | MDU6SXNzdWU4NDQ1MDAzNTQ= | 40,692 | EHN: Function to optimise dataframe (efficient datatypes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/13524596?v=4",
"events_url": "https://api.github.com/users/mapattacker/events{/privacy}",
"followers_url": "https://api.github.com/users/mapattacker/followers",
"following_url": "https://api.github.com/users/mapattacker/following{/other_user}",
"gists_url": "https://api.github.com/users/mapattacker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mapattacker",
"id": 13524596,
"login": "mapattacker",
"node_id": "MDQ6VXNlcjEzNTI0NTk2",
"organizations_url": "https://api.github.com/users/mapattacker/orgs",
"received_events_url": "https://api.github.com/users/mapattacker/received_events",
"repos_url": "https://api.github.com/users/mapattacker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mapattacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mapattacker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mapattacker"
} | [
{
"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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | null | 7 | "2021-03-30T12:53:20Z" | "2021-08-19T03:35:16Z" | "2021-08-19T03:35:16Z" | NONE | null | **Problem**
It is well-documented that the default data frame is not the most size efficient. To do that we have to manually convert each column to their respectively smallest datatype possible.
This will involve the conversion of categorical and downsizing of integers & floats as stated in pandas [documentation](https://pandas.pydata.org/pandas-docs/stable/user_guide/scale.html#use-efficient-datatypes).
**Solution**
I am wondering if it makes sense to create a new function to automatically convert/scale down all the columns in a dataframe to its most efficient. Something as simple as below.
```python
import pandas as pd
df_optimzied = pd.optimize(df)
```
I will be willing to implement this feature as a pull request if it is something the maintainers value. At least, I feel it is something our team will use frequently. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40692/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40692/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40693 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40693/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40693/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40693/events | https://github.com/pandas-dev/pandas/pull/40693 | 844,814,911 | MDExOlB1bGxSZXF1ZXN0NjA0MDIzMjU2 | 40,693 | TYP: tslibs.conversion, dtypes, fields | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-30T16:14:38Z" | "2021-03-31T01:08:56Z" | "2021-03-31T01:05:50Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40693/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40693/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40693.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40693",
"merged_at": "2021-03-31T01:05:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40693.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40693"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40694 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40694/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40694/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40694/events | https://github.com/pandas-dev/pandas/issues/40694 | 844,967,242 | MDU6SXNzdWU4NDQ5NjcyNDI= | 40,694 | BUG: read_excel not loading entire datasheet of .xlsx file | {
"avatar_url": "https://avatars.githubusercontent.com/u/3778763?v=4",
"events_url": "https://api.github.com/users/rgrasmus/events{/privacy}",
"followers_url": "https://api.github.com/users/rgrasmus/followers",
"following_url": "https://api.github.com/users/rgrasmus/following{/other_user}",
"gists_url": "https://api.github.com/users/rgrasmus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rgrasmus",
"id": 3778763,
"login": "rgrasmus",
"node_id": "MDQ6VXNlcjM3Nzg3NjM=",
"organizations_url": "https://api.github.com/users/rgrasmus/orgs",
"received_events_url": "https://api.github.com/users/rgrasmus/received_events",
"repos_url": "https://api.github.com/users/rgrasmus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rgrasmus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rgrasmus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rgrasmus"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | null | 2 | "2021-03-30T17:50:49Z" | "2021-03-30T19:21:20Z" | "2021-03-30T19:21:20Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
The code I'm using is the following:
#### Code Sample, a copy-pastable example
```python
DeathURL = 'https://www.dshs.texas.gov/coronavirus/TexasCOVID19DailyCountyFatalityCountData.xlsx'
TxDeath = pd.read_excel(DeathURL, engine='openpyxl', sheet_name='Fatalities by County')
TxDeath.shape
```
The output is:
```
/Users/rgrasmus/anaconda3/lib/python3.7/site-packages/openpyxl/styles/stylesheet.py:221: UserWarning: Workbook contains no default style, apply openpyxl's default
warn("Workbook contains no default style, apply openpyxl's default")
(0,1)
```
#### Problem description
I am trying to read an online excel .xlsx file that is updated daily via Pandas (version 1.0.5) with openpyxl engine (version 3.0.7). Before updating Pandas and xlrd recently, the file loaded appropriately. Currently, it is raising a warning that openpyxl is applying a default stylesheet and the Dataframe that loads is only the first cell of the worksheet instead of the whole worksheet.
#### Expected Output
I am expecting Pandas to load a ~388x259 worksheet.
I have tested openpyxl directly and it seems to load the entire worksheet:
```python
import openpyxl
import requests
DeathURL = 'https://www.dshs.texas.gov/coronavirus/TexasCOVID19DailyCountyFatalityCountData.xlsx'
resp=requests.get(DeathURL)
output = open('test.xlsx', 'wb')
output.write(resp.content)
output.close()
TxD = openpyxl.load_workbook('test.xlsx')
TxDSheet = TxD.active
print(TxDSheet.max_column)
print(TxDSheet.max_row)
```
Output from the above:
```
388
259
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Darwin
OS-release : 20.3.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.5
numpy : 1.18.5
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : 0.29.22
pytest : 6.2.2
hypothesis : None
sphinx : 3.5.3
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.21.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fastparquet : None
gcsfs : None
lxml.etree : 4.6.3
matplotlib : 3.3.4
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 6.2.2
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : 1.3.23
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
xlsxwriter : 1.3.7
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/40694/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40694/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40695 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40695/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40695/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40695/events | https://github.com/pandas-dev/pandas/issues/40695 | 845,221,450 | MDU6SXNzdWU4NDUyMjE0NTA= | 40,695 | BUG: wrong output index mapping of results when groupby both scan and reduction aggregation are passed | {
"avatar_url": "https://avatars.githubusercontent.com/u/6488848?v=4",
"events_url": "https://api.github.com/users/karthikeyann/events{/privacy}",
"followers_url": "https://api.github.com/users/karthikeyann/followers",
"following_url": "https://api.github.com/users/karthikeyann/following{/other_user}",
"gists_url": "https://api.github.com/users/karthikeyann/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/karthikeyann",
"id": 6488848,
"login": "karthikeyann",
"node_id": "MDQ6VXNlcjY0ODg4NDg=",
"organizations_url": "https://api.github.com/users/karthikeyann/orgs",
"received_events_url": "https://api.github.com/users/karthikeyann/received_events",
"repos_url": "https://api.github.com/users/karthikeyann/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/karthikeyann/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karthikeyann/subscriptions",
"type": "User",
"url": "https://api.github.com/users/karthikeyann"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": "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": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] | open | false | null | [] | null | 6 | "2021-03-30T20:36:06Z" | "2021-08-19T03:36:40Z" | null | NONE | null | Edit (https://github.com/pandas-dev/pandas/issues/40695#issuecomment-810574992): This issue is about `groupby(...).transform` not accepting list-likes or dict-likes.
#### Code Sample, a copy-pastable example
```python
In [1]: import pandas as pd
In [2]: pdf = pd.DataFrame({'a' : [2, 2, 1, 1, 6], 'b' : [2, 2, 1, 1, 3]})
In [3]: pdf.groupby('a').agg(['sum'])
Out[3]:
b
sum
a
1 2
2 4
6 3
In [4]: pdf.groupby('a').agg(['cumsum'])
Out[4]:
b
cumsum
0 2
1 4
2 1
3 2
4 3
In [5]: pdf.groupby('a').agg(['cumsum', 'sum'])
Out[5]:
b
cumsum sum
0 2.0 NaN
1 4.0 2.0
2 1.0 4.0
3 2.0 NaN
4 3.0 NaN
6 NaN 3.0
```
#### Problem description
When both scan aggregrations (cumsum, cummin, cummax, cumcount) and any of reduction aggregartions (sum, min, max, prod, ...), are passed to `groupby.agg` , output value mapping to index in the result is wrong.
scan aggregations produce index as RangeIndex (0 to N-1).
reduction aggregations usually map to grouped keys. In the given example, it maps to values of keys in resulting index.
#### Expected Output
Common method to align the output should be decided and implemented.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-137-generic
Version : #141-Ubuntu SMP Fri Feb 19 13:46:27 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.3
numpy : 1.19.2
pytz : 2020.4
dateutil : 2.8.1
pip : 21.0.1
setuptools : 49.6.0.post20201009
Cython : 0.29.22
pytest : 6.2.2
hypothesis : 6.8.1
sphinx : 3.5.3
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.21.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 0.8.7
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.52.0
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40695/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40695/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40696 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40696/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40696/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40696/events | https://github.com/pandas-dev/pandas/pull/40696 | 845,246,921 | MDExOlB1bGxSZXF1ZXN0NjA0NDI0NTk4 | 40,696 | CI: unpin pymysql, sync min version, and skip failing test | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 4 | "2021-03-30T20:52:46Z" | "2021-04-09T15:51:21Z" | "2021-04-09T15:51:17Z" | MEMBER | null | xref #36465
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40696/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40696/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40696.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40696",
"merged_at": "2021-04-09T15:51:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40696.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40696"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40697 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40697/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40697/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40697/events | https://github.com/pandas-dev/pandas/pull/40697 | 845,293,618 | MDExOlB1bGxSZXF1ZXN0NjA0NDY4NDAy | 40,697 | CI: update exception catching for np1.21 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-30T21:24:30Z" | "2021-03-31T01:04:04Z" | "2021-03-31T01:02:24Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40697/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40697/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40697.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40697",
"merged_at": "2021-03-31T01:02:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40697.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40697"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40698 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40698/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40698/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40698/events | https://github.com/pandas-dev/pandas/pull/40698 | 845,573,534 | MDExOlB1bGxSZXF1ZXN0NjA0NzMyOTMz | 40,698 | CLN: boolean->bool, string->str in docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-31T01:03:07Z" | "2021-03-31T14:16:33Z" | "2021-03-31T12:52:35Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40698/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40698/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40698.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40698",
"merged_at": "2021-03-31T12:52:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40698.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40698"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40699 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40699/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40699/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40699/events | https://github.com/pandas-dev/pandas/pull/40699 | 845,665,892 | MDExOlB1bGxSZXF1ZXN0NjA0ODE1NTE2 | 40,699 | CLN: remove unused zip/enumerate/items | {
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-31T02:14:41Z" | "2021-06-05T20:50:46Z" | "2021-03-31T13:12:50Z" | CONTRIBUTOR | null | found by #40570 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40699/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40699/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40699.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40699",
"merged_at": "2021-03-31T13:12:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40699.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40699"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40700 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40700/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40700/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40700/events | https://github.com/pandas-dev/pandas/pull/40700 | 845,695,030 | MDExOlB1bGxSZXF1ZXN0NjA0ODQxNjI5 | 40,700 | CI: lower codecov target | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-31T02:36:51Z" | "2021-03-31T03:42:24Z" | "2021-03-31T03:36:37Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
xref #40670 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40700/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40700/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40700.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40700",
"merged_at": "2021-03-31T03:36:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40700.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40700"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40701 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40701/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40701/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40701/events | https://github.com/pandas-dev/pandas/pull/40701 | 845,993,291 | MDExOlB1bGxSZXF1ZXN0NjA1MTIyNDg5 | 40,701 | BUG: RollingGroupby MultiIndex levels dropped | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 4 | "2021-03-31T06:28:03Z" | "2021-04-05T17:26:16Z" | "2021-04-05T16:22:13Z" | MEMBER | null | - [x] closes #38523
- [x] closes #38787
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Essentially https://github.com/pandas-dev/pandas/pull/38737 but targeted for 1.3 as it appears that the current behavior is largely unexpected | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40701/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40701/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40701.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40701",
"merged_at": "2021-04-05T16:22:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40701.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40701"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40702 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40702/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40702/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40702/events | https://github.com/pandas-dev/pandas/issues/40702 | 846,035,711 | MDU6SXNzdWU4NDYwMzU3MTE= | 40,702 | ENH: Having rolling accepts pd.IntervalIndex on a sorted datetime column | {
"avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4",
"events_url": "https://api.github.com/users/yohplala/events{/privacy}",
"followers_url": "https://api.github.com/users/yohplala/followers",
"following_url": "https://api.github.com/users/yohplala/following{/other_user}",
"gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yohplala",
"id": 13206058,
"login": "yohplala",
"node_id": "MDQ6VXNlcjEzMjA2MDU4",
"organizations_url": "https://api.github.com/users/yohplala/orgs",
"received_events_url": "https://api.github.com/users/yohplala/received_events",
"repos_url": "https://api.github.com/users/yohplala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yohplala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yohplala"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] | closed | false | null | [] | null | 1 | "2021-03-31T06:57:23Z" | "2021-05-01T09:13:12Z" | "2021-04-30T21:30:27Z" | NONE | null | #### Describe the solution you'd like
It is currently possible to define custom window rolling as explained in [documentation](https://pandas.pydata.org/pandas-docs/stable/user_guide/window.html#custom-window-rolling).
It is required to subclass `BaseIndexer` and define ones' own `get_window_bounds`.
In case windows' bounds are defined by timestamps, pandas already provide a nice API to define them as `pd.IntervalIndex`.
Requested feature is to have rolling accepting `pd.IntervalIndex` in `window` parameter, that would be used in combination with `on` parameter to define the datetime-like column (already the case apparently)
#### API breaking implications
`window` parameter accepts `pd.IntervalIndex`
#### Additional context
This operation could be managed by use of `pd.IntervalIndex` and `pd.cut` but this combination does not take advantage that:
- intervals are sorted and non overlapping
- datetime-like column is sorted
which allows then to go through the DataFrame only once, managing each intervals one after the other.
I think that rolling naturally does. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40702/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40702/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40703 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40703/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40703/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40703/events | https://github.com/pandas-dev/pandas/pull/40703 | 846,304,013 | MDExOlB1bGxSZXF1ZXN0NjA1NDA5NTE2 | 40,703 | CLN: add property to check if NDFrame uses ArrayManager | {
"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": "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 | [] | null | 2 | "2021-03-31T09:43:07Z" | "2021-03-31T14:51:54Z" | "2021-03-31T14:51:43Z" | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/40482/files#r596222938
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/40703/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40703/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40703.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40703",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40703.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40703"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40704 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40704/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40704/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40704/events | https://github.com/pandas-dev/pandas/issues/40704 | 846,696,277 | MDU6SXNzdWU4NDY2OTYyNzc= | 40,704 | BUG: Divide zero by zero returns NaN in a Float64 dtype column which cannot be handled by fillna | {
"avatar_url": "https://avatars.githubusercontent.com/u/49187354?v=4",
"events_url": "https://api.github.com/users/jaspersival/events{/privacy}",
"followers_url": "https://api.github.com/users/jaspersival/followers",
"following_url": "https://api.github.com/users/jaspersival/following{/other_user}",
"gists_url": "https://api.github.com/users/jaspersival/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaspersival",
"id": 49187354,
"login": "jaspersival",
"node_id": "MDQ6VXNlcjQ5MTg3MzU0",
"organizations_url": "https://api.github.com/users/jaspersival/orgs",
"received_events_url": "https://api.github.com/users/jaspersival/received_events",
"repos_url": "https://api.github.com/users/jaspersival/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaspersival/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaspersival/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaspersival"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | "2021-03-31T13:44:13Z" | "2021-03-31T15:18:20Z" | "2021-03-31T15:18:20Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
series1 = pd.Series([0.], dtype=pd.Float64Dtype())
series2 = pd.Series([0.], dtype=pd.Float64Dtype())
series1/series2
0 NaN
dtype: Float64
(series1/series2).fillna(0)
0 NaN
dtype: Float64
```
#### Problem description
When dividing a pd.Float64Dtype series by another of the same type, and if there is a zero by zero division taking place, then pandas returns a NaN value for that particular case. If I want to replace this NaN value with something else, I cannot do that.
I can only get it to work if I do:
```python
(series1/series2).astype(float).astype(pd.Float64Dtype()).fillna(0)
0 0.0
dtype: Float64
```
#### Expected Output
```python
(series1/series2).fillna(0)
0 0.0
dtype: Float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.9.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.3
numpy : 1.20.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 52.0.0
Cython : None
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : 1.4.3
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
numba : None
</details>
| {
"+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/40704/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40704/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40705 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40705/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40705/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40705/events | https://github.com/pandas-dev/pandas/issues/40705 | 846,805,072 | MDU6SXNzdWU4NDY4MDUwNzI= | 40,705 | BUG: Incorrect timedelta with tz_localize and nonexistent times | {
"avatar_url": "https://avatars.githubusercontent.com/u/31888611?v=4",
"events_url": "https://api.github.com/users/katbot99/events{/privacy}",
"followers_url": "https://api.github.com/users/katbot99/followers",
"following_url": "https://api.github.com/users/katbot99/following{/other_user}",
"gists_url": "https://api.github.com/users/katbot99/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/katbot99",
"id": 31888611,
"login": "katbot99",
"node_id": "MDQ6VXNlcjMxODg4NjEx",
"organizations_url": "https://api.github.com/users/katbot99/orgs",
"received_events_url": "https://api.github.com/users/katbot99/received_events",
"repos_url": "https://api.github.com/users/katbot99/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/katbot99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/katbot99/subscriptions",
"type": "User",
"url": "https://api.github.com/users/katbot99"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | open | false | null | [] | null | 1 | "2021-03-31T14:48:26Z" | "2021-04-13T15:37:12Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
s = pd.Series(range(2),
index=pd.DatetimeIndex(['2021-03-28 01:30:00',
'2021-03-28 02:30:00']))
s.tz_localize('Europe/London', nonexistent=pd.Timedelta('1H'))
```
```python
2021-03-28 03:30:00+01:00 0
2021-03-28 02:30:00+01:00 1
dtype: int64
```
#### Problem description
Using Timedelta with the `nonexistent` flag with `tz_localize` is adding 2 hours instead of 1 hour for nonexistent times in 'Europe/London' tz. DST started on 2021-03-28 when 59:59 > 02:00 so '2021-03-28 01:30:00' is nonexistent. When I run almost the same code from the docs with 'Europe/Warsaw' the bug does not occur:
```python
s = pd.Series(range(2),
index=pd.DatetimeIndex(['2021-03-28 02:30:00',
'2021-03-28 03:30:00']))
s.tz_localize('Europe/Warsaw', nonexistent=pd.Timedelta('1H'))
```
```python
2021-03-28 03:30:00+02:00 0
2021-03-28 03:30:00+02:00 1
dtype: int64
```
#### Expected Output
```python
2021-03-28 02:30:00+01:00 0
2021-03-28 02:30:00+01:00 1
dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2c8480af2f25efdbd803218b9d87980f416563e
python : 3.8.7.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.2.3
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.2
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : 2.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/40705/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40705/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40706 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40706/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40706/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40706/events | https://github.com/pandas-dev/pandas/pull/40706 | 846,878,142 | MDExOlB1bGxSZXF1ZXN0NjA1OTM5MzI3 | 40,706 | Fix libpthread not found during local installation | {
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"events_url": "https://api.github.com/users/cgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/cgarciae/followers",
"following_url": "https://api.github.com/users/cgarciae/following{/other_user}",
"gists_url": "https://api.github.com/users/cgarciae/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgarciae",
"id": 5862228,
"login": "cgarciae",
"node_id": "MDQ6VXNlcjU4NjIyMjg=",
"organizations_url": "https://api.github.com/users/cgarciae/orgs",
"received_events_url": "https://api.github.com/users/cgarciae/received_events",
"repos_url": "https://api.github.com/users/cgarciae/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgarciae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgarciae/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgarciae"
} | [
{
"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 | [] | null | 16 | "2021-03-31T15:39:18Z" | "2021-04-09T19:29:44Z" | "2021-04-09T15:51:39Z" | NONE | null | Hey! This is my first PR, I am getting to know the code base and found this as I was doing the local setup.
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
I was installing the development environment and it was failing due to:
> /home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
This also happens in the Docker container under some conditions (creating a new env).
Steps followed:
```bash
mamba env create -f environment.yml
conda activate pandas-dev
python setup.py build_ext -j 4 # <-- ERROR HERE
python -m pip install -e . --no-build-isolation --no-use-pep517
```
Adding a `extra_link_args.append("-L/usr/lib/x86_64-linux-gnu/")` fixed the issue on Ubuntu 20.04.
<details>
<summary>Logs</summary>
```
❯ python setup.py build_ext -j 4 (pandas-dev)
Compiling pandas/_libs/algos.pyx because it changed.
Compiling pandas/_libs/groupby.pyx because it changed.
Compiling pandas/_libs/hashing.pyx because it changed.
Compiling pandas/_libs/hashtable.pyx because it changed.
Compiling pandas/_libs/index.pyx because it changed.
Compiling pandas/_libs/indexing.pyx because it changed.
Compiling pandas/_libs/internals.pyx because it changed.
Compiling pandas/_libs/interval.pyx because it changed.
Compiling pandas/_libs/join.pyx because it changed.
Compiling pandas/_libs/lib.pyx because it changed.
Compiling pandas/_libs/missing.pyx because it changed.
Compiling pandas/_libs/parsers.pyx because it changed.
Compiling pandas/_libs/reduction.pyx because it changed.
Compiling pandas/_libs/ops.pyx because it changed.
Compiling pandas/_libs/ops_dispatch.pyx because it changed.
Compiling pandas/_libs/properties.pyx because it changed.
Compiling pandas/_libs/reshape.pyx because it changed.
Compiling pandas/_libs/sparse.pyx because it changed.
Compiling pandas/_libs/tslib.pyx because it changed.
Compiling pandas/_libs/tslibs/base.pyx because it changed.
Compiling pandas/_libs/tslibs/ccalendar.pyx because it changed.
Compiling pandas/_libs/tslibs/dtypes.pyx because it changed.
Compiling pandas/_libs/tslibs/conversion.pyx because it changed.
Compiling pandas/_libs/tslibs/fields.pyx because it changed.
Compiling pandas/_libs/tslibs/nattype.pyx because it changed.
Compiling pandas/_libs/tslibs/np_datetime.pyx because it changed.
Compiling pandas/_libs/tslibs/offsets.pyx because it changed.
Compiling pandas/_libs/tslibs/parsing.pyx because it changed.
Compiling pandas/_libs/tslibs/period.pyx because it changed.
Compiling pandas/_libs/tslibs/strptime.pyx because it changed.
Compiling pandas/_libs/tslibs/timedeltas.pyx because it changed.
Compiling pandas/_libs/tslibs/timestamps.pyx because it changed.
Compiling pandas/_libs/tslibs/timezones.pyx because it changed.
Compiling pandas/_libs/tslibs/tzconversion.pyx because it changed.
Compiling pandas/_libs/tslibs/vectorized.pyx because it changed.
Compiling pandas/_libs/testing.pyx because it changed.
Compiling pandas/_libs/window/aggregations.pyx because it changed.
Compiling pandas/_libs/window/indexers.pyx because it changed.
Compiling pandas/_libs/writers.pyx because it changed.
Compiling pandas/io/sas/sas.pyx because it changed.
[ 1/40] Cythonizing pandas/_libs/algos.pyx
[ 2/40] Cythonizing pandas/_libs/groupby.pyx
[ 4/40] Cythonizing pandas/_libs/hashtable.pyx
[ 3/40] Cythonizing pandas/_libs/hashing.pyx
[ 5/40] Cythonizing pandas/_libs/index.pyx
[ 6/40] Cythonizing pandas/_libs/indexing.pyx
[ 7/40] Cythonizing pandas/_libs/internals.pyx
[ 8/40] Cythonizing pandas/_libs/interval.pyx
[ 9/40] Cythonizing pandas/_libs/join.pyx
[10/40] Cythonizing pandas/_libs/lib.pyx
[11/40] Cythonizing pandas/_libs/missing.pyx
[12/40] Cythonizing pandas/_libs/ops.pyx
[13/40] Cythonizing pandas/_libs/ops_dispatch.pyx
[14/40] Cythonizing pandas/_libs/parsers.pyx
[15/40] Cythonizing pandas/_libs/properties.pyx
[16/40] Cythonizing pandas/_libs/reduction.pyx
[17/40] Cythonizing pandas/_libs/reshape.pyx
[18/40] Cythonizing pandas/_libs/sparse.pyx
[19/40] Cythonizing pandas/_libs/testing.pyx
[20/40] Cythonizing pandas/_libs/tslib.pyx
[21/40] Cythonizing pandas/_libs/tslibs/base.pyx
[22/40] Cythonizing pandas/_libs/tslibs/ccalendar.pyx
[23/40] Cythonizing pandas/_libs/tslibs/conversion.pyx
[24/40] Cythonizing pandas/_libs/tslibs/dtypes.pyx
[25/40] Cythonizing pandas/_libs/tslibs/fields.pyx
[26/40] Cythonizing pandas/_libs/tslibs/nattype.pyx
[27/40] Cythonizing pandas/_libs/tslibs/np_datetime.pyx
[28/40] Cythonizing pandas/_libs/tslibs/offsets.pyx
[29/40] Cythonizing pandas/_libs/tslibs/parsing.pyx
[30/40] Cythonizing pandas/_libs/tslibs/period.pyx
[31/40] Cythonizing pandas/_libs/tslibs/strptime.pyx
[32/40] Cythonizing pandas/_libs/tslibs/timedeltas.pyx
[33/40] Cythonizing pandas/_libs/tslibs/timestamps.pyx
[34/40] Cythonizing pandas/_libs/tslibs/timezones.pyx
[35/40] Cythonizing pandas/_libs/tslibs/tzconversion.pyx
[36/40] Cythonizing pandas/_libs/tslibs/vectorized.pyx
[37/40] Cythonizing pandas/_libs/window/aggregations.pyx
[38/40] Cythonizing pandas/_libs/window/indexers.pyx
[39/40] Cythonizing pandas/_libs/writers.pyx
[40/40] Cythonizing pandas/io/sas/sas.pyx
running build_ext
building 'pandas._libs.algos' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/algos.c -o build/temp.linux-x86_64-3.8/pandas/_libs/algos.o
building 'pandas._libs.groupby' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/groupby.c -o build/temp.linux-x86_64-3.8/pandas/_libs/groupby.o
building 'pandas._libs.hashtable' extension
building 'pandas._libs.hashing' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/hashing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/hashing.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/hashtable.c -o build/temp.linux-x86_64-3.8/pandas/_libs/hashtable.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/hashing.o -o build/lib.linux-x86_64-3.8/pandas/_libs/hashing.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.index' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I./pandas/_libs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/index.c -o build/temp.linux-x86_64-3.8/pandas/_libs/index.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/index.o -o build/lib.linux-x86_64-3.8/pandas/_libs/index.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.indexing' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/indexing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/indexing.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/indexing.o -o build/lib.linux-x86_64-3.8/pandas/_libs/indexing.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.internals' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/internals.c -o build/temp.linux-x86_64-3.8/pandas/_libs/internals.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/internals.o -o build/lib.linux-x86_64-3.8/pandas/_libs/internals.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.interval' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/interval.c -o build/temp.linux-x86_64-3.8/pandas/_libs/interval.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/groupby.o -o build/lib.linux-x86_64-3.8/pandas/_libs/groupby.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.join' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/join.c -o build/temp.linux-x86_64-3.8/pandas/_libs/join.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/hashtable.o -o build/lib.linux-x86_64-3.8/pandas/_libs/hashtable.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.lib' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs -I./pandas/_libs/tslibs -I./pandas/_libs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/lib.c -o build/temp.linux-x86_64-3.8/pandas/_libs/lib.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs -I./pandas/_libs/tslibs -I./pandas/_libs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/lib.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -o build/lib.linux-x86_64-3.8/pandas/_libs/lib.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.missing' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/missing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/missing.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/missing.o -o build/lib.linux-x86_64-3.8/pandas/_libs/missing.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.parsers' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/parsers.c -o build/temp.linux-x86_64-3.8/pandas/_libs/parsers.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/algos.o -o build/lib.linux-x86_64-3.8/pandas/_libs/algos.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.reduction' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/reduction.c -o build/temp.linux-x86_64-3.8/pandas/_libs/reduction.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/reduction.o -o build/lib.linux-x86_64-3.8/pandas/_libs/reduction.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.ops' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/ops.c -o build/temp.linux-x86_64-3.8/pandas/_libs/ops.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/interval.o -o build/lib.linux-x86_64-3.8/pandas/_libs/interval.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.ops_dispatch' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/ops_dispatch.c -o build/temp.linux-x86_64-3.8/pandas/_libs/ops_dispatch.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/ops_dispatch.o -o build/lib.linux-x86_64-3.8/pandas/_libs/ops_dispatch.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.properties' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/properties.c -o build/temp.linux-x86_64-3.8/pandas/_libs/properties.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/properties.o -o build/lib.linux-x86_64-3.8/pandas/_libs/properties.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.reshape' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/reshape.c -o build/temp.linux-x86_64-3.8/pandas/_libs/reshape.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/ops.o -o build/lib.linux-x86_64-3.8/pandas/_libs/ops.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.sparse' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/sparse.c -o build/temp.linux-x86_64-3.8/pandas/_libs/sparse.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/src/parser/io.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/io.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/parsers.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/io.o -o build/lib.linux-x86_64-3.8/pandas/_libs/parsers.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslib' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslib.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslib.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/reshape.o -o build/lib.linux-x86_64-3.8/pandas/_libs/reshape.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.base' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/base.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/base.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/base.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/base.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.ccalendar' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/ccalendar.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/ccalendar.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/ccalendar.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/ccalendar.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.dtypes' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/dtypes.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/dtypes.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslib.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslib.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.conversion' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/conversion.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/conversion.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/dtypes.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/dtypes.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.fields' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/fields.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/fields.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/conversion.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/conversion.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.nattype' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/nattype.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/fields.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/fields.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.np_datetime' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/np_datetime.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime_strings.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime_strings.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/np_datetime.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime_strings.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/np_datetime.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.offsets' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/offsets.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/offsets.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.parsing' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/parsing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/parsing.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -Ipandas/_libs/src/klib -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/parsing.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/parsing.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.period' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/period.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/period.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/sparse.o -o build/lib.linux-x86_64-3.8/pandas/_libs/sparse.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.strptime' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/strptime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/strptime.o
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/period.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/period.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.timedeltas' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/timedeltas.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timedeltas.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/offsets.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/offsets.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.timestamps' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/timestamps.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timestamps.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/strptime.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/strptime.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.timezones' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/timezones.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timezones.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timedeltas.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/timedeltas.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.tzconversion' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/tzconversion.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/tzconversion.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timezones.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/timezones.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.tslibs.vectorized' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/tslibs/vectorized.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/vectorized.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timestamps.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/timestamps.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.testing' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/testing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/testing.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/vectorized.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/vectorized.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.window.aggregations' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/window -I./pandas/_libs -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/window/aggregations.cpp -o build/temp.linux-x86_64-3.8/pandas/_libs/window/aggregations.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/testing.o -o build/lib.linux-x86_64-3.8/pandas/_libs/testing.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.window.indexers' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/window/indexers.c -o build/temp.linux-x86_64-3.8/pandas/_libs/window/indexers.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/tzconversion.o -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/tzconversion.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas._libs.writers' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/_libs/writers.c -o build/temp.linux-x86_64-3.8/pandas/_libs/writers.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/window/indexers.o -o build/lib.linux-x86_64-3.8/pandas/_libs/window/indexers.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
building 'pandas.io.sas._sas' extension
gcc -pthread -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DNPY_NO_DEPRECATED_API=0 -I/home/cristian/miniforge3/envs/pandas-dev/lib/python3.8/site-packages/numpy/core/include -I/home/cristian/miniforge3/envs/pandas-dev/include/python3.8 -c pandas/io/sas/sas.c -o build/temp.linux-x86_64-3.8/pandas/io/sas/sas.o
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/writers.o -o build/lib.linux-x86_64-3.8/pandas/_libs/writers.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
g++ -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/window/aggregations.o -o build/lib.linux-x86_64-3.8/pandas/_libs/window/aggregations.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/io/sas/sas.o -o build/lib.linux-x86_64-3.8/pandas/io/sas/_sas.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
gcc -pthread -shared -B /home/cristian/miniforge3/envs/pandas-dev/compiler_compat -L/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,-rpath=/home/cristian/miniforge3/envs/pandas-dev/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pandas/_libs/join.o -o build/lib.linux-x86_64-3.8/pandas/_libs/join.cpython-38-x86_64-linux-gnu.so
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /lib64/libpthread.so.0
/home/cristian/miniforge3/envs/pandas-dev/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 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/40706/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40706/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40706.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40706",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40706.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40706"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40707 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40707/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40707/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40707/events | https://github.com/pandas-dev/pandas/pull/40707 | 846,968,780 | MDExOlB1bGxSZXF1ZXN0NjA2MDE3NjE5 | 40,707 | TYP/DOC: _libs | {
"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-03-31T16:59:27Z" | "2021-04-02T01:30:51Z" | "2021-04-02T01:30:48Z" | MEMBER | null | These are scattered, but trying to keep it limited to really obvious annotations | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40707/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40707/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40707.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40707",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40707.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40707"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40708 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40708/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40708/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40708/events | https://github.com/pandas-dev/pandas/pull/40708 | 847,037,835 | MDExOlB1bGxSZXF1ZXN0NjA2MDgxMjgw | 40,708 | ENH: [ArrowStringArray] Enable the string methods for the arrow-backed StringArray | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 8 | "2021-03-31T17:47:30Z" | "2021-04-15T08:51:24Z" | "2021-04-15T08:50:29Z" | MEMBER | null | from https://github.com/pandas-dev/pandas/issues/35169#issuecomment-712883859
> Enable the string methods for the arrow-backed StringArray. This might also need some additional changes in the string accessor code (eg to dispatch extract to the underlying array as well)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40708/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40708/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40708.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40708",
"merged_at": "2021-04-15T08:50:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40708.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40708"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40709 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40709/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40709/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40709/events | https://github.com/pandas-dev/pandas/pull/40709 | 847,194,388 | MDExOlB1bGxSZXF1ZXN0NjA2MjI1NjEy | 40,709 | REF: combine Block _can_hold_element methods | {
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-31T19:31:13Z" | "2021-04-01T23:13:45Z" | "2021-04-01T22:36:41Z" | MEMBER | null | which in turn lets us get rid of ObjectValuesExtensionBlock and HybridMixin. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40709/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40709/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40709.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40709",
"merged_at": "2021-04-01T22:36:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40709.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40709"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40710 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40710/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40710/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40710/events | https://github.com/pandas-dev/pandas/pull/40710 | 847,228,236 | MDExOlB1bGxSZXF1ZXN0NjA2MjU3MDcw | 40,710 | DOC: Add/Update Pandas-Genomics in Ecosystem files | {
"avatar_url": "https://avatars.githubusercontent.com/u/2191259?v=4",
"events_url": "https://api.github.com/users/jrm5100/events{/privacy}",
"followers_url": "https://api.github.com/users/jrm5100/followers",
"following_url": "https://api.github.com/users/jrm5100/following{/other_user}",
"gists_url": "https://api.github.com/users/jrm5100/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jrm5100",
"id": 2191259,
"login": "jrm5100",
"node_id": "MDQ6VXNlcjIxOTEyNTk=",
"organizations_url": "https://api.github.com/users/jrm5100/orgs",
"received_events_url": "https://api.github.com/users/jrm5100/received_events",
"repos_url": "https://api.github.com/users/jrm5100/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jrm5100/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrm5100/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jrm5100"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-31T19:53:49Z" | "2021-04-01T15:56:00Z" | "2021-04-01T15:55:56Z" | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40710/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40710/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40710.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40710",
"merged_at": "2021-04-01T15:55:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40710.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40710"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40711 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40711/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40711/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40711/events | https://github.com/pandas-dev/pandas/pull/40711 | 847,238,770 | MDExOlB1bGxSZXF1ZXN0NjA2MjY2NDU2 | 40,711 | CI: increase codecov target - append ArrayManager tests coverage | {
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | null | 0 | "2021-03-31T19:59:57Z" | "2021-04-03T06:35:58Z" | "2021-04-03T06:35:54Z" | MEMBER | null | Attempt to close #40670 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40711/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40711/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40711.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40711",
"merged_at": "2021-04-03T06:35:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40711.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40711"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40712 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40712/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40712/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40712/events | https://github.com/pandas-dev/pandas/issues/40712 | 847,249,740 | MDU6SXNzdWU4NDcyNDk3NDA= | 40,712 | ENH: add dataframe render trimming in `Styler` to avoid browser crash | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | "2021-03-31T20:07:21Z" | "2021-06-04T12:51:37Z" | "2021-06-04T12:51:37Z" | CONTRIBUTOR | null | `DataFrame.to_html` has max rows and max cols to automatically trim the console or string output.
`DataFrame.styler.render` does not and with large DataFrames this can potentially crash the browser of a Jupyter Notebook, or maybe a console.
Personally, I use `Styler` occasionally to quickly avoid the reasonably small max values in the former and this I would want to keep, but some tolerable, larger limit should be imposed in my opinion. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40712/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40712/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40713 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40713/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40713/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40713/events | https://github.com/pandas-dev/pandas/pull/40713 | 847,343,822 | MDExOlB1bGxSZXF1ZXN0NjA2MzY0NDEz | 40,713 | CLN: docstring cleanup | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-03-31T21:10:43Z" | "2021-04-01T23:11:09Z" | "2021-04-01T22:35:24Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40713/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40713/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40713.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40713",
"merged_at": "2021-04-01T22:35:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40713.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40713"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/40714 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40714/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40714/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40714/events | https://github.com/pandas-dev/pandas/issues/40714 | 847,367,038 | MDU6SXNzdWU4NDczNjcwMzg= | 40,714 | BUG: MatplotlibDeprecationWarning: The is_first_col function was deprecated in Matplotlib 3.4 | {
"avatar_url": "https://avatars.githubusercontent.com/u/38285979?v=4",
"events_url": "https://api.github.com/users/arnaujc91/events{/privacy}",
"followers_url": "https://api.github.com/users/arnaujc91/followers",
"following_url": "https://api.github.com/users/arnaujc91/following{/other_user}",
"gists_url": "https://api.github.com/users/arnaujc91/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arnaujc91",
"id": 38285979,
"login": "arnaujc91",
"node_id": "MDQ6VXNlcjM4Mjg1OTc5",
"organizations_url": "https://api.github.com/users/arnaujc91/orgs",
"received_events_url": "https://api.github.com/users/arnaujc91/received_events",
"repos_url": "https://api.github.com/users/arnaujc91/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arnaujc91/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arnaujc91/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arnaujc91"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | closed | false | null | [] | {
"closed_at": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 5 | "2021-03-31T21:26:48Z" | "2021-04-01T19:27:51Z" | "2021-04-01T19:27:51Z" | NONE | null | ```python
import pandas as pd
from matplotlib import pyplot as plt
series = [pd.Series([1,2,3,4]) for _ in range(4)]
nrow, ncol = 2, 2
fig, axes = plt.subplots(nrow, ncol)
axes = axes.reshape(-1)
for i, s in enumerate(series):
s.plot(ax=axes[i])
plt.tight_layout()
```
#### Problem description
After executing the previous code the following message from Matplotlib is shown:
```my_personal_folder/lib/python3.8/site-packages/pandas/plotting/_matplotlib/tools.py:400: MatplotlibDeprecationWarning:
The is_first_col function was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use ax.get_subplotspec().is_first_col() instead.
if ax.is_first_col():
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40714/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40714/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40715 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40715/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40715/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40715/events | https://github.com/pandas-dev/pandas/pull/40715 | 847,502,224 | MDExOlB1bGxSZXF1ZXN0NjA2NTEzOTgw | 40,715 | CLN: follow-up cleanups | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 4 | "2021-03-31T23:07:12Z" | "2021-04-02T01:03:35Z" | "2021-04-02T00:50:08Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40715/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40715/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40715.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40715",
"merged_at": "2021-04-02T00:50:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40715.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40715"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40716 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40716/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40716/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40716/events | https://github.com/pandas-dev/pandas/pull/40716 | 847,528,436 | MDExOlB1bGxSZXF1ZXN0NjA2NTM4NzMz | 40,716 | TYP: groupby.pyi | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 4 | "2021-03-31T23:28:13Z" | "2021-04-02T10:02:55Z" | "2021-04-02T01:37:10Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40716/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40716/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40716.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40716",
"merged_at": "2021-04-02T01:37:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40716.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40716"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40717 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40717/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40717/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40717/events | https://github.com/pandas-dev/pandas/pull/40717 | 847,532,220 | MDExOlB1bGxSZXF1ZXN0NjA2NTQyMjg3 | 40,717 | REF: RangeIndex dont subclass Int64Index | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | "2021-03-31T23:31:13Z" | "2021-04-02T02:20:08Z" | "2021-04-02T01:52:49Z" | MEMBER | null | This makes it much simpler if we want to put constructors in cython. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40717/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40717/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40717.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40717",
"merged_at": "2021-04-02T01:52:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40717.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40717"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/40718 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40718/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40718/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40718/events | https://github.com/pandas-dev/pandas/pull/40718 | 847,638,600 | MDExOlB1bGxSZXF1ZXN0NjA2NjQyNDg1 | 40,718 | COMPAT: matplotlib 3.4.0 | {
"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": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | closed | false | null | [] | {
"closed_at": "2021-04-13T15:44:36Z",
"closed_issues": 46,
"created_at": "2021-03-01T08:32:08Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-04-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/84",
"id": 6490488,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84/labels",
"node_id": "MDk6TWlsZXN0b25lNjQ5MDQ4OA==",
"number": 84,
"open_issues": 0,
"state": "closed",
"title": "1.2.4",
"updated_at": "2021-04-14T14:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/84"
} | 7 | "2021-04-01T00:58:37Z" | "2021-04-04T14:26:51Z" | "2021-04-01T19:27:51Z" | MEMBER | null | - [ ] closes #40714
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40718/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40718/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/40718.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40718",
"merged_at": "2021-04-01T19:27:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40718.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40718"
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.