url stringlengths 55 59 | repository_url stringclasses 1
value | labels_url stringlengths 69 73 | comments_url stringlengths 64 68 | events_url stringlengths 62 66 | html_url stringlengths 44 49 | id int64 338k 1.06B | node_id stringlengths 18 32 | number int64 1 44.6k | title stringlengths 1 590 | user dict | labels listlengths 0 9 | state stringclasses 2
values | locked bool 2
classes | assignee dict | assignees listlengths 0 5 | milestone dict | comments int64 0 477 | created_at timestamp[us, tz=UTC] | updated_at timestamp[us, tz=UTC] | closed_at timestamp[us, tz=UTC] | author_association stringclasses 3
values | active_lock_reason stringclasses 4
values | body stringlengths 0 251k ⌀ | reactions dict | timeline_url stringlengths 64 68 | performed_via_github_app float64 | draft float64 0 1 ⌀ | pull_request dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/37019 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37019/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37019/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37019/events | https://github.com/pandas-dev/pandas/pull/37019 | 718,512,459 | MDExOlB1bGxSZXF1ZXN0NTAwODk1MTM3 | 37,019 | CLN/REF: de-duplicate DatetimeTZBlock.setitem | {
"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": "fb... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-10T02:41:27Z | 2020-10-10T16:29:24Z | 2020-10-10T16:27:02Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Move towards avoiding special treatment for pandas-internal EAs.
xref #24020 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37019/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37019/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37019.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37019",
"merged_at": "2020-10-10T16:27:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37019.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37019"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37020 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37020/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37020/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37020/events | https://github.com/pandas-dev/pandas/issues/37020 | 718,517,881 | MDU6SXNzdWU3MTg1MTc4ODE= | 37,020 | ENH: allow NaN value in str.place | {
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 4 | 2020-10-10T03:14:27Z | 2020-10-10T15:08:00Z | 2020-10-10T15:08:00Z | CONTRIBUTOR | null | ```python
>>>pd.Series(['A',pd.NA],dtype='string').str.replace(pd.NA,0)
TypeError: repl must be a string or callable
>>>pd.Series(['A',pd.NA],dtype='string').str.replace(0,pd.NA)
TypeError: repl must be a string or callable
```
Now both `str.replace(pd.NA,0)` and `str.replace(0,pd.NA)` raise.
I think it will be better to allow these replacements since `replace` method can handle this. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37020/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37020/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37021 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37021/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37021/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37021/events | https://github.com/pandas-dev/pandas/pull/37021 | 718,524,404 | MDExOlB1bGxSZXF1ZXN0NTAwOTA0Mzcz | 37,021 | CLN: collected cleanups, warning suppression in tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-10T03:57:18Z | 2020-10-10T17:01:09Z | 2020-10-10T16:51:17Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37021/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37021/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37021",
"merged_at": "2020-10-10T16:51:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37021"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37022 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37022/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37022/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37022/events | https://github.com/pandas-dev/pandas/issues/37022 | 718,546,242 | MDU6SXNzdWU3MTg1NDYyNDI= | 37,022 | PERF: Investivate potential performance improvements for rolling min/max | {
"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": "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": "d4c5f9",
"default"... | open | false | null | [] | null | 0 | 2020-10-10T06:27:45Z | 2020-10-10T06:27:55Z | null | MEMBER | null | https://github.com/pandas-dev/pandas/pull/36567 eliminated fixed rolling window algorithms and unfortunately had a ~3x performance penalty towards rolling min/max. Investigate whether there are performance gains to be had now that we are using the variable algorithms. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37022/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37022/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37023 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37023/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37023/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37023/events | https://github.com/pandas-dev/pandas/pull/37023 | 718,546,609 | MDExOlB1bGxSZXF1ZXN0NTAwOTIxNTc2 | 37,023 | REGR: fix bug in DatetimeIndex slicing with irregular or unsorted indices | {
"avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4",
"events_url": "https://api.github.com/users/CloseChoice/events{/privacy}",
"followers_url": "https://api.github.com/users/CloseChoice/followers",
"following_url": "https://api.github.com/users/CloseChoice/following{/other_user}",
"gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CloseChoice",
"id": 31857876,
"login": "CloseChoice",
"node_id": "MDQ6VXNlcjMxODU3ODc2",
"organizations_url": "https://api.github.com/users/CloseChoice/orgs",
"received_events_url": "https://api.github.com/users/CloseChoice/received_events",
"repos_url": "https://api.github.com/users/CloseChoice/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CloseChoice"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related t... | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 14 | 2020-10-10T06:30:19Z | 2020-10-26T15:15:06Z | 2020-10-26T14:51:58Z | MEMBER | null | closes #36953
closes #35509
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37023/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37023/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37023.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37023",
"merged_at": "2020-10-26T14:51:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37023.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37023"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37024 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37024/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37024/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37024/events | https://github.com/pandas-dev/pandas/pull/37024 | 718,546,859 | MDExOlB1bGxSZXF1ZXN0NTAwOTIxNzY2 | 37,024 | TYP: core/dtypes/cast.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"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": "ea9... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-10-10T06:32:00Z | 2020-10-14T12:35:20Z | 2020-10-14T12:35:15Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37024/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37024/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37024.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37024",
"merged_at": "2020-10-14T12:35:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37024.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37024"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37025 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37025/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37025/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37025/events | https://github.com/pandas-dev/pandas/pull/37025 | 718,568,589 | MDExOlB1bGxSZXF1ZXN0NTAwOTM4MjU3 | 37,025 | DOC: Clarified pandas_version in to_json | {
"avatar_url": "https://avatars.githubusercontent.com/u/12769364?v=4",
"events_url": "https://api.github.com/users/tnwei/events{/privacy}",
"followers_url": "https://api.github.com/users/tnwei/followers",
"following_url": "https://api.github.com/users/tnwei/following{/other_user}",
"gists_url": "https://api.github.com/users/tnwei/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tnwei",
"id": 12769364,
"login": "tnwei",
"node_id": "MDQ6VXNlcjEyNzY5MzY0",
"organizations_url": "https://api.github.com/users/tnwei/orgs",
"received_events_url": "https://api.github.com/users/tnwei/received_events",
"repos_url": "https://api.github.com/users/tnwei/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tnwei/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tnwei/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tnwei"
} | [
{
"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": "read_json, to_json, j... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-10-10T08:35:54Z | 2020-10-14T12:46:19Z | 2020-10-14T12:33:58Z | CONTRIBUTOR | null | - [X] closes #26637
- [ ] tests added / passed
- [X] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37025/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37025/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37025.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37025",
"merged_at": "2020-10-14T12:33:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37025.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37025"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37026 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37026/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37026/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37026/events | https://github.com/pandas-dev/pandas/pull/37026 | 718,573,223 | MDExOlB1bGxSZXF1ZXN0NTAwOTQxNTgz | 37,026 | TST: insert 'match' to bare pytest raises in pandas/tests/test_flags.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/53620269?v=4",
"events_url": "https://api.github.com/users/krajatcl/events{/privacy}",
"followers_url": "https://api.github.com/users/krajatcl/followers",
"following_url": "https://api.github.com/users/krajatcl/following{/other_user}",
"gists_url": "https://api.github.com/users/krajatcl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/krajatcl",
"id": 53620269,
"login": "krajatcl",
"node_id": "MDQ6VXNlcjUzNjIwMjY5",
"organizations_url": "https://api.github.com/users/krajatcl/orgs",
"received_events_url": "https://api.github.com/users/krajatcl/received_events",
"repos_url": "https://api.github.com/users/krajatcl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/krajatcl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krajatcl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/krajatcl"
} | [
{
"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": "ffa0ff",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-10T09:02:17Z | 2020-10-10T16:03:01Z | 2020-10-10T16:02:57Z | CONTRIBUTOR | null | - [ ] ref https://github.com/pandas-dev/pandas/issues/30999
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37026/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37026/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37026.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37026",
"merged_at": "2020-10-10T16:02:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37026.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37026"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37027 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37027/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37027/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37027/events | https://github.com/pandas-dev/pandas/pull/37027 | 718,597,935 | MDExOlB1bGxSZXF1ZXN0NTAwOTU5NzM1 | 37,027 | TST: insert 'match' to bare pytest raises in pandas/tests/tools/test_… | {
"avatar_url": "https://avatars.githubusercontent.com/u/53620269?v=4",
"events_url": "https://api.github.com/users/krajatcl/events{/privacy}",
"followers_url": "https://api.github.com/users/krajatcl/followers",
"following_url": "https://api.github.com/users/krajatcl/following{/other_user}",
"gists_url": "https://api.github.com/users/krajatcl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/krajatcl",
"id": 53620269,
"login": "krajatcl",
"node_id": "MDQ6VXNlcjUzNjIwMjY5",
"organizations_url": "https://api.github.com/users/krajatcl/orgs",
"received_events_url": "https://api.github.com/users/krajatcl/received_events",
"repos_url": "https://api.github.com/users/krajatcl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/krajatcl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krajatcl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/krajatcl"
} | [
{
"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": "ffa0ff",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-10-10T11:22:23Z | 2020-10-11T03:12:26Z | 2020-10-10T16:02:08Z | CONTRIBUTOR | null | - [ ] ref https://github.com/pandas-dev/pandas/issues/30999
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 1,
"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/37027/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37027/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37027",
"merged_at": "2020-10-10T16:02:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37027"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37028 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37028/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37028/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37028/events | https://github.com/pandas-dev/pandas/issues/37028 | 718,598,796 | MDU6SXNzdWU3MTg1OTg3OTY= | 37,028 | BUG: DateOffset replaces month with given value instead of adding it to the current month. | {
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
} | [
{
"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 ... | closed | false | null | [] | null | 0 | 2020-10-10T11:26:55Z | 2020-10-10T11:48:38Z | 2020-10-10T11:48:38Z | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
from pandas.tseries.offsets import DateOffset
print(pd.__version__)
df = pd.DataFrame(pd.date_range('2020-10-01', periods=3, freq='D'))
print(df[0] + DateOffset(month=1))
1.2.0.dev0+690.g3a043f2d2
0 2020-01-01
1 2020-01-02
2 2020-01-03
Name: 0, dtype: datetime64[ns]
```
#### Problem description
DateOffset replaces the month instead of adding to the current month
#### Expected Output
```python
0
0 2020-11-01
1 2020-11-02
2 2020-11-03
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37028/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37028/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37029 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37029/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37029/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37029/events | https://github.com/pandas-dev/pandas/pull/37029 | 718,616,194 | MDExOlB1bGxSZXF1ZXN0NTAwOTczNzUx | 37,029 | DOC: Improve what the `axis=` kwarg does for generic methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4",
"events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}",
"followers_url": "https://api.github.com/users/hongshaoyang/followers",
"following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}",
"gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongshaoyang",
"id": 19281800,
"login": "hongshaoyang",
"node_id": "MDQ6VXNlcjE5MjgxODAw",
"organizations_url": "https://api.github.com/users/hongshaoyang/orgs",
"received_events_url": "https://api.github.com/users/hongshaoyang/received_events",
"repos_url": "https://api.github.com/users/hongshaoyang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongshaoyang"
} | [
{
"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": "Arithmetic, Compariso... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-10-10T13:04:41Z | 2020-10-12T15:35:49Z | 2020-10-12T15:35:01Z | CONTRIBUTOR | null | ### [`axis=0` or `axis=1`, which is it?](https://github.com/pandas-dev/pandas/issues/29203#issue-511923432)
Opening a PR to discuss #29203 on what it means to do `df.sum(axis=0)` versus `df.sum(axis=1)`. The docs does not make it intuitively clear to the user. I propose a simple change where **"summing across`axis=0`"** makes it clear that you're summing across indexes (i.e. **column sums**).
- [x] Closes #29203
- [x] Passes pytest
- [x] Passes `black pandas`
- [x] Passes `git diff upstream/master -u -- "*.py" | flake8 --diff` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37029/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37029/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37029",
"merged_at": "2020-10-12T15:35:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37029"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37030 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37030/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37030/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37030/events | https://github.com/pandas-dev/pandas/pull/37030 | 718,633,362 | MDExOlB1bGxSZXF1ZXN0NTAwOTg2Mzkw | 37,030 | DOC: Clarify display.precision | {
"avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4",
"events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}",
"followers_url": "https://api.github.com/users/hongshaoyang/followers",
"following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}",
"gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongshaoyang",
"id": 19281800,
"login": "hongshaoyang",
"node_id": "MDQ6VXNlcjE5MjgxODAw",
"organizations_url": "https://api.github.com/users/hongshaoyang/orgs",
"received_events_url": "https://api.github.com/users/hongshaoyang/received_events",
"repos_url": "https://api.github.com/users/hongshaoyang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongshaoyang"
} | [
{
"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": "ededed",
"default": false,
"description": "__repr__ of pandas ob... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-10-10T14:36:37Z | 2020-10-17T02:51:06Z | 2020-10-12T15:09:05Z | CONTRIBUTOR | null | - [x] closes #21004
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37030/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37030/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37030",
"merged_at": "2020-10-12T15:09:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37030"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37031 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37031/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37031/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37031/events | https://github.com/pandas-dev/pandas/issues/37031 | 718,636,689 | MDU6SXNzdWU3MTg2MzY2ODk= | 37,031 | PERF: Memory leaks after migrating from 0.25.3 to 1.1.3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7441424?v=4",
"events_url": "https://api.github.com/users/netchose/events{/privacy}",
"followers_url": "https://api.github.com/users/netchose/followers",
"following_url": "https://api.github.com/users/netchose/following{/other_user}",
"gists_url": "https://api.github.com/users/netchose/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/netchose",
"id": 7441424,
"login": "netchose",
"node_id": "MDQ6VXNlcjc0NDE0MjQ=",
"organizations_url": "https://api.github.com/users/netchose/orgs",
"received_events_url": "https://api.github.com/users/netchose/received_events",
"repos_url": "https://api.github.com/users/netchose/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/netchose/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/netchose/subscriptions",
"type": "User",
"url": "https://api.github.com/users/netchose"
} | [
{
"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"
}
] | open | false | null | [] | null | 0 | 2020-10-10T14:54:54Z | 2020-10-11T00:56:03Z | null | NONE | null | hi,
#### Code Sample,
```
step = 100
requestlist = []
headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
for i in range(0, len(df), step):
tmp_df = df.iloc[i:i + step].copy()
final_json_string = []
tmp_df.apply(lambda row: row_to_json_str(row), axis=1)
final_json_string = "\n".join(final_json_string)
final_json_string += "\n"
url = f'{ES_URL}/{table_name}/_bulk'
requestlist.append(
grequests.post(url, headers=headersdata=final_json_string))
del tmp_df
gc.collect()
r = grequests.imap(requestlist, size=4, exception_handler=exception_handler)
del final_json_string
del requestlist
del df
cnx.close()
gc.collect()
```
#### Problem description
os : Ubuntu 16.04.7 LTS
Python 3.8.1 (default, Jan 6 2020, 09:57:21)
[GCC 5.4.0 20160609] on linux
after migrating from 0.25.3 to 1.1.3 the memory usage increase after each method call
back to 0.25.3 the script the memory usage is stable
the source of dataframe is Pandas.read_sql.
the goal of the script is to convert a dataframe to Elasticsearch json request
the loop below isn't exactly the same but the memory profiler give same result : 1669.2 MiB to 6218.0 MiB when for loop comes
memory_usage
108 1669.2 MiB 0.0 MiB list_df = [df[i:i + n] for i in range(0, df.shape[0], n)]
109
110 1669.2 MiB 0.0 MiB requestlist = []
111
112 1669.2 MiB 0.0 MiB headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
113
116 6218.0 MiB 0.0 MiB for tmp_df in list_df:
117 6214.4 MiB 0.0 MiB final_json_string = []
118
119 6215.6 MiB 1.5 MiB tmp_df.apply(lambda row: row_to_json_str(row), axis=1)
120
121 6216.9 MiB 1.3 MiB final_json_string = "\n".join(final_json_string)
122 6218.0 MiB 1.3 MiB final_json_string += "\n"
123
124 6218.0 MiB 0.2 MiB url = f'{ES_URL}/{table_name}/_bulk'
125
127
128 6218.0 MiB 0.0 MiB requestlist.append(
129 6218.0 MiB 0.2 MiB grequests.post(url, headers=headers, data=final_json_string))
130
132 6218.0 MiB 0.0 MiB grequests.imap(requestlist, size=4, exception_handler=exception_handler)
133 6218.0 MiB 0.0 MiB del tmp_df
134 6218.0 MiB 0.0 MiB del requestlist
135 6218.0 MiB 0.0 MiB del list_df
137 6218.0 MiB 0.0 MiB del df
139 6218.0 MiB 0.0 MiB cnx.close()
thanks | {
"+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/37031/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37031/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37032 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37032/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37032/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37032/events | https://github.com/pandas-dev/pandas/pull/37032 | 718,638,196 | MDExOlB1bGxSZXF1ZXN0NTAwOTkwMDQx | 37,032 | DOC: Group relevant df.mask/df.where examples together | {
"avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4",
"events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}",
"followers_url": "https://api.github.com/users/hongshaoyang/followers",
"following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}",
"gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongshaoyang",
"id": 19281800,
"login": "hongshaoyang",
"node_id": "MDQ6VXNlcjE5MjgxODAw",
"organizations_url": "https://api.github.com/users/hongshaoyang/orgs",
"received_events_url": "https://api.github.com/users/hongshaoyang/received_events",
"repos_url": "https://api.github.com/users/hongshaoyang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongshaoyang"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-10T15:02:19Z | 2020-10-11T02:35:32Z | 2020-10-10T17:26:25Z | CONTRIBUTOR | null | df.mask() and df.where() are complementary and so they share docs, see [here](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.mask.html). I grouped related examples together.
- [x] Close #25187
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37032/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37032/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37032.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37032",
"merged_at": "2020-10-10T17:26:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37032.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37032"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37033 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37033/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37033/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37033/events | https://github.com/pandas-dev/pandas/pull/37033 | 718,643,393 | MDExOlB1bGxSZXF1ZXN0NTAwOTkzOTYy | 37,033 | CLN: Simplify aggregation.aggregate | {
"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": "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, Aggre... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-10-10T15:29:54Z | 2020-10-11T13:15:21Z | 2020-10-10T23:25:34Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37033/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37033/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37033.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37033",
"merged_at": "2020-10-10T23:25:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37033.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37033"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37034 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37034/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37034/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37034/events | https://github.com/pandas-dev/pandas/pull/37034 | 718,646,191 | MDExOlB1bGxSZXF1ZXN0NTAwOTk2MDQ4 | 37,034 | REGR: Fix casting of None to str during astype | {
"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": "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": ... | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 1 | 2020-10-10T15:45:00Z | 2020-10-12T14:00:04Z | 2020-10-10T18:24:59Z | MEMBER | null | - [x] closes #36904
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37034/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37034/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37034.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37034",
"merged_at": "2020-10-10T18:24:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37034.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37034"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37035 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37035/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37035/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37035/events | https://github.com/pandas-dev/pandas/pull/37035 | 718,647,929 | MDExOlB1bGxSZXF1ZXN0NTAwOTk3MzQ1 | 37,035 | API: reimplement FixedWindowIndexer.get_window_bounds | {
"avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4",
"events_url": "https://api.github.com/users/justinessert/events{/privacy}",
"followers_url": "https://api.github.com/users/justinessert/followers",
"following_url": "https://api.github.com/users/justinessert/following{/other_user}",
"gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/justinessert",
"id": 24326925,
"login": "justinessert",
"node_id": "MDQ6VXNlcjI0MzI2OTI1",
"organizations_url": "https://api.github.com/users/justinessert/orgs",
"received_events_url": "https://api.github.com/users/justinessert/received_events",
"repos_url": "https://api.github.com/users/justinessert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/justinessert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/justinessert"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-10-10T15:54:29Z | 2020-10-10T22:30:54Z | 2020-10-10T22:30:51Z | CONTRIBUTOR | null | - [x] closes #36040
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This PR replaces [36132](https://github.com/pandas-dev/pandas/pull/36132) following @mroeschke's [36567](https://github.com/pandas-dev/pandas/pull/36567).
Originally, my PR was to fix Issue [36040](https://github.com/pandas-dev/pandas/issues/36040). But it appears that Matthew's PR already fixed it! Nonetheless, I still included two things from my previous PR:
1. I added tests to cover the bug outlined in Issue [36040](https://github.com/pandas-dev/pandas/issues/36040).
2. I reimplemented FixedWindowIndexer.get_window_bounds in a way that I believe if a lot more intuitive and simple. Please lmk if you disagree, in which case I could remove this from the PR.
I don't believe any functionality was altered by this PR so I did not include a 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/37035/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37035/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37035",
"merged_at": "2020-10-10T22:30:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37035"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37036 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37036/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37036/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37036/events | https://github.com/pandas-dev/pandas/pull/37036 | 718,675,727 | MDExOlB1bGxSZXF1ZXN0NTAxMDE3OTM4 | 37,036 | CLN: clean libreduction | {
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-10-10T18:26:25Z | 2020-10-10T22:21:19Z | 2020-10-10T22:21:15Z | 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/37036/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37036/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37036.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37036",
"merged_at": "2020-10-10T22:21:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37036.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37036"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37037 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37037/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37037/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37037/events | https://github.com/pandas-dev/pandas/pull/37037 | 718,681,211 | MDExOlB1bGxSZXF1ZXN0NTAxMDIxODY4 | 37,037 | Fixed metadata propagation in DataFrame.__getitem__ | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "56efc9",
"default": false,
"description": "_metadata, .attrs",
"id": 1539579994,
"name": "metadata",
"node_id": "MDU6TGFiZWwxNTM5NTc5OTk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata"
},
{
"color": "7fcce8",
"default": false,
"descr... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-10-10T18:58:19Z | 2020-11-15T17:27:53Z | 2020-11-15T17:27:49Z | CONTRIBUTOR | null | xref #28283 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37037/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37037/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37037.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37037",
"merged_at": "2020-11-15T17:27:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37037.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37037"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37038 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37038/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37038/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37038/events | https://github.com/pandas-dev/pandas/pull/37038 | 718,700,502 | MDExOlB1bGxSZXF1ZXN0NTAxMDM1NTAw | 37,038 | REF/TYP: define Index methods non-dynamically | {
"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": "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": "ea91a4",
"default": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-10T20:51:01Z | 2020-10-12T15:35:13Z | 2020-10-12T15:31:19Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37038/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37038/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37038.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37038",
"merged_at": "2020-10-12T15:31:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37038.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37038"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37039 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37039/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37039/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37039/events | https://github.com/pandas-dev/pandas/pull/37039 | 718,705,267 | MDExOlB1bGxSZXF1ZXN0NTAxMDM5MDkz | 37,039 | CI: move py39 build to conda #33948 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"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.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 6 | 2020-10-10T21:20:55Z | 2020-12-05T18:51:43Z | 2020-11-14T02:27:33Z | MEMBER | null | - [x] closes #33948
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37039/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37039/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37039.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37039",
"merged_at": "2020-11-14T02:27:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37039.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37039"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37040 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37040/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37040/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37040/events | https://github.com/pandas-dev/pandas/pull/37040 | 718,713,107 | MDExOlB1bGxSZXF1ZXN0NTAxMDQ0ODYy | 37,040 | CLN: remove unnecessary DatetimeTZBlock.fillna | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "fbca04"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-10T22:14:54Z | 2020-10-11T17:36:16Z | 2020-10-11T16:32:34Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
and no need to have TimeDeltaBlock inherit from IntBlock | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37040/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37040/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37040.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37040",
"merged_at": "2020-10-11T16:32:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37040.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37040"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37041 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37041/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37041/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37041/events | https://github.com/pandas-dev/pandas/pull/37041 | 718,714,523 | MDExOlB1bGxSZXF1ZXN0NTAxMDQ1ODg3 | 37,041 | BUG: set value with iloc and list like indexer | {
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
} | [] | closed | false | null | [] | null | 3 | 2020-10-10T22:25:35Z | 2020-10-27T11:18:54Z | 2020-10-27T11:18:54Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37041/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37041/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37041.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37041",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37041.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37041"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37042 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37042/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37042/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37042/events | https://github.com/pandas-dev/pandas/pull/37042 | 718,715,756 | MDExOlB1bGxSZXF1ZXN0NTAxMDQ2ODQ4 | 37,042 | DOC: Add summary to interpolate | {
"avatar_url": "https://avatars.githubusercontent.com/u/2754821?v=4",
"events_url": "https://api.github.com/users/erictleung/events{/privacy}",
"followers_url": "https://api.github.com/users/erictleung/followers",
"following_url": "https://api.github.com/users/erictleung/following{/other_user}",
"gists_url": "https://api.github.com/users/erictleung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erictleung",
"id": 2754821,
"login": "erictleung",
"node_id": "MDQ6VXNlcjI3NTQ4MjE=",
"organizations_url": "https://api.github.com/users/erictleung/orgs",
"received_events_url": "https://api.github.com/users/erictleung/received_events",
"repos_url": "https://api.github.com/users/erictleung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erictleung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erictleung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erictleung"
} | [
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-10T22:35:53Z | 2020-10-15T01:45:22Z | 2020-10-15T01:45:10Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The interpolate method was missing a short summary. I hope this addition is reasonable. Happy to change it with feedback. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37042/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37042/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37042",
"merged_at": "2020-10-15T01:45:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37042"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37043 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37043/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37043/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37043/events | https://github.com/pandas-dev/pandas/pull/37043 | 718,716,178 | MDExOlB1bGxSZXF1ZXN0NTAxMDQ3MTY4 | 37,043 | ENH: Implement sem for Rolling and Expanding | {
"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": "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,... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2020-10-10T22:39:15Z | 2020-10-12T19:01:47Z | 2020-10-12T15:30:03Z | MEMBER | null | - [x] closes #26476
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I added sem to the Rolling and Expanding API as mentioned in the issue linked above. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37043/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37043/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37043.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37043",
"merged_at": "2020-10-12T15:30:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37043.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37043"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37044 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37044/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37044/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37044/events | https://github.com/pandas-dev/pandas/pull/37044 | 718,717,938 | MDExOlB1bGxSZXF1ZXN0NTAxMDQ4NTEw | 37,044 | REF/TYP: use OpsMixin for DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-10T22:53:56Z | 2020-10-11T21:57:38Z | 2020-10-11T21:00:37Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
made possible by #36483 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37044/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37044/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37044",
"merged_at": "2020-10-11T21:00:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37044"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37045 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37045/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37045/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37045/events | https://github.com/pandas-dev/pandas/pull/37045 | 718,722,077 | MDExOlB1bGxSZXF1ZXN0NTAxMDUxNzA1 | 37,045 | MYPY: Delete unnecessary unused type hint | {
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-10T23:29:24Z | 2020-10-11T09:55:51Z | 2020-10-11T02:21:54Z | MEMBER | null | cc @jreback | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37045/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37045/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37045.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37045",
"merged_at": "2020-10-11T02:21:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37045.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37045"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37046 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37046/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37046/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37046/events | https://github.com/pandas-dev/pandas/pull/37046 | 718,723,327 | MDExOlB1bGxSZXF1ZXN0NTAxMDUyNjQy | 37,046 | DOC: Add whatsnew for #36727 | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 2 | 2020-10-10T23:40:39Z | 2020-10-12T19:01:29Z | 2020-10-11T13:44:10Z | MEMBER | null | xref #36727
Was not quick enough to add a whatsnew with the PR when 1.1.4 whatsnew was merged. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37046/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37046/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37046.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37046",
"merged_at": "2020-10-11T13:44:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37046.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37046"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37047 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37047/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37047/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37047/events | https://github.com/pandas-dev/pandas/pull/37047 | 718,744,018 | MDExOlB1bGxSZXF1ZXN0NTAxMDY4MzYw | 37,047 | REF: back IntervalArray by a single ndarray | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "009800",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 22 | 2020-10-11T02:43:36Z | 2020-11-18T16:12:44Z | 2020-10-12T23:28:48Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The main motivation here is for perf for methods that current cast to object dtype, including value_counts, set ops, values_for_(argsort|factorize)
Also we get an actually-simple simple_new | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37047/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37047/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37047",
"merged_at": "2020-10-12T23:28:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37047"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37048 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37048/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37048/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37048/events | https://github.com/pandas-dev/pandas/pull/37048 | 718,747,110 | MDExOlB1bGxSZXF1ZXN0NTAxMDcwNjY1 | 37,048 | TST: Fix failing test from #37027 | {
"avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4",
"events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}",
"followers_url": "https://api.github.com/users/hongshaoyang/followers",
"following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}",
"gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongshaoyang",
"id": 19281800,
"login": "hongshaoyang",
"node_id": "MDQ6VXNlcjE5MjgxODAw",
"organizations_url": "https://api.github.com/users/hongshaoyang/orgs",
"received_events_url": "https://api.github.com/users/hongshaoyang/received_events",
"repos_url": "https://api.github.com/users/hongshaoyang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongshaoyang"
} | [
{
"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": "d80222",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-10-11T03:11:57Z | 2020-10-11T13:33:48Z | 2020-10-11T13:32:59Z | CONTRIBUTOR | null | Part of #30999
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37048/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37048/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37048.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37048",
"merged_at": "2020-10-11T13:32:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37048.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37048"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37049 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37049/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37049/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37049/events | https://github.com/pandas-dev/pandas/pull/37049 | 718,747,501 | MDExOlB1bGxSZXF1ZXN0NTAxMDcwOTcz | 37,049 | REF: use OpsMixin in EAs | {
"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": "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"
},
{
"c... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-11T03:15:15Z | 2020-10-11T20:19:31Z | 2020-10-11T20:03:29Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37049/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37049/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37049.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37049",
"merged_at": "2020-10-11T20:03:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37049.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37049"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37050 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37050/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37050/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37050/events | https://github.com/pandas-dev/pandas/pull/37050 | 718,754,465 | MDExOlB1bGxSZXF1ZXN0NTAxMDc2MzA1 | 37,050 | CLN: core/dtypes/cast.py::maybe_downcast_to_dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"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": "207... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-10-11T04:17:50Z | 2020-10-14T16:15:11Z | 2020-10-14T12:32:43Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37050/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37050/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37050.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37050",
"merged_at": "2020-10-14T12:32:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37050.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37050"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37051 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37051/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37051/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37051/events | https://github.com/pandas-dev/pandas/issues/37051 | 718,780,014 | MDU6SXNzdWU3MTg3ODAwMTQ= | 37,051 | DOC/PERF: Decide how to handle floating point artifacts during rolling calculations | {
"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": "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": "Requires discussion f... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 16 | 2020-10-11T07:38:15Z | 2021-03-21T21:06:58Z | 2021-03-21T21:06:58Z | MEMBER | null | Currently we have a check here that artificially handles a numerical precision issue in `rolling.var` and `rolling.std` where our rolling variance calculation is carrying forward floating point artifacts. Ideally we should be using a more numerically stable algorithm (maybe Kahan summation) so this check isn't so arbitrary.
https://github.com/pandas-dev/pandas/blob/601eff1768380313ec452ba8677cc7e825706796/pandas/_libs/window/aggregations.pyx#L305 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37051/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37051/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37052 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37052/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37052/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37052/events | https://github.com/pandas-dev/pandas/pull/37052 | 718,844,702 | MDExOlB1bGxSZXF1ZXN0NTAxMTQ0MDgw | 37,052 | CI clean pre-commit: upgrade isort, use correct file types in flake8 | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "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": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-10-11T14:13:19Z | 2020-10-11T16:08:26Z | 2020-10-11T16:05:13Z | MEMBER | null | A few things here:
- updating isort version
- updating to use `types` instead of `files` (see https://github.com/pre-commit/pre-commit/issues/1436#issuecomment-624219819 and https://github.com/PyCQA/isort/pull/1549#issuecomment-706621474)
- removing `exclude: ^pandas/__init__\.py$|^pandas/core/api\.py$` as it's no longer necessary
- replacing `files: \.(pyx|pxd)$` with `types: [cython]`:
```bash
$ identify-cli pandas/_libs/groupby.pyx
["cython", "file", "non-executable", "text"]
$ identify-cli pandas/_libs/lib.pxd
["cython", "file", "non-executable", "text"]
```
- replacing the name `flake8-pxd` with `flake8 (cython template)`, as that hook wasn't actually checking `.pxd` files (the `flake8-pyx` one was) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37052/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37052/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37052.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37052",
"merged_at": "2020-10-11T16:05:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37052.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37052"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37053 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37053/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37053/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37053/events | https://github.com/pandas-dev/pandas/issues/37053 | 718,852,456 | MDU6SXNzdWU3MTg4NTI0NTY= | 37,053 | CLN: unify numpy.random-related imports | {
"avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4",
"events_url": "https://api.github.com/users/onshek/events{/privacy}",
"followers_url": "https://api.github.com/users/onshek/followers",
"following_url": "https://api.github.com/users/onshek/following{/other_user}",
"gists_url": "https://api.github.com/users/onshek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onshek",
"id": 21543236,
"login": "onshek",
"node_id": "MDQ6VXNlcjIxNTQzMjM2",
"organizations_url": "https://api.github.com/users/onshek/orgs",
"received_events_url": "https://api.github.com/users/onshek/received_events",
"repos_url": "https://api.github.com/users/onshek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onshek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onshek"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4",
"events_url": "https://api.github.com/users/onshek/events{/privacy}",
"followers_url": "https://api.github.com/users/onshek/followers",
"following_url": "https://api.github.com/users/onshek/following{/other_user}",
"gists_url": "https://api.github.com/users/onshek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onshek",
"id": 21543236,
"login": "onshek",
"node_id": "MDQ6VXNlcjIxNTQzMjM2",
"organizations_url": "https://api.github.com/users/onshek/orgs",
"received_events_url": "https://api.github.com/users/onshek/received_events",
"repos_url": "https://api.github.com/users/onshek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onshek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onshek"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4",
"events_url": "https://api.github.com/users/onshek/events{/privacy}",
"followers_url": "https://api.github.com/users/onshek/followers",
"following_url": "https://api.github.com/users/onshek/following{/other_user}",
"gists_ur... | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 7 | 2020-10-11T14:50:31Z | 2020-10-30T13:22:51Z | 2020-10-30T13:22:51Z | CONTRIBUTOR | null | #### Location of the imports
https://github.com/pandas-dev/pandas/blob/8a25b23dd69d1e24840337797e1d20184920b5f3/pandas/tests/plotting/test_hist_method.py#L3-L4
#### Imports problem
~~All numpy-related imports are only about `numpy.random` including `randint`, `choice`, `normal`, etc~~
Part of numpy.random-related imports use aliases
#### Suggested fix for imports
eg: ~~`import numpy as np
` && `np.ranom.randn` --> `from numpy.random import randn`~~
`from numpy.random import randn` --> `import numpy as np
` && `np.ranom.randn` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37053/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37053/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37054 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37054/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37054/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37054/events | https://github.com/pandas-dev/pandas/pull/37054 | 718,854,144 | MDExOlB1bGxSZXF1ZXN0NTAxMTUxMjU0 | 37,054 | troubleshoot CI | {
"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 | [] | null | 3 | 2020-10-11T14:58:51Z | 2020-10-11T17:41:39Z | 2020-10-11T16:06:15Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37054/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37054/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37054",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37054"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37055 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37055/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37055/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37055/events | https://github.com/pandas-dev/pandas/pull/37055 | 718,866,056 | MDExOlB1bGxSZXF1ZXN0NTAxMTYwMzYw | 37,055 | ENH: Use Kahan summation and Welfords method to calculate rolling var and std | {
"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": "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": "d4c5f9",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 15 | 2020-10-11T15:56:35Z | 2020-10-14T20:04:13Z | 2020-10-12T22:53:38Z | MEMBER | null | - [x] xref #37051
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
As suggested by @mroeschke Kahan summation fixes the numerical problems. Additionally I used Welfords Method to calculate ``ssqdm``, because previously the tests I have added would return
```
0 NaN
1 3.500000e+34
2 3.000000e+34
3 3.000000e+34
4 3.000000e+34
5 3.000000e+34
6 3.000000e+34
7 3.000000e+34
8 3.000000e+34
9 3.000000e+34
dtype: float64
```
for ``var()``. I am running the asv and will post the results when available | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37055/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37055/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37055.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37055",
"merged_at": "2020-10-12T22:53:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37055.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37055"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37056 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37056/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37056/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37056/events | https://github.com/pandas-dev/pandas/pull/37056 | 718,870,144 | MDExOlB1bGxSZXF1ZXN0NTAxMTYzNTIz | 37,056 | Write pickle to file-like without intermediate in-memory buffer | {
"avatar_url": "https://avatars.githubusercontent.com/u/25141514?v=4",
"events_url": "https://api.github.com/users/ig248/events{/privacy}",
"followers_url": "https://api.github.com/users/ig248/followers",
"following_url": "https://api.github.com/users/ig248/following{/other_user}",
"gists_url": "https://api.github.com/users/ig248/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ig248",
"id": 25141514,
"login": "ig248",
"node_id": "MDQ6VXNlcjI1MTQxNTE0",
"organizations_url": "https://api.github.com/users/ig248/orgs",
"received_events_url": "https://api.github.com/users/ig248/received_events",
"repos_url": "https://api.github.com/users/ig248/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ig248/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ig248/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ig248"
} | [
{
"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": "6c1cdb",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 9 | 2020-10-11T16:15:57Z | 2020-10-14T12:27:44Z | 2020-10-14T12:27:39Z | CONTRIBUTOR | null | Before this change, calling `pickle.dumps()` created an in-memory byte buffer, negating the advantage
of zero-copy pickle protocol 5. After this change, `pickle.dump` writes directly to open file(-like),
cutting peak memory in half in most cases.
Profiling was done with pandas@master and python 3.8.5
Related issues:
- https://github.com/pandas-dev/pandas/issues/34244

## Update: ASV results
`$ asv continuous -f 1.1 origin/master HEAD -b pickle` yields:
```
before after ratio
[58f74686] [3c1ee270]
<zero-copy-pickle>
- 91.9M 80.1M 0.87 io.pickle.Pickle.peakmem_write_pickle
SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.
```
- [ ] closes #34244
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37056/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37056/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37056.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37056",
"merged_at": "2020-10-14T12:27:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37056.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37056"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37057 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37057/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37057/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37057/events | https://github.com/pandas-dev/pandas/issues/37057 | 718,888,170 | MDU6SXNzdWU3MTg4ODgxNzA= | 37,057 | BUG: Python 3.9 Polyfit sanity test emitted a warning | {
"avatar_url": "https://avatars.githubusercontent.com/u/25045024?v=4",
"events_url": "https://api.github.com/users/sanders41/events{/privacy}",
"followers_url": "https://api.github.com/users/sanders41/followers",
"following_url": "https://api.github.com/users/sanders41/following{/other_user}",
"gists_url": "https://api.github.com/users/sanders41/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sanders41",
"id": 25045024,
"login": "sanders41",
"node_id": "MDQ6VXNlcjI1MDQ1MDI0",
"organizations_url": "https://api.github.com/users/sanders41/orgs",
"received_events_url": "https://api.github.com/users/sanders41/received_events",
"repos_url": "https://api.github.com/users/sanders41/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sanders41/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanders41/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sanders41"
} | [
{
"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 ... | closed | false | null | [] | null | 16 | 2020-10-11T17:45:43Z | 2021-05-05T03:28:20Z | 2020-10-11T20:12:30Z | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
```
#### Problem description
When importing pandas using python 3.9.0 I get the following error:
```
python(81328,0x10d755dc0) malloc: can't allocate region
:*** mach_vm_map(size=18446744071827312640, flags: 100) failed (error code=3)
python(81328,0x10d755dc0) malloc: *** set a breakpoint in malloc_error_break to debug
init_dgelsd failed init
Traceback (most recent call last):
File "/Users/paul/python/test/t.py", line 2, in <module>
import pandas as pd
File "/Users/paul/python/test/venv/lib/python3.9/site-packages/pandas/__init__.py", line 11, in <module>
__import__(dependency)
File "/Users/paul/python/test/venv/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module>
raise RuntimeError(msg)
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
```
#### Expected Output
Pandas should import without an error.
#### Output of ``pd.show_versions()``
I am unable to run pd.show_versions() because the program crashes as soon as pandas is imported. I am installing pandas 1.1.3 on a Mac.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37057/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37057/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37058 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37058/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37058/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37058/events | https://github.com/pandas-dev/pandas/pull/37058 | 718,892,089 | MDExOlB1bGxSZXF1ZXN0NTAxMTgwMjM1 | 37,058 | TYP: core.internals | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": "ea91a4... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-11T18:04:07Z | 2020-10-12T17:01:31Z | 2020-10-12T15:05:16Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Annotating Block as `Union[np.ndarray, ExtensionArray]`, mypy gives tons of complaints about EA not having `.T`, so this adds that, then updates tests as appropriate | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37058/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37058/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37058.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37058",
"merged_at": "2020-10-12T15:05:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37058.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37058"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37059 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37059/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37059/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37059/events | https://github.com/pandas-dev/pandas/pull/37059 | 718,899,415 | MDExOlB1bGxSZXF1ZXN0NTAxMTg1OTY3 | 37,059 | TYP: mostly io, plotting | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "ea91a4",
"default": false,
"description": "ty... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-10-11T18:37:56Z | 2020-10-14T14:41:51Z | 2020-10-14T12:27:19Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @simonjayhawkins can i get your thoughts on two remaining mypy complaints
```
pandas/io/excel/_base.py:795: error: "Callable[[ExcelWriter], Tuple[str, ...]]" has no attribute "__iter__" (not iterable) [attr-defined]
pandas/io/stata.py:892: error: unused 'type: ignore' comment
```
The excel one is because it doesn't recognize
```
@property
@abstractmethod
def supported_extensions(self) -> Tuple[str, ...]:
```
as returning `Tuple[str, ...]`. I expect if that were resolved it would still complain bc subclasses just pin the tuple as a class attribute instead of a property (easy to make a property, but much more verbose which im not wild about)
The stata unused type:ignore becomes used once we remove stata from the setup.cfg exclusion. The only working way I've found to make mypy accept `TYPE_MAP: List[Union[int, str]] = list(range(251)) + list("abcd")` is with
```
TYPE_MAP: List[Union[int, str]] = cast(List[Union[int, str]], list(range(251))) + list("abcd")
```
which i find much less clear than the `# type:ignore`d version. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37059/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37059/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37059.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37059",
"merged_at": "2020-10-14T12:27:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37059.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37059"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37060 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37060/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37060/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37060/events | https://github.com/pandas-dev/pandas/pull/37060 | 718,923,416 | MDExOlB1bGxSZXF1ZXN0NTAxMjAzNzA0 | 37,060 | TST/CLN: relocate tests for PyTables roundtrip of timezone-aware Index | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"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",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-11T20:45:07Z | 2020-10-13T02:44:43Z | 2020-10-12T05:45:23Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37060/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37060/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37060.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37060",
"merged_at": "2020-10-12T05:45:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37060.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37060"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37061 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37061/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37061/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37061/events | https://github.com/pandas-dev/pandas/pull/37061 | 718,935,308 | MDExOlB1bGxSZXF1ZXN0NTAxMjEyNjc0 | 37,061 | REF/TYP: use OpsMixin for StringArray | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "e... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-11T21:58:55Z | 2020-10-12T14:26:17Z | 2020-10-12T13:45:07Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
its already mixed in, this just removes the leftover _create_arithmetic_method usage.
This is the last one outside of tests, for which we still have DecimalArray to do. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37061/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37061/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37061.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37061",
"merged_at": "2020-10-12T13:45:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37061.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37061"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37062 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37062/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37062/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37062/events | https://github.com/pandas-dev/pandas/issues/37062 | 718,935,885 | MDU6SXNzdWU3MTg5MzU4ODU= | 37,062 | ENH: MultiIndex.dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": null,
... | 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 | 2020-10-11T22:01:00Z | 2020-12-11T23:04:19Z | 2020-12-11T23:04:19Z | CONTRIBUTOR | null | create a mi
```
In [13]: mi = pd.MultiIndex.from_product([[1,2,3], list('abc'), pd.date_range('20200101', periods=2, tz='UTC')], names=['int', 'string', 'dt'])
```
You can already get .dtypes, but is slightly cumbersome. I would propose adding `Multidex.dtypes` (we *already* have MultiIndex.dtype but its *always* object). I think this is worth the convenience api.
```
In [14]: mi.to_frame().dtypes
Out[14]:
int int64
string object
dt datetime64[ns, UTC]
dtype: object
# we would actually implement like this.
In [15]: pd.Series({l.name: l.dtype for l in mi.levels})
Out[15]:
int int64
string object
dt datetime64[ns, UTC]
dtype: object
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37062/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37062/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37063 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37063/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37063/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37063/events | https://github.com/pandas-dev/pandas/pull/37063 | 718,950,223 | MDExOlB1bGxSZXF1ZXN0NTAxMjI0MDk4 | 37,063 | TST: Verify functioning of histtype argument (GH23992) | {
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
} | [
{
"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": "8AE234",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 9 | 2020-10-11T23:27:19Z | 2020-11-01T06:31:43Z | 2020-11-01T06:31:43Z | CONTRIBUTOR | null | - [x] closes #23992
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37063/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37063/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37063.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37063",
"merged_at": "2020-11-01T06:31:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37063.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37063"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37064 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37064/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37064/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37064/events | https://github.com/pandas-dev/pandas/pull/37064 | 718,967,348 | MDExOlB1bGxSZXF1ZXN0NTAxMjM3NjMz | 37,064 | PERF: ExpandingGroupby | {
"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": "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": "d4c5f9",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-12T00:51:38Z | 2020-10-12T17:08:12Z | 2020-10-12T16:57:08Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
```
before after ratio
[89cc5bf9] [6af880e7]
<master> <feature/groupby_expanding_indexer>
- 45.5±0.6ms 3.78±0.04ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'max')
- 46.5±0.5ms 3.86±0.06ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'mean')
- 45.4±0.4ms 3.74±0.05ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'min')
- 45.5±0.4ms 3.73±0.06ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'min')
- 46.6±0.3ms 3.80±0.01ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'median')
- 46.7±1ms 3.77±0.05ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'max')
- 46.3±0.6ms 3.73±0.02ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'sum')
- 46.8±0.3ms 3.76±0.1ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'sum')
- 46.7±0.5ms 3.75±0.02ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'mean')
- 47.2±0.3ms 3.78±0.04ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'median')
- 51.2±0.7ms 3.89±0.1ms 0.08 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'std')
- 51.3±0.3ms 3.78±0.02ms 0.07 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'std')
- 62.6±0.6ms 3.98±0.02ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'int', 'count')
- 62.2±0.7ms 3.91±0.03ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'int', 'count')
- 64.3±0.7ms 3.98±0.05ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'sum')
- 63.5±0.7ms 3.92±0.01ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'max')
- 63.6±0.6ms 3.91±0.03ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'min')
- 63.2±0.7ms 3.86±0.02ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'min')
- 64.2±1ms 3.89±0.04ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'max')
- 64.8±0.8ms 3.91±0.06ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'sum')
- 65.2±0.6ms 3.92±0.05ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'mean')
- 65.2±0.9ms 3.90±0.05ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'median')
- 65.5±0.5ms 3.91±0.02ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'median')
- 65.3±0.2ms 3.86±0.01ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'mean')
- 69.4±0.8ms 4.01±0.07ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'std')
- 69.8±0.6ms 3.93±0.01ms 0.06 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'std')
- 80.1±0.2ms 4.24±0.1ms 0.05 rolling.ExpandingMethods.time_expanding_groupby('DataFrame', 'float', 'count')
- 80.5±0.9ms 4.14±0.02ms 0.05 rolling.ExpandingMethods.time_expanding_groupby('Series', 'float', 'count')
SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37064/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37064/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37064",
"merged_at": "2020-10-12T16:57:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37064"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37065 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37065/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37065/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37065/events | https://github.com/pandas-dev/pandas/pull/37065 | 718,989,377 | MDExOlB1bGxSZXF1ZXN0NTAxMjU0Nzc1 | 37,065 | REF: define NDFrame inplace ops non-dynamically | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-12T02:17:39Z | 2020-10-12T15:30:39Z | 2020-10-12T15:19:51Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37065/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37065/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37065.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37065",
"merged_at": "2020-10-12T15:19:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37065.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37065"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37066 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37066/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37066/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37066/events | https://github.com/pandas-dev/pandas/pull/37066 | 719,004,855 | MDExOlB1bGxSZXF1ZXN0NTAxMjY2NjE2 | 37,066 | TYP: Misc groupby typing | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotation... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-12T03:08:20Z | 2020-12-06T14:04:47Z | 2020-10-12T13:44:21Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37066/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37066/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37066.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37066",
"merged_at": "2020-10-12T13:44:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37066.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37066"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37067 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37067/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37067/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37067/events | https://github.com/pandas-dev/pandas/issues/37067 | 719,016,911 | MDU6SXNzdWU3MTkwMTY5MTE= | 37,067 | CI/TST: xfail in `test_parquet` has passed | {
"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",
"d... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_... | null | 5 | 2020-10-12T03:44:39Z | 2021-01-21T14:51:21Z | 2021-01-21T14:51:21Z | MEMBER | null | The xfail test `test_s3_roundtrip_for_dir` in `io/test_parquet` has passed on my machine. But I don't see it on our CI.
<details>
INSTALLED VERSIONS
------------------
commit : 4d3b197c98913e894bcea9edca9ee7bad2964d84
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-48-generic
Version : #52-Ubuntu SMP Thu Sep 10 10:58:49 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.0.dev0+745.g4d3b197c9
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.1
hypothesis : 5.37.1
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : 1.3.6
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : 0.4.1
gcsfs : 0.7.1
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.2
sqlalchemy : 1.3.19
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37067/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37067/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37068 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37068/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37068/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37068/events | https://github.com/pandas-dev/pandas/pull/37068 | 719,017,209 | MDExOlB1bGxSZXF1ZXN0NTAxMjc2MjUz | 37,068 | CLN: remove unnecessary Categorical._validate_setitem_key | {
"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": "fb... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-12T03:45:43Z | 2020-10-13T00:43:48Z | 2020-10-12T23:27:50Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
and some unrelated cleanup in internals | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37068/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37068/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37068",
"merged_at": "2020-10-12T23:27:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37068"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37069 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37069/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37069/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37069/events | https://github.com/pandas-dev/pandas/pull/37069 | 719,044,234 | MDExOlB1bGxSZXF1ZXN0NTAxMjk3OTc2 | 37,069 | BUG: preserve timezone info when writing empty tz-aware frame to HDF5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"descri... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-10-12T05:03:20Z | 2020-10-15T13:27:07Z | 2020-10-15T12:27:50Z | MEMBER | null | - [ ] partially closes #20594
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Will handle series case in follow-on | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37069/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37069/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37069.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37069",
"merged_at": "2020-10-15T12:27:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37069.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37069"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37070 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37070/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37070/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37070/events | https://github.com/pandas-dev/pandas/pull/37070 | 719,052,073 | MDExOlB1bGxSZXF1ZXN0NTAxMzA0ODAy | 37,070 | BUG: Resolve passing datetime strings of the form "1-01-01 00:00:00" | {
"avatar_url": "https://avatars.githubusercontent.com/u/23625371?v=4",
"events_url": "https://api.github.com/users/znicholls/events{/privacy}",
"followers_url": "https://api.github.com/users/znicholls/followers",
"following_url": "https://api.github.com/users/znicholls/following{/other_user}",
"gists_url": "https://api.github.com/users/znicholls/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/znicholls",
"id": 23625371,
"login": "znicholls",
"node_id": "MDQ6VXNlcjIzNjI1Mzcx",
"organizations_url": "https://api.github.com/users/znicholls/orgs",
"received_events_url": "https://api.github.com/users/znicholls/received_events",
"repos_url": "https://api.github.com/users/znicholls/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/znicholls/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/znicholls/subscriptions",
"type": "User",
"url": "https://api.github.com/users/znicholls"
} | [] | closed | false | null | [] | null | 1 | 2020-10-12T05:18:25Z | 2020-10-13T04:52:04Z | 2020-10-13T04:52:03Z | CONTRIBUTOR | null | - [x] closes #37071
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37070/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37070/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37070",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37070"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37071 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37071/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37071/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37071/events | https://github.com/pandas-dev/pandas/issues/37071 | 719,057,031 | MDU6SXNzdWU3MTkwNTcwMzE= | 37,071 | BUG: Passing datetime strings of the form "1-01-01 00:00:00" | {
"avatar_url": "https://avatars.githubusercontent.com/u/23625371?v=4",
"events_url": "https://api.github.com/users/znicholls/events{/privacy}",
"followers_url": "https://api.github.com/users/znicholls/followers",
"following_url": "https://api.github.com/users/znicholls/following{/other_user}",
"gists_url": "https://api.github.com/users/znicholls/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/znicholls",
"id": 23625371,
"login": "znicholls",
"node_id": "MDQ6VXNlcjIzNjI1Mzcx",
"organizations_url": "https://api.github.com/users/znicholls/orgs",
"received_events_url": "https://api.github.com/users/znicholls/received_events",
"repos_url": "https://api.github.com/users/znicholls/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/znicholls/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/znicholls/subscriptions",
"type": "User",
"url": "https://api.github.com/users/znicholls"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 4 | 2020-10-12T05:27:32Z | 2020-10-13T06:36:34Z | 2020-10-13T04:49:52Z | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [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
>>> pd.Timestamp("1-01-01 00:00:00")
Timestamp('2001-01-01 00:00:00')
```
#### Problem description
Passing "1-01-01 00:00:00" to "2001-01-01 00:00:00" is clearly wrong, this should raise an out of bounds datetime error.
#### Expected Output
```python
>>> import pandas as pd
>>> pd.Timestamp("1-01-01 00:00:00")
OutOfBoundsDatetime
```
However, the problem here appears to be deeper than pandas, specifically
```python
>>> from dateutil import parser
>>> parser.parse("1-01-01 00:00:00")
datetime.datetime(2001, 1, 1, 0, 0)
```
If it's helpful, I'm happy to raise an issue in https://github.com/dateutil/dateutil instead. It's not super clear to me where the error really is (maybe dateutil have a very good reason for parsing "1-01-01 00:00:00" as "2001-01-01 00:00:00").
#### Output of ``pd.show_versions()``
<details>
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : cd88ee2dddbb25f15742cf8c2d6141da5d6fa342
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
Version : Darwin Kernel Version 18.7.0: Mon Aug 31 20:53:32 PDT 2020; root:xnu-4903.278.44~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_AU.UTF-8
LOCALE : en_AU.UTF-8
pandas : 1.2.0.dev0+746.gcd88ee2dd
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.1.0.post20200704
Cython : 0.29.21
pytest : 6.1.1
hypothesis : 5.37.1
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : 1.3.6
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : 0.4.0
gcsfs : 0.7.1
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.1
sqlalchemy : 1.3.19
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.15.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.48.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/37071/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37071/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37072 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37072/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37072/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37072/events | https://github.com/pandas-dev/pandas/pull/37072 | 719,087,896 | MDExOlB1bGxSZXF1ZXN0NTAxMzM1NDI5 | 37,072 | BUG: preserve timezone info when writing empty tz-aware series to HDF5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"descri... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-10-12T06:21:28Z | 2020-11-01T02:24:22Z | 2020-10-31T15:00:03Z | MEMBER | null | - [x] closes #20594 (coupled with #37069 for empty tz-aware dataframes)
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
xref #20595 (stale PR that looked into this) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37072/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37072/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37072.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37072",
"merged_at": "2020-10-31T15:00:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37072.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37072"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37073 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37073/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37073/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37073/events | https://github.com/pandas-dev/pandas/pull/37073 | 719,233,418 | MDExOlB1bGxSZXF1ZXN0NTAxNDU1OTM4 | 37,073 | ENH: Add MultiIndex.dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/23026514?v=4",
"events_url": "https://api.github.com/users/skvrahul/events{/privacy}",
"followers_url": "https://api.github.com/users/skvrahul/followers",
"following_url": "https://api.github.com/users/skvrahul/following{/other_user}",
"gists_url": "https://api.github.com/users/skvrahul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/skvrahul",
"id": 23026514,
"login": "skvrahul",
"node_id": "MDQ6VXNlcjIzMDI2NTE0",
"organizations_url": "https://api.github.com/users/skvrahul/orgs",
"received_events_url": "https://api.github.com/users/skvrahul/received_events",
"repos_url": "https://api.github.com/users/skvrahul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/skvrahul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skvrahul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/skvrahul"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": null,
... | 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 | 2020-10-12T09:42:47Z | 2020-12-11T23:04:25Z | 2020-12-11T23:04:19Z | CONTRIBUTOR | null | - [x] closes #37062
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Adds the .dtypes property to MultiIndex using the suggested implementation | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37073/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37073/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37073.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37073",
"merged_at": "2020-12-11T23:04:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37073.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37073"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37074 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37074/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37074/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37074/events | https://github.com/pandas-dev/pandas/issues/37074 | 719,283,641 | MDU6SXNzdWU3MTkyODM2NDE= | 37,074 | BUG: read_json fails to read data fields with ":\\" | {
"avatar_url": "https://avatars.githubusercontent.com/u/29147136?v=4",
"events_url": "https://api.github.com/users/dhanesh123in/events{/privacy}",
"followers_url": "https://api.github.com/users/dhanesh123in/followers",
"following_url": "https://api.github.com/users/dhanesh123in/following{/other_user}",
"gists_url": "https://api.github.com/users/dhanesh123in/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dhanesh123in",
"id": 29147136,
"login": "dhanesh123in",
"node_id": "MDQ6VXNlcjI5MTQ3MTM2",
"organizations_url": "https://api.github.com/users/dhanesh123in/orgs",
"received_events_url": "https://api.github.com/users/dhanesh123in/received_events",
"repos_url": "https://api.github.com/users/dhanesh123in/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dhanesh123in/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhanesh123in/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dhanesh123in"
} | [
{
"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 ... | closed | false | null | [] | null | 2 | 2020-10-12T10:57:32Z | 2020-10-12T11:53:53Z | 2020-10-12T11:53:52Z | NONE | null | - [x ] I have checked that this issue has not already been reported.
- [x ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
d = '{"columns":["col 1","col 2"], "index":["row 1","row 2"], "data":[["random s3://xyz/abc","wherever https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_json.html"],["c","d"]]}'
pd.read_json(d, orient='split')
```
#### Problem description
This leads to an error in pandas 1.1.x and works fine in <=1.0.5.
#### Expected Output
```
col 1 col 2
row 1 random s3://xyz/abc wherever https://pandas.pydata.org/pandas-docs...
row 2 c d
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.4.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.4.0
Cython : 0.29.13
pytest : 5.2.1
hypothesis : 5.10.4
sphinx : 2.2.0
blosc : None
feather : None
xlsxwriter : 1.2.1
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.0.3
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.5.2
tabulate : 0.8.6
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.45.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/37074/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37074/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37075 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37075/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37075/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37075/events | https://github.com/pandas-dev/pandas/issues/37075 | 719,292,720 | MDU6SXNzdWU3MTkyOTI3MjA= | 37,075 | DOC: add one more column may better | {
"avatar_url": "https://avatars.githubusercontent.com/u/45418805?v=4",
"events_url": "https://api.github.com/users/HOLL4ND/events{/privacy}",
"followers_url": "https://api.github.com/users/HOLL4ND/followers",
"following_url": "https://api.github.com/users/HOLL4ND/following{/other_user}",
"gists_url": "https://api.github.com/users/HOLL4ND/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HOLL4ND",
"id": 45418805,
"login": "HOLL4ND",
"node_id": "MDQ6VXNlcjQ1NDE4ODA1",
"organizations_url": "https://api.github.com/users/HOLL4ND/orgs",
"received_events_url": "https://api.github.com/users/HOLL4ND/received_events",
"repos_url": "https://api.github.com/users/HOLL4ND/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HOLL4ND/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HOLL4ND/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HOLL4ND"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | 2020-10-12T11:11:05Z | 2020-10-13T07:33:56Z | 2020-10-13T07:33:56Z | NONE | null | #### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.cumsum.html
[this should provide the location of the documentation, e.g. "pandas.read_csv" or the URL of the documentation, e.g. "https://dev.pandas.io/docs/reference/api/pandas.read_csv.html"]
**Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/).
#### Documentation problem
[this should provide a description of what documentation you believe needs to be fixed/improved]
#### Suggested fix for documentation
in the example shows how pandas.DataFrame.cumsum works, i think add one more column in the example df.cumsum(axis=1) will make thing more clear. Just like df.cumsum(axis=0),which have 3 row in the example
[this should explain the suggested fix and **why** it's better than the existing documentation]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37075/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37075/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37076 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37076/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37076/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37076/events | https://github.com/pandas-dev/pandas/pull/37076 | 719,405,082 | MDExOlB1bGxSZXF1ZXN0NTAxNTk4NDIy | 37,076 | Backport PR #37034 on branch 1.1.x (REGR: Fix casting of None to str during astype) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "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": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 1 | 2020-10-12T14:00:58Z | 2020-10-12T16:47:42Z | 2020-10-12T16:47:42Z | NONE | null | Backport PR #37034: REGR: Fix casting of None to str during astype | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37076/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37076/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37076.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37076",
"merged_at": "2020-10-12T16:47:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37076.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37076"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37077 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37077/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37077/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37077/events | https://github.com/pandas-dev/pandas/issues/37077 | 719,409,093 | MDU6SXNzdWU3MTk0MDkwOTM= | 37,077 | October 2020 Developer Meeting | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "0bbec4",
"default": false,
"description": "Community topics (meetings, etc.)",
"id": 2187005593,
"name": "Community",
"node_id": "MDU6TGFiZWwyMTg3MDA1NTkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Community"
}
] | closed | false | null | [] | null | 2 | 2020-10-12T14:06:35Z | 2020-10-14T19:42:10Z | 2020-10-14T19:42:10Z | CONTRIBUTOR | null | The monthly dev meeting is Wednesday October 14th, at 18:00 UTC. Our calendar is at https://pandas.pydata.org/docs/development/meeting.html#calendar to check your local time.
Video Call: https://zoom.us/j/942410248?pwd=T2l2Qi9vaC82Z294ZEtFczYxMVM2dz09
Minutes: https://docs.google.com/document/u/1/d/1tGbTiYORHiSPgVMXawiweGJlBw5dOkVJLY-licoBmBU/edit?ouid=102771015311436394588&usp=docs_home&ths=true
**Note: the call URL is different than previous meetings. You may need to download the meeting calendar again**. Zoom changed some things w.r.t. authentication and waiting rooms.
Please add items you'd like to see discussed to the agenda. All are welcome to attend. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37077/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37077/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37078 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37078/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37078/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37078/events | https://github.com/pandas-dev/pandas/pull/37078 | 719,409,864 | MDExOlB1bGxSZXF1ZXN0NTAxNjAyMzA3 | 37,078 | Backport PR #36937 on branch 1.1.x: BUG: GH36928 Allow dict_keys to be used as column names by read_csv | {
"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": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 0 | 2020-10-12T14:07:40Z | 2020-10-12T15:09:56Z | 2020-10-12T15:09:51Z | MEMBER | null | Backport PR #36937 on branch 1.1.x | {
"+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/37078/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37078/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37078",
"merged_at": "2020-10-12T15:09:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37078"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37079 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37079/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37079/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37079/events | https://github.com/pandas-dev/pandas/pull/37079 | 719,413,649 | MDExOlB1bGxSZXF1ZXN0NTAxNjA1NDUx | 37,079 | Backport PR #37046 on branch 1.1.x: Add whatsnew for #36727 | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 1 | 2020-10-12T14:12:53Z | 2020-10-12T15:06:28Z | 2020-10-12T15:06:23Z | MEMBER | null | Backport PR #37046 on branch 1.1.x | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37079/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37079/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37079.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37079",
"merged_at": "2020-10-12T15:06:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37079.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37079"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37080 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37080/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37080/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37080/events | https://github.com/pandas-dev/pandas/issues/37080 | 719,424,836 | MDU6SXNzdWU3MTk0MjQ4MzY= | 37,080 | DEPR: ExtensionOpsMixin in favor of OpsMixin | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | open | false | null | [] | null | 5 | 2020-10-12T14:27:33Z | 2020-11-30T15:21:02Z | null | MEMBER | null | All our internal uses have been moved over except for the DecimalArray tests, which use ExtensionScalarOpsMixin. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37080/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37080/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37081 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37081/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37081/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37081/events | https://github.com/pandas-dev/pandas/issues/37081 | 719,440,617 | MDU6SXNzdWU3MTk0NDA2MTc= | 37,081 | PERF: regression in DataFrame reduction ops performance | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/7524704?v=4",
"events_url": "https://api.github.com/users/ukarroum/events{/privacy}",
"followers_url": "https://api.github.com/users/ukarroum/followers",
"following_url": "https://api.github.com/users/ukarroum/following{/other_user}",
"gists_url": "https://api.github.com/users/ukarroum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ukarroum",
"id": 7524704,
"login": "ukarroum",
"node_id": "MDQ6VXNlcjc1MjQ3MDQ=",
"organizations_url": "https://api.github.com/users/ukarroum/orgs",
"received_events_url": "https://api.github.com/users/ukarroum/received_events",
"repos_url": "https://api.github.com/users/ukarroum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ukarroum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ukarroum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ukarroum"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/7524704?v=4",
"events_url": "https://api.github.com/users/ukarroum/events{/privacy}",
"followers_url": "https://api.github.com/users/ukarroum/followers",
"following_url": "https://api.github.com/users/ukarroum/following{/other_user}",
"gis... | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 14 | 2020-10-12T14:49:31Z | 2020-11-08T03:01:28Z | 2020-11-08T03:01:28Z | MEMBER | null | From https://pandas.pydata.org/speed/pandas/#stat_ops.FrameOps.time_op?Cython=0.29.21&Cython=0.29.16&p-op='sum'&p-dtype='int'&p-axis=0&commits=3a043f2d-4c03d07b&x-axis-scale=date
Reproducer:
```
values = np.random.randn(100000, 4)
df = pd.DataFrame(values).astype("int")
%timeit df.sum()
```
increased with a factor 2 to 3 x somewhere the last days. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37081/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37081/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37082 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37082/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37082/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37082/events | https://github.com/pandas-dev/pandas/pull/37082 | 719,464,856 | MDExOlB1bGxSZXF1ZXN0NTAxNjQ4MDY4 | 37,082 | CI: remove xfail for numpy-dev on branch 1.1.x only | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 4 | 2020-10-12T15:22:22Z | 2020-10-21T12:36:19Z | 2020-10-14T19:24:03Z | MEMBER | null | partially reverts pandas-dev/pandas#35537, xref https://github.com/pandas-dev/pandas/issues/35481#issuecomment-705144719 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37082/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37082/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37082.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37082",
"merged_at": "2020-10-14T19:24:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37082.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37082"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37083 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37083/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37083/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37083/events | https://github.com/pandas-dev/pandas/issues/37083 | 719,488,166 | MDU6SXNzdWU3MTk0ODgxNjY= | 37,083 | BUG: Empty object column writes to parquet as INT32 instead of BINARY L:STRING | {
"avatar_url": "https://avatars.githubusercontent.com/u/25868300?v=4",
"events_url": "https://api.github.com/users/raginjason/events{/privacy}",
"followers_url": "https://api.github.com/users/raginjason/followers",
"following_url": "https://api.github.com/users/raginjason/following{/other_user}",
"gists_url": "https://api.github.com/users/raginjason/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/raginjason",
"id": 25868300,
"login": "raginjason",
"node_id": "MDQ6VXNlcjI1ODY4MzAw",
"organizations_url": "https://api.github.com/users/raginjason/orgs",
"received_events_url": "https://api.github.com/users/raginjason/received_events",
"repos_url": "https://api.github.com/users/raginjason/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/raginjason/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raginjason/subscriptions",
"type": "User",
"url": "https://api.github.com/users/raginjason"
} | [
{
"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": "parquet, feather",
"... | open | false | null | [] | null | 3 | 2020-10-12T15:57:47Z | 2021-06-09T20:53:44Z | 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
pd.DataFrame({"nullable_col": ["some_val"]}, dtype="object").to_parquet("non-null-obj.parquet")
pd.DataFrame({"nullable_col": []}, dtype="object").to_parquet("null-obj.parquet")
```
Once that runs, `parquet-tools` illustrates the issue. I would expect a datatype such as `OPTIONAL BINARY L:STRING`, as in:
```
$ parquet-tools meta non-null-obj.parquet | grep nullable_col
extra: pandas = {"index_columns": [{"kind": "range", "name": null, "start": 0, "stop": 1, "step": 1}], "column_indexes": [{"name": null, "field_name": null, "pandas_type": "unicode", "numpy_type": "object", "metadata": {"encoding": "UTF-8"}}], "columns": [{"name": "nullable_col", "field_name": "nullable_col", "pandas_type": "unicode", "numpy_type": "object", "metadata": null}], "creator": {"library": "pyarrow", "version": "1.0.1"}, "pandas_version": "1.1.3"}
nullable_col: OPTIONAL BINARY L:STRING R:0 D:1
nullable_col: BINARY SNAPPY DO:4 FPO:32 SZ:80/76/0.95 VC:1 ENC:PLAIN,PLAIN_DICTIONARY,RLE ST:[min: some_val, max: some_val, num_nulls: 0]
```
But instead got a datatype of `OPTIONAL INT32`, as in:
```
$ parquet-tools meta null-obj.parquet | grep nullable_col
extra: pandas = {"index_columns": [{"kind": "range", "name": null, "start": 0, "stop": 0, "step": 1}], "column_indexes": [{"name": null, "field_name": null, "pandas_type": "unicode", "numpy_type": "object", "metadata": {"encoding": "UTF-8"}}], "columns": [{"name": "nullable_col", "field_name": "nullable_col", "pandas_type": "empty", "numpy_type": "object", "metadata": null}], "creator": {"library": "pyarrow", "version": "1.0.1"}, "pandas_version": "1.1.3"}
nullable_col: OPTIONAL INT32 R:0 D:1
nullable_col: INT32 SNAPPY DO:4 FPO:0 SZ:15/14/0.93 VC:0 ENC:PLAIN,RLE,PLAIN_DICTIONARY ST:[no stats for this column]
```
#### Problem description
Writing out a column with pandas type `object` with no values appears to create a parquet type of `INT32` when I would expect it to be `BINARY L:STRING` or similar. I have a daily process that outputs a set of records to parquet and on days where there are no values in an object column the parquet datatype changes to `INT32`, thus breaking my process as the schemas has changed relative to previous days.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.2.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37083/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37083/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37084 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37084/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37084/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37084/events | https://github.com/pandas-dev/pandas/issues/37084 | 719,560,043 | MDU6SXNzdWU3MTk1NjAwNDM= | 37,084 | QST:AttributeError: module 'fsspec' has no attribute 'utils' | {
"avatar_url": "https://avatars.githubusercontent.com/u/22615451?v=4",
"events_url": "https://api.github.com/users/Isaac52/events{/privacy}",
"followers_url": "https://api.github.com/users/Isaac52/followers",
"following_url": "https://api.github.com/users/Isaac52/following{/other_user}",
"gists_url": "https://api.github.com/users/Isaac52/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Isaac52",
"id": 22615451,
"login": "Isaac52",
"node_id": "MDQ6VXNlcjIyNjE1NDUx",
"organizations_url": "https://api.github.com/users/Isaac52/orgs",
"received_events_url": "https://api.github.com/users/Isaac52/received_events",
"repos_url": "https://api.github.com/users/Isaac52/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Isaac52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Isaac52/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Isaac52"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "207de5",
"... | closed | false | null | [] | null | 5 | 2020-10-12T18:01:22Z | 2021-03-27T01:00:11Z | 2021-03-27T01:00:11Z | NONE | null | - [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
---
#### Question about pandas
**Note**: If you'd still like to submit a question, please read [this guide](
https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question.
I'm a little confused about the error I'm getting. Any pointers will be much appreciated.
```python
# Your code here, if applicable
df.to_csv("education_salary.csv")
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37084/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37084/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37085 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37085/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37085/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37085/events | https://github.com/pandas-dev/pandas/issues/37085 | 719,635,386 | MDU6SXNzdWU3MTk2MzUzODY= | 37,085 | API: Series[dt64].astype(dt64tz) vs Datetime(Array|Index)[naive].astype(dt64tz) | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "b60205",
"default": false,
"description": "I... | closed | false | null | [] | null | 2 | 2020-10-12T20:14:22Z | 2020-10-13T16:33:47Z | 2020-10-13T16:33:47Z | MEMBER | null | ```
dti = pd.date_range("2016-01-01", periods=2)
dtype = dti.tz_localize("US/Pacific").dtype
dta = dti._data
ser = pd.Series(dta)
>>> dta.astype(dtype) # matches dti.astype(dtype)
<DatetimeArray>
['2016-01-01 00:00:00-08:00', '2016-01-02 00:00:00-08:00']
Length: 2, dtype: datetime64[ns, US/Pacific]
>>> ser.astype(dtype)._values
<DatetimeArray>
['2015-12-31 16:00:00-08:00', '2016-01-01 16:00:00-08:00']
Length: 2, dtype: datetime64[ns, US/Pacific]
```
`Series.astype` behavior is defined in `DatetimeBlock.astype`, is equivalent to `dta.tz_localize("UTC").tz_convert(dtype.tz)` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37085/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37085/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37086 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37086/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37086/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37086/events | https://github.com/pandas-dev/pandas/issues/37086 | 719,691,177 | MDU6SXNzdWU3MTk2OTExNzc= | 37,086 | SUMM: Consistent Casting and Length Checks in 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": "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"
},
{
"c... | open | false | null | [] | null | 0 | 2020-10-12T21:48:51Z | 2021-06-06T17:52:05Z | null | MEMBER | null | xref #27911 API: when to cast list-like to ndarray, check len match
xref #13637 API: Index/Series/DataFrame op 1-d list-like coercion
Related bugs:
#21517 Comparison of MultiIndex to tuple interprets tuple as collection
One way to ensure consistent behavior is to enshrine it in `ops.unpack_zerodim_and_defer`, which just about all of our ops now use. The following is an implementation that matches our current behavior (more specifically: passes current tests) when tacked on to unpack_zerodim_and_defer, with one exception, described below:
```
if is_list_like(other) and len(other) != len(self):
if isinstance(self, ABCDataFrame):
# DataFrame method does this in align_method_FRAME
pass
elif isinstance(self, ABCSeries) and isinstance(other, ABCSeries):
# We have _align_foo methods that will handle this
pass
elif self.dtype.kind == "O" and not hasattr(other, "dtype"):
# With e.g. list or tuple and object dtype, it is ambiguous
# whether this is intended to be treated as a scalar.
pass
else:
raise ValueError("Lengths must match")
```
The sticking point is what we do when we have a listlike that is not array-like, generally list or tuple. In this implementation, we would treat it as arraylike whenever we are not object-dtype, and keep it as-is otherwise.
The test that fails with this has a length-1 list:
```
s_0123 = Series(range(4), dtype="int64")
expected = Series([False] * 4)
result = s_0123 & [False]
```
ATM in` array_ops.logical_op` we cast list (only list, not tuple) to `ndarray[object]`. The implementation above would make this raise ValueError.
Outstanding questions:
1) Allow length-1 others to broadcast like numpy?
2) Allow length-1 self to broadcast like numpy?
3) DataFrame always casts listlike to arraylike; should that be changed?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37086/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37086/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37087 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37087/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37087/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37087/events | https://github.com/pandas-dev/pandas/pull/37087 | 719,703,574 | MDExOlB1bGxSZXF1ZXN0NTAxODQ4OTcy | 37,087 | CLN: clean Index._id | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "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": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-12T22:15:38Z | 2020-10-14T13:30:01Z | 2020-10-14T12:26:46Z | CONTRIBUTOR | null | Minor cleanup. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37087/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37087/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37087.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37087",
"merged_at": "2020-10-14T12:26:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37087.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37087"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37088 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37088/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37088/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37088/events | https://github.com/pandas-dev/pandas/issues/37088 | 719,706,688 | MDU6SXNzdWU3MTk3MDY2ODg= | 37,088 | ENH: read_sas only selected columns (and rows) of a large data file | {
"avatar_url": "https://avatars.githubusercontent.com/u/12829326?v=4",
"events_url": "https://api.github.com/users/paris0120/events{/privacy}",
"followers_url": "https://api.github.com/users/paris0120/followers",
"following_url": "https://api.github.com/users/paris0120/following{/other_user}",
"gists_url": "https://api.github.com/users/paris0120/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/paris0120",
"id": 12829326,
"login": "paris0120",
"node_id": "MDQ6VXNlcjEyODI5MzI2",
"organizations_url": "https://api.github.com/users/paris0120/orgs",
"received_events_url": "https://api.github.com/users/paris0120/received_events",
"repos_url": "https://api.github.com/users/paris0120/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/paris0120/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paris0120/subscriptions",
"type": "User",
"url": "https://api.github.com/users/paris0120"
} | [
{
"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": "SAS: rea... | open | false | null | [] | null | 8 | 2020-10-12T22:22:20Z | 2020-12-09T11:00:50Z | null | NONE | null | #### Is your feature request related to a problem?
Reading a large data file can exhaust system memory. However, most of the time, we don't need all data from that file. It will be convenient to be able to read only the data needed.
#### Describe the solution you'd like
Reading only the data needed through iteration.
#### API breaking implications
One more function for each type of files
#### Describe alternatives you've considered
May add conditions as well, which will be sweet
#### Additional context
[add any other context, code examples, or references to existing implementations about the feature request here]
```python
def read_sas_by_columns(file_path, keys, chunksize=100, charset = 'utf-8'):
data = pd.DataFrame()
for df in pd.read_sas(file_path,iterator=True, chunksize=chunksize):
data = data.append(df[keys])
for c in data.select_dtypes(include=['object']).columns:
data[c] = data[c].str.decode(charset)
return 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/37088/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37088/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37089 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37089/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37089/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37089/events | https://github.com/pandas-dev/pandas/pull/37089 | 719,722,536 | MDExOlB1bGxSZXF1ZXN0NTAxODY1MzQ5 | 37,089 | CLN: in maybe_cast_to_integer_array assert that dtype arg is an integer dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"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": "207... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-12T22:59:43Z | 2020-10-14T12:25:55Z | 2020-10-14T12:25:51Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37089/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37089/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37089.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37089",
"merged_at": "2020-10-14T12:25:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37089.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37089"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37090 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37090/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37090/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37090/events | https://github.com/pandas-dev/pandas/pull/37090 | 719,739,974 | MDExOlB1bGxSZXF1ZXN0NTAxODgwNTQ1 | 37,090 | TST: Series constructor behavior is consistent for mixed float NaN and int dtype data | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-12T23:41:06Z | 2020-10-25T18:52:48Z | 2020-10-25T18:52:39Z | MEMBER | null | - [x] closes #22585
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37090/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37090/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37090.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37090",
"merged_at": "2020-10-25T18:52:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37090.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37090"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37091 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37091/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37091/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37091/events | https://github.com/pandas-dev/pandas/pull/37091 | 719,746,437 | MDExOlB1bGxSZXF1ZXN0NTAxODg2MjY3 | 37,091 | REF/TYP: pandas/core/window/*.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
},
{
"color": "ea91a4",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-12T23:55:29Z | 2020-10-15T23:22:48Z | 2020-10-15T16:40:28Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
* Create clearer separation for methods belonging to `Window` vs `Rolling`
* More typing | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37091/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37091/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37091.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37091",
"merged_at": "2020-10-15T16:40:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37091.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37091"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37092 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37092/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37092/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37092/events | https://github.com/pandas-dev/pandas/pull/37092 | 719,758,308 | MDExOlB1bGxSZXF1ZXN0NTAxODk2NDM1 | 37,092 | Clean unreachable | {
"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"
} | [] | closed | false | null | [] | null | 0 | 2020-10-13T00:26:49Z | 2020-10-13T21:10:22Z | 2020-10-13T21:10:22Z | MEMBER | null | xref #27396
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37092/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37092/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37092.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37092",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37092.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37092"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37093 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37093/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37093/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37093/events | https://github.com/pandas-dev/pandas/issues/37093 | 719,940,361 | MDU6SXNzdWU3MTk5NDAzNjE= | 37,093 | BUG: groupby-transform produces NaN for series keys with as_index=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/58076869?v=4",
"events_url": "https://api.github.com/users/thomas-reineking-by/events{/privacy}",
"followers_url": "https://api.github.com/users/thomas-reineking-by/followers",
"following_url": "https://api.github.com/users/thomas-reineking-by/following{/other_user}",
"gists_url": "https://api.github.com/users/thomas-reineking-by/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thomas-reineking-by",
"id": 58076869,
"login": "thomas-reineking-by",
"node_id": "MDQ6VXNlcjU4MDc2ODY5",
"organizations_url": "https://api.github.com/users/thomas-reineking-by/orgs",
"received_events_url": "https://api.github.com/users/thomas-reineking-by/received_events",
"repos_url": "https://api.github.com/users/thomas-reineking-by/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thomas-reineking-by/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomas-reineking-by/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thomas-reineking-by"
} | [
{
"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,
... | 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 | 2020-10-13T07:09:16Z | 2021-01-21T05:05:23Z | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version 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
df = pd.DataFrame({"X": [1.0]})
df.groupby(pd.Series(["group"]), as_index=False).transform("sum")
```
#### Problem description
With version 1.1.3 this produces a dataframe containing NaN.
#### Expected Output
Expected is 1.0 and this is also what older versions produce (1.0.5).
It seems the following conditions have to be satisfied to trigger this bug:
- grouping by a series which does not contain indices corresponding to the original dataframe (grouping by `pd.Series([0])` works though it seems accidental)
- using `as_index=False`
- using `transform`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.6.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.76-linuxkit
Version : #1 SMP Tue May 26 11:42:35 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.2.0
Cython : 0.29.15
pytest : 5.4.3
hypothesis : 5.6.0
sphinx : 1.8.5
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : 2.8.5 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
IPython : 7.9.0
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.6.2
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1.post2
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.2.1
sqlalchemy : 1.3.15
tables : None
tabulate : 0.8.6
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.48.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/37093/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37093/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37094 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37094/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37094/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37094/events | https://github.com/pandas-dev/pandas/issues/37094 | 719,949,541 | MDU6SXNzdWU3MTk5NDk1NDE= | 37,094 | BUG: Pandas 1.1.3 read_csv raises a TypeError when dtype, and index_col are provided, and file has >1M rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/13150119?v=4",
"events_url": "https://api.github.com/users/mgeplf/events{/privacy}",
"followers_url": "https://api.github.com/users/mgeplf/followers",
"following_url": "https://api.github.com/users/mgeplf/following{/other_user}",
"gists_url": "https://api.github.com/users/mgeplf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mgeplf",
"id": 13150119,
"login": "mgeplf",
"node_id": "MDQ6VXNlcjEzMTUwMTE5",
"organizations_url": "https://api.github.com/users/mgeplf/orgs",
"received_events_url": "https://api.github.com/users/mgeplf/received_events",
"repos_url": "https://api.github.com/users/mgeplf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mgeplf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mgeplf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mgeplf"
} | [
{
"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": ... | closed | false | null | [] | {
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"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.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
} | 7 | 2020-10-13T07:22:20Z | 2020-10-30T10:51:28Z | 2020-10-30T10:51:28Z | 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
ROWS = 1000001 # <--------- with 1000000, it works
with open('out.dat', 'w') as fd:
for i in range(ROWS):
fd.write('%d\n' % i)
df = pd.read_csv('out.dat', names=['a'], dtype={'a': np.float64}, index_col=['a'])
```
#### Problem description
When `ROWS = 1000001`, I get the following traceback:
```
Traceback (most recent call last):
File "try.py", line 10, in <module>
df = pd.read_csv('out.dat', names=['a'], dtype={'a': np.float64}, index_col=['a'])
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 686, in read_csv
return _read(filepath_or_buffer, kwds)
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 458, in _read
data = parser.read(nrows)
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 1196, in read
ret = self._engine.read(nrows)
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 2231, in read
index, names = self._make_index(data, alldata, names)
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 1677, in _make_index
index = self._agg_index(index)
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 1770, in _agg_index
arr, _ = self._infer_types(arr, col_na_values | col_na_fvalues)
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/io/parsers.py", line 1871, in _infer_types
mask = algorithms.isin(values, list(na_values))
File "/tmp/new_pandas/lib64/python3.6/site-packages/pandas/core/algorithms.py", line 443, in isin
if np.isnan(values).any():
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
```
#### Expected Output
With pandas 1.1.2, or ROWS = 1000000, it works fine.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.6.3.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-957.38.3.el7.x86_64
Version : #1 SMP Mon Nov 11 12:01:33 EST 2019
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 9,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 9,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37094/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37094/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37095 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37095/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37095/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37095/events | https://github.com/pandas-dev/pandas/issues/37095 | 719,956,438 | MDU6SXNzdWU3MTk5NTY0Mzg= | 37,095 | Add CI check to check that `ensure_clean` is used instead of `os.remove` | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "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": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-13T07:30:58Z | 2020-10-16T01:30:55Z | 2020-10-16T01:30:55Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/34385#pullrequestreview-506705288
This could also be a pre-commit hook
Opening this issue as a placeholder so we don't forget | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37095/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37095/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37096 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37096/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37096/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37096/events | https://github.com/pandas-dev/pandas/pull/37096 | 720,068,096 | MDExOlB1bGxSZXF1ZXN0NTAyMTUyMzQy | 37,096 | Gh 36562 typeerror comparison not supported between float and str | {
"avatar_url": "https://avatars.githubusercontent.com/u/7367411?v=4",
"events_url": "https://api.github.com/users/ssche/events{/privacy}",
"followers_url": "https://api.github.com/users/ssche/followers",
"following_url": "https://api.github.com/users/ssche/following{/other_user}",
"gists_url": "https://api.github.com/users/ssche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ssche",
"id": 7367411,
"login": "ssche",
"node_id": "MDQ6VXNlcjczNjc0MTE=",
"organizations_url": "https://api.github.com/users/ssche/orgs",
"received_events_url": "https://api.github.com/users/ssche/received_events",
"repos_url": "https://api.github.com/users/ssche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ssche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ssche"
} | [
{
"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": "006... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-10-13T09:51:07Z | 2021-08-19T01:54:36Z | 2020-11-04T01:55:12Z | CONTRIBUTOR | null | - [x] closes #36562
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37096/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37096/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37096.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37096",
"merged_at": "2020-11-04T01:55:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37096.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37096"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37097 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37097/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37097/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37097/events | https://github.com/pandas-dev/pandas/pull/37097 | 720,107,944 | MDExOlB1bGxSZXF1ZXN0NTAyMTg2NjQ5 | 37,097 | Update code_checks.sh to check for instances of os.remove | {
"avatar_url": "https://avatars.githubusercontent.com/u/18306309?v=4",
"events_url": "https://api.github.com/users/jnecus/events{/privacy}",
"followers_url": "https://api.github.com/users/jnecus/followers",
"following_url": "https://api.github.com/users/jnecus/following{/other_user}",
"gists_url": "https://api.github.com/users/jnecus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jnecus",
"id": 18306309,
"login": "jnecus",
"node_id": "MDQ6VXNlcjE4MzA2MzA5",
"organizations_url": "https://api.github.com/users/jnecus/orgs",
"received_events_url": "https://api.github.com/users/jnecus/received_events",
"repos_url": "https://api.github.com/users/jnecus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jnecus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jnecus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jnecus"
} | [
{
"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": ... | closed | false | null | [] | null | 3 | 2020-10-13T10:42:01Z | 2020-10-16T09:13:58Z | 2020-10-16T01:30:56Z | CONTRIBUTOR | null | I have included a check for instances of os.remove in the tests folder. This is in line with issue #37095 whereby ensure_clean should be used rather than os.remove.
A few outstanding questions remain:
- Should this be expanded to search for cases of os.remove elsewhere?
- ~~Cases of `os.remove ` still exist in common.py, test_writers.py, and test_store.py. For some reason, the case in test_store.py is not picked up by this check? Any idea why?~~ _(solved by passing arguments separately rather than as a list)_
- ~~Advice on how to implement this as a pre-commit hook also welcome.~~ _(to be implemented in separate PR)_
- [x] closes #37095
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37097/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37097/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37097.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37097",
"merged_at": "2020-10-16T01:30:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37097.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37097"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37098 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37098/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37098/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37098/events | https://github.com/pandas-dev/pandas/issues/37098 | 720,241,216 | MDU6SXNzdWU3MjAyNDEyMTY= | 37,098 | ENH: Support for loading pickles from OS X/macOS zip files containing extraneous "__MACOSX" folder and ".DS_STORE" file | {
"avatar_url": "https://avatars.githubusercontent.com/u/7916000?v=4",
"events_url": "https://api.github.com/users/ml-evs/events{/privacy}",
"followers_url": "https://api.github.com/users/ml-evs/followers",
"following_url": "https://api.github.com/users/ml-evs/following{/other_user}",
"gists_url": "https://api.github.com/users/ml-evs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ml-evs",
"id": 7916000,
"login": "ml-evs",
"node_id": "MDQ6VXNlcjc5MTYwMDA=",
"organizations_url": "https://api.github.com/users/ml-evs/orgs",
"received_events_url": "https://api.github.com/users/ml-evs/received_events",
"repos_url": "https://api.github.com/users/ml-evs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ml-evs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ml-evs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ml-evs"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue th... | closed | false | null | [] | null | 1 | 2020-10-13T13:19:54Z | 2021-08-13T04:33:25Z | 2021-08-13T04:33:25Z | NONE | null | #### Is your feature request related to a problem?
I am trying to load some zipped data from my collaborator into pandas, but the zip was created under a version of OS X that adds an extraneous `__MACOSX` folder in the created zipfile, which causes pandas to error when loading the file.
The zipfile itself can obviously be easily fixed with e.g. `zip -d filename.zip __MACOSX/\*`, but it may cause a headache for a less experienced user. There is a similary problem involving the hidden file `.DS_STORE` on macOS (see [Wikipedia](https://en.wikipedia.org/wiki/.DS_Store) for more on this), which stores metadata on the user's icon preferences for the contents of the zip...
#### Describe the solution you'd like
I have made the following one line change locally:
https://github.com/pandas-dev/pandas/blob/9cb372376fc78aa66e2559de919592007b74cfaa/pandas/io/common.py#L567
becomes
```python
zip_names = [_ for _ in zf.namelist if not (_.startswith("__MACOSX/") or _.startswith(".DS_STORE"))]
```
Unfortunately this approach will not work for `read_csv(...)` as the compression is handled in the C code.
I can make a PR following the submission of this issue.
#### API breaking implications
Not that I can foresee, the only code path that this effects is changing from a `ValueError` to a correctly loaded the zip file.
#### Describe alternatives you've considered
As mentioned, this could be fixed directly in code before invoking pandas, but I think my suggestion is more convenient and doesn't not require any temporary files or extra disk space.
#### Additional context
Additional context: a lot of scientific data on e.g. figshare suffers from this issue. There may be other hidden files added by other operating systems that could be treated in a similar way. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37098/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37098/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37099 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37099/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37099/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37099/events | https://github.com/pandas-dev/pandas/issues/37099 | 720,303,847 | MDU6SXNzdWU3MjAzMDM4NDc= | 37,099 | API: interaction between subclasses (implementing __finalize__) and attrs/flags handling in __finalize__ | {
"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": "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": "56efc9",
"default": false,
"description": "_... | open | false | null | [] | null | 3 | 2020-10-13T14:05:12Z | 2021-08-13T04:40:06Z | null | MEMBER | null | Pandas provides the mechanism for subclasses to customize how metadata propagation is handled through `_metadata` and `__finalize__`. However, this got more complicated with the introduction of `attrs` and `flags`, which are *also* handled in `__finalize__`.
Concrete example: GeoPandas implements a custom `GeoDataFrame.__finalize__` to be able to have custom logic about how metadata is propagated in methods.
See here for the current implementation: https://github.com/geopandas/geopandas/blob/7044aa479dbae72c14dfb647a5a782a01cff81d1/geopandas/geodataframe.py#L1148-L1162 (it specifically checks for `method="merge"|"concat"` to ensure we pass through `_metadata` of the first (concat) or left (merge) object).
For a long time, pandas only add a very simple `__finalize__` implementation (which just propagated `_metadata` unconditionally):
```python
def __finalize__(self, other, method=None, **kwargs):
"""
Propagate metadata from other to self.
Parameters
----------
other : the object from which to get the attributes that we are going
to propagate
method : optional, a passed method name ; possibly to take different
types of propagation actions based on this
"""
if isinstance(other, NDFrame):
for name in self._metadata:
object.__setattr__(self, name, getattr(other, name, None))
return self
```
However, with the recent changes, the default `__finalize__` now also does ([code link to current finalize impl](https://github.com/pandas-dev/pandas/blob/9cb372376fc78aa66e2559de919592007b74cfaa/pandas/core/generic.py#L5324-L5359)):
- propagate `attrs`
- propagate `flags.allows_duplicate_labels` and have custom logic for `method="concat"` for this
As a result of GeoPandas overriding `__finalize__`, the `attrs` and `flags` features currently don't work for GeoDataFrames. See https://github.com/geopandas/geopandas/issues/1654 for the bug report on the GeoPandas side (cc @martinfleis)
While we certainly want to enable those features for GeoDataFrames as well.
---
So the main question is: given this additional logic in the default `__finalize__`, how can we enable that subclasses can still override a *part* of that logic (eg only `_metadata`).
GeoPandas could in principle copy the implementation of pandas (and adds its own customizations to it) and keep up to date with it. But, that doesn't feel like the ideal solution, certainly if pandas is going to add more functionality to it (eg more flags).
cc @TomAugspurger
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37099/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37099/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37100 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37100/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37100/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37100/events | https://github.com/pandas-dev/pandas/issues/37100 | 720,321,013 | MDU6SXNzdWU3MjAzMjEwMTM= | 37,100 | BUG: Series.to_json produces incorrect json format | {
"avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4",
"events_url": "https://api.github.com/users/galipremsagar/events{/privacy}",
"followers_url": "https://api.github.com/users/galipremsagar/followers",
"following_url": "https://api.github.com/users/galipremsagar/following{/other_user}",
"gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galipremsagar",
"id": 11664259,
"login": "galipremsagar",
"node_id": "MDQ6VXNlcjExNjY0MjU5",
"organizations_url": "https://api.github.com/users/galipremsagar/orgs",
"received_events_url": "https://api.github.com/users/galipremsagar/received_events",
"repos_url": "https://api.github.com/users/galipremsagar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galipremsagar"
} | [
{
"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": "read_json, to_json, j... | open | false | null | [] | null | 4 | 2020-10-13T14:17:22Z | 2021-08-13T04:44: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.
---
**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
>>> ser = pd.Series([1, 2, 3, 4])
>>> ser.to_json()
'{"0":1,"1":2,"2":3,"3":4}'
>>> ser.to_json(orient='records', lines=True)
'1\n2\n3\n4'
```
```
#### Problem description
When passing `orient=records` and `lines=True` with `Series.to_json`, the result is not in a valid json format.
#### Expected Output
This doesn't appear to be a valid json, which would break when other json readers are trying to retrieve the data from the file.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : 5.29.0
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pytables : 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/37100/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37100/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37101 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37101/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37101/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37101/events | https://github.com/pandas-dev/pandas/pull/37101 | 720,374,089 | MDExOlB1bGxSZXF1ZXN0NTAyNDIyNDQy | 37,101 | ENH: .read_pickle(...) from zip containing hidden OS X/macOS metadata files/folders | {
"avatar_url": "https://avatars.githubusercontent.com/u/7916000?v=4",
"events_url": "https://api.github.com/users/ml-evs/events{/privacy}",
"followers_url": "https://api.github.com/users/ml-evs/followers",
"following_url": "https://api.github.com/users/ml-evs/following{/other_user}",
"gists_url": "https://api.github.com/users/ml-evs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ml-evs",
"id": 7916000,
"login": "ml-evs",
"node_id": "MDQ6VXNlcjc5MTYwMDA=",
"organizations_url": "https://api.github.com/users/ml-evs/orgs",
"received_events_url": "https://api.github.com/users/ml-evs/received_events",
"repos_url": "https://api.github.com/users/ml-evs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ml-evs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ml-evs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ml-evs"
} | [] | closed | false | null | [] | null | 10 | 2020-10-13T14:53:40Z | 2020-11-23T13:18:38Z | 2020-11-23T13:18:38Z | NONE | null | - [x] closes #37098
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This PR allows for `.zip` files created by OS X and macOS that contain `__MACOSX` and `.DS_STORE` metadata folders to be loaded by `read_pickle/read_csv/read_table/read_json` without error.
~It does **not** work with `pd.read_csv(...)` as in that case the compression is handled in the C code. If this enhancement is deemed desirable then I'm willing to have a go at writing it (and the test is already written).~
(No longer true as of https://github.com/pandas-dev/pandas/pull/36997)
Other similar folders may exist from other operating systems, in which case the list could be pulled out as a constant which could be used in the tests and in the module itself. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37101/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37101/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37101.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37101",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37101.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37101"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37102 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37102/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37102/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37102/events | https://github.com/pandas-dev/pandas/pull/37102 | 720,446,785 | MDExOlB1bGxSZXF1ZXN0NTAyNDg3Mzk3 | 37,102 | VIS: Accept xlabel and ylabel for scatter and hexbin plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/1574403?v=4",
"events_url": "https://api.github.com/users/treuherz/events{/privacy}",
"followers_url": "https://api.github.com/users/treuherz/followers",
"following_url": "https://api.github.com/users/treuherz/following{/other_user}",
"gists_url": "https://api.github.com/users/treuherz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/treuherz",
"id": 1574403,
"login": "treuherz",
"node_id": "MDQ6VXNlcjE1NzQ0MDM=",
"organizations_url": "https://api.github.com/users/treuherz/orgs",
"received_events_url": "https://api.github.com/users/treuherz/received_events",
"repos_url": "https://api.github.com/users/treuherz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/treuherz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/treuherz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/treuherz"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 9 | 2020-10-13T15:44:23Z | 2020-10-15T08:02:43Z | 2020-10-14T17:54:11Z | CONTRIBUTOR | null | - [x] closes #37001
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37102/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37102/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37102.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37102",
"merged_at": "2020-10-14T17:54:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37102.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37102"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37103 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37103/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37103/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37103/events | https://github.com/pandas-dev/pandas/pull/37103 | 720,552,156 | MDExOlB1bGxSZXF1ZXN0NTAyNTgyNTky | 37,103 | CLN: unify numpy.random-related imports in pandas/tests/plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4",
"events_url": "https://api.github.com/users/onshek/events{/privacy}",
"followers_url": "https://api.github.com/users/onshek/followers",
"following_url": "https://api.github.com/users/onshek/following{/other_user}",
"gists_url": "https://api.github.com/users/onshek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onshek",
"id": 21543236,
"login": "onshek",
"node_id": "MDQ6VXNlcjIxNTQzMjM2",
"organizations_url": "https://api.github.com/users/onshek/orgs",
"received_events_url": "https://api.github.com/users/onshek/received_events",
"repos_url": "https://api.github.com/users/onshek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onshek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onshek"
} | [
{
"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 | 6 | 2020-10-13T17:05:26Z | 2020-10-29T18:49:45Z | 2020-10-29T18:31:11Z | CONTRIBUTOR | null | # latest update
all files are moved to #37492
***
- [x] closes #37053 ~~(keep this issue open until both #37103 and #37117 are completed)~~
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
A separate PR(CI) will be opened to add related code_check(#37117).
~~PS: Should a whatsnew note be added?~~
# update
The whole project is reformatted except `pandas/_testing.py` for there are quite a few `tm.randn` used in testing files.
below is the script to do the whole clean-up
```
import os
import re
class NumpyRandomRelatedScript:
def __init__(self, base_dir: str = "/dir/of/pandas/pandas") -> None:
self.base_dir = base_dir
self.py_files = []
self.backup_files = []
self.p1 = re.compile("import numpy as np")
self.p2 = re.compile("from numpy.random import[ ,a-zA-Z]*[\s]")
self.p3 = re.compile("from numpy import random[\s]")
def search_py_files(self, pandas_file_dir: str) -> None:
if os.path.isfile(pandas_file_dir):
if pandas_file_dir[-3:] == ".py":
if pandas_file_dir != os.path.join(self.base_dir, "_testing.py"):
self.py_files.append(pandas_file_dir)
elif os.path.isdir(pandas_file_dir):
for d in os.listdir(pandas_file_dir):
self.search_py_files(os.path.join(pandas_file_dir, d))
def do_the_clean_up(self, file_dir: str) -> None:
with open(file_dir, "r") as file:
data = file.read()
m1, m2, m3 = (
re.search(self.p1, data),
re.search(self.p2, data),
re.search(self.p3, data),
)
if not (m2 or m3):
# print("There's no need to change, please recheck!")
return
backup_dir = file_dir + ".issue37053_backup"
self.backup_files.append(backup_dir)
print("Backup: " + backup_dir)
with open(backup_dir, "w+") as file:
file.write(data)
with open(file_dir, "w+") as file:
if m2:
if not m1:
data = re.sub(self.p2, "import numpy as np\n", data)
m1 = True
else:
data = re.sub(self.p2, "", data)
methods = (
m2.group(0)
.replace("from numpy.random import", "")
.replace(" ", "")
.replace("\n", "")
.split(",")
)
if isinstance(methods, str):
methods = [methods]
for method in methods:
data = re.sub(
r"[\s]{meth}[^a-z]".format(meth=method),
" np.random.{meth}(".format(meth=method),
data,
)
data = re.sub(
r"[\s]-{meth}[^a-z]".format(meth=method),
" -np.random.{meth}(".format(meth=method),
data,
)
data = re.sub(
r"[\(]{meth}[^a-z]".format(meth=method),
"(np.random.{meth}(".format(meth=method),
data,
)
if m3:
if not m1:
data = re.sub(self.p3, "import numpy as np\n", data)
else:
data = re.sub(self.p3, "", data)
data = re.sub(r"[\s]random.{1}", " np.random.", data)
data = re.sub(r"[\(]random.{1}", "(np.random.", data)
file.write(data)
print("Clean: " + file_dir)
def remove_backup(self) -> None:
for file in self.backup_files:
print("Remove: " + file)
os.remove(file)
if __name__ == "__main__":
script = NumpyRandomRelatedScript()
script.search_py_files(script.base_dir)
for f in script.py_files:
script.do_the_clean_up(f)
script.remove_backup()
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37103/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37103/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37103.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37103",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37103.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37103"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37104 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37104/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37104/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37104/events | https://github.com/pandas-dev/pandas/issues/37104 | 720,568,634 | MDU6SXNzdWU3MjA1Njg2MzQ= | 37,104 | TYP: typing errors for mypy==0.790 | {
"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": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 4 | 2020-10-13T17:19:20Z | 2021-01-10T09:38:04Z | 2021-01-10T09:38:04Z | MEMBER | null | ```
mypy pandas
pandas/core/computation/parsing.py:41: error: unused 'type: ignore' comment
pandas/io/common.py:452: error: Unsupported operand types for + ("List[Optional[str]]" and "List[str]") [operator]
pandas/core/aggregation.py:483: error: Value of type variable "_LT" of "sorted" cannot be "Optional[Hashable]" [type-var]
pandas/core/aggregation.py:606: error: Value of type variable "_LT" of "sorted" cannot be "Optional[Hashable]" [type-var]
pandas/core/groupby/ops.py:270: error: Incompatible types in assignment (expression has type "Index", variable has type "Iterator[Any]") [assignment]
pandas/core/groupby/ops.py:270: note: 'Index' is missing following 'Iterator' protocol member:
pandas/core/groupby/ops.py:270: note: __next__
Found 5 errors in 4 files (checked 1057 source files)
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37104/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37104/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37105 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37105/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37105/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37105/events | https://github.com/pandas-dev/pandas/issues/37105 | 720,656,936 | MDU6SXNzdWU3MjA2NTY5MzY= | 37,105 | ENH: df.to_parquet() should return bytes | {
"avatar_url": "https://avatars.githubusercontent.com/u/566650?v=4",
"events_url": "https://api.github.com/users/impredicative/events{/privacy}",
"followers_url": "https://api.github.com/users/impredicative/followers",
"following_url": "https://api.github.com/users/impredicative/following{/other_user}",
"gists_url": "https://api.github.com/users/impredicative/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/impredicative",
"id": 566650,
"login": "impredicative",
"node_id": "MDQ6VXNlcjU2NjY1MA==",
"organizations_url": "https://api.github.com/users/impredicative/orgs",
"received_events_url": "https://api.github.com/users/impredicative/received_events",
"repos_url": "https://api.github.com/users/impredicative/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/impredicative/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/impredicative/subscriptions",
"type": "User",
"url": "https://api.github.com/users/impredicative"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": "Requires... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-13T18:33:08Z | 2020-10-21T19:14:04Z | 2020-10-21T19:14:04Z | NONE | null | #### Is your feature request related to a problem?
I find it useful to write a parquet to a `bytes` object for some unit tests. The code that I currently use to do this is quite verbose.
To provide some background, `df.to_csv()` (w/o args) just works. It returns a `str` object as is expected. In the same vein, **`df.to_parquet()` (w/o args) should return a `bytes` object.**
More precisely, the current behavior is:
```python
>>> df = pd.DataFrame()
>>> type(df.to_csv()) # This works
<class 'str'>
>>> df.to_parquet() # This should be made to work
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: to_parquet() missing 1 required positional argument: 'path'
```
#### Describe the solution you'd like
The requested behavior is:
```python
>>> df = pd.DataFrame()
>>> type(df.to_parquet())
<class 'bytes'>
```
Other uses of `df.to_parquet` should obviously remain unaffected.
#### API breaking implications
It won't break the documented API.
#### Describe alternatives you've considered
I currently use this verbose code to get what I want:
```python
import io
import pandas as pd
df = pd.DataFrame()
pq_file = io.BytesIO()
df.to_parquet(pq_file)
pq_bytes = pq_file.getvalue()
```
This workaround is too effortful. | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37105/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37105/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37106 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37106/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37106/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37106/events | https://github.com/pandas-dev/pandas/pull/37106 | 720,661,359 | MDExOlB1bGxSZXF1ZXN0NTAyNjgyNDEy | 37,106 | CLN: remove unnecessary _validate_foo 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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "20... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-10-13T18:37:02Z | 2020-10-14T14:42:29Z | 2020-10-14T12:21:59Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
since DatetimeLike and Categorical no longer special-case these, we can inline 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/37106/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37106/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37106.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37106",
"merged_at": "2020-10-14T12:21:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37106.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37106"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37107 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37107/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37107/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37107/events | https://github.com/pandas-dev/pandas/pull/37107 | 720,737,598 | MDExOlB1bGxSZXF1ZXN0NTAyNzUxNjQy | 37,107 | BUG: Fixes #36918 boxplots with matplotlib | {
"avatar_url": "https://avatars.githubusercontent.com/u/36233478?v=4",
"events_url": "https://api.github.com/users/francibm97/events{/privacy}",
"followers_url": "https://api.github.com/users/francibm97/followers",
"following_url": "https://api.github.com/users/francibm97/following{/other_user}",
"gists_url": "https://api.github.com/users/francibm97/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/francibm97",
"id": 36233478,
"login": "francibm97",
"node_id": "MDQ6VXNlcjM2MjMzNDc4",
"organizations_url": "https://api.github.com/users/francibm97/orgs",
"received_events_url": "https://api.github.com/users/francibm97/received_events",
"repos_url": "https://api.github.com/users/francibm97/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/francibm97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/francibm97/subscriptions",
"type": "User",
"url": "https://api.github.com/users/francibm97"
} | [
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | null | 5 | 2020-10-13T19:42:22Z | 2021-02-11T01:33:29Z | 2021-02-11T01:33:28Z | NONE | null | Fixes #36918
I believe that the @TomAugspurger in #35393 found out that, when `sharex` or `sharey` are enabled, matplotlib counts the number of ticks of an axis in a subplot as the total number of ticks of the shared axis in all subplots. Since matplotlib became stricter with `set_xticks`, the proposed workaround was replicating the labels n times where n is "total number of ticks"/"number of ticks of this subplot"="number of subplots".
However, that fix was implemented only for vertical boxplots and not for horizontal boxplots, hence why the issue.
Also, that fix causes the labels of the shared axis to be drawn n times (where n is the number of subplots) in some cases, see below (matplotlib 3.3.2, code adapted from the one posted by the author of issue 36918)
```
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
df1 = pd.DataFrame(np.random.randint(0, 100, size=(100, 4)), columns=list('ABCD'))
df2 = pd.DataFrame(np.random.randint(0, 100, size=(100, 4)), columns=list('ABCD'))
f, axs = plt.subplots(nrows=2, ncols=1, figsize=(10,7), sharex=True)
df1.boxplot(ax=axs[0], vert=True)
df2.boxplot(ax=axs[1], vert=True)
plt.show()
```

In this fix I used `set_major_formatter` with a `FixedFormatter` which fixes the issue and does not overdraw the labels:

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37107/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37107/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37107.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37107",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37107.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37107"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37108 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37108/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37108/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37108/events | https://github.com/pandas-dev/pandas/pull/37108 | 720,796,025 | MDExOlB1bGxSZXF1ZXN0NTAyODA0Mzgw | 37,108 | TYP: fix typing errors for mypy==0.790, bump mypy version | {
"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": "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"
} | 5 | 2020-10-13T20:31:00Z | 2021-01-10T15:29:51Z | 2021-01-10T09:38:05Z | MEMBER | null | - [x] closes #37104
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37108/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37108/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37108.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37108",
"merged_at": "2021-01-10T09:38:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37108.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37108"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37109 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37109/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37109/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37109/events | https://github.com/pandas-dev/pandas/pull/37109 | 720,895,984 | MDExOlB1bGxSZXF1ZXN0NTAyODk1ODE5 | 37,109 | PERF: Faster comparisons of indexes when compared to self | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e99695",
"default"... | closed | false | null | [] | null | 10 | 2020-10-13T21:59:33Z | 2021-01-01T22:19:25Z | 2021-01-01T22:19:19Z | CONTRIBUTOR | null | Examples:
```python
>>> rng = pd.RangeIndex(100_000)
>>> %timeit rng == rng
429 µs ± 96.9 µs per loop # master
14.1 µs ± 93.8 ns per loop # this PR
>>> idx = rng.astype(int)
>>> %timeit idx == idx
347 µs ± 1.42 µs per loop #master
14.1 µs ± 91.4 ns per loop # this PR
>>> idx = rng.astype(object)
>>> %timeit idx == idx
5.97 ms ± 12.7 µs per loop # master
3.72 ms ± 28.4 µs per loop # this PR
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37109/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37109/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37109.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37109",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37109.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37109"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37110 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37110/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37110/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37110/events | https://github.com/pandas-dev/pandas/pull/37110 | 720,969,764 | MDExOlB1bGxSZXF1ZXN0NTAyOTY0MjQw | 37,110 | BLD: extract GH Actions check function to avoid duplication in code_checks.sh | {
"avatar_url": "https://avatars.githubusercontent.com/u/18049056?v=4",
"events_url": "https://api.github.com/users/plammens/events{/privacy}",
"followers_url": "https://api.github.com/users/plammens/followers",
"following_url": "https://api.github.com/users/plammens/following{/other_user}",
"gists_url": "https://api.github.com/users/plammens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/plammens",
"id": 18049056,
"login": "plammens",
"node_id": "MDQ6VXNlcjE4MDQ5MDU2",
"organizations_url": "https://api.github.com/users/plammens/orgs",
"received_events_url": "https://api.github.com/users/plammens/received_events",
"repos_url": "https://api.github.com/users/plammens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/plammens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plammens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/plammens"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 7 | 2020-10-13T23:13:43Z | 2020-11-02T19:42:09Z | 2020-11-02T19:41:46Z | CONTRIBUTOR | null | This PR extracts a function `if_gh_actions` in `ci/code_checks.sh` to avoid command/arguments duplication. Originally part of #36386 (cherry-picked from 8611fe68); extracted to make the changes more modular (see the cross-linked comment).
- [N/A] closes #xxxx (xref https://github.com/pandas-dev/pandas/pull/36386#issuecomment-707115169)
- [N.A] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [N/A] 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/37110/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37110/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37110.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37110",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37110.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37110"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37111 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37111/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37111/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37111/events | https://github.com/pandas-dev/pandas/pull/37111 | 721,054,443 | MDExOlB1bGxSZXF1ZXN0NTAzMDQxODE5 | 37,111 | CLN: ops, unnecessary mixin | {
"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": "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"
},
{
"c... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-14T01:02:28Z | 2020-10-14T14:43:15Z | 2020-10-14T12:14:07Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37111/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37111/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37111.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37111",
"merged_at": "2020-10-14T12:14:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37111.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37111"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37112 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37112/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37112/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37112/events | https://github.com/pandas-dev/pandas/pull/37112 | 721,055,501 | MDExOlB1bGxSZXF1ZXN0NTAzMDQyNjQy | 37,112 | CLN: runtime imports | {
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-10-14T01:05:36Z | 2020-10-14T14:41:30Z | 2020-10-14T12:12:38Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37112/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37112/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37112.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37112",
"merged_at": "2020-10-14T12:12:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37112.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37112"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37113 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37113/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37113/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37113/events | https://github.com/pandas-dev/pandas/issues/37113 | 721,413,635 | MDU6SXNzdWU3MjE0MTM2MzU= | 37,113 | BUG: Rolling mean with ~4k records returns infinite values on ~95% of the rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/12915138?v=4",
"events_url": "https://api.github.com/users/barberogaston/events{/privacy}",
"followers_url": "https://api.github.com/users/barberogaston/followers",
"following_url": "https://api.github.com/users/barberogaston/following{/other_user}",
"gists_url": "https://api.github.com/users/barberogaston/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/barberogaston",
"id": 12915138,
"login": "barberogaston",
"node_id": "MDQ6VXNlcjEyOTE1MTM4",
"organizations_url": "https://api.github.com/users/barberogaston/orgs",
"received_events_url": "https://api.github.com/users/barberogaston/received_events",
"repos_url": "https://api.github.com/users/barberogaston/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/barberogaston/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/barberogaston/subscriptions",
"type": "User",
"url": "https://api.github.com/users/barberogaston"
} | [
{
"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 ... | closed | false | null | [] | null | 2 | 2020-10-14T12:26:04Z | 2020-10-14T14:47:29Z | 2020-10-14T14:41:19Z | 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
from requests import get
import numpy as np
import pandas as pd
# This is just to get the exact data I used
url = ('https://bitcoincharts.com/charts/chart.json?'
'm=bitstampUSD&SubmitButton=Draw&r=180&i=Hourly&c=0&s=&e=&Prev=&Next=&'
't=S&b=&a1=&m1=10&a2=&m2=25&x=0&i1=&i2=&i3=&i4=&v=1&cv=0&ps=0&l=0&p=0&')
res = get(url)
data = res.json()
df = pd.DataFrame(data)
# Using .rolling(20).mean() on all the records (4309 rows) will produce infs on almost all columns
print((df.rolling(20).mean() == np.inf).any())
# However, using only the last 100 records this doesn't happen
print((df.tail(100).rolling(20).mean() == np.inf).any())
# Exactly the same when using only a series. Here I include the count of values.
# We can see that ~95% of the rows turn infinite.
print((df[3].rolling(20).mean() == np.inf).value_counts())
```
#### Problem description
When applying the `.rolling(20).mean()` functions on either a `DataFrame` or a `Series` with ~4k rows approximately 95% of the results are `inf`. However, trimming down the data to only 100 rows, this works fine.
#### Expected Output
This should be the expected output of the last 10 rows:
<img width="750" alt="Captura de Pantalla 2020-10-14 a la(s) 09 24 51" src="https://user-images.githubusercontent.com/12915138/95988378-33188a80-0dff-11eb-9ba6-476c09264de1.png">
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~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.1.3
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0.post20201006
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.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
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/37113/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37113/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37114 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37114/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37114/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37114/events | https://github.com/pandas-dev/pandas/pull/37114 | 721,417,509 | MDExOlB1bGxSZXF1ZXN0NTAzMzM5MjAz | 37,114 | TST: add message matches to pytest.raises in test_duplicate_labels.py GH30999 | {
"avatar_url": "https://avatars.githubusercontent.com/u/18324242?v=4",
"events_url": "https://api.github.com/users/theMogget/events{/privacy}",
"followers_url": "https://api.github.com/users/theMogget/followers",
"following_url": "https://api.github.com/users/theMogget/following{/other_user}",
"gists_url": "https://api.github.com/users/theMogget/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/theMogget",
"id": 18324242,
"login": "theMogget",
"node_id": "MDQ6VXNlcjE4MzI0MjQy",
"organizations_url": "https://api.github.com/users/theMogget/orgs",
"received_events_url": "https://api.github.com/users/theMogget/received_events",
"repos_url": "https://api.github.com/users/theMogget/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/theMogget/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/theMogget/subscriptions",
"type": "User",
"url": "https://api.github.com/users/theMogget"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "eb6420",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-14T12:31:40Z | 2020-10-14T18:07:12Z | 2020-10-14T18:06:55Z | CONTRIBUTOR | null | Reference https://github.com/pandas-dev/pandas/issues/30999
- [x] tests added / passed
- [x] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Hello! This is my first PR here. I followed the steps in the contributing guidelines [here](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#contributing-your-changes-to-pandas), but I didn't see anything about `git diff upstream/master -u -- "*.py" | flake8 --diff`.
When I run the command locally, with `origin/master`, it returns no output. I get fatal with `upstream/master`. Is that expected, and if it isn't, could anyone advise on how to resolve the issue please?
Thank you! | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37114/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37114/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37114.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37114",
"merged_at": "2020-10-14T18:06:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37114.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37114"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37115 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37115/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37115/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37115/events | https://github.com/pandas-dev/pandas/issues/37115 | 721,486,794 | MDU6SXNzdWU3MjE0ODY3OTQ= | 37,115 | REGR: unstack on 'int' dtype prevent fillna to work | {
"avatar_url": "https://avatars.githubusercontent.com/u/1679183?v=4",
"events_url": "https://api.github.com/users/ant1j/events{/privacy}",
"followers_url": "https://api.github.com/users/ant1j/followers",
"following_url": "https://api.github.com/users/ant1j/following{/other_user}",
"gists_url": "https://api.github.com/users/ant1j/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ant1j",
"id": 1679183,
"login": "ant1j",
"node_id": "MDQ6VXNlcjE2NzkxODM=",
"organizations_url": "https://api.github.com/users/ant1j/orgs",
"received_events_url": "https://api.github.com/users/ant1j/received_events",
"repos_url": "https://api.github.com/users/ant1j/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ant1j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ant1j/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ant1j"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"de... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"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.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 4 | 2020-10-14T13:59:55Z | 2020-12-02T23:30:04Z | 2020-12-02T23:30:04Z | 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
df1 = pd.DataFrame({
'a': ['A', 'A', 'B'],
'b': ['ca', 'cb', 'cb'],
'v': [10] * 3,
})
df1 = df1.set_index(['a', 'b'])
# int column
df1['is_'] = 1
df1 = df1.unstack('b')
# Will not work, keeping NaN in the value
df1[('is_', 'ca')] = df1[('is_', 'ca')].fillna(0)
# Will raise ValueError: Cannot convert non-finite values (NA or inf) to integer
df1[('is_', 'ca')] = df1[('is_', 'ca')].astype('uint8')
```
#### Problem description
`df.unstack` is creating columns from a int column, but adds some NaNs as expected.
Trying to get rid of the NaN is not possible as `fillna` will silently fail and leave the column values as is.
#### Potential Source of the Problem
It looks like with this configuration, the Block for this `df1[('is_', 'ca')]` Series in the BlockManager is actually `IntBlock`, but holds a float dtype `np.ndarray` (!?).
From what I understand, as soon as the BlockManager operates a block consolidation (with the _consolidate function), the Block is converted to a `FloatBlock` and everything is OK.
e.g. a call to `cat2._is_mixed_type` will trigger a `_consolidate` and thus clear the issue.
#### Potential Solution Suggestion
Should the unstack function fires a consolidation of blocks, especially for column types that do not accept NaN values (like 'int' and 'bool' from numpy)?
#### Some potential workarounds identified so far
* Trigger a Block consolidate:
* Add a column: the bug appeared if I use `fillna` before adding a column, but not after
* Call `cat2._is_mixed_type`
* Call `df1.infos()`: this was the most surprising one (it is because if triggers `df.count()` and thus consolidation)
* Use a float value: `df1['is_'] = 1.0`
#### Expected Output
```
v is_
b ca cb ca cb
a
A 10.0 10.0 1 1.0
B NaN 10.0 0 1.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.8.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : fr_FR.UTF-8
LOCALE : fr_FR.cp1252
pandas : 1.1.3
numpy : 1.19.0
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : 3.6.1
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/37115/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37115/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37116 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37116/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37116/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37116/events | https://github.com/pandas-dev/pandas/pull/37116 | 721,573,182 | MDExOlB1bGxSZXF1ZXN0NTAzNDY4NzUz | 37,116 | Revert "CLN: core/dtypes/cast.py::maybe_downcast_to_dtype" | {
"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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-10-14T15:44:15Z | 2020-10-14T16:41:43Z | 2020-10-14T16:41:36Z | MEMBER | null | Reverts pandas-dev/pandas#37050 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37116/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37116/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37116.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37116",
"merged_at": "2020-10-14T16:41:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37116.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37116"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37117 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37117/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37117/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37117/events | https://github.com/pandas-dev/pandas/pull/37117 | 721,653,048 | MDExOlB1bGxSZXF1ZXN0NTAzNTM1MDYw | 37,117 | CI: check for numpy.random-related imports | {
"avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4",
"events_url": "https://api.github.com/users/onshek/events{/privacy}",
"followers_url": "https://api.github.com/users/onshek/followers",
"following_url": "https://api.github.com/users/onshek/following{/other_user}",
"gists_url": "https://api.github.com/users/onshek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onshek",
"id": 21543236,
"login": "onshek",
"node_id": "MDQ6VXNlcjIxNTQzMjM2",
"organizations_url": "https://api.github.com/users/onshek/orgs",
"received_events_url": "https://api.github.com/users/onshek/received_events",
"repos_url": "https://api.github.com/users/onshek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onshek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onshek"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-10-14T17:37:22Z | 2020-10-31T15:11:51Z | 2020-10-31T14:50:32Z | CONTRIBUTOR | null | ~~- [x] closes #37053 (keep this issue open until both #37492 and #37117 are completed)~~
- [x] tests added / passed ~~(once #37492is merged)~~
# update 2020-10-31
now use a pre-commit check instead of the previous code_check
***
~~code_check.sh will be used to locate where numpy.random-related imports are.~~ See the separate script to do the whole clean-up in https://github.com/pandas-dev/pandas/pull/37103#issue-502582592. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37117/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37117/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37117.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37117",
"merged_at": "2020-10-31T14:50:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37117.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37117"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37118 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37118/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37118/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37118/events | https://github.com/pandas-dev/pandas/pull/37118 | 721,681,386 | MDExOlB1bGxSZXF1ZXN0NTAzNTU4MDYw | 37,118 | PERF: regression in DataFrame reduction ops performance #37081 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7524704?v=4",
"events_url": "https://api.github.com/users/ukarroum/events{/privacy}",
"followers_url": "https://api.github.com/users/ukarroum/followers",
"following_url": "https://api.github.com/users/ukarroum/following{/other_user}",
"gists_url": "https://api.github.com/users/ukarroum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ukarroum",
"id": 7524704,
"login": "ukarroum",
"node_id": "MDQ6VXNlcjc1MjQ3MDQ=",
"organizations_url": "https://api.github.com/users/ukarroum/orgs",
"received_events_url": "https://api.github.com/users/ukarroum/received_events",
"repos_url": "https://api.github.com/users/ukarroum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ukarroum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ukarroum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ukarroum"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-10-14T18:22:06Z | 2020-10-17T13:50:01Z | 2020-10-17T13:49:55Z | CONTRIBUTOR | null | - [x] closes #37081
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Made the change proposed by @jorisvandenbossche in https://github.com/pandas-dev/pandas/pull/35881#discussion_r504035006
Did a very quick comparison :
With `self.dtypes` (old version) :
```
In [8]: values = np.random.randn(100000, 4)
...: df = pd.DataFrame(values).astype("int")
...: %timeit df.sum()
714 µs ± 21 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
```
With `self._iter_column_arrays()` (new version) :
```
In [4]: values = np.random.randn(100000, 4)
...: df = pd.DataFrame(values).astype("int")
...: %timeit df.sum()
477 µs ± 8.7 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37118/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37118/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37118.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37118",
"merged_at": "2020-10-17T13:49:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37118.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37118"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.